Operator: Novem Linguae ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 19:52, Sunday, September 12, 2021 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): PHP
Source code available: https://github.com/NovemLinguae/NovemBotTask1
Function overview: After approved by the coordinators, promote successful good topic and featured topic candidates. This process has many steps and is currently done manually. The steps are located at User:Aza24/FTC/Promote Instructions.
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 82#Featured topic bot, Wikipedia talk:Featured topics#Bot to promote good and featured topics
Edit period(s): Probably hourly
Estimated number of pages affected: 25 per week
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Testing - I've done some semi automated testing (where the bot suggests changes via a webpage, then I copy paste that into Wikipedia, hit preview and diff, look it over, then submit). This process identified and fixed some bugs. I think the bot has reached a state where all major bugs are fixed. Ready to start letting it automatically edit. I'll continue watching the edits for several weeks to see if there are any more edge cases that need fixing.
I wrote unit tests for about half the bot's functions. The bot's steps that it takes are divided into about 30 functions in the src/Promote.php file.
Eventually I'll put this on ToolForge and let it run hourly.
The bot is summoned by placing the template User:NovemBot/Promote on a page, which puts the page into a hidden tracking category that the bot checks.
Security features to prevent abuse include the bot not editing unless the featured topic template is located on the summoning page, and some maximum article and maximum topics in category throttles.
Keep in mind that topics are variable in size. To promote each one is around 15-50 edits. For a trial, may make sense to approve a period of time or a certain # of topics, rather than a certain # of edits.
& # 32;
to a space. More cosmetic than anything... keep from uglifying a bunch of talk page Wikicode. Then I let the bot run, and it got to the parts of its code that were well tested, and did its thing. Maybe @
Aza24: can take a look at
User:NovemBot's contribs and double check the edits, would be good to get a second set of eyes on it, but I suspect those are fine as that code is frequently used and well-tested.@ SD0001 and TheSandDoctor: Alright, the bot made a bunch of edits this week, so I am checking in.
Date | Topic | Articles | Edits | Diffs | Full auto? | No errors? | Notes |
---|---|---|---|---|---|---|---|
2021-12-29 | Wikipedia:Featured topics/Next Nine | 10 | 20 [1] | D | No [2] | Y | Long story. Basically the info the bot was given was wrong, so I had to do a bunch of cleanup. But the bot functioned correctly with the input it was given. It was human error and not the bot's fault because the page name was wrong, and one of the article types was incorrectly specified as GA instead of FA. |
2021-12-30 | D | Y | N | Bot responded to a ping it was supposed to ignore. It output an error message at the bottom of a talk page. I reverted it and patched the bug. | |||
2021-12-30 | Wikipedia:Featured topics/Billboard number-one country songs | 78 | 87 | D | Y | Y | A massive topic. Appears to have performed very well. This is the kind of thing the bot was designed for. Saves the FGTC coordinators a ton of work. I found one errant space at the end of a wikilink. This is a bad input so it is not the bot's fault, again human error, but I have gone ahead and patched it anyway. |
2021-12-30 | Wikipedia:Featured topics/808s & Heartbreak | 12 | 15 | D | Y | N | This one glitched due to |title=''808s & Heartbreak''. The bot failed to remove the wikicode apostrophes. The result was failing to create 4 pages it was supposed to, getting a parameter of the {{ Article history}} template wrong on 12 pages, and edit summaries with red links. I cleaned up the mess and patched the bug. |
There were some bugs that I patched. The bot pings me every time it runs so I am keeping an eye on it and patching bugs as needed. This ended up being a complex bot task. I have 91 unit tests and I am still encountering bugs. Not sure if you want to mark it approved or extend the trial. Either way I will continue supervising it and patching things as needed. Thanks. P.S. SD0001, I have fully implemented your "ping the bot" whitelist idea that you requested. – Novem Linguae ( talk) 04:45, 31 December 2021 (UTC) reply
Approved. @ Novem Linguae: Under normal circumstances, I would prefer to leave the close for someone else. However, given the backlog, lack of recent BAG activity (myself included), and the fact that this task is uncontroversial and based on how well the trial went, I am inclined to make an exception for this. As per usual, if amendments to - or clarifications regarding - this approval are needed, please start a discussion on the talk page and ping. -- TheSandDoctor Talk 18:34, 3 January 2022 (UTC) reply
Operator: Novem Linguae ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 19:52, Sunday, September 12, 2021 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): PHP
Source code available: https://github.com/NovemLinguae/NovemBotTask1
Function overview: After approved by the coordinators, promote successful good topic and featured topic candidates. This process has many steps and is currently done manually. The steps are located at User:Aza24/FTC/Promote Instructions.
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 82#Featured topic bot, Wikipedia talk:Featured topics#Bot to promote good and featured topics
Edit period(s): Probably hourly
Estimated number of pages affected: 25 per week
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Testing - I've done some semi automated testing (where the bot suggests changes via a webpage, then I copy paste that into Wikipedia, hit preview and diff, look it over, then submit). This process identified and fixed some bugs. I think the bot has reached a state where all major bugs are fixed. Ready to start letting it automatically edit. I'll continue watching the edits for several weeks to see if there are any more edge cases that need fixing.
I wrote unit tests for about half the bot's functions. The bot's steps that it takes are divided into about 30 functions in the src/Promote.php file.
Eventually I'll put this on ToolForge and let it run hourly.
The bot is summoned by placing the template User:NovemBot/Promote on a page, which puts the page into a hidden tracking category that the bot checks.
Security features to prevent abuse include the bot not editing unless the featured topic template is located on the summoning page, and some maximum article and maximum topics in category throttles.
Keep in mind that topics are variable in size. To promote each one is around 15-50 edits. For a trial, may make sense to approve a period of time or a certain # of topics, rather than a certain # of edits.
& # 32;
to a space. More cosmetic than anything... keep from uglifying a bunch of talk page Wikicode. Then I let the bot run, and it got to the parts of its code that were well tested, and did its thing. Maybe @
Aza24: can take a look at
User:NovemBot's contribs and double check the edits, would be good to get a second set of eyes on it, but I suspect those are fine as that code is frequently used and well-tested.@ SD0001 and TheSandDoctor: Alright, the bot made a bunch of edits this week, so I am checking in.
Date | Topic | Articles | Edits | Diffs | Full auto? | No errors? | Notes |
---|---|---|---|---|---|---|---|
2021-12-29 | Wikipedia:Featured topics/Next Nine | 10 | 20 [1] | D | No [2] | Y | Long story. Basically the info the bot was given was wrong, so I had to do a bunch of cleanup. But the bot functioned correctly with the input it was given. It was human error and not the bot's fault because the page name was wrong, and one of the article types was incorrectly specified as GA instead of FA. |
2021-12-30 | D | Y | N | Bot responded to a ping it was supposed to ignore. It output an error message at the bottom of a talk page. I reverted it and patched the bug. | |||
2021-12-30 | Wikipedia:Featured topics/Billboard number-one country songs | 78 | 87 | D | Y | Y | A massive topic. Appears to have performed very well. This is the kind of thing the bot was designed for. Saves the FGTC coordinators a ton of work. I found one errant space at the end of a wikilink. This is a bad input so it is not the bot's fault, again human error, but I have gone ahead and patched it anyway. |
2021-12-30 | Wikipedia:Featured topics/808s & Heartbreak | 12 | 15 | D | Y | N | This one glitched due to |title=''808s & Heartbreak''. The bot failed to remove the wikicode apostrophes. The result was failing to create 4 pages it was supposed to, getting a parameter of the {{ Article history}} template wrong on 12 pages, and edit summaries with red links. I cleaned up the mess and patched the bug. |
There were some bugs that I patched. The bot pings me every time it runs so I am keeping an eye on it and patching bugs as needed. This ended up being a complex bot task. I have 91 unit tests and I am still encountering bugs. Not sure if you want to mark it approved or extend the trial. Either way I will continue supervising it and patching things as needed. Thanks. P.S. SD0001, I have fully implemented your "ping the bot" whitelist idea that you requested. – Novem Linguae ( talk) 04:45, 31 December 2021 (UTC) reply
Approved. @ Novem Linguae: Under normal circumstances, I would prefer to leave the close for someone else. However, given the backlog, lack of recent BAG activity (myself included), and the fact that this task is uncontroversial and based on how well the trial went, I am inclined to make an exception for this. As per usual, if amendments to - or clarifications regarding - this approval are needed, please start a discussion on the talk page and ping. -- TheSandDoctor Talk 18:34, 3 January 2022 (UTC) reply