Wikipedia:Bots/Requests for approval/Yobot 17
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Approved.
Operator: Magioladitis
Automatic or Manually assisted: Automatic, supervised for most of the edits
Programming language(s): AWB + KingbotK plugin
Source code available: Yes
Function overview:
- Replacing deprecated
|priority=
- Adding
|listas=
in special case of one word titles- (Additional) Minor cleanup to talk pages
- Removing
|needs-persondata=
and|needs-infobox=
from pages which have them
Links to relevant discussions (where appropriate):
Edit period(s): One-off to clean the backlog and occasionally in the future.
Estimated number of pages affected: few + 117k
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): Y
Function details: |priority=
of {{WPBiography}} has recently divided in the various workgroups to enable more than one priority parameters if a pages is in more than one workgroup. Last version of KingbotK plugin still adds |priority=
while latest deletes it |priority=
without inheriting this info in WORKGROUP-priority. Both are bugs.
Yobot, using a custom AWB module made by AWB developer Rjwilmsi, will run in Category:Biography articles needing priority parameter replacement to replace |priority=
in all pages, meanwhile it will do various talk page fixes performed by WP:AWB.
This will fix/reduce problems, populate the new priority parameters, potentially will help us in AWB to worry for less problems.
|listas=
can safely be added in all pages whose title is a single word by revoning diacritics and internal capitalisation.
|needs-persondata=
and |needs-infobox=
will be removed from pages which have them by first adding persondata and infoboxes to these pages manually then bot will remove the parameter.
Yobot already works with |living=
, adds pages in various work-groups and with |class=
. This completes Yobot work on {{WPBiography}}. (Rest of pages missing |listas=
are handled by ListasBot) -- Magioladitis (talk) 20:55, 8 November 2010 (UTC)[reply]
- Extras to save runs
- Replacing
|importance=
with|priority=
- Removing empty workgroup parameters
- Removing empty priority parameter
- Inheriting class from other project to WikiProject Biography will run at the same time using a code of xeno
- Redirects to project banners will be skipped using a code by Rich Farmbrough
- AWB talk page general fixes
-- Magioladitis (talk) 08:03, 9 November 2010 (UTC)[reply]
- Optional
- I can sort it so that it automatically adds
|listas=
when missing using the same function AWB uses for Human DEFAULTSORT. The function is really accurate now. I can exclude musical bands from that to avoid problems.
Discussion
[edit]- Are we sure that the not inheriting the priority is a bug? Because it doesn't seem like a bug to me. Something that is a Low priority biography in general is not necessarily a low priority sports biography for example. Seems to me it should not inherit the old priority. -DJSasso (talk) 02:46, 15 November 2010 (UTC)[reply]
- The Wikiproject Biography doesn't support general priority (anymore if ever really used it). Priority is only connected to work groups and work groups define their priority. I can search for the link tomorrow but the discussion in the project said that if a single work group exist, the priority parameter refers to it. New priority parameters should be populated to reduce this problem. Yobot won't touch pages that the general priority differs from an already set work-group priority. General cleanup will reveal the conflicting cases. -- Magioladitis (talk) 03:00, 15 November 2010 (UTC)[reply]
- Oh I realize they don't anymore. But the priority parameter used to be a general priority. Now it is a specific one. At least that is how it looks to me. Which would indicate to me that the priority should not be carried over. I very well could be wrong, so if anyone else knows that would be helpful. -DJSasso (talk) 03:27, 15 November 2010 (UTC)[reply]
- I informed the wikiproject about this discussion. -- Magioladitis (talk) 03:05, 15 November 2010 (UTC)[reply]
- Here's one part of the discussion Template_talk:WPBiography/Archive_5#Category:Biography_articles_needing_priority_parameter_replacement. Back then I had my disagreements but now I see the benefit. -- Magioladitis (talk) 11:30, 15 November 2010 (UTC)[reply]
What does "Redirects to project banners will be skipped" mean? — Carl (CBM · talk) 15:09, 15 November 2010 (UTC)[reply]
- Replace for example {{Football}} with {{WikiProject Football}}. All project banners (except the 4 which don't follow the stndarisation rules) will be renamed to start with WikiProject. This will be done only as additional task to the main task and it's already done by Yobot, xenobot and probably more bots. Code is written by Rjw who is more expert than me and ensures that if no priority and no listas is changed this change won't happen. -- Magioladitis (talk) 15:21, 15 November 2010 (UTC)[reply]
- Looks like you are making these changes on their own here. -DJSasso (talk) 14:57, 16 November 2010 (UTC)[reply]
- This isn't done with the script I am discussing here. I did a few of these to avoid a long-standing WP:Plugin++ bug that forces it freeze when
|1=
is missing. I sometimes add tis parameter while preparing long-list runs to avoid unpleasant problems. Not many talk pages lack|1=
anymore. -- Magioladitis (talk) 15:19, 16 November 2010 (UTC)[reply] - Hopefully by the end of the week more part of the WP:Plugin++ code will be in C# as part of talk page general fixes giving us more control (i.e. less insignificant edits due to better skip options control) and minimising bugs. -- Magioladitis (talk) 15:22, 16 November 2010 (UTC)[reply]
- This isn't done with the script I am discussing here. I did a few of these to avoid a long-standing WP:Plugin++ bug that forces it freeze when
- Looks like you are making these changes on their own here. -DJSasso (talk) 14:57, 16 November 2010 (UTC)[reply]
{{BAG assistance needed}} Magioladitis (talk) 10:42, 19 November 2010 (UTC)[reply]
- Approved for trial (43 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Ok, let's give it a trial. Anomie⚔ 03:24, 24 November 2010 (UTC)[reply]
Multiple work-groups (9 edits): [1], [2], [3], [4], [5], [6], [7],[8], [9]
Listas (11 edits): [10], [11], [12], [13], [14], [15], [16], [17], [18], [19], [20]
Single work-group (23 edits): [21], [22], [23], [24], [25], [26], [27], [28], [29], [30], [31], [32], [33], [34], [35], [36], [37], [38], [39], [40], [41], [42], [43].
I don't see any mistakes. Here's the offset -- Magioladitis (talk) 13:17, 24 November 2010 (UTC)[reply]
Trial complete. Magioladitis (talk) 13:17, 24 November 2010 (UTC)[reply]
- One question: Will it properly handle a banner with multiple workgroups and
|priority=
where some or all of the workgroups already have|workgroup-priority=
specified? Anomie⚔ 20:22, 24 November 2010 (UTC)[reply]- It won't change pre-existing values to
|workgroup-priority=
. These fews cases will remain untouched and I 'll do examine them manually at the end. I expect them not to be more than 100. -- Magioladitis (talk) 20:45, 24 November 2010 (UTC)[reply]- Ok. Approved. Anomie⚔ 21:39, 24 November 2010 (UTC)[reply]
- It won't change pre-existing values to
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.