Operator: Zackmann08 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:05, Sunday, November 20, 2016 ( UTC)
Automatic, Supervised, or Manual: Supervised Automatic
Source code available: User:ZackBot/tv cleanup
Function overview: To cleanup and remove the deprecated parameters from occurrences of {{ Infobox television}}. These occurrences currently populate Category:Pages using infobox television with alias parameters.
Links to relevant discussions (where appropriate):
Edit period(s): Daily until the category is empty. I am going to review each and every edit so won't do it all in one go, but once the category is empty, support for deprecated params will be removed and the bot will no longer be needed.
Estimated number of pages affected: As of this moment, 14,103 (total in the category). I assume there will special cases that will need to be done manually so call it 14,000.
Exclusion compliant (Yes/No): As of this moment I haven't implemented this functionality but certainly can.
Already has a bot flag (Yes/No): (Pending - Task 3 was approved)
Function details:
Bottom line the goal of this bot is to clean out the
Pages using infobox television with alias parameters category. Pages are placed into the category if they use {{
Infobox television}} and have any of 4 parameters: channel
, host
, name
or studio
. This bot would go through every page appearing in the category and attempt to replace these deprecated params with their newer counterpart. So:
channel
→ network
host
→ presenter
name
→ show_name
studio
→ company
To help prevent against false positives, if any of the parameters appears on a page more than one time, that page will be skipped. So if | name = foo
appears inside {{
Infobox television}} at the top of the page but later down on the page there is {{cite|name=bar}}
the page will be skipped. This is done to prevent accidentally replacing values from the wrong template.
If and when the bot is approved, I will run it in small batches and I plan to check each edit made by the bot to ensure no errors are slipping through. As previously stated, once the category is completely emptied, support for the deprecated params will be removed from {{ Infobox television}} and the bot will be deactivated.
Finally, while I have 10+ years of coding experience, this is my first venture into writing Wikipedia Bots so I welcome any and all constructive feedback! -- Zackmann08 ( Talk to me/ What I been doing) 00:05, 20 November 2016 (UTC) reply
Pre-trial issue since resovled
|
---|
Resolved
|
Trial complete.@ Xaosflux: Ran the 25 edit trial and didn't see any issues, see Special:Contributions/ZackBot. I also found a solution to the problem that you pointed out. Basically I found a way to only look at the infobox text. The source code has been updated to show the changes. -- Zackmann08 ( Talk to me/ What I been doing) 04:52, 23 November 2016 (UTC) reply
Operator: Zackmann08 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:05, Sunday, November 20, 2016 ( UTC)
Automatic, Supervised, or Manual: Supervised Automatic
Source code available: User:ZackBot/tv cleanup
Function overview: To cleanup and remove the deprecated parameters from occurrences of {{ Infobox television}}. These occurrences currently populate Category:Pages using infobox television with alias parameters.
Links to relevant discussions (where appropriate):
Edit period(s): Daily until the category is empty. I am going to review each and every edit so won't do it all in one go, but once the category is empty, support for deprecated params will be removed and the bot will no longer be needed.
Estimated number of pages affected: As of this moment, 14,103 (total in the category). I assume there will special cases that will need to be done manually so call it 14,000.
Exclusion compliant (Yes/No): As of this moment I haven't implemented this functionality but certainly can.
Already has a bot flag (Yes/No): (Pending - Task 3 was approved)
Function details:
Bottom line the goal of this bot is to clean out the
Pages using infobox television with alias parameters category. Pages are placed into the category if they use {{
Infobox television}} and have any of 4 parameters: channel
, host
, name
or studio
. This bot would go through every page appearing in the category and attempt to replace these deprecated params with their newer counterpart. So:
channel
→ network
host
→ presenter
name
→ show_name
studio
→ company
To help prevent against false positives, if any of the parameters appears on a page more than one time, that page will be skipped. So if | name = foo
appears inside {{
Infobox television}} at the top of the page but later down on the page there is {{cite|name=bar}}
the page will be skipped. This is done to prevent accidentally replacing values from the wrong template.
If and when the bot is approved, I will run it in small batches and I plan to check each edit made by the bot to ensure no errors are slipping through. As previously stated, once the category is completely emptied, support for the deprecated params will be removed from {{ Infobox television}} and the bot will be deactivated.
Finally, while I have 10+ years of coding experience, this is my first venture into writing Wikipedia Bots so I welcome any and all constructive feedback! -- Zackmann08 ( Talk to me/ What I been doing) 00:05, 20 November 2016 (UTC) reply
Pre-trial issue since resovled
|
---|
Resolved
|
Trial complete.@ Xaosflux: Ran the 25 edit trial and didn't see any issues, see Special:Contributions/ZackBot. I also found a solution to the problem that you pointed out. Basically I found a way to only look at the infobox text. The source code has been updated to show the changes. -- Zackmann08 ( Talk to me/ What I been doing) 04:52, 23 November 2016 (UTC) reply