Last modified: 2014-11-12 16:05:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47164, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45164 - Global abuse filters need to have translated warning messages
Global abuse filters need to have translated warning messages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: 44975
  Show dependency treegraph
 
Reported: 2013-02-19 18:38 UTC by Chris Steipp
Modified: 2014-11-12 16:05 UTC (History)
13 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris Steipp 2013-02-19 18:38:51 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.
Comment 1 db [inactive,noenotif] 2013-02-19 20:31:56 UTC
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.)
Comment 2 Kunal Mehta (Legoktm) 2013-02-20 07:50:01 UTC
(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.
Comment 3 Gerrit Notification Bot 2013-06-26 03:25:11 UTC
Related URL: https://gerrit.wikimedia.org/r/70583 (Gerrit Change If61716053b75f45e4b70f78d3809ddd02ac6d83e)
Comment 4 Gerrit Notification Bot 2013-07-02 21:41:50 UTC
Change 70583 merged by jenkins-bot:
Prevent custom warning messages for global rules

https://gerrit.wikimedia.org/r/70583
Comment 5 Nemo 2014-11-12 16:05:34 UTC
(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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links