Last modified: 2014-11-12 16:05:34 UTC
Admins can currently set a custom error message for warning actions on abuse filters. These messages come from pages in the MediaWiki namespace on the local wiki. For global rules, translated versions of the warning need to be provided to the user. Possible solutions: * Pull the page from meta's MediaWiki namespace, possibly look for /<lang-code> for translations. * Pull from a local wiki page, and have a default message in case it doesn't exist on the local wiki. * Send messages to TWN * Disable custom messages and require admins to add/use system messages when the rule is marked global.
Add it to Extension WikimediaMessages and let translatewiki handle this, like other things needed in other wikis in all languages (globa group names, global group rights, etc.)
(In reply to comment #1) > Add it to Extension WikimediaMessages and let translatewiki handle this, like > other things needed in other wikis in all languages (globa group names, > global > group rights, etc.) I really think this is something that should be done inside the extension itself, and not depend on a Wikimedia-specific extension.
Related URL: https://gerrit.wikimedia.org/r/70583 (Gerrit Change If61716053b75f45e4b70f78d3809ddd02ac6d83e)
Change 70583 merged by jenkins-bot: Prevent custom warning messages for global rules https://gerrit.wikimedia.org/r/70583
(In reply to Gerrit Notification Bot from comment #4) > Change 70583 merged by jenkins-bot: > Prevent custom warning messages for global rules > > https://gerrit.wikimedia.org/r/70583 On AbuseFilter's side, this seems enough. If you want to make translation easier on Meta-Wiki, you can do so simply by enabling Translate on those messages, as we already do e.g. for workflow states. https://www.mediawiki.org/wiki/Help:Extension:Translate/Unstructured_element_translation