New to bots on Wikipedia? Read these primers!
Operator: AssumeGoodWraith ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 11:34, Wednesday, February 16, 2022 ( UTC)
Function overview: Adds AFC unsubmitted templates to drafts.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: I think this works?
Links to relevant discussions (where appropriate): Wikipedia:Village pump (proposals) § Bot proposal (AFC submission templates)
Edit period(s): Meant to be continuous.
Estimated number of pages affected: ~100 a day, judging by the new pages feed (about 250 today) and assuming that not many drafts are left without the afc template
Namespace(s): Draft
Exclusion compliant (Yes/No): Yes (pywikibot)
Function details: Adds AFC unsubmitted templates ( {{afc submission/draft}} ) to drafts in draftspace that don't have them, the {{draft article}} template, or anything that currently redirects to those 2. See the examples in the VPR proposal listed above.
"{{afc submission".lower()
, "{{articles for creation".lower()
, etc. as separate conditions that are always True
, meaning the only condition that is actually considered is "{{draft article}}".lower() not in page.text
. Also, your time.sleep
call is outside the loop, meaning it will never actually be run.
Bsoyka (
talk ·
contribs)
04:59, 25 February 2022 (UTC)
reply
I'm not sure I'll get this done soon due to loss of interest in Wikipedia. – AssumeGoodWraith ( talk | contribs) 14:21, 27 June 2022 (UTC) reply
Withdrawn by operator.
ProcrastinatingReader (
talk)
22:23, 29 December 2022 (UTC)
reply