Last modified: 2012-08-22 12:35:08 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 T40753, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38753 - Incomplete i18n for log entries
Incomplete i18n for log entries
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-27 11:28 UTC by Siddhartha Ghai
Modified: 2012-08-22 12:35 UTC (History)
4 users (show)

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


Attachments

Description Siddhartha Ghai 2012-07-27 11:28:31 UTC
Currently, it seems that the names of the actions performed which abusefilter catches are hardcoded for log entries. See http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:%E0%A4%A6%E0%A5%81%E0%A4%B0%E0%A5%81%E0%A4%AA%E0%A4%AF%E0%A5%8B%E0%A4%97_%E0%A4%B2%E0%A5%89%E0%A4%97 for example. The entries contain the word "edit" which seems to be $4 in [[MediaWiki:Abusefilter-log-detailedentry-meta]]. However, there seems to be no i18n message at translatewiki.net for translating this.

http://translatewiki.net/wiki/Thread%3ASupport/About_MediaWiki%3ALogentry-abusefilter-hit%2Fhi may be relevant too.
Comment 1 Nemo 2012-07-27 16:47:02 UTC
Yes, those are the messages.
Note that this might not be the AbuseFilter's fault: the names of the actions don't seem to be translated anywhere in MediaWiki, only their descriptions are.
Look for instance at [[Special:ListGroupRights]] or even [[m:Special:GlobalGroupPermissions/steward]]. The difference is that they're usually alongside the translated description, but this may or not be fixable.

It's a bit like the URL parameters (for action= and also log action in Special:Log or group name in Special:ListUsers etc.), which can't be changed.
Comment 2 Siddhartha Ghai 2012-07-27 20:44:08 UTC
(In reply to comment #1)
> Yes, those are the messages.
> Note that this might not be the AbuseFilter's fault: the names of the actions
> don't seem to be translated anywhere in MediaWiki, only their descriptions are.
> Look for instance at [[Special:ListGroupRights]] or even
> [[m:Special:GlobalGroupPermissions/steward]]. The difference is that they're
> usually alongside the translated description, but this may or not be fixable.
> 
> It's a bit like the URL parameters (for action= and also log action in
> Special:Log or group name in Special:ListUsers etc.), which can't be changed.

Even if it isn't the abusefilter's fault and the action names come from mediawiki, maybe it can wrap them in a translation function before showing? (if its not possible for them to be translated in mediawiki itself)

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


Navigation
Links