Wikipedia:Bots/Requests for approval/Bot0612 8
Tools
Actions
General
Print/export
In other projects
Appearance
From Wikipedia, the free encyclopedia
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Request Expired.
Automatic or Manually Assisted: Automatic (supervised)
Programming Language(s): Python (using python-wikitools)
Function Overview: Update the new status parameter of {{bot}}, based on how recently the bot has edited.
Edit period(s): One first run to add the new parameter, then as-needed to keep it up-to-date
Already has a bot flag (Y/N): Y
Function Details: Here's the outline of the logic the bot will use:
- Get the transclusions of {{bot}} and get the first page
- If the bot in question has edited in the last 6 months (182 days), add or update the status parameter to 'active'
- If the bot has not edited in the last 6 months, or has no edits at all, add or update the status parameter to inactive
- Next page
Discussion
[edit]- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. This has been in consultation on WP:BON for approx. a fortnight now, and no-one has raised any conerns. - Jarry1250 (t, c) 12:21, 15 March 2009 (UTC)[reply]
- Trial complete. Only one real bug, now fixed (my regexen were slightly broken, but it only showed up when editing a page that had already been processed; I may have gone over the 50 slightly due to fixing that bug, sorry!). Richard0612 13:39, 15 March 2009 (UTC)[reply]
- I've also added in a line which will strip Category:Wikipedia bots and any manually-added status categories from any bot userpages it encounters. As {{bot}} automatically categorises bots into the new category, Category:Wikipedia bots by name, the old one may as well be deprecated while we're running through, and manually added status cats will duplicate those added by the template (thanks to Jarry1250 for the idea). Richard0612 14:11, 15 March 2009 (UTC) [edited 14:21, 15 March 2009 (UTC)][reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. With revised code. - Jarry1250 (t, c) 08:51, 16 March 2009 (UTC)[reply]
- I've also added in a line which will strip Category:Wikipedia bots and any manually-added status categories from any bot userpages it encounters. As {{bot}} automatically categorises bots into the new category, Category:Wikipedia bots by name, the old one may as well be deprecated while we're running through, and manually added status cats will duplicate those added by the template (thanks to Jarry1250 for the idea). Richard0612 14:11, 15 March 2009 (UTC) [edited 14:21, 15 March 2009 (UTC)][reply]
- Trial complete. Only one real bug, now fixed (my regexen were slightly broken, but it only showed up when editing a page that had already been processed; I may have gone over the 50 slightly due to fixing that bug, sorry!). Richard0612 13:39, 15 March 2009 (UTC)[reply]
- A user has requested the attention of the operator. Once the operator has seen this message and replied, please deactivate this tag. (user notified) Checking the status of the second trial Q T C 22:20, 25 March 2009 (UTC)[reply]
Request Expired. This user seems to have disappeared--no edits in the last month. Richard, if you come back, feel free to let me know and I'll reopen it. – Quadell (talk) 23:16, 15 April 2009 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.