User:WOSlinkerBot/lint.js: Difference between revisions

Content deleted Content added
WOSlinkerBot (talk | contribs)
No edit summary
WOSlinkerBot (talk | contribs)
No edit summary
 
(48 intermediate revisions by the same user not shown)
Line 502:
myContent = myContent.replace(/\[\[User talk\:Merkinsmum\|\<b\>\<font color\=\"\#FF1493\"\>mum\]\]\<\/font\>\<\/b\>/g,'[[User talk:Merkinsmum|<b><font color="#FF1493">mum</font></b>]]');
myContent = myContent.replace(/\<sup\>\[\[User_talk\:Bloodpack\| \<font color\=\"red\"\> \'\'argh\!\'\' \<\/font\>\<\/sup\>\]\]/g,'<sup>[[User_talk:Bloodpack| <font color="red"> \'\'argh!\'\' </font>]]</sup>');
myContent = myContent.replace(/\<sup\>\[\[User talk\:Djathinkimacowboy\|\<font style\=\"color\:\#00013\"\>\'\'what now\?\!\'\'\<\/font\>\<\/sup\>\]\]/g,'<sup>[[User talk:Djathinkimacowboy|<font style="color:#00013">\'\'what now?!\'\'</font>]]</sup>');
myContent = myContent.replace(/\<span class\=\"plainlinks\"\>\<small\>\[\[User\:Brian0918\|\<font color\=\"\#000000\"\>\'\'\'BRIAN\'\'\'\<\/font\>\]\]\[\[User talk\:Brian0918\|\<font color\=\"\#555555\"\>0918\<\/font\>\]\]\<\/small\>\&nbsp\;/g,'<span class="plainlinks"><small>[[User:Brian0918|<font color="#000000">\'\'\'BRIAN\'\'\'</font>]][[User talk:Brian0918|<font color="#555555">0918</font>]]</small></span>&nbsp;');
myContent = myContent.replace(/\[\[User\:Sp33dyphil\|\<big\>\'\'\'\<span style\=\"background\:SaddleBrown\;color\:Gold\"\>\'\'\'Sp33dyphil\<\/span\>\<\/big\>\'\'\'\]\]/g,'[[User:Sp33dyphil|<big><span style="background:SaddleBrown;color:Gold">\'\'\'Sp33dyphil\'\'\'</span></big>]]');
myContent = myContent.replace(/\<sup\>\[\[User_talk\:Keithgreer\|t\]\]\<sup\>/g,'<sup>[[User_talk:Keithgreer|t]]</sup>');
myContent = myContent.replace(/\<sup\>\[\[User talk\:ATMarsden\|\<span style\=\"color\:Blue\"\>Talk\<\/span\>\]\]\<\/strong\>/g,'<sup>[[User talk:ATMarsden|<span style="color:Blue">Talk</span>]]</sup></strong>');
myContent = myContent.replace(/\<sup\> \[\[User talk\:ImperiumCaelestis\|\<font color\=\"\#0000FF\"\>Caelestis\<\/font\> \<\/sup\>\]\]/g,'<sup> [[User talk:ImperiumCaelestis|<font color="#0000FF">Caelestis</font> ]]</sup>');
myContent = myContent.replace(/\<sup\>\<font color\=\"Purple\"\>\[\[User_talk\:NoSeptember\|\(talk\)\<\/font\>\<\/sup\>\]\]/g,'[[User_talk:NoSeptember|<sup><font color="Purple">(talk)</font></sup>]]');
myContent = myContent.replace(/\'\'\'\<span style\=\"text\-shadow\:grey 0\.118em 0\.118em 0\.118em\; class\=texhtml\"\>\<font color\=\"\#151B8D\" face\=\"comic sans ms\"\>\[\[User\:Baxter9\|B\@xter\]\]\<\/font\>\'\'\'/g,'<span style="text-shadow:grey 0.118em 0.118em 0.118em; class=texhtml">\'\'\'<font color="#151B8D" face="comic sans ms">[[User:Baxter9|B@xter]]</font>\'\'\'');
myContent = myContent.replace(/\'\'\'\[\[User\:Thetruthbelow\|Thetruthbelow\]\]\<sup\>\<font color\=\"Blue\"\> \[\[Image\:Wikipedia minilogo.gif\|20px\]\]\[\[User_talk\:Thetruthbelow\|\(talk\)\]\]\'\'\'\<\/font\>\<\/sup\>/g,'\'\'\'[[User:Thetruthbelow|Thetruthbelow]]<sup><font color="Blue"> [[Image:Wikipedia minilogo.gif|20px]][[User_talk:Thetruthbelow|(talk)]]</font></sup>\'\'\'');
myContent = myContent.replace(/\<sup\>\[\[User talk\:Sean Black\|Talk\]\]\<sup\>/g,'<sup>[[User talk:Sean Black|Talk]]</sup>');
myContent = myContent.replace(/\<sup\>\[\[User talk\:Djathinkimacowboy\|\<font style\=\"color\:\#00013\"\>\'\'Mindless Gab\'\'\<\/font\>\<\/sup\>\]\]/g,'<sup>[[User talk:Djathinkimacowboy|<font style="color:#00013">\'\'Mindless Gab\'\'</font>]]</sup>');
myContent = myContent.replace(/\<sub\>(\d*)\<\/sup\>/g,'<sub>$1</sub>');
myContent = myContent.replace(/\<sup\>\[\[User talk\:Djathinkimacowboy\|\<font style\=\"color\:\#00013\"\>\'\'SPEAK!\'\'\<\/font\>\<\/sup\>\]\]/g,'<sup>[[User talk:Djathinkimacowboy|<font style="color:#00013">\'\'SPEAK!\'\'</font>]]</sup>');
myContent = myContent.replace(/\[\[User\:Hits hits\|\'\'\'\<span style\=\"color\:green\;\"\>u\'\'\'\<span style\=\"color\:red\;\"\>s\'\'\'\<span style\=\"color\:blue\;\"\>e\'\'\'\<span style\=\"color\:silver\;\"\>r \'\'\'\<span style\=\"color\:orange\;\"\>H\'\'\'\<span style\=\"color\:gold\;\"\>H\]\]/g,'[[User:Hits hits|\'\'\'<span style="color:green;">u</span>\'\'\'<span style="color:red;">s</span>\'\'\'<span style="color:blue;">e</span>\'\'\'<span style="color:silver;">r</span> \'\'\'<span style="color:orange;">H</span>\'\'\'<span style="color:gold;">H</span>]]');
myContent = myContent.replace(/\<span style\=\"color\:(\w*)\; font\-size\:(\d*)pt\;\"\>☺\<\/font\>/g,'<span style="color:$1; font-size:$2pt;">☺</span>');
myContent = myContent.replace(/\[\[User talk\:Srsrox\|\<sup\>\<font color\=\"\#000000\"\>BlahBlahBlah\.\.\.\]\]\<\/font\>\<\/sup\>/g,'[[User talk:Srsrox|<sup><font color="#000000">BlahBlahBlah...</font></sup>]]');
myContent = myContent.replace(/\[\[User\:Rfassbind\|\<em\>\<span style\=\"font\-weight\:bold\;color\:forestgreen\;\"\>\<span style\=\"color\:\#00E6FF\;\"\>R\<\/span\>fassbind\<\/span\>\]\] \<small\>\[\[User talk\:Rfassbind\|\'\'\'\-talk\'\'\'\]\]\<\/small\>\<\/em\>/g,'<em>[[User:Rfassbind|<span style="font-weight:bold;color:forestgreen;"><span style="color:#00E6FF;">R</span>fassbind</span>]] <small>[[User talk:Rfassbind|\'\'\'-talk\'\'\']]</small></em>');
myContent = myContent.replace(/\[\[User\:Rfassbind\|\<em\>\<span style\=\"font\-weight\:bold\;color\:forestgreen\;\"\>\<span style\=\"color\:\#a2a2a2\;\"\>R\<\/span\>fassbind\<\/span\>\]\] \<small\>\[\[User talk\:Rfassbind\|\&ndash\; talk\]\]\<\/small\>\<\/em\>/g,'<em>[[User:Rfassbind|<span style="font-weight:bold;color:forestgreen;"><span style="color:#a2a2a2;">R</span>fassbind</span>]] <small>[[User talk:Rfassbind|&ndash; talk]]</small></em>');
myContent = myContent.replace(/\[\[User\:W\. Frank\|W\.\&nbsp\;\'\'\'Frank\]\]\'\'\'/g,'[[User:W. Frank|W.&nbsp;\'\'\'Frank\'\'\']]');
 
myContent = myContent.replace(/\[\[User\:GENIUS\(4th power\)\|\<sup\>\(\'\'\'\'\'\<em style\=\"font-family\:Alien Encounters\;color\:red\"\>no lie\)\<\/sup\>\|\<span style\=\"color\:\#FF823D\;font-family\:Monotype Corsiva\;cursor:help\"\>\'\'\'I\<font color\=\"\#FF7C0A\"\>\<font color\=\"\#FFB550\"\>ama\<\/font\>gen\<\/font\>ius\'\'\'\<\/span\>\<\/em\>\<em style\=\"font-family\:Bradley Hand ITC\;color\:red\"\>\!\<\/em\>\'\'\'\'\'\<sub\>\'\'\'\'\'\<em style\=\"font-family\:Lucida Handwriting\;color\:red\"\>So bow\<\/sub\>\]\]/g,'[[User:GENIUS(4th power)|<sup>(\'\'\'\'\'<em style="font-family:Alien Encounters;color:red">no lie</em>\'\'\'\'\')</sup>|<span style="color:#FF823D;font-family:Monotype Corsiva;cursor:help">\'\'\'I<font color="#FF7C0A"><font color="#FFB550">ama</font>gen</font>ius\'\'\'</span><em style="font-family:Bradley Hand ITC;color:red">!</em><sub>\'\'\'\'\'<em style="font-family:Lucida Handwriting;color:red">So bow</em>\'\'\'\'\'</sub>]]');
myContent = myContent.replace(/\[\[User talk\:GENIUS\(4th power\)\|\<sup\>\'\'\'\'\'\<em style\=\"font-family\:Alien Encounters\;color\:black\"\>\(t\)\<\/sup\>\]\]/g,'[[User talk:GENIUS(4th power)|<sup>\'\'\'\'\'<em style="font-family:Alien Encounters;color:black">(t)</em>\'\'\'\'\'</sup>]]');
myContent = myContent.replace(/\[\[Special\:Contributions\/GENIUS\(4th power\)\|\<sub\>\'\'\'\'\'\<em style\=\"font-family\:Alien Encounters\;color\:red\"\>\(c\)\<\/sub\>\]\]/g,'[[Special:Contributions/GENIUS(4th power)|<sub>\'\'\'\'\'<em style="font-family:Alien Encounters;color:red">(c)</em>\'\'\'\'\'</sub>]]');
 
myContent = myContent.replace(/\[\[User\:Bushcarrot\|\<font color\=\"(\w*)\"\>Bushcarrot\]\]/g,'[[User:Bushcarrot|<font color="$1">Bushcarrot</font>]]');
myContent = myContent.replace(/\[\[User_talk\:Bushcarrot\|\<font color\=\"(\w*)\"\>Talk\]\]/g,'[[User_talk:Bushcarrot|<font color="$1">Talk</font>]]');
myContent = myContent.replace(/\<sub\>\[\[User\:Bushcarrot\/guests\|\<font color\=\"(\w*)\"\>Please Sign\!\]\]\<\/sub\>\<\/font\>/g,'<sub>[[User:Bushcarrot/guests|<font color="$1">Please Sign!</font>]]</sub>');
 
myContent = myContent.replace(/\[\[User\:Rocket71048576\|Rocket7\<font color\=\"\#009933\"\>1048576\]\]/g,'[[User:Rocket71048576|Rocket7<font color="#009933">1048576</font>]]');
myContent = myContent.replace(/\[\[User talk\:Rocket71048576\|\<font color\=\"\#006FB0\"\>Talk\]\]/g,'[[User talk:Rocket71048576|<font color="#006FB0">Talk</font>]]');
 
myContent = myContent.replace(/\[\[User\:IMatthew\|\<span style\=\"font-family\:Script MT\;color\:\#960018\"\>\<font size\=3\>iMatthew\<\/span\>\]\]/g,'[[User:IMatthew|<span style="font-family:Script MT;color:#960018"><font size=3>iMatthew</font></span>]]');
myContent = myContent.replace(/\[\[User\:IMatthew\|\<span style\=\"font-family\:Script MT\;color\:\#082567\"\>\<font size\=3\>iMatthew\<\/span\>\]\]/g,'[[User:IMatthew|<span style="font-family:Script MT;color:#082567"><font size=3>iMatthew</font></span>]]');
myContent = myContent.replace(/\[\[User\:IMatthew\|\<span style\=\"font-family\:Script MT\;color\:\#007BA7\"\>\<font size\=3\>iMatthew\<\/span\>\]\]/g,'[[User:IMatthew|<span style="font-family:Script MT;color:#007BA7"><font size=3>iMatthew</font></span>]]');
myContent = myContent.replace(/\[\[User_talk\:IMatthew\|\<span style\=\"font-family\:Script MT\;color\:gray\"\>\<font size\=3\>talk\]\]\)\&nbsp\;at\<\/span\>/g,'[[User_talk:IMatthew|<span style="font-family:Script MT;color:gray"><font size=3>talk</font></span>]])&nbsp;at');
myContent = myContent.replace(/\[\[User_talk\:IMatthew\|\<span style\=\"font-family\:Script MT\;color\:gray\"\>\<font size\=3\>talk\]\]/g,'[[User_talk:IMatthew|<span style="font-family:Script MT;color:gray"><font size=3>talk</font></span>]]');
 
myContent = myContent.replace(/\<center *\>\<font size\=\"\+1\" color\=\"white\"\>\<font color\=\"orange\"\>Please Don\'t Vandalize\. \[\[Image\:Stop hand\.svg\|20px\]\]\<\/div\>\<\/div\>/g,'<center ><font size="+1" color="white"><font color="orange">Please Don\'t Vandalize. [[Image:Stop hand.svg|20px]]</font></font></center></div>');
myContent = myContent.replace(/\<center *\>\<font size\=\"\+1\" color\=\"white\"\>\<font color\=\"orange\"\>Please Don\'t Vandalise\. \[\[Image\:Stop hand\.svg\|20px\]\]\<\/div\>\<\/div\>/g,'<center ><font size="+1" color="white"><font color="orange">Please Don\'t Vandalise. [[Image:Stop hand.svg|20px]]</font></font></center></div>');
myContent = myContent.replace(/\<center *\>\<font size\=\"\+1\" color\=\"white\"\>\<font color\=\"orange\"\>Please Stop\. \[\[Image\:Stop hand\.svg\|20px\]\]\<\/div\>\<\/div\>/g,'<center ><font size="+1" color="white"><font color="orange">Please Stop. [[Image:Stop hand.svg|20px]]</font></font></center></div>');
myContent = myContent.replace(/\<center *\>\<font size\=\"\+1\" color\=\"white\"\>Welcome to Wikipedia\! \[\[Image\:Wikipedia-logo\.png\|50px\]\]\<\/div\>\<\/div\>/g,'<center ><font size="+1" color="white">Welcome to Wikipedia! [[Image:Wikipedia-logo.png|50px]]</font></center></div>');
 
myContent = myContent.replace(/(\<font color\=\"ff6633\"\>\<font face\=\"comic sans MS\" size\=\+1\>Joe \[\[user\:Jklin\|\<small\>Jklin\<\/small\>\]\] \'\'\'\(\'\'\'\<small\>\[\[User talk\:Jklin\|T\]\] \[\[Special\:Contributions\/Jklin\|C\]\]\<\/small\>\'\'\'\)\'\'\') /g,'$1</font></font> ');
myContent = myContent.replace(/\[\[User\:Freewayguy\|\<font color\=coral\>Freewayguy\]\]/g,'[[User:Freewayguy|<font color=coral>Freewayguy</font>]]');
myContent = myContent.replace(/\[\[User\:Freewayguy\|\<font color\=navy\>Freewayguy\]\]/g,'[[User:Freewayguy|<font color=navy>Freewayguy</font>]]');
myContent = myContent.replace(/\[\[User\:Freewayguy\|\<font color\=olive\>Freewayguy\]\]/g,'[[User:Freewayguy|<font color=olive>Freewayguy</font>]]');
myContent = myContent.replace(/\[\[User\:Freewayguy\|\<font color\=silver\>LAFreeways\]\]/g,'[[User:Freewayguy|<font color=silver>LAFreeways</font>]]');
 
myContent = myContent.replace(/(\<center\>\<font size\= 5\>\'\'\'Welcome to Wikipedia\!\'\'\')(\<\/center\>)/g,'$1</font>$2');
myContent = myContent.replace(/(\<font size\= 5\>)(\<center\>)(\<font color\=yellow\>\'\'\'• • • • •\'\'\')\<font color\= black\>(\<\/center\>)\<font size\=2\>/g,'$2$1$3</font></font>$4');
myContent = myContent.replace(/(\<font color\=yellow\>\'\'\'• • • • •\'\'\')\<font color\= black\>/g,'$1</font>');
myContent = myContent.replace(/\<font size\= 2\>(Welcome to this wonderful encyclopedia)/g,'$1');
 
myContent = myContent.replace(/(\[\[AEST\|\<font color\=\"*grey\"*\>[\d\:]*[ap]m)(\]\])/g,'$1</font>$2');
myContent = myContent.replace(/(\[\[User_talk\:Fridae\'sDoom\|\<font color\=\"*grey\"*\>Champagne\?)(\]\])/gi,'$1</font>$2');
myContent = myContent.replace(/(\[\[User\:Fridae\'sDoom\|\<font color\=\"*Red\"*\>Ғяіᴆaз\'§Đøøм)(\]\])/gi,'$1</font>$2');
 
myContent = myContent.replace(/\[\[User\:Microchip08\|\<font face\=\"Courier New\"\>\<font color\=\"orange\"\>M\<sup\>i\<\/sup\>c\<sub\>r\<\/sub\>o\<\/font\>\]\]/g,'[[User:Microchip08|<font face="Courier New"><font color="orange">M<sup>i</sup>c<sub>r</sub>o</font></font>]]');
myContent = myContent.replace(/\[\[User talk\:Microchip08\/Home\|\<font face\=\"Lucida Console\"\>\<i\>\<font color\=\"\#B22222\"\>c\<u\>h\<\/u\>i\<u\>p\<\/u\>\<\/font\>\]\]/g,'[[User talk:Microchip08/Home|<font face="Lucida Console"><i><font color="#B22222">c<u>h</u>i<u>p</u></font></i></font>]]');
myContent = myContent.replace(/\[\[Special\:Contributions\/Microchip08\|\<sup\>\<font color\=\"\#00880\"\>08\<\/sup\>\]\]\<\/b\>\<\/font\>/g,'[[Special:Contributions/Microchip08|<sup><font color="#00880">08</font></sup>]]</b>');
 
myContent = myContent.replace(/\'\'\' \[\[User\:Emilyzilch\|\<font color\=\#BA55D3\>Naahid بنت الغلان\]\] \'\'\'\<\/font\>/g,'\'\'\' [[User:Emilyzilch|<font color=#BA55D3>Naahid بنت الغلان</font>]] \'\'\'');
myContent = myContent.replace(/\<sup\>\<small\>\[\[User_Talk\:Emilyzilch\|\<font color\=\#BA55D3\>Click to talk\]\]\<\/sup\>\<\/small\>/g,'<sup><small>[[User_Talk:Emilyzilch|<font color=#BA55D3>Click to talk</font>]]</small></sup>');
 
//myContent = myContent.replace(//g,'');