Wikipedia:Bots/Requests for approval/Petan-Bot task9
- 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 Approved.
Operator: Petrb (talk · contribs)
Time filed: 18:07, Tuesday June 28, 2011 (UTC)
Automatic or Manual: Automatic unsupervised
Programming language(s): c++
Source code available: yes
Function overview: Do http://wiki.riteme.site/wiki/Wikipedia:Bot_requests/Archive_42#moving_afc_pages
Links to relevant discussions (where appropriate): http://wiki.riteme.site/wiki/Wikipedia:Bot_requests/Archive_42#moving_afc_pages
Edit period(s): hourly
Estimated number of pages affected: 10-50 every day
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): Y
Function details: Moves the pages which have the afc template and are in userspace to afc space Petrb (talk) 18:07, 28 June 2011 (UTC)[reply]
Discussion
[edit]Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Let's see how this is going to work out. For now, it's up to you if you move reviewed requests or not. - Kingpin13 (talk) 19:43, 28 June 2011 (UTC)[reply]
- Trial complete. Petrb (talk) 21:39, 28 June 2011 (UTC)[reply]
- Does this only move pages from userspace (I see some incorrect moves of already existing AfC pages)? What happens if the candidate page is a sub-sub-page (for example, User:H3llkn0wz/drafts/My first article)? What happens if the draft has a talk page?
- Also, can you fix the wrong moves, such as this and others, please? — HELLKNOWZ ▎TALK 13:44, 7 July 2011 (UTC)[reply]
- It doesn't move talk pages and now it only move the User: sub - pages, concerning / it moves everything behind User:Name so even if article is something like User:blah//dev/md it move /dev/md Petrb (talk) 05:58, 12 July 2011 (UTC)[reply]
Lets have another trial, make sure it is indeed working correctly now Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Also can you please post the source code somewhere so I can review it? --Chris 11:25, 24 July 2011 (UTC)[reply]
- Sure http://wiki.riteme.site/w/index.php?title=User:Petan-Bot/source/9 Petrb (talk) 19:38, 26 July 2011 (UTC)[reply]
- The code is missing the removal of the (optional)
{{userspacedraft}}
template on the moved pages. mabdul 19:48, 26 July 2011 (UTC)[reply]
- The code is missing the removal of the (optional)
- Sure http://wiki.riteme.site/w/index.php?title=User:Petan-Bot/source/9 Petrb (talk) 19:38, 26 July 2011 (UTC)[reply]
Approved. Don't see any more issues. — HELLKNOWZ ▎TALK 19:33, 4 August 2011 (UTC)[reply]
- 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.