Wikipedia:Bots/Requests for approval/NihiltresBot


 * 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 Symbol oppose vote.svg Withdrawn by operator.

NihiltresBot
Operator:

Time filed: 21:01, Tuesday, May 17, 2016 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): AutoWikiBrowser

Source code available: AWB

Function overview: Adds " (disambiguation)", if appropriate, to parameter 1 of transclusions of other places.

Links to relevant discussions (where appropriate): Village pump (technical)

Edit period(s): One-time run

Estimated number of pages affected: 13,000

Exclusion compliant (Yes/No): Yes, via AWB

Already has a bot flag (Yes/No): No

Function details: When converting other places to use Lua, I made a mistake, and parameter 1 no longer has " (disambiguation)" appended to it when defined. However, this change in behaviour is desirable for consistency, because none of the other "other X" templates force the parenthetical. That given, intended links to disambiguation pages should include the parenthetical to mark them as such, to make it easier to fix the unintended cases, and my mistake has caused some pages to link directly to disambiguation pages rather than through their "(disambiguation)" redirect.

The plan for this one-off task is to go through pages transcluding other places and replace the regex  with the text. This should safely apply the disambiguation parenthetical, where appropriate, upon save. With AWB providing the framework, it's trivial to implement. As wikitext, other places only supported one parameter, so the regex as written should fix all the cases.

Other places is transcluded slightly over 21,000 times, of which slightly over 8,000 are transclusions of the merged other places3, whose functionality isn't affected by my mistake.

Discussion

 * Link your edit summaries to this request please. — xaosflux  Talk 23:50, 17 May 2016 (UTC)


 * Or at least, it submitted edits 40 times; some cases substituted themselves into null edits. Where the substituted wikitext parses out to nothing, the bot can end up making a harmless tweak to the capitalization of the template call ( →  ) without any other changes. I can tweak that so that it leaves the capitalization alone (making such changes null). {&#123; Nihiltres &#8202;&#124;talk&#8202;&#124;edits}&#125; 03:34, 18 May 2016 (UTC)


 * Some of your edits appeared to need adjusting: Kangaroo Island, Tarnów , Valparaíso. As you mentioned above, the capitalization change only on the first letter of the template name isn't needed - so please remove that part.  After reviewing these items and making adjustments, please make another trial run. —  xaosflux  Talk 14:01, 19 May 2016 (UTC)


 * — xaosflux  Talk 14:01, 19 May 2016 (UTC)
 * Comment based on what the recent disambiguation list looks like for May 17th (the day after the Lua change was made), it appears that this task has already been completed. A little investigation found that R'n'B's bot Russbot made the changes per one of its long-standing tasks (Bots/Requests for approval/RussBot 4). -Niceguyedc Go Huskies! 09:22, 21 May 2016 (UTC)
 * Nihiltres, is this task still required? — xaosflux  Talk 12:14, 21 May 2016 (UTC)
 * This request will be moving to expired tomorrow, baring any updates. If it does expire, you may re-request at any time. —  xaosflux  Talk 23:17, 30 May 2016 (UTC)


 * Definitely redundant to the Russbot task. {&#123; Nihiltres &#8202;&#124;talk&#8202;&#124;edits}&#125; 16:40, 31 May 2016 (UTC)


 * 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.