eranroz added a subscriber: Matanya. eranroz added a comment. Thank you for being proactive and creating a bug for it.
Some more details on the requirements and the current implementations: - A community maintained list of replacements is located in https://he.wikipedia.org/w/index.php?title=וק:רה&uselang=en where the columns are (from right to left): replacement ID, regex for search, replacement, exception and link for disscussion - A nobot template for such replacements is located in https://he.wikipedia.org/wiki/%D7%AA%D7%91%D7%A0%D7%99%D7%AA:%D7%9C%D7%9C%D7%90_%D7%91%D7%95%D7%98 and gets as parameter the ID of the replacement. It tells the bot it should not use specific replacement in article that use it - Implementations: - A pywikibot bot that parse the list, this nobot template and is located in: https://github.com/eranroz/hewiki-ReplaceBot (it inherits replace.py) - A JS implementation of such replacement for editors is integrated within https://he.wikipedia.org/wiki/MediaWiki:Gadget-Checkty.js?uselang=en (specifcly build_regexes and process_page functions) - Similar pages exist also in - he.wikivoyage - https://he.wikivoyage.org/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%9E%D7%A1%D7%A2:%D7%91%D7%95%D7%98/%D7%91%D7%95%D7%98_%D7%94%D7%97%D7%9C%D7%A4%D7%95%D7%AA/%D7%A8%D7%A9%D7%99%D7%9E%D7%AA_%D7%94%D7%97%D7%9C%D7%A4%D7%95%D7%AA_%D7%A0%D7%95%D7%9B%D7%97%D7%99%D7%AA Pywikibot support: - pywikibot have fixes.py with some very specific fixes (such as music/datum for German). I think it is better to maintain such lists of replacements on wiki, so non programmers will be able to contribute to the replacement list. (Security note: it may be dangerous to have it on wiki but hewikiReplacebot: 1. sysops can protect such page. 2. the bot includes whitelist list of allowed editors) @matanya operates the bot in hewiki and he suggested we may include it in pywikibot/scripts ( https://github.com/eranroz/hewiki-ReplaceBot/issues/2 ). The question is whether there are other wikis that have (or would like to have) a on-wiki community maintained list of replacements? TASK DETAIL https://phabricator.wikimedia.org/T102317 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: eranroz Cc: Matanya, Aklapper, jayvdb, pywikibot-bugs-list _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
