Operator: DannyS712 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 07:55, Tuesday, March 5, 2019 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): AWB
Source code available: AWB
Function overview: Solve CW Error #17 - Category duplication
Links to relevant discussions (where appropriate): Wikipedia:Bots/Requests for approval/PkbwcgsBot
Edit period(s): One time run
Estimated number of pages affected: ~8000
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: Currently, PkbwcgsBot only fixes a maximum of 300 instances of this error per week. While this certainly helps with the backlog, I'd like to do a one-time run to clean it out. Using AWB, I would do find-and-replace on the regex (\[\[Category:.*\]\])((.|\n)*)\1\n
, replacing it with $1$2
. I did a few of these manually to perfect the regex (eg
[1],
[2],
[3]). While gen-fixes would fix this issue, they would not be activated, so no other edits would be made.
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac ( talk) 19:42, 10 March 2019 (UTC) reply
Technically cosmetic, however this is either deemed too much of a bad practice, or prevents future issues deemed egregious enough to warrant a deviation from WP:COSMETICBOT.I'll try to create a regex for sort key collision, but for now I'd prefer to avoid combining my tasks, since I'm still only starting out as a bot-op. -- DannyS712 ( talk) 18:34, 12 March 2019 (UTC) reply
(\[\[Category:[^|\]]*)((?:\|[^\]]*)?\]\])((?:.|\n)*)\n\1(?:\|[^\]]*)?\]\]\n?
Which is replaced with $1$2$3
. This is, as you said, more reader-useful
. What do you think of an extended trial? --
DannyS712 (
talk)
03:16, 14 March 2019 (UTC)
reply
Technically cosmetic, however this is either deemed too much of a bad practice, or prevents future issues deemed egregious enough to warrant a deviation from WP:COSMETICBOT." back then. And the reason is that I felt this is a future-proofing situation, because someone that wants to update a sort key might only do it in one place, and it won't kick in because there's a dual listing of the category. Or they might remove the category in one place, thinking they removed the category from the article, unaware there's a duplication of it. This wasn't RFC'd or BRFA'd before however. Headbomb { t · c · p · b} 23:46, 20 March 2019 (UTC) reply
Technically cosmetic, however this is either deemed too much of a bad practice, or prevents future issues deemed egregious enough to warrant a deviation from WP:COSMETICBOT." back then, I'll recuse myself from final approval. Headbomb { t · c · p · b} 00:21, 21 March 2019 (UTC) reply
How does the bot handle cases like this [6]? Should it? Headbomb { t · c · p · b} 01:08, 21 March 2019 (UTC) reply
Approved.. The option approved is skipping pages with different sortkeys. I would personally like to see a log that could be addressed at a later date (perhaps with a new BRFA), but if you have a different way that still catches them all and could be listed to look through in the future, then I guess I would be okay with that. Sorry for the delay, I have been tied up lately with off-wiki matters.
If you would like to request any amendments or clarifications, post on the talk page and ping and we can go from there. -- TheSandDoctor Talk 21:35, 26 April 2019 (UTC) reply
Operator: DannyS712 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 07:55, Tuesday, March 5, 2019 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): AWB
Source code available: AWB
Function overview: Solve CW Error #17 - Category duplication
Links to relevant discussions (where appropriate): Wikipedia:Bots/Requests for approval/PkbwcgsBot
Edit period(s): One time run
Estimated number of pages affected: ~8000
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: Currently, PkbwcgsBot only fixes a maximum of 300 instances of this error per week. While this certainly helps with the backlog, I'd like to do a one-time run to clean it out. Using AWB, I would do find-and-replace on the regex (\[\[Category:.*\]\])((.|\n)*)\1\n
, replacing it with $1$2
. I did a few of these manually to perfect the regex (eg
[1],
[2],
[3]). While gen-fixes would fix this issue, they would not be activated, so no other edits would be made.
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac ( talk) 19:42, 10 March 2019 (UTC) reply
Technically cosmetic, however this is either deemed too much of a bad practice, or prevents future issues deemed egregious enough to warrant a deviation from WP:COSMETICBOT.I'll try to create a regex for sort key collision, but for now I'd prefer to avoid combining my tasks, since I'm still only starting out as a bot-op. -- DannyS712 ( talk) 18:34, 12 March 2019 (UTC) reply
(\[\[Category:[^|\]]*)((?:\|[^\]]*)?\]\])((?:.|\n)*)\n\1(?:\|[^\]]*)?\]\]\n?
Which is replaced with $1$2$3
. This is, as you said, more reader-useful
. What do you think of an extended trial? --
DannyS712 (
talk)
03:16, 14 March 2019 (UTC)
reply
Technically cosmetic, however this is either deemed too much of a bad practice, or prevents future issues deemed egregious enough to warrant a deviation from WP:COSMETICBOT." back then. And the reason is that I felt this is a future-proofing situation, because someone that wants to update a sort key might only do it in one place, and it won't kick in because there's a dual listing of the category. Or they might remove the category in one place, thinking they removed the category from the article, unaware there's a duplication of it. This wasn't RFC'd or BRFA'd before however. Headbomb { t · c · p · b} 23:46, 20 March 2019 (UTC) reply
Technically cosmetic, however this is either deemed too much of a bad practice, or prevents future issues deemed egregious enough to warrant a deviation from WP:COSMETICBOT." back then, I'll recuse myself from final approval. Headbomb { t · c · p · b} 00:21, 21 March 2019 (UTC) reply
How does the bot handle cases like this [6]? Should it? Headbomb { t · c · p · b} 01:08, 21 March 2019 (UTC) reply
Approved.. The option approved is skipping pages with different sortkeys. I would personally like to see a log that could be addressed at a later date (perhaps with a new BRFA), but if you have a different way that still catches them all and could be listed to look through in the future, then I guess I would be okay with that. Sorry for the delay, I have been tied up lately with off-wiki matters.
If you would like to request any amendments or clarifications, post on the talk page and ping and we can go from there. -- TheSandDoctor Talk 21:35, 26 April 2019 (UTC) reply