Jump to content

Wikipedia:Bots/Requests for approval/FrescoBot 10

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Kingpin13 (talk | contribs) at 09:58, 10 May 2011 (add). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Operator: Basilicofresco (talk · contribs)

Time filed: 23:00, Thursday May 5, 2011 (UTC)

Automatic or Manual: Automatic unsupervised

Programming language(s): Python

Source code available: Standard pywikipedia

Function overview: it separates footnotes from external links creating a new "References" section where necessary.

Links to relevant discussions (where appropriate): not necessary, already defined in Wikipedia:External links#Important points to remember and Wikipedia:Inline citations#References/Notes section

Edit period(s): montly or less

Estimated number of pages affected: 1400

Exclusion compliant (Y/N): Y

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

Function details: if footnotes tags (eg. <references/>) or templates (eg. {{reflist}}) are found within the "External links" section and a "Reference" section does not exist, then a new "Reference" section is created and these tags are moved there. Example: [1].

Discussion

Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. MBisanz talk 02:08, 9 May 2011 (UTC)[reply]

Trial complete. From now on it will also skip pages with a "Notes" section. In the meantime, can I also fix unwanted spaces in front of references tags/templates? -- Basilicofresco (msg) 05:58, 10 May 2011 (UTC)[reply]
No, better not to, that's a cosmetic change (see WP:BOTPOL), can you set it to skip if whitespace only is changed please? - Kingpin13 (talk) 09:57, 10 May 2011 (UTC)[reply]
Also, in this example the references tag wasn't within the External links section, they were in a level 1 notes section. - Kingpin13 (talk) 09:58, 10 May 2011 (UTC)[reply]