Operator: Hasteur ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 13:06, Tuesday August 6, 2013 ( UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): python/pywikibot
Source code available: [1] evaluate_active_cat.py/evaluate_disabled_cat.py
Function overview: Once a day, traverse Category:AfC submissions with missing AfC template and evaluate the membership looking for any AfC template that applies the AfC submissions by date category (currently AFC declined and AFC draft). If at least 1 template exists, remove the defect tracking category. If the defect tracking category exists on the page but is disabled, remove it.
Links to relevant discussions (where appropriate): Wikipedia_talk:WikiProject_Articles_for_creation/2013_4#more_work and Wikipedia_talk:AFC#Articles_in_Afc_space_which_have_never_had_a_submit_template
Edit period(s): Daily
Estimated number of pages affected: Dependant on how much effort volunteers make at cleaning this backlog, could be several hundred or zero per day period.
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: If an editor does some work to add AFC templates, such as [2], the category is not removed and must be removed later in order to delist the submission from the category because it no longer meets membership. This bot will check for the 2 AFC templates and remove the category. It will also check to see if the category exists on the page and is just disabled (by a prefixing colon).
{{ BAGAssistanceNeeded}} Paging BAG Hasteur ( talk) 14:07, 14 August 2013 (UTC) reply
"If the defect tracking category exists on the page but is disabled, remove it." -- wouldn't the pages not be in the defect category to begin with if it is disabled? — HELLKNOWZ ▎ TALK 19:42, 20 August 2013 (UTC) reply
Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Doesn't matter how many is first or second part of the task, as long as both appear for at least a few edits. — HELLKNOWZ ▎ TALK 20:03, 20 August 2013 (UTC) reply
Trial complete. Ok, I've shown examples of enabled category and disabled category. The string does show up on a few article space pages (under 5) so I'll adjust those personally. Hasteur ( talk) 02:33, 30 August 2013 (UTC) {{ BAGAssistanceNeeded}} reply
Approved. Edits look good, simple task. — HELLKNOWZ ▎ TALK 23:08, 19 September 2013 (UTC) reply