User talk:Mikaey/Archives/2013/January
This is an archive of past discussions about User:Mikaey. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Modifying Aargbot to fix cut and paste moves
Hi Mikaey, I stumbled across Aarghbots work, and triggered by the number of cut and paste moves by Rambot, I noticed there are quite a few pages identified as cut and paste moves that might be fixed automatically. I was thinking that Aarghbot might be extended to run under an admin flag, and automatically fix the copy paste move for the very simplest cases, that is iff
- The history of the original page only has one contributor
- There are no deleted versions in the history of either the orignal or the target page
- The target page is created by the only contributor of the first page
- There are no edits to the original page after the redirect
- There is a diff score of 0
- The last revision before the redirect of the original page is earlier than the creation of the target page*
The actions the bot should then take are:
- Identify the source and target
- check if above conditions apply
- move the original page over the new page, leaving a redirect
- undelete all old revisions on the new page
- iff the newest revision of the target page is now the redirect, restore the last revision*
(*) for an even simpler version, the last action could be dropped, and the condition tightened to "the last revision of the original page is earlier than the creation of the target page"
To make this work, you would have to run it under your admin account, and get a new approval of the BAG. Would you be interested in making this change? Martijn Hoekstra (talk) 11:14, 13 January 2013 (UTC)
- I've thought about doing this before, but I don't have the time to put into it right now. Plus, I know that it's extremely hard to get a bot with admin rights approved, and I'd rather not fight that battle just yet. Thanks for the suggestion though. Mikaey, Devil's advocate 16:55, 13 January 2013 (UTC)
- If your bots code is free, I wouldn't mind hacking in to it to make the chance, and apply to BAG - I just didn't want to steal your bot/thunder, so I suggested for you to do it. When I was looking through the created list, I just found myself thinking "no way I'm going to do those history merges; that's bot work". Martijn Hoekstra (talk) 17:48, 13 January 2013 (UTC)
- I think I'd rather hang on to it for right now. The code is still very much alpha code (I've never been able to make a single complete run through all of Wikipedia with it -- in fact, the bot crashed yesterday and I'm still trying to figure out why), and spaghetti code at that. I think I'd be kind of embarrassed to put it out in a state like that. Mikaey, Devil's advocate 01:35, 15 January 2013 (UTC)
- If your bots code is free, I wouldn't mind hacking in to it to make the chance, and apply to BAG - I just didn't want to steal your bot/thunder, so I suggested for you to do it. When I was looking through the created list, I just found myself thinking "no way I'm going to do those history merges; that's bot work". Martijn Hoekstra (talk) 17:48, 13 January 2013 (UTC)
WikiProject Hstory Merge
Hi. I notice that you created the bot that makes WP:NHML possible. I was wondering if it is possible in this wiki to obtain permissions to help with the backlog on the WikiProject? I would like to help out as this is a backlog that will take admins a very long time to solve, but I can't without being able to merge histories. Thanks, iComputerSaysNo 17:51, 30 January 2013 (UTC)