Wikipedia:Bots/Requests for approval/Merge bot 2
Operator: Wbm1058 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 01:08, Saturday, January 28, 2017 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): PHP
Source code available:
Function overview: History-merge categories which were moved by User:Cydebot between April 2006 and March 2015
Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Bot for category history merges
Edit period(s): One time run, but the process will be run 3 times or more as needed to clear the work queue
Estimated number of pages affected: over 87,000
Exclusion compliant (Yes/No): No
Adminbot (Yes/No): Yes (needs admin flag set)
Already has a bot flag (Yes/No): Yes
Function details: Use API:Usercontribs to select all Cydebot category-space new page creations from March 2015 back to 2006. This is the beginning of the selection set. In developing and testing the bot, I've already processed the first four items on the list. Check to see if the page shown in Cydebot's edit history has mergeable, deleted revisions and is a different page than the page Cydebot created, if so, then (1) Undelete the page, (2) Merge the appropriate history to the current category title (3) Delete the page (4) revision-delete the edit summary of the destination page of Cydebot's move, as it's no longer needed for attribution, but prevents listed users from vanishing).