User:TedderBot/CurrentPruneBot
Objective
The {{Current}} and {{Current related}} templates are used to alert editors that articles that are connected to a current event and receiving so many edits in a short period of time that edit conflicts are likely, and that the information within the article may not be up-to-date. Unfortunately, some editors are unaware that the templates are not to be used simply to mark topics that happen to be in the news. Additionally, whether applied correctly or not, the templates sometimes remain in place well after the event when editing slows down to manageable levels.
At present, the way that forgotten {{Current}} and {{Current related}} templates get removed from articles is by editors going to the template's page, selecting "what links here" or Category:Current events, reviewing each article that the template is transcluded onto, and removing the template from those articles with few recent edits. This process is onerous and error-prone.
The CurrentPruneBot assists in the detection and removal of forgotten {{Current}} and {{Current related}} templates. It does this by regularly scanning for the template in article space, looking at the article history for the date and time of the last non-bot edit for each article with the template, and editing the article to remove the template if two or more hours have passed since the last non-bot edit. It leaves an edit message referring editors to the template's page and reminding editors that the template is to be used for articles experiencing rapid editing, not for marking topics that happen to be in the news.
Previous conversations
Features
- Configuration:
- Overall aging (no edits in past 2 hours)
- Edit-warring backoff (don't remove if edited by TedderBot in past 24 hours)
- List of {{current}} templates
- (future) Aging for specific template (less than N edits in M time)
Plan
- By someone who is not Tedder
Done Come up with a policy/guideline for the current templates that can be linked to in the summary. This might simply involve rewriting Template:Current#Guidelines.
- By tedder
Done Scan WhatLinksHere for the {{current}}template
Done Determine last edits, times
Done Does it meet the aging criteria?
Done If yes: remove template with editsummary: "Stale template removed by [[User:TedderBot/CurrentPruneBot|CurrentPruneBot]], see guidelines for template use at [[TODO]]
- edit summary: "[[User:TedderBot/CurrentPruneBot|remove stale current-event template]], please see [[WP:CAFET]]. (bot edit)"
Not done Log removal text and time at User:TedderBot/CurrentPruneBot/log?
- Not logging, it can be seen in contribs.
Status
- May 12 2010: census is up: /census. This runs hourly and shows what the bot sees ("M time").
- May 15 2010: bot coded, committed to github. BRFA filed: Wikipedia:Bots/Requests for approval/TedderBot 5.
- May 20 2010: a trial was granted and was successful.
- May 27 2010: bot was approved to run.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.