Operator: Qwerfjkl ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 18:03, Sunday, November 19, 2023 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: Pywikibot
Function overview: Implement WP:PIQA
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 85#Implement project-independent quality assessments, WP:PIQA
Edit period(s): one time run (with future runs if necessary)
Estimated number of pages affected: hard to estimate, very high number - most talk pages I would assume
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: From the bot request:
- If there is a banner shell already on the page, then add
|class=
parameter and remove from project banners, e.g. [1]- If there is no banner shell, then add it and move class rating from project banners, e.g. [2]
- If there are no assessments on page, then add empty
|class=
parameter to encourage editors to add a rating, e.g. [3]- If assessments of projects differ, then add the majority rating to the banner shell and leave any different assessments on those banners, e.g. [4]. These will be manually reviewed by human editors.
- If assessments of projects differ, but there is no majority rating, then add banner shell with empty
|class=
parameter. These will be tracked and reviewed manually.- If the page has {{ WikiProject biography}} with
|living=yes
or|blp=yes
then add|blp=yes
to {{ WikiProject banner shell}}.- If any project banner has
|listas=
then move this to {{ WikiProject banner shell}} and remove from project banners, e.g. [5]- For any of the projects which have opted out, the class parameter should not be changed or removed.
The bot will also replace redirects to wikiprojects with the actual template.
The bot will obey MOS:TALKORDER insofar as it is reasonable to do so ( GIGO), including moving a pre-existing {{ WikiProject banner shell}} (this can be changed if desirable).
{{WikiProject ...}}
templates?
GoingBatty (
talk) 16:30, 30 November 2023 (UTC)
reply
Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. In the interest of getting more eyes on this, please do not mark these as minor edits, and be sure to include a link to this page in the edit summary. Primefac ( talk) 12:50, 14 December 2023 (UTC) reply
insertion of multiple new lines after the banner shell, I believe I know what you're referring to, but could you provide diff where this happened? — Qwerfjkl talk 12:20, 16 December 2023 (UTC) reply
|class=
where the talk page already had a WikiProject banner shell but didn't have |class=
.|class=GA
instead of |class=Ga
|class=
{{WikiProject Rowing
|importance=Low
}}
{{WPMILHIST|class=Start
<!-- B-Class 5-criteria checklist -->
| B1 <!-- Referencing and citations --> = n
| B2 <!-- Coverage and accuracy --> = n
| B3 <!-- Structure --> = n
| B4 <!-- Grammar and style --> = y
| B5 <!-- Supporting materials --> = y
|Historiography-task-force=yes}}
|class=
from WikiProjects where it is empty, is this desirable? —
Qwerfjkl
talk 15:08, 19 December 2023 (UTC)
replyWill your bot make edits like this? Although it is cosmetic, I think it would be beneficial because it discourages editors from using the class parameter in individual banners — Martin ( MSGJ · talk) 12:41, 19 December 2023 (UTC) reply
@
Qwerfjkl: the |living=
or |blp=
parameter can now be migrated to the banner shell, or just removed if it is already there (
example) — Martin (
MSGJ ·
talk) 18:27, 22 December 2023 (UTC)
reply
|blp=no
would be useful on biographies I think. It doesn't actually do anything but we can use it to track missing uses — Martin (
MSGJ ·
talk) 21:48, 22 December 2023 (UTC)
reply
|blp=
or |living=
from WPBIO.|blp=
, stop there.|blp=yes
add that to the WPBS.|blp=no
and the article is a biography (which it will be because WPBIO is present) add that to the WPBS.|blp=
is anything else it will totally removed.|blp=
or |living=
from WPBIO, as you will be adding articles to
Category:Biography articles without living parameter. Also, |living=
is an alias of |blp=
in WPBS.
GoingBatty (
talk) 23:31, 22 December 2023 (UTC)
reply
|blp=
instead of |living=
. Disambiguation pages will be automatically detected, so should not need a class in that case. — Martin (
MSGJ ·
talk) 22:11, 26 December 2023 (UTC)
reply
|living=
is an alias of |blp=
, I assume I should treat it the same i.e. if WPBS has |living=
I wouldn't add |blp=
or change anything in the WPBS. —
Qwerfjkl
talk 10:45, 27 December 2023 (UTC)
reply
|living=
over to |blp=
, but it will prefer to use |blp=
when adding it to the WPBS. —
Qwerfjkl
talk 17:47, 31 December 2023 (UTC)
reply
{{ BAG assistance needed}} I have just approved Cewbot 12, as it seems to have passed its trials with more aplomb than this task. I am looking for a second BAG opinion as I do not see a great need to approve both bots to do the same task, other than maybe the fact that the scope is essentially "every talk page with a banner shell". Primefac ( talk) 13:36, 31 December 2023 (UTC) reply
A error has come to light and I have reinstated point 8 of the function details. Sorry for any confusion but what I wrote earlier was not quite accurate. — Martin ( MSGJ · talk) 16:52, 2 January 2024 (UTC) reply
Approved. I would ask that you start slowly (maybe batches of <1000 per day) at the outset just to make sure any lingering issues that weren't seen in the trials can be dealt with. Primefac ( talk) 14:23, 6 January 2024 (UTC) reply
Operator: Qwerfjkl ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 18:03, Sunday, November 19, 2023 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: Pywikibot
Function overview: Implement WP:PIQA
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 85#Implement project-independent quality assessments, WP:PIQA
Edit period(s): one time run (with future runs if necessary)
Estimated number of pages affected: hard to estimate, very high number - most talk pages I would assume
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: From the bot request:
- If there is a banner shell already on the page, then add
|class=
parameter and remove from project banners, e.g. [1]- If there is no banner shell, then add it and move class rating from project banners, e.g. [2]
- If there are no assessments on page, then add empty
|class=
parameter to encourage editors to add a rating, e.g. [3]- If assessments of projects differ, then add the majority rating to the banner shell and leave any different assessments on those banners, e.g. [4]. These will be manually reviewed by human editors.
- If assessments of projects differ, but there is no majority rating, then add banner shell with empty
|class=
parameter. These will be tracked and reviewed manually.- If the page has {{ WikiProject biography}} with
|living=yes
or|blp=yes
then add|blp=yes
to {{ WikiProject banner shell}}.- If any project banner has
|listas=
then move this to {{ WikiProject banner shell}} and remove from project banners, e.g. [5]- For any of the projects which have opted out, the class parameter should not be changed or removed.
The bot will also replace redirects to wikiprojects with the actual template.
The bot will obey MOS:TALKORDER insofar as it is reasonable to do so ( GIGO), including moving a pre-existing {{ WikiProject banner shell}} (this can be changed if desirable).
{{WikiProject ...}}
templates?
GoingBatty (
talk) 16:30, 30 November 2023 (UTC)
reply
Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. In the interest of getting more eyes on this, please do not mark these as minor edits, and be sure to include a link to this page in the edit summary. Primefac ( talk) 12:50, 14 December 2023 (UTC) reply
insertion of multiple new lines after the banner shell, I believe I know what you're referring to, but could you provide diff where this happened? — Qwerfjkl talk 12:20, 16 December 2023 (UTC) reply
|class=
where the talk page already had a WikiProject banner shell but didn't have |class=
.|class=GA
instead of |class=Ga
|class=
{{WikiProject Rowing
|importance=Low
}}
{{WPMILHIST|class=Start
<!-- B-Class 5-criteria checklist -->
| B1 <!-- Referencing and citations --> = n
| B2 <!-- Coverage and accuracy --> = n
| B3 <!-- Structure --> = n
| B4 <!-- Grammar and style --> = y
| B5 <!-- Supporting materials --> = y
|Historiography-task-force=yes}}
|class=
from WikiProjects where it is empty, is this desirable? —
Qwerfjkl
talk 15:08, 19 December 2023 (UTC)
replyWill your bot make edits like this? Although it is cosmetic, I think it would be beneficial because it discourages editors from using the class parameter in individual banners — Martin ( MSGJ · talk) 12:41, 19 December 2023 (UTC) reply
@
Qwerfjkl: the |living=
or |blp=
parameter can now be migrated to the banner shell, or just removed if it is already there (
example) — Martin (
MSGJ ·
talk) 18:27, 22 December 2023 (UTC)
reply
|blp=no
would be useful on biographies I think. It doesn't actually do anything but we can use it to track missing uses — Martin (
MSGJ ·
talk) 21:48, 22 December 2023 (UTC)
reply
|blp=
or |living=
from WPBIO.|blp=
, stop there.|blp=yes
add that to the WPBS.|blp=no
and the article is a biography (which it will be because WPBIO is present) add that to the WPBS.|blp=
is anything else it will totally removed.|blp=
or |living=
from WPBIO, as you will be adding articles to
Category:Biography articles without living parameter. Also, |living=
is an alias of |blp=
in WPBS.
GoingBatty (
talk) 23:31, 22 December 2023 (UTC)
reply
|blp=
instead of |living=
. Disambiguation pages will be automatically detected, so should not need a class in that case. — Martin (
MSGJ ·
talk) 22:11, 26 December 2023 (UTC)
reply
|living=
is an alias of |blp=
, I assume I should treat it the same i.e. if WPBS has |living=
I wouldn't add |blp=
or change anything in the WPBS. —
Qwerfjkl
talk 10:45, 27 December 2023 (UTC)
reply
|living=
over to |blp=
, but it will prefer to use |blp=
when adding it to the WPBS. —
Qwerfjkl
talk 17:47, 31 December 2023 (UTC)
reply
{{ BAG assistance needed}} I have just approved Cewbot 12, as it seems to have passed its trials with more aplomb than this task. I am looking for a second BAG opinion as I do not see a great need to approve both bots to do the same task, other than maybe the fact that the scope is essentially "every talk page with a banner shell". Primefac ( talk) 13:36, 31 December 2023 (UTC) reply
A error has come to light and I have reinstated point 8 of the function details. Sorry for any confusion but what I wrote earlier was not quite accurate. — Martin ( MSGJ · talk) 16:52, 2 January 2024 (UTC) reply
Approved. I would ask that you start slowly (maybe batches of <1000 per day) at the outset just to make sure any lingering issues that weren't seen in the trials can be dealt with. Primefac ( talk) 14:23, 6 January 2024 (UTC) reply