Operator: Ceradon ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 18:58, Friday October 12, 2012 ( UTC)
Automatic, Supervised, or Manual: Automatic partially-supervised
Programming language(s): Python
Source code available: Yes.
Function overview: Date maintenance tags.
Links to relevant discussions (where appropriate):
Edit period(s): Four times an hour.
Estimated number of pages affected: Several thousand.
Exclusion compliant (Yes/No): Yes.
Already has a bot flag (Yes/No): No
Function details: The bot dates maintenance tags listed here with their respective templates listed here. It utilizes parts of the pywikipedia toolkit. It was originally designed by Legoktm, but I've corrected several bugs and added a bit of robustness to the bot's performance. Aside from it's normal dating functions, the bot would convert template redirects to their respective targets and convert "{{subst:CURRENTYEAR}}" to "2012" if it finds that (and it has when I conducted testing). It would also correct the names of months. So: "october" becomes "October" and "sept" becomes "September". The bot retrieves a list of pages from this category. I have already tested the bot and I've concluded it works as it should. Anomie's bot does this already but, as we've seen with Rich Farmborough's bot, things happen that render people unable to complete tasks and it always helps to have a backup bot. The bot also corrects the capitalization on the templates it dates, and, at times, may correct the capitalization of other templates that have to the names in the list the bot compiles. This is rare and I'm working on fixing this, which I'm confident I will do in the future.
A few lot of comments:
not temp.has_param('date')
or temp.has_param('date')
would be true, leaving the other elif
blocks to never be reached.self.minor_cleanup
is not cleared except on edit. Why not just use a local variable?HTH. Anomie ⚔ 03:30, 13 October 2012 (UTC) reply
Just a note, I did some minor code review in the github comments. Ceradon, I fixed the capitalization error in this commit which you can just copy. Lego Kontribs TalkM 08:40, 13 October 2012 (UTC) reply
{{
BAGAssistanceNeeded}}
Can someone pose a verdict on this request, please? I think all of the concerns voiced by Anomie have been addressed. --
ceradon
talk
contribs 20:41, 17 October 2012 (UTC)
reply
I notice the bot still appears to be editing, although you said over 10 days ago you were going to add a stop page feature. It looks like you're continuing to test the bot, despite there being no approval for a trial. I haven't looked at the code, so can't really confirm if the issues mentioned by Anomie have been fixed yet, I'm not sure if Anomie plans to look at that in more detail or not. I do note that the bot is continuing to make edits like those pointed out in item #5 above, e.g. in this edit. - Kingpin 13 ( talk) 21:47, 23 October 2012 (UTC) reply
Ceradon asked me on IRC to take another look at this. It appears that issues #4, #5, and #6 are still present. And #10, although that one isn't really a big deal. It looks like #2, #3, #7, #8, and #9 are fixed. I haven't checked to see if there are any new issues. Anomie ⚔ 22:16, 6 November 2012 (UTC) reply
|Date=
exists, or |dates=
, or if the first few unnamed parameters contain a date (but don't screw up {{
afd-merge from}} or {{
afd-merge to}}!).
Anomie
⚔ 23:29, 6 November 2012 (UTC)
reply
{{
OperatorAssistanceNeeded|D}}
Any updates?
MBisanz
talk 01:03, 31 December 2012 (UTC)
reply
Everything with Cerabot is moving along well, I felt that Pywikipedia had become too cumbersome and difficult to use so I've decided to use Mr.Z-man's wikitools framework. It's simpler and easier to use. The new code is right here on GitHub. Cheers, -- ceradon talk contribs 01:50, 26 February 2013 (UTC) reply
Operator: Ceradon ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 18:58, Friday October 12, 2012 ( UTC)
Automatic, Supervised, or Manual: Automatic partially-supervised
Programming language(s): Python
Source code available: Yes.
Function overview: Date maintenance tags.
Links to relevant discussions (where appropriate):
Edit period(s): Four times an hour.
Estimated number of pages affected: Several thousand.
Exclusion compliant (Yes/No): Yes.
Already has a bot flag (Yes/No): No
Function details: The bot dates maintenance tags listed here with their respective templates listed here. It utilizes parts of the pywikipedia toolkit. It was originally designed by Legoktm, but I've corrected several bugs and added a bit of robustness to the bot's performance. Aside from it's normal dating functions, the bot would convert template redirects to their respective targets and convert "{{subst:CURRENTYEAR}}" to "2012" if it finds that (and it has when I conducted testing). It would also correct the names of months. So: "october" becomes "October" and "sept" becomes "September". The bot retrieves a list of pages from this category. I have already tested the bot and I've concluded it works as it should. Anomie's bot does this already but, as we've seen with Rich Farmborough's bot, things happen that render people unable to complete tasks and it always helps to have a backup bot. The bot also corrects the capitalization on the templates it dates, and, at times, may correct the capitalization of other templates that have to the names in the list the bot compiles. This is rare and I'm working on fixing this, which I'm confident I will do in the future.
A few lot of comments:
not temp.has_param('date')
or temp.has_param('date')
would be true, leaving the other elif
blocks to never be reached.self.minor_cleanup
is not cleared except on edit. Why not just use a local variable?HTH. Anomie ⚔ 03:30, 13 October 2012 (UTC) reply
Just a note, I did some minor code review in the github comments. Ceradon, I fixed the capitalization error in this commit which you can just copy. Lego Kontribs TalkM 08:40, 13 October 2012 (UTC) reply
{{
BAGAssistanceNeeded}}
Can someone pose a verdict on this request, please? I think all of the concerns voiced by Anomie have been addressed. --
ceradon
talk
contribs 20:41, 17 October 2012 (UTC)
reply
I notice the bot still appears to be editing, although you said over 10 days ago you were going to add a stop page feature. It looks like you're continuing to test the bot, despite there being no approval for a trial. I haven't looked at the code, so can't really confirm if the issues mentioned by Anomie have been fixed yet, I'm not sure if Anomie plans to look at that in more detail or not. I do note that the bot is continuing to make edits like those pointed out in item #5 above, e.g. in this edit. - Kingpin 13 ( talk) 21:47, 23 October 2012 (UTC) reply
Ceradon asked me on IRC to take another look at this. It appears that issues #4, #5, and #6 are still present. And #10, although that one isn't really a big deal. It looks like #2, #3, #7, #8, and #9 are fixed. I haven't checked to see if there are any new issues. Anomie ⚔ 22:16, 6 November 2012 (UTC) reply
|Date=
exists, or |dates=
, or if the first few unnamed parameters contain a date (but don't screw up {{
afd-merge from}} or {{
afd-merge to}}!).
Anomie
⚔ 23:29, 6 November 2012 (UTC)
reply
{{
OperatorAssistanceNeeded|D}}
Any updates?
MBisanz
talk 01:03, 31 December 2012 (UTC)
reply
Everything with Cerabot is moving along well, I felt that Pywikipedia had become too cumbersome and difficult to use so I've decided to use Mr.Z-man's wikitools framework. It's simpler and easier to use. The new code is right here on GitHub. Cheers, -- ceradon talk contribs 01:50, 26 February 2013 (UTC) reply