Wikipedia:Bots/Requests for approval/PkbwcgsBot 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

PkbwcgsBot 17
Operator:

Time filed: 15:16, Friday, December 28, 2018 (UTC)

Function overview: The bot is going to fix high priority lint error "Tidy bug affecting font tags wrapping links" which current has over 4,000,000 pages but there is no intention to fix them all at once but this will run twice a week.

Automatic, Supervised, or Manual: Manual (due to automatic fixing not working on lint errors)

Programming language(s): WPCleaner

Source code available: WPCleaner

Links to relevant discussions (where appropriate):

Edit period(s): Twice a week

Estimated number of pages affected: 500 pages will be fixed per session; twice a week

Namespace(s): All namespaces

Exclusion compliant (Yes/No): Yes

Function details: The bot is going to fix high priority lint error "Tidy bug affecting font tags wrapping links". The bot will go onto "linter categories" on WPCleaner, select "Tidy bug affecting font tags wrapping links" (without templates) and then it will do automatic fixing on the first five hundred pages that contain this lint error. It will move the font tags into the signature from outside the brackets as shown here. So, an example would be:
 * Before:
 * After:

Change to the rendering:
 * Before: Example
 * After: Example

Discussion
Apparently, automatic fixing is not working on the lint errors. I posted a comment here. However, this can be done manually through the WPCleaner CheckWiki fixing interface and fairly quickly still. Pkbwcgs (talk) 15:32, 28 December 2018 (UTC)

- please be careful with the automatic fix but this seems pretty non-controversial. -- Tawker (talk) 00:37, 29 December 2018 (UTC)
 * How many trial edits would you like made? Pkbwcgs (talk) 20:23, 29 December 2018 (UTC)
 * As I have discussed with User:Xaosflux in task 18, the bot will also fix "Misnested tags" and "Missing end tag" if it is found on the same talk page so that no lint errors that are fixable will be left behind. Pkbwcgs (talk) 21:22, 31 December 2018 (UTC)
 * BAG assistance needed I would like to know how many edits should my bot make in this trial. Pkbwcgs (talk) 12:46, 4 January 2019 (UTC)
 * I set a 25 count for you. — xaosflux  Talk 20:13, 4 January 2019 (UTC)
 * I have made preparations for the trial. Like you said in task 18, if "Missing End Tag" or "Misnested Tag" is found on the same page as this lint error is found, shall I get WPCleaner to fix those? Pkbwcgs (talk) 20:59, 4 January 2019 (UTC)
 * BAG assistance needed I will need an answer to my above question before I can proceed with the trial. Pkbwcgs (talk) 18:21, 28 January 2019 (UTC)
 * There is zero reason to have your bot make multiple edits to fix multiple issues on the same page if it can handle them all in one go. So I think the short answer to your question is "yes". Primefac (talk) 20:00, 28 January 2019 (UTC)
 * 50 edits have been made here. Pkbwcgs (talk) 18:49, 30 January 2019 (UTC)
 * Excellent, thanks. Offwiki life took me offline for a bit -- Tawker (talk) 02:01, 6 February 2019 (UTC)


 * with this task being so huge (4 million+ pages) what is your execution strategy for targeting pages? I'd see much more use in targeting mainspace, portalspace, even project space before the million+ in user talk. — xaosflux  Talk 13:17, 12 March 2019 (UTC)
 * My strategy is to do a combined 1,000 fixes a week (500 at a time) to start clearing the backlog. Some of the fixes are already covered with task 18 with fixing misnested tags and any other lint errors found on the same page and that includes "Tidy bug affecting font tags wrapping links". I haven't been running my bot very frequently for a while but I intend to do so soon. Pkbwcgs (talk) 18:24, 12 March 2019 (UTC)
 * task approved. — xaosflux  Talk 18:27, 12 March 2019 (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.