User:MalnadachBot/Task 8
BRFA: Approved at Wikipedia:Bots/Requests for approval/MalnadachBot 8
Number of edits done in the task - 3,804
Approximate number of Lint errors fixed - 41,000
- Task description
This bot task is to fix 10 substituted templates listed below. They give at least one high priority Lint error. If they have other Lint errors, they too will be fixed in the same edit.
Replacements
[edit]1) WikiProject India 14 October 2019 newsletter
Fix 1 html5 misnesting, 1 misnested tag, 4 missing end tag, 2 obsolete html and 1 stripped tag errors
<center><span style="font-family: Arial; font-size: 12pt"><font size="18">'''[[WP:IND|WikiProject India]]'''</center></font></span>
is replaced with
<div style="text-align:center; font-family:Arial; font-size:xxx-large;">'''[[WP:IND|WikiProject India]]'''</div>
and
invited to [[Wikipedia:WikiProject India/Newsletter/Members|subscribe]] to the newsletter. Thank you.
is replaced with
invited to [[Wikipedia:WikiProject India/Newsletter/Members|subscribe]] to the newsletter. Thank you.'''
and
(\<\/div\>\n)\{\{Col-begin\}\}\n(\<div style\=\"padding\:10px\"\>\n\[\[File\:Flag of India\.svg\|right\|200px\]\])
is replaced with
$1$2
and
(\<\/div\>\<br\>\{\{clear\}\}\n)\{\{Col-end\}\}
is replaced with
$1
2) Welcome template color orange
Fix 1 old behaviour of link wrapping font tag, 3 obsolete html tag errors
\<center\>\<font size\=\"\+1\" color\=\"white\"\>Hi, ([^,]*), \<font color\=\"orange\"\>\[\[Wikipedia\:Welcome, newcomers\|Welcome\]\]\<\/font\> to Wikipedia\! \[\[Image\:Wikipedia-logo\.png\|50px\]\]\<\/font\>\<\/center\>\<\/div\>\<\/div\>
is replaced with
<div class="center" style="font-size:large; color:white;">Hi, $1, [[Wikipedia:Welcome, newcomers|<span style="color:orange;">Welcome</span>]] to Wikipedia! [[Image:Wikipedia-logo.png|50px]]</div></div>
3) Welcome template color white
Fix 1 old behaviour of link wrapping font tag, 3 obsolete html tags, 1 missing end tag and 1 stripped tag errors
<center ><font size="+1" color="yellow">Hi, {{PAGENAME}}, <font color="white">[[Wikipedia:Welcome, newcomers|Welcome]]</font> to Wikipedia!</font></div>
is replaced with
<div class="center" style="font-size:large; color:yellow;">Hi, {{PAGENAME}}, [[Wikipedia:Welcome, newcomers|<span style="color:white;">Welcome</span>]] to Wikipedia!</div>
4) Mole Day template
Fix 2 html5 misnesting, 2 misnested tags, 4 obsolete html and 2 stripped tag errors
<center><span style="font-family: Arial; font-size: 12pt"><font size="18">'''[[Mole Day|Happy Mole Day]]'''</center></font></span>
is replaced with
<div style="text-align:center; font-family:Arial; font-size:xxx-large;">'''[[Mole Day|Happy Mole Day]]'''</div>
and
<center><span style="font-family: Sans; font-size: 10pt"><font size="18">''[[Avogadro constant|6.022x10<sup>23</sup>]]''</center></font></span>
is replaced with
<div style="text-align:center; font-family:Sans; font-size:xxx-large;">''[[Avogadro constant|6.022x10<sup>23</sup>]]''</div>
5) Invitation to WikiProject Breakfast
Fix 2 deletable table tags and 1 misnested tag errors
\{\| style\=\"border-spacing\:2px\; margin\:0px\" width\=\"90\%\" *\n\{\| class\=\"MainPageBG\" style\=\"width\: 55\%\; border\:1px solid black\; background-color\:\#FFF\; color\:\#FFF\;font-size\: 90\%\"\|\n(\{\| width\=\"100\%\" cellpadding\=\"2\" cellspacing\=\"5\" style\=\"background-color\:\#dff2f3\"\n\! \<div style\=\"margin\: 0\; background-color\:\#FBFC5D\;)
is replaced with
$1
and
(\<br\>\<br\>\<br\>)(\n\|\})(\<\/div\>)(\n\<\!--Template\:WikiProject Breakfast invitation--\>)
is replaced with
$1$3$2$4
6) WikiProject Professional wrestling newsletters
Fix 1 deletable table tag and 4 obsolete html tag errors
Only some issues of this newsletter have the high priority deletable table tag Lint errors. These are present in about 500 pages each with a large overlap. Regexes used in this run will be able to fix all of them in the same edit. Many more other issues only have low priority obsolete html tag errors. If they are present the page, the regexes used will fix them in the same edit as well.
\|- \n\{\| width\=100\% style\=\"background\:none\;\"\n(\|-\n\|valign\=top style\=\"border\:1px solid black\; -moz)
is replaced with
$1
and
\<center\>\<font size\=\"5\"\>\'\'\'(The \[\[Wikipedia\:WikiProject Professional wrestling\|WikiProject Professional wrestling\]\] \[\[Wikipedia\:WikiProject Professional wrestling\/Newsletter\|newsletter\]\])\'\'\'\<\/font\>(\<br\>Issue [A-Z]+ — [A-Za-z]+ [0-9]+, 2008)\<\/center\>
is replaced with
<div class="center"><b style="font-size:x-large;">$1</b>$2</div>
and
<center><small>[[Wikipedia:WikiProject Professional wrestling/Collaboration of the week|Cast your vote to select the collaboration for next week!]] — Nominate an article that could be greatly improved!</small></center>
is replaced with
{{center|<small>[[Wikipedia:WikiProject Professional wrestling/Collaboration of the week|Cast your vote to select the collaboration for next week!]] — Nominate an article that could be greatly improved!</small>}}
and
<center>'''[[Wikipedia talk:WikiProject Professional wrestling/Newsletter#General discussion|Discussion]] • [[Wikipedia talk:WikiProject Professional wrestling/Newsletter#Suggestions|Suggestions]] • [[Wikipedia talk:WikiProject Professional wrestling/Newsletter#Feedback|Feedback]]'''</center>
is replaced with
{{center|'''[[Wikipedia talk:WikiProject Professional wrestling/Newsletter#General discussion|Discussion]] • [[Wikipedia talk:WikiProject Professional wrestling/Newsletter#Suggestions|Suggestions]] • [[Wikipedia talk:WikiProject Professional wrestling/Newsletter#Feedback|Feedback]]'''}}
7) WikiProject Professional wrestling newsletter July 6, 2008
Fix 2 deletable table tags and 5 obsolete html tag errors
\<center\>\<font size\=\"5\"\>\'\'\'(The \[\[Wikipedia\:WikiProject Professional wrestling\|WikiProject Professional wrestling\]\] \[\[Wikipedia\:WikiProject Professional wrestling\/Newsletter\|newsletter\]\])\'\'\'\<\/font\>(\<br\>Issue [A-Z]+ — [A-Za-z]+ [0-9]+, 2008)\<\/center\>
is replaced with
<div class="center"><b style="font-size:x-large;">$1</b>$2</div>
and
style="width: 60%; border: 3px black solid; background-color: #66CCFF; padding: 1em;" | <center>Thank you for reading WikiProject Professional Wrestling's 20th Newsletter Edition</center>
is replaced with
style="width: 60%; border: 3px black solid; background-color: #66CCFF; padding: 1em; text-align:center;" | Thank you for reading WikiProject Professional Wrestling's 20th Newsletter Edition
and
\|-( \n\{\| class\=\"navbox collapsible collapsed\" style\=\"text-align\: left\; border\: 2px\; margin-top\: 0\.2em\;\"\n\|-\n\! colspan\=\"2\" valign\=\"middle\" style\=\"width\: 60\%\;)
is replaced with
|}$1
and
\|- \n\{\| width\=100\% style\=\"background\:none\;\"\n(\|-\n\|valign\=top style\=\"border\:1px solid black\; -moz)
is replaced with
$1
and
<center><small>[[Wikipedia:WikiProject Professional wrestling/Collaboration of the week|Cast your vote to select the collaboration for next week!]] — Nominate an article that could be greatly improved!</small></center>
is replaced with
{{center|<small>[[Wikipedia:WikiProject Professional wrestling/Collaboration of the week|Cast your vote to select the collaboration for next week!]] — Nominate an article that could be greatly improved!</small>}}
and
<center>'''[[Wikipedia talk:WikiProject Professional wrestling/Newsletter#General discussion|Discussion]] • [[Wikipedia talk:WikiProject Professional wrestling/Newsletter#Suggestions|Suggestions]] • [[Wikipedia talk:WikiProject Professional wrestling/Newsletter#Feedback|Feedback]]'''</center>
is replaced with
{{center|'''[[Wikipedia talk:WikiProject Professional wrestling/Newsletter#General discussion|Discussion]] • [[Wikipedia talk:WikiProject Professional wrestling/Newsletter#Suggestions|Suggestions]] • [[Wikipedia talk:WikiProject Professional wrestling/Newsletter#Feedback|Feedback]]'''}}
8) WikiProject Horror Newsletter - February 2009
Fix 1 deletable table tag error
(February 2009\)\n\{\{\!\}\}-\n\}\}\n)\{\| \n\|-\n(\|valign\=top style\=\"border\:1px solid red\; -moz)
is replaced with
$1$2
9) WikiProject Horror Newsletter - March 2009
Fix 1 deletable table tag error
(March 2009\)\n\{\{\!\}\}-\n\}\}\n)\{\| \n\|-\n(\|valign\=top style\=\"border\:1px solid red\; -moz)
is replaced with
$1$2
10) WikiProject Novels Newsletter - June 2009
Fix 1 deletable table tag, 1 missing end tag and 2 obsolete html tag errors
\|-\n\{\| width\=100\% style\=\"background\:none\;\"\n(\|-\n\|valign\=top style\=\"border\:1px solid black\; -moz)
is replaced with
$1
and
<center><font size="5">'''[[Wikipedia:WikiProject_Novels|The WikiProject Novels Newsletter]]'''</font><br>Issue 30 - June 2009</center>
is replaced with
<div class="center"><b style="font-size:x-large;">[[Wikipedia:WikiProject_Novels|The WikiProject Novels Newsletter]]</b><br>Issue 30 - June 2009</div>
and
- '' Contributors are [[User:Alan16|Alan16]], (who searched the archives).
is replaced with
- '' Contributors are [[User:Alan16|Alan16]], (who searched the archives).''