Wikipedia:Bots/Requests for approval/FrescoBot 10


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Symbol keep vote.svg Approved

FrescoBot 10
Operator:

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 External links and Inline citations

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. ) 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:.

Discussion
 MBisanz  talk 02:08, 9 May 2011 (UTC)
 * 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)
 * 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)
 * 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)
 * Similar thing here. Obviously in both examples the article prior to the bot edit was wrong, but they're still wrong even after the bot has edited. - Kingpin13 (talk) 10:00, 10 May 2011 (UTC)
 * You are right, these wrong whitespaces do not actually affect the appearance of the page: I will perform this correction only in conjunction with a substantial edit. I also changed the regex in order to take into account level-1 sections and skip these articles. -- Basilicofresco  (msg) 16:23, 10 May 2011 (UTC)
 * Okay, and what articles are you editing? (e.g. what's the source for the list of articles you check through?) - Kingpin13 (talk) 17:11, 10 May 2011 (UTC)
 * Well, obiouvsly the dump file. I will edit any article in ns0 with the above problem. -- Basilicofresco  (msg) 11:33, 11 May 2011 (UTC)

In addition to "Notes", do you have a list of other section names and mark-up "things" that will make the bot ignore the page. For example, section names containing any of the words, "References" as in "References for material"; "Notes" as in "Notes and footnotes"; "Bibliography", etc. Or syntax. It is unlikely that a reflist within the "External links" sections can contain anything but (online) references. In order to tune the bot I made some read only test runs and in my opinion it looks ready. -- Basilicofresco  (msg) 07:06, 21 May 2011 (UTC)
 * Do you need a second trial run? BAG assistance needed -- Basilicofresco  (msg) 08:11, 29 May 2011 (UTC)

Sure, go ahead. Do post a perma-link to contribs for easier review, please, as your bot is running other tasks too. — HELL KNOWZ  ▎TALK 08:14, 29 May 2011 (UTC)

D Any updates on the trial? No hurry if you're still working on it.  MBisanz  talk 23:17, 19 June 2011 (UTC)


 * Sorry for the delay, I wished to add a small improvement before the last trial, but I had almost no time during last weeks. Here are the edits -- Basilicofresco  (msg) 15:20, 2 July 2011 (UTC)
 * Looks good. Any chance of coding something in to flag stuff like this? I'm going to approve regardless, just checking if there is a way to look for that.  MBisanz  talk 23:46, 2 July 2011 (UTC)
 * I can trace them back and fix them manually. It's the safest way. -- Basilicofresco  (msg) 23:39, 4 July 2011 (UTC)
 *  MBisanz  talk 01:05, 6 July 2011 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.