On Fri, 19 Jun 2015 10:38:01 +0200, Amir E. Aharoni amir.aharoni@mail.huji.ac.il wrote:
- '''<nowiki/>''' - this doesn't do anything at all. I couldn't reproduce
it in any way, so it's probably a bug that was fixed.
This sounds very much like https://phabricator.wikimedia.org/T95730 which was fixed recently.
It would be easy to write bots to fix such easy common cases, but they would have to run on every project. Would it make sense to write them as maintenance scripts that update them everywhere when people upgrade VE?
It should be easier to both write and run these as on-wiki bots, and I doubt anyone other than Wikimedia has used VisualEditor enough to need such cleanup. I doubt that you'd have problems just running the bot on all projects, as very few of them seek out and ban helpful automated editors who do not jump through the necessary hoops; English Wikipedia, sadly, is one of these. You could always get a global bot flag: https://meta.wikimedia.org/wiki/Steward_requests/Bot_status
https://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=insou...
Just be careful with the replacements, as Dan and Jack raise good points about weird syntax sometimes being intentional. Happy botting!