User talk:SDPatrolBot/ErrorReports/Archive/2011/March
![]() | This is an archive of past discussions. 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. |
warning wrong person
Hi Kingpin. I just declined a speedy and your bot replaced the template and warned the author. Who must by now be a rather confused newbie.... ϢereSpielChequers 01:31, 13 February 2011 (UTC)
- Hi WereSpielChequers, sorry for taking so long to get back to you, completely missed this. I recently did a lot of work improving SDPatrolBot's efficiency and speed, and I'm guessing this was just a problem of Wikipedia lagging, since the bot only checks pages when they are removed from the speedy deletion category, and only when the most recent editor was the author. So for some reason it seems Wikipedia realised the page should be removed from the category before it actually registered that you had made the edit. Not much I can do here really, but at least this problem shouldn't be common - Kingpin13 (talk) 13:48, 22 February 2011 (UTC)
- Hi Kingpin, thanks for the reassurance. I guess bizarre computer glitches are part of modern life, and I'm a long way from getting consensus to go back to the clay tablet version of Wikipedia. But if twere possible to check at least that the newbie has edited it since the tag was applied it would close a loophole. ϢereSpielChequers 16:52, 3 March 2011 (UTC)
- Well the problem is that the bot does check this; it will only ever edit the page if the most recent edit was by the author. Part of the problem is knowing which order to do the checks in. Since this has caused a problem, I'll add a "last minute" check, so that the bot will abort just before editing if it then appears that the newbie wasn't the most recent editor, that should stop this particular issue reoccurring (so now (or in an hour or so when the new bot starts up) the absolute final check before editing is making sure the author was the latest editor). - Kingpin13 (talk) 17:08, 3 March 2011 (UTC)
- Now running,
Fixed - Kingpin13 (talk) 00:29, 4 March 2011 (UTC)
- Thanks Kingpin, much appreciated. ϢereSpielChequers 00:34, 4 March 2011 (UTC)
- You're welcome; it's worth it :) - Kingpin13 (talk) 00:57, 4 March 2011 (UTC)
- Thanks Kingpin, much appreciated. ϢereSpielChequers 00:34, 4 March 2011 (UTC)
- Now running,
- Well the problem is that the bot does check this; it will only ever edit the page if the most recent edit was by the author. Part of the problem is knowing which order to do the checks in. Since this has caused a problem, I'll add a "last minute" check, so that the bot will abort just before editing if it then appears that the newbie wasn't the most recent editor, that should stop this particular issue reoccurring (so now (or in an hour or so when the new bot starts up) the absolute final check before editing is making sure the author was the latest editor). - Kingpin13 (talk) 17:08, 3 March 2011 (UTC)
- Hi Kingpin, thanks for the reassurance. I guess bizarre computer glitches are part of modern life, and I'm a long way from getting consensus to go back to the clay tablet version of Wikipedia. But if twere possible to check at least that the newbie has edited it since the tag was applied it would close a loophole. ϢereSpielChequers 16:52, 3 March 2011 (UTC)
bizarre revert error
The bot correctly reverted a page blanking here, but bizarrely wiped the original content of the page, replacing it with a redirect to Ampersand. It should have looked like this. Bizarre. Hairhorn (talk) 20:15, 28 February 2011 (UTC)
- Hmm, the bot isn't actually meant to revert at all, it just re-adds the tag itself. I'm guessing the problem here was an encoding issue, where the bot was looking at the content for a different page. I'll have a look into it. - Kingpin13 (talk) 20:23, 28 February 2011 (UTC)
- Yes, so the issue seems to be that the bot encodes the title as %26%23039%3b%26%23039%3bMajor+Crimes%26%23039%3b%26%23039%3b+(tv+series), if you type that into the url bar you'll go to this page, which is where the bot got the content from. The interesting thing is the bot edits the correct page, which appears to be an issue of the Wikipedia API using a different encoding (the API is quite happy with the title "%26%23039%3b%26%23039%3bMajor+Crimes%26%23039%3b%26%23039%3b+(tv+series)", so requests like this work fine). This is because at the moment the bot uses index.php?&action=raw to get the content, but then uses api.php?&action=edit to post the edit. I'll either fix this by using the api to get the content (e.g. like this), or switching the encoding for the action=raw. Anyway, will all be
Fixed before I start the bot up again. - Kingpin13 (talk) 20:41, 28 February 2011 (UTC)
- Actually it seems to make more sense to grab the revision id from the api, and then use that to get the content (e.g. go to here, grab the revid value, and then use that to get the latest content from here. Should be doing that now, so I'll start it up again. - Kingpin13 (talk) 08:29, 3 March 2011 (UTC)
New page resulting from move
Bot replaced a tag and issued warnings regarding removal of speedy deletion template from Fred curran, an article created by a page move. Feezo (Talk) 08:53, 10 March 2011 (UTC)
- Should it not do this? In this case the page was eventually deleted. And it helps prevent malicious abuse (e.g. page move vandalism: vandals will move from page A to page B, users will tag the original page (A) for deletion, because it needs to be deleted to make way for a move, so the bot will prevent the vandal (at this point creator of page A) from removing the tag). - Kingpin13 (talk) 06:17, 11 March 2011 (UTC)
- If the bot's scope includes preventing page move vandalism, then I suppose it is working correctly. However, it was disruptive in this case, particularly as the page "created" by the move was merely a capitalization redirect. Feezo (Talk) 06:35, 11 March 2011 (UTC)
Bizzare edit
I just restored a deleted page (Best Place at the Historic Pabst Brewery) to userefy. When I looked at the restored page it was a copy of the main page with a CSD (not what I was expecting). Diff is http://wiki.riteme.site/w/index.php?title=User%3AGabriele449%2FBest_Place_at_the_Historic_Pabst_Brewery&action=historysubmit&diff=418219577&oldid=418214557.
History shows
# (cur | prev) 00:44, 11 March 2011 SDPatrolBot (talk | contribs | block) (5,255 bytes) (Replace template requesting speedy deletion under G11 removed by page creator) (bot edit) (undo) # (cur | prev) 00:05, 11 March 2011 Butterflyangelblue (talk | contribs | block) (2,061 bytes) (undo)
It seems to me that the page size changed when the bot edited. Ronhjones (Talk) 01:00, 11 March 2011 (UTC)
- This was caused by the bot drawing a blank on the revision id. If it's blank then it just gets redirected to the main page (like with this link: http://wiki.riteme.site/w/index.php?oldid=), which is why it thought the page had the content of the main page. Why it drew a blank I'm not quite sure. But I'll add a catch so that if in the future it draws blank again it will actually realise something is up; won't edit the page; and will log the error so I can fix it completely. - Kingpin13 (talk) 06:14, 11 March 2011 (UTC)
- OK thanks, It quite threw me at first - I thought I'd moved the Main Page! Ronhjones (Talk) 20:09, 11 March 2011 (UTC)