Operator: [[Sam Korn]] (smoddy)
Automatic or Manually Assisted: Automatic
Programming Language(s): PHP
Function Overview:
Per this request, replaces {{
Needs television infobox}}
and {{
Needs football biography infobox}}
with the appropriate fields in the WikiProject banner, adding the banner if necessary.
Edit period(s): One time run.
Already has a bot flag (Y/N): Yes
Function Details:
For every article talk page that includes {{
Needs television infobox}}
, the bot will
{{
Needs television infobox}}
{{
TelevisionWikiProject}}
is present, migrate it to {{
WikiProject Television}}
{{
WikiProject Television}}
is not present, add itneeds-infobox=yes
to {{
WikiProject Television}}
{{
WikiProject Television}}
does not, migrate themADDED: Finally, it will post a list of articles that appear to have infoboxes to its user space.
The same procedure will apply for {{
Needs football biography infobox}}
, except with {{
WPBiography}}
and {{
Football}}
as appropriate.
[[Sam Korn]] (smoddy) 15:59, 23 February 2009 (UTC) reply
Seems like a good task for a bot (IMHO anyhow) - obviously, some testing would be needed to exclude the possibility of exceptions to the rules. (Also, I don't know whether the parameter is auto-assessed or not - if it is, might it also be a good idea - while you were there - to check for the presence of a suitable infobox in the article?) - Jarry1250 ( t, c) 17:03, 23 February 2009 (UTC) reply
/{{[iI]nfo[bB]ox/
in the article would probably work well enough for that part of it. Will your bot correctly handle {{
WPBS}} and {{
WPB}}, including the occasional case where someone leaves out the traditional "1="? Have you checked with the projects involved if they want other projects' assessments copied?
Anomie
⚔
00:33, 24 February 2009 (UTC)
replyprop=templates
API call.