Jump to content

Wikipedia:Bots/Requests for approval/Mobius Bot 3: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
yay for bots
 
Line 13: Line 13:


<!--Source code available: e.g. a link to the source code, "Standard pywikipedia"/"AWB"/etc. Be sure the bot account's password is not given out! -->
<!--Source code available: e.g. a link to the source code, "Standard pywikipedia"/"AWB"/etc. Be sure the bot account's password is not given out! -->
'''[[Source code]] available:''' After cleanup, this will be a link
'''[[Source code]] available:''' After cleanup, [http://pastebin.com/Fq53kiut this] will be a link


<!--Please keep Function Overview SHORT (i.e. one or two lines) and put any in-depth explanation in the details section below-->
<!--Please keep Function Overview SHORT (i.e. one or two lines) and put any in-depth explanation in the details section below-->

Revision as of 21:15, 17 May 2010

Operator: Mobius Clock (talk · contribs)

Automatic or Manually assisted: Automatic

Programming language(s): Python

Source code available: After cleanup, this will be a link

Function overview: Fixing articles that have <ref> tags and/or template parameters which create references, but no <references/> or {{reflist}}, using this category.

Links to relevant discussions (where appropriate): Wikipedia:Bot_requests#Missing_reflist

Edit period(s): Periodically, category requires semi-constant clearing

Estimated number of pages affected: However many are in the category!

Exclusion compliant (Y/N): No, if necessary can be made so

Already has a bot flag (Y/N): Y

Function details: Although SmackBot was approved to do this, it hasn't run this task in a while, and given that there has been a direct request for this kind of thing, I thought it can't hurt to have more than one bot available. Basically the bot will run through the 'pages with missing reflist' category, and add said reflist if: the page actually has references, excluding those in HTML comments, or the page contains a template with a parameter that automatically adds a reference, and there is no reflist or <references/> tag. One ref-generating parameter in the German location infobox (see BOTREQ) prompted this task, if any others exist, please let me know. The BOTREQ referred to running through the transclusions of the given template; I did a dry run and found that less than 5% of the pages needed to be fixed, and therefore I thought it more efficient to do the whole category, and cross the whole thing off the 'things what need fixing plz' list, at least temporarily.

Discussion