Operator: MusikAnimal ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 01:54, Friday, October 9, 2015 ( UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): Ruby
Source code available: GitHub
Function overview: "Rotate" headings at T:TDYK every day. This means moving the "Current nominations" heading to the current day minus seven days, and then adding a new heading for the current date.
Links to relevant discussions (where appropriate): Special:PermaLink/684810934#Updating_T:TDYK_every_new_day
Edit period(s): Daily
Estimated number of pages affected: 1
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: The bot will run every day at 00:00:00 GMT, acting on T:TDYK. It will move the level 2 "Current nominations" heading above the level 3 headings for the current day minus seven days (specified by User:MusikBot/RotateTDYK/Offset). Next, it checks if a heading exists for the current date, and if it doesn't, creates it along with the instructional comment. This is best exemplified by diffs, see [1] (the bot on testwiki) versus [2] (human on enwiki).The important thing is that the bot doesn't try to do anything that's already been done, and is programmed to handle edit conflicts. Conceivably if the page gets mangled the bot will error out and abort, since we're using explicit regex to identify what to change on the page. If it fails it will wait 3 minutes and try again, and continue to do so for up to 15 minutes before aborting entirely. Errors are logged at User:MusikBot/RotateTDYK/Error log — MusikAnimal talk 01:54, 9 October 2015 (UTC) replyApproved for trial (7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — Earwig talk 21:06, 10 October 2015 (UTC) reply
Operator: MusikAnimal ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 01:54, Friday, October 9, 2015 ( UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): Ruby
Source code available: GitHub
Function overview: "Rotate" headings at T:TDYK every day. This means moving the "Current nominations" heading to the current day minus seven days, and then adding a new heading for the current date.
Links to relevant discussions (where appropriate): Special:PermaLink/684810934#Updating_T:TDYK_every_new_day
Edit period(s): Daily
Estimated number of pages affected: 1
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: The bot will run every day at 00:00:00 GMT, acting on T:TDYK. It will move the level 2 "Current nominations" heading above the level 3 headings for the current day minus seven days (specified by User:MusikBot/RotateTDYK/Offset). Next, it checks if a heading exists for the current date, and if it doesn't, creates it along with the instructional comment. This is best exemplified by diffs, see [1] (the bot on testwiki) versus [2] (human on enwiki).The important thing is that the bot doesn't try to do anything that's already been done, and is programmed to handle edit conflicts. Conceivably if the page gets mangled the bot will error out and abort, since we're using explicit regex to identify what to change on the page. If it fails it will wait 3 minutes and try again, and continue to do so for up to 15 minutes before aborting entirely. Errors are logged at User:MusikBot/RotateTDYK/Error log — MusikAnimal talk 01:54, 9 October 2015 (UTC) replyApproved for trial (7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — Earwig talk 21:06, 10 October 2015 (UTC) reply