Wikipedia:Bots/Requests for approval/Texvc2LaTeXBot


 * 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

Texvc2LaTeXBot
Operator:

Time filed: 19:45, Monday, June 18, 2018 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python (pywikibot)

Source code available: Yes

Function overview: The bot will exclusively edit mathematical and chemical formulas to manage upgrading of the LaTeX math engine and the eventual removal of the texvc backend.

Links to relevant discussions (where appropriate): T195861

Edit period(s): one time runs

Estimated number of pages affected: on enwiki max. $1,524$ (User:Salix_alba/maths2018); initially $204$ (User:Texvc2LaTeXBot/enwiki)

Namespace(s): all namespaces

Exclusion compliant (Yes/No): Yes

Function details:
 * As a first step, the bot will perform the replacements listed in the table mw:Extension:Math/Roadmap on the 204 pages listed in User:Texvc2LaTeXBot/enwiki.
 * The first 204 pages will be checked for correct operation, then extended to a further 1320 pages which have maths syntax which needs updating.
 * After editing those 204 pages, we will apply for bot flags on the remaining 553 projects that have some mathematical equations, perform the same replacements and incorporate their ideas and concerns.
 * Subsequent steps will only be performed if a consensus is reached. The update process involves either breaking rendering of version histories or replacing all math and chem tags (around $65,000$ pages on the English Wikipedia).
 * If you have questions, suggestions or concerns regarding the update process, please post them on mw:Extension:Math/Roadmap or join our commission at T195861.

Feel free to improve/modify.--Debenben (talk) 19:45, 18 June 2018 (UTC)

Discussion
Could you make a sample edit to see what exactly would be involved here? Headbomb {t · c · p · b} 20:44, 21 June 2018 (UTC)
 * This bot appears to have edited since this BRFA was filed. Bots may not edit outside their own or their operator's userspace unless approved or approved for trial. AnomieBOT ⚡ 21:11, 21 June 2018 (UTC)
 * I ran the bot on the first three pages in the list. They happened to be only \and and \or replacements, but the others are conceptionally the same.--Debenben (talk) 21:17, 21 June 2018 (UTC)


 * diffs? Headbomb {t · c · p · b} 23:25, 21 June 2018 (UTC)
 * It was run in error on some main space article here are three diffs
 * Associative_property diff
 * Continuum hypothesis
 * Talk:Cardinal_number
 * I've copied some article to my userspace to test
 * Test for \bold User:Salix alba/Affine focal set diff
 * Test for \part User:Salix alba/Beltrami identity diff
 * Test for \ang User:Salix alba/Angle notation diff
 * Test for \C   User:Salix alba/External ray diff
 * Test for \H  User:Salix alba/Information dimension diff
 * Test for \$  User:Salix alba/Annuity no change
 * Test for %   User:Salix alba/Bolometric correction (out of math tag should do no change) bot made no edit
 * Test for %   User:Salix alba/Magic hypercube diff
 * --Salix alba (talk): 05:43, 22 June 2018 (UTC)
 * I assumed the sample edit should be performed on a regular page and chose three pages, hoping it would also cover some of the replacements Salix alba did in the userspace. I am sorry about the misunderstanding in case you did not want any main space edits yet.--Debenben (talk) 10:39, 22 June 2018 (UTC)

Before proceeding with full trial, there should be (if there isn't one already) a noticed posted at WP:FORMULA, as well as WP:PHYS, WP:CHEM and WP:WPMATH since those are the projects most affected. Also, see WP:BOTMULTIOP, as I understand multiple people will be operating this bot. Headbomb {t · c · p · b} 12:32, 22 June 2018 (UTC)
 * Do you want to take care of all English speaking projects? I could do the German and French ones and we could write a custom userpage "unless otherwise identified edits on English speaking projects are done by Salix alba".--Debenben (talk) 13:08, 22 June 2018 (UTC)
 * Yes I'm quite happy to be sole operator of the bot on en-wikipedia (and other projects). I've got my head about how the bot runs now.
 * Yes publicising the work of the bot and the associated migration project should be publicised in the places you mention. I'll get to it. --Salix alba (talk): 15:11, 22 June 2018 (UTC)
 * I posted notices at the places mentioned above on Friday.--Salix alba (talk): 16:33, 25 June 2018 (UTC)

BotOnHold There's a security problem with the bot, I've blocked it until it's resolved. , you've been added to a private bug report. Max Semenik (talk) 05:00, 26 June 2018 (UTC)
 * Can you add me to the bug report. I think I'm now responsible for the bots use of the English wikipedia.--Salix alba (talk): 05:55, 26 June 2018 (UTC)

The issue is resolved and the bot is unblocked, we can continue. Max Semenik (talk) 21:07, 27 June 2018 (UTC)


 * Alright, well we can move on to trial once the operator has read WP:BOTPOL and specifically WP:BOTACCOUNT/WP:BOTREQUIRE. In particular, Bot should be added to the bot's user page. Headbomb {t · c · p · b} 20:12, 28 June 2018 (UTC)
 * Cool. I'll read up on the relevant docs. --Salix alba (talk): 21:02, 28 June 2018 (UTC)
 * I've now added Bot and done a couple of test edits. What a good number of edits for the trial phase? --Salix alba (talk): 17:06, 30 June 2018 (UTC)
 * . Link to this BRFA in the edit summary during the trial. Headbomb {t · c · p · b} 18:14, 30 June 2018 (UTC)


 * this request will be moved to expired if it is no longer being worked on. — xaosflux  Talk 15:24, 18 August 2018 (UTC)

I've done a number of trials with no problems. --Salix alba (talk): 06:36, 19 August 2018 (UTC)
 * One change we made to the script was to reject all pages with a nowiki tag. So a page like Talk:Gamma function which should really have a change  ->   is not edited and has to be done manually. --Salix alba (talk): 07:49, 19 August 2018 (UTC)
 * is there anything else I need to do to get to approved status with this bot? --Salix alba (talk): 06:51, 29 September 2018 (UTC)
 * The bot was granted a botflag on dewiki, frwiki, eswiki and approved for operation without botflag on itwiki.--Salix alba (talk): 04:53, 4 October 2018 (UTC)


 * Somehow I missed this (completely swamped at work). I'll review the edits today, probably in the afternoon/late tonight. Headbomb {t · c · p · b} 13:26, 4 October 2018 (UTC)

, however, do ensure that this bot stays inline with community consensus. Get feedback from WP:WPMATH (and to a lesser extent WP:PHYS/WP:CHEM) for future development. Headbomb {t · c · p · b} 13:37, 9 October 2018 (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.