Operator: Dreamy Jazz ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 10:59, Monday, February 4, 2019 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: On request
Function overview: Extending Task 2 to create portal talk pages with WikiProject tags from the associated root article.
Links to relevant discussions (where appropriate): User_talk:Dreamy_Jazz#Suggestion_for_User:Dreamy_Jazz_Bot
Edit period(s): Daily on new portals, monthly on all portals (as Task 2 already does)
Estimated number of pages affected: At max an extra 20 pages created a day, first run with the extension around ~600 pages created
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: The Task 2 code would be extended to create root portal talk pages (will not create subpage talk pages). The bot would take the WikiProject tags from the root article only, creating the talk page with these templates (with class=portal), and adding {{ WikiProject Portals}} and {{ Portal talk}} after these WikiProject tags. The bot won't affect existing portal talk pages. If the bot sees that there are more than 3 wikiproject banners, it will encase it in the {{ WPBS}} template. The root article would be detected from the portal using the same code as already being used for the currently approved Task 2. The bot won't add WikiProject banner templates when they are listed on User:Dreamy Jazz Bot/Task 2.1/exclude. This list is checked at the start of the run, so WikiProject banner templates added to the list mid run won't be excluded from addition until the next run.
Edits would be marked as being Task 2.1, as the creation of portal talk pages is different enough to the original purpose of Task 2. For the purposes for disabling, Task 2.1 would be disabled by the Task 2 shutdown page (the shutdown page will shutdown both Tasks to ensure that serious enough errors, which require a shutdown, don't affect the other task's edits).
For example the bot would create
Portal talk:The Incredibles with:
{{WPBS|{{WikiProject Portals}}
{{WikiProject Film|class=portal}}
{{WikiProject Animation|class=portal}}
{{WikiProject Disney|class=portal}}
{{WikiProject Comics|class=portal}}}}
{{Portal talk}}
{{ BAG assistance needed}} Dreamy Jazz 🎷 talk to me | my contributions 12:46, 12 February 2019 (UTC) reply
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Low-risk task with sufficient support. [1] or toolforge:sigma/summary.py can be used to identify the edits, so no need to link to them here after the trial. — MusikAnimal talk 20:57, 23 February 2019 (UTC) reply
@ MusikAnimal: Trial complete. Ran into no errors. I have added two WikiProject banners to the exclude list after the run ( Template:WP1.0 - rated manually by editors and Template:WikiProject Guild of Copy Editors - this being added means a member of the guild of copy editors significantly copy edited a page) and then removing these banners from the created portal talk pages. I have already tested the exclude page without affecting the wiki. Dreamy Jazz 🎷 talk to me | my contributions 10:22, 24 February 2019 (UTC) reply
I know you said you tested it already, but I'd like to see another run with the exclusions in place. I suspect with another 50 edits we can confirm the exclusions work. I'm not sure what your implementation is, but pro-tip: remember to remove underscores from page titles when doing comparisons (or the opposite), since the source on the article talk page could have {{WikiProject_North_America}}
, for instance. —
MusikAnimal
talk 20:34, 25 February 2019 (UTC)
reply
Approved. I will note that in the function details, you wrote If the bot sees that there are more than 3 wikiproject banners, it will encase it in the {{
WPBS}} template
. I think you meant 3 or more banners, which is perfectly fine. As far as I can tell the bot is staying true to the >= 3 figure. —
MusikAnimal
talk 02:26, 27 February 2019 (UTC)
reply
Operator: Dreamy Jazz ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 10:59, Monday, February 4, 2019 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: On request
Function overview: Extending Task 2 to create portal talk pages with WikiProject tags from the associated root article.
Links to relevant discussions (where appropriate): User_talk:Dreamy_Jazz#Suggestion_for_User:Dreamy_Jazz_Bot
Edit period(s): Daily on new portals, monthly on all portals (as Task 2 already does)
Estimated number of pages affected: At max an extra 20 pages created a day, first run with the extension around ~600 pages created
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: The Task 2 code would be extended to create root portal talk pages (will not create subpage talk pages). The bot would take the WikiProject tags from the root article only, creating the talk page with these templates (with class=portal), and adding {{ WikiProject Portals}} and {{ Portal talk}} after these WikiProject tags. The bot won't affect existing portal talk pages. If the bot sees that there are more than 3 wikiproject banners, it will encase it in the {{ WPBS}} template. The root article would be detected from the portal using the same code as already being used for the currently approved Task 2. The bot won't add WikiProject banner templates when they are listed on User:Dreamy Jazz Bot/Task 2.1/exclude. This list is checked at the start of the run, so WikiProject banner templates added to the list mid run won't be excluded from addition until the next run.
Edits would be marked as being Task 2.1, as the creation of portal talk pages is different enough to the original purpose of Task 2. For the purposes for disabling, Task 2.1 would be disabled by the Task 2 shutdown page (the shutdown page will shutdown both Tasks to ensure that serious enough errors, which require a shutdown, don't affect the other task's edits).
For example the bot would create
Portal talk:The Incredibles with:
{{WPBS|{{WikiProject Portals}}
{{WikiProject Film|class=portal}}
{{WikiProject Animation|class=portal}}
{{WikiProject Disney|class=portal}}
{{WikiProject Comics|class=portal}}}}
{{Portal talk}}
{{ BAG assistance needed}} Dreamy Jazz 🎷 talk to me | my contributions 12:46, 12 February 2019 (UTC) reply
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Low-risk task with sufficient support. [1] or toolforge:sigma/summary.py can be used to identify the edits, so no need to link to them here after the trial. — MusikAnimal talk 20:57, 23 February 2019 (UTC) reply
@ MusikAnimal: Trial complete. Ran into no errors. I have added two WikiProject banners to the exclude list after the run ( Template:WP1.0 - rated manually by editors and Template:WikiProject Guild of Copy Editors - this being added means a member of the guild of copy editors significantly copy edited a page) and then removing these banners from the created portal talk pages. I have already tested the exclude page without affecting the wiki. Dreamy Jazz 🎷 talk to me | my contributions 10:22, 24 February 2019 (UTC) reply
I know you said you tested it already, but I'd like to see another run with the exclusions in place. I suspect with another 50 edits we can confirm the exclusions work. I'm not sure what your implementation is, but pro-tip: remember to remove underscores from page titles when doing comparisons (or the opposite), since the source on the article talk page could have {{WikiProject_North_America}}
, for instance. —
MusikAnimal
talk 20:34, 25 February 2019 (UTC)
reply
Approved. I will note that in the function details, you wrote If the bot sees that there are more than 3 wikiproject banners, it will encase it in the {{
WPBS}} template
. I think you meant 3 or more banners, which is perfectly fine. As far as I can tell the bot is staying true to the >= 3 figure. —
MusikAnimal
talk 02:26, 27 February 2019 (UTC)
reply