Last modified: 2008-07-10 06:09:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12996 - Can't localize some user groups in Special:Listusers
Can't localize some user groups in Special:Listusers
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Oversight (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ar.wikipedia.org/wiki/%D8%AE%D...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-12 16:10 UTC by Meno25
Modified: 2008-07-10 06:09 UTC (History)
4 users (show)

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


Attachments
Patch for messages to be added to HideRevision.i18n.php (Oversight) (632 bytes, patch)
2008-02-12 18:02 UTC, Robin Pepermans (SPQRobin)
Details

Description Meno25 2008-02-12 16:10:59 UTC
The following user groups: import, transwiki, developer and oversight can't be localized in the user group selector in [[ar:Special:Listusers]]. They are always displayed in English. Other user groups can be localized as expected. There should be a way to fix this. Thanks.
Comment 1 Robin Pepermans (SPQRobin) 2008-02-12 17:59:11 UTC
They can be localized by editing 'group-*', 'group-*-member' and 'grouppage-*'. But it is true that this can only be done locally, they can't be localized in the MediaWiki software or an extension. 
Oversight is an extension so the messages can be added to HideRevision.i18n.php.
Other groups are Wikimedia-specific.
Comment 2 Robin Pepermans (SPQRobin) 2008-02-12 18:02:18 UTC
Created attachment 4644 [details]
Patch for messages to be added to HideRevision.i18n.php (Oversight)
Comment 3 Raimond Spekking 2008-02-12 20:41:46 UTC
Group:Oversight is not a default group. It's a Wikimedia specific setting.

From HideRevision.php:

// The 'hiderevision' permission allows use of revision hiding.
$wgGroupPermissions['*']['hiderevision'] = false;

// 'oversight' permission is required to view a previously-hidden revision.
$wgGroupPermissions['*']['oversight'] = false;

// You could add a group like this:
// $wgGroupPermissions['censor']['hiderevision'] = true;
// $wgGroupPermissions['quiscustodiet']['oversight'] = true;



Maybe it should make life easier to define such a group as default? And change the above last 3 lines to:

// Default oversight rights:
$wgGroupPermissions['oversight']['hiderevision'] = true;
$wgGroupPermissions['oversight']['oversight'] = true;


Comment 4 Robin Pepermans (SPQRobin) 2008-03-08 20:26:21 UTC
I just saw that the messages for Oversight have been added to HideRevision.i18n.php in r31714.
Comment 5 Robin Pepermans (SPQRobin) 2008-05-21 12:18:17 UTC
Reopen, only oversight has been fixed, but the Wikimedia-specific groups 'import', 'transwiki' and 'developer' can't be localized.
Maybe we can make a (Wikimedia-specific) extension just for this.
Comment 6 Roan Kattouw 2008-05-21 13:13:48 UTC
(In reply to comment #5)
> Reopen, only oversight has been fixed, but the Wikimedia-specific groups
> 'import', 'transwiki' and 'developer' can't be localized.
> Maybe we can make a (Wikimedia-specific) extension just for this.
> 

They can be localized to some degree by editing MediaWiki:group-import and MediaWiki:group-import-member. An extension providing these messages could also be useful, agreed.
Comment 7 Robin Pepermans (SPQRobin) 2008-07-09 13:58:05 UTC
There is now a new extension, WikimediaMessages, for the donate-related messages.
I suggest to add the messages for the groups developer, import and transwiki to that extension.
Comment 8 Raimond Spekking 2008-07-10 06:09:50 UTC
(In reply to comment #7)
> There is now a new extension, WikimediaMessages, for the donate-related
> messages.
> I suggest to add the messages for the groups developer, import and transwiki to
> that extension.
> 

Added with r37461.

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


Navigation
Links