Commons:Bots/Requests/MatrixBot 5
MatrixBot (talk · contribs) 5
Operator: Matrix (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: Unsubstitute welcome template for old user pages. (example). These old substitutions usually have ~3 traditional lint errors plus they aren't dark mode compatible. The regex (?s)<div style="font-size:110%;">'''Welcome to Wikimedia Commons, [^!]+!'''</div>.*?<!-- Template:Welcome --> (not final) will be used to match these and replace them. This is similar to Commons:Bots/Requests/MatrixBot 4 in nature but since it's such a big edit list (~300k) just wanted to get approval.
Automatic or manually assisted: Automatic
Edit type (e.g. Continuous, daily, one time run): One-time run
Maximum edit rate (e.g. edits per minute): 20 edits/min
Bot flag requested: (Y/N): N
Programming language(s): pywikibot
—Matrix(!) ping onewhen replying {user - talk? - uselesscontributions} 18:35, 25 November 2025 (UTC)
- Discussion
- @Matrix: No objection to this in principle, but I'm curious why it's better to unsubstitute rather than fix the lin and dark mode errors in the substituted text. (I'm guessing there's a technical reason I haven't considered.) Pi.1415926535 (talk) 20:39, 25 November 2025 (UTC)
- @Pi.1415926535: couple reasons
- If we ever need to make another change we can do 1 edit instead of another 300k
- Another problem is the i18n on these pages is broken since when Template:Welcome was moved to ext.translate as seen in the example above. This will also fix i18n along the way which is helpful.
- —Matrix(!) ping onewhen replying {user - talk? -
uselesscontributions} 21:15, 25 November 2025 (UTC)- Gotcha, thanks for the explanation. Pi.1415926535 (talk) 21:43, 25 November 2025 (UTC)
- Test run done —Matrix(!) ping onewhen replying {user - talk? -
uselesscontributions} 18:23, 27 November 2025 (UTC)- Sorry, the task 7 link should've linked to MatrixBot's user page not mine —Matrix(!) ping onewhen replying {user - talk? -
uselesscontributions} 18:53, 28 November 2025 (UTC) - archive link —Matrix(!) ping onewhen replying {user - talk? -
uselesscontributions} 18:53, 28 November 2025 (UTC)- Could you please repeat test run? archive.org is not best way to see differences. EugeneZelenko (talk) 15:39, 30 November 2025 (UTC)
- @EugeneZelenko: ok I paused the lint fixing task, see Special:Contributions/MatrixBot —Matrix(!) ping onewhen replying {user - talk? -
uselesscontributions} 15:52, 30 November 2025 (UTC)- Looks OK for me. EugeneZelenko (talk) 15:54, 30 November 2025 (UTC)
- @EugeneZelenko: ok I paused the lint fixing task, see Special:Contributions/MatrixBot —Matrix(!) ping onewhen replying {user - talk? -
- Could you please repeat test run? archive.org is not best way to see differences. EugeneZelenko (talk) 15:39, 30 November 2025 (UTC)
- Sorry, the task 7 link should've linked to MatrixBot's user page not mine —Matrix(!) ping onewhen replying {user - talk? -
- @Pi.1415926535: couple reasons
If there are no objections, I think task should be approved. --EugeneZelenko (talk) 15:20, 7 December 2025 (UTC)