Wikipedia:Bots/Requests for approval/NihlusBOT 3
- 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: Nihlus (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 07:00, Tuesday, October 3, 2017 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): AWB
Source code available: AWB
Function overview:
- Find:
\|\s*episode_list\s*=\s*\[\[([^\|\]]*).*<br[^>]*>\[\[([^\|\]]*).*
- Replace with:
| season_article = $1\n| episode_list = $2
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Television#Template:Infobox television episode updates, Wikipedia:Bot_requests#Template:Infobox_television_episode_updates
Edit period(s): One time run
Estimated number of pages affected: 2,945
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: Straightforward task. Code confirmed. Nihlus 07:04, 3 October 2017 (UTC)[reply]
Discussion
[edit]Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Don't see much of an issue with this. Headbomb {t · c · p · b} 19:21, 3 October 2017 (UTC)[reply]
- Trial complete. @Headbomb: See here. Nihlus 19:50, 3 October 2017 (UTC)[reply]
An editor at the WikiProject Television discussion has suggested using |season_article=
instead of |season_list=
. I've updated the code and the template as well; the usages of |season_list=
from the bot trial will still work correctly. I can update them myself later. -- AlexTW 00:56, 4 October 2017 (UTC)[reply]
- Updated. -- AlexTW 01:07, 4 October 2017 (UTC)[reply]
Pinging Headbomb for an update. Nihlus 03:48, 7 October 2017 (UTC)[reply]
- Approved for extended trial (10 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. with the new logic. Headbomb {t · c · p · b} 11:31, 7 October 2017 (UTC)[reply]
- Trial complete. See here. Nihlus 11:42, 7 October 2017 (UTC)[reply]
Approved. I'll point out that [1] uses a disambiguation page as the episode list. Not in the scope of this bot, but you might want to do an AWB run to fix those cases. Headbomb {t · c · p · b} 11:46, 7 October 2017 (UTC)[reply]
- 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.