User:WOSlinkerBot/linttask19.js: Difference between revisions

Content deleted Content added
WOSlinkerBot (talk | contribs)
No edit summary
WOSlinkerBot (talk | contribs)
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 26:
 
myContent = myContent.replace(/(\<span style\=\"font-family\: Verdana\"\>\[\[User\:Seadog\.M\.S\|\<font color\=\"Mediumblue\"\>\'\'\'Seadog\'\'\')(\]\]\<sup\>\[\[User talk\:Seadog\.M\.S\|Talk\]\]\<\/sup\>) *(\<\/font\>)/g,'$1$3$2');
myContent = myContent.replace(/(\<span style\=\"font-family\: Verdana\"\>\[\[User\:Seadog\.M\.S\|\<font color\=\"Mediumblue\"\>\'\'\'Seadog\'\'\'\<\/font\>\]\]\<sup\>\[\[User talk\:Seadog\.M\.S\|Talk\]\]\<\/sup\>)( \d\d\:\d\d)/g,'$1</span>$2');
 
myContent = myContent.replace(/(\<sup\> \[\[User\:Daisy18108\/Guestbook\|\<font color\=\"red\"\>Sign my Guestbook\!\<\/font\>)(\<\/sup\>)(\]\])/g,'$1$3$2');
Line 35 ⟶ 36:
 
myContent = myContent.replace(/\<sup\>\[\[Ricers\|lol\<\/sup\>\]\]/g,'<sup>[[Ricers|lol]]</sup>');
myContent = myContent.replace(/\<sup\>\[\[User talk\:Why sigh\, cutie pie\?\|Refill\<\/sup\>\]\]/g,'<sup>[[User talk:Why sigh, cutie pie?|Refill]]</sup>');
 
myContent = myContent.replace(/\<sup\>\[\[User\:Empyrycal\|E\<\/sup\>\]\]/g,'<sup>[[User:Empyrycal|E]]</sup>');
Line 42 ⟶ 44:
myContent = myContent.replace(/(\|\<span style\=\"font-size\:16px\; font-family\:times new roman\"\>)\n\n(\[\[Outreach\:Education\/Newsletter\/\w* \d*\/Mobile Learning Week 2017\|Mobile Learning Week 2017\]\])\n(\<\/span\>\n)\<\/span\>\n/g,'$1$2$3');
 
//myContent = myContent.replace(/(\<center\>\<span style\=\"font-family\: Arial\; font-size\: 12pt\"\>\<font size\=\"18\"\>\'\'\'\[\[Wikipedia\:WikiProject Nigeria\]\]\'\'\')(\<\/center\>)(\<\/font\>\<\/span\>)/g,'$1$3$2');
//myContent = myContent.replace(/(\<u\>\'\'Welcoming New Volunteers\'\' \<\/u\>) \'\'\n/g,'$1\n');
 
//myContent = myContent.replace(//g,'');
//myContent = myContent.replace(/(\<sup\>\[\[User_talk\:Bloodpack\| \<font color\=\"red\"\> \'\'argh\!\'\' \<\/font\>)(\<\/sup\>)(\]\])/g,'$1$3$2');
 
//myContent = myContent.replace(//g,'');
myContent = myContent.replace(/(\<div class\=\"user-block\"\>\[\[Image\:Stop_x_nuvola\.svg\|left\|35px\]\])\<span style\=\"font-size\: 105\%\;\"\>(Your account has been \'\'\'blocked indefinitely\'\'\' from editing Wikipedia because your username)/g,'$1$2');
//myContent = myContent.replace(//g,'');
 
//myContent = myContent.replace(/(\<sup\>\[\[User talk\:methecooldude\|T\]\])\n/g,'$1</sup>\n');
 
myContent = myContent.replace(/(\<sup\>\'\'\[\[Special:Contributions\/Journalist\|C\.\]\]\/\[\[User talk\:Journalist\|Holla \@ me\]\]\'\')\<sup\>/g,'$1</sup>');
myContent = myContent.replace(/(\<sup\>\'\'\' \'\'\[\[Special\:Contributions\/Journalist\|\<sup\>\<span style\=\"color\:lime\"\>C\.\]\]\[\[Image\:Smilie\.gif\|30px\]\] \[\[User talk\:Journalist\|\<sup\>\<span style\=\"color\:lightseagreen\"\> Holla \@ me\!\]\]\'\' \'\'\')\<sup\>/g,'$1</sup>');
 
myContent = myContent.replace(/\{\{col-begin\}\}\n\n(\'\'Welcome\!\'\'\&nbsp\;My name is \[\[User\:)/g,'$1');
myContent = myContent.replace(/(\(UTC\)\n)\{\{col-end\}\}\n\<\/div\>\n(\|-\n\<\!-- ROW 1 --\>\n\<\!-- LEFT COLUMN --\>)/g,'$1$2');
 
myContent = myContent.replace(/\<span style\=\"cursor\:crosshair\;color\:green\"\>\n(\*\'\'\'\[\[Wikipedia)/g,'$1');
 
myContent = myContent.replace(/\]\](\<\/font\> \<sub\>)(\(spell my name backwards\)\'\'\' at\<\/sub\>)/g,']]\'\'\'$1\'\'\'$2');
 
myContent = myContent.replace(/(\[\[User_talk\:Fusionmix\|\<span style\=\"padding\:0px\;\"\>\<font style\=\"color\:\#000000\;background\:white\;\"\>\'\'\'It\'\'\'\<\/font\>)(\]\])/g,'$1</span>$2');
myContent = myContent.replace(/(\]\]\<span style\=\"padding\:0px\;\"\>\<font style\=\"color\:white\;background\:\#000000\;\"\>\'\'\'Up\'\'\'\<\/font\>\<\/span\>)(\<\/small\>)/g,'$1</span>$2');