r44843 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44842‎ | r44843 | r44844 >
Date:13:31, 20 December 2008
Author:raymond
Status:deferred
Tags:
Comment:
* Add description and rights messages
* Add special page group
* Add to Translatewiki
* Tweaks to German translation
Modified paths:
  • /trunk/extensions/GlobalUserrights/GlobalUserrights.alias.php (modified) (history)
  • /trunk/extensions/GlobalUserrights/GlobalUserrights.i18n.php (modified) (history)
  • /trunk/extensions/GlobalUserrights/GlobalUserrights.php (modified) (history)
  • /trunk/extensions/Translate/aliases.txt (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -342,6 +342,9 @@
343343
344344 Global Usage
345345
 346+Global User Rights
 347+desc = gur-desc
 348+
346349 Gnuplot
347350
348351 Google AdSense
Index: trunk/extensions/Translate/aliases.txt
@@ -118,6 +118,9 @@
119119 Global usage
120120 file = GlobalUsage/GlobalUsage.alias.php
121121
 122+Global user rights
 123+file = GlobalUserrights/GlobalUserrights.alias.php
 124+
122125 Group permissions manager
123126 file = GroupPermissionsManager/GroupPermissionsManager.alias.php
124127
Index: trunk/extensions/GlobalUserrights/GlobalUserrights.i18n.php
@@ -13,12 +13,15 @@
1414 */
1515 $messages['en'] = array(
1616 'globaluserrights' => 'Global User Rights Management',
 17+ 'gur-desc' => 'Easy [[Special:GlobalUserRights|global user rights]] administration',
1718 'gur-rightslog-name' => 'Global rights log',
1819 'gur-rightslog-header' => 'This is a log of changes to global rights.',
19 - 'gur-rightslog-entry' => 'changed global group membership for $1 from $2 to $3'
20 -);
 20+ 'gur-rightslog-entry' => 'changed global group membership for $1 from $2 to $3',
 21+ 'rights-userrights-global' => 'Manage global user rights',
2122
 23+ );
 24+
2225 /** German (Deutsch) */
2326 $messages['de'] = array(
24 - 'globaluserrights' => 'Globale Benutzerrechtewaltung'
 27+ 'globaluserrights' => 'Globale Benutzerrechteverwaltung'
2528 );
Index: trunk/extensions/GlobalUserrights/GlobalUserrights.php
@@ -14,11 +14,14 @@
1515
1616 // Extension credits
1717 $wgExtensionCredits['specialpage'][] = array(
18 - 'name' => 'GlobalUserrights',
19 - 'url' => 'http://www.mediawiki.org/wiki/Extension:GlobalUserrights',
20 - 'version' => '1.0',
21 - 'author' => 'Nathaniel Herman',
22 - 'description' => 'Easy [[Special:GlobalUserRights|global user rights]] administration'
 18+ 'name' => 'GlobalUserrights',
 19+ 'url' => 'http://www.mediawiki.org/wiki/Extension:GlobalUserrights',
 20+ 'version' => '1.0',
 21+ 'author' => 'Nathaniel Herman',
 22+ 'svn-date' => '$LastChangedDate$',
 23+ 'svn-revision' => '$LastChangedRevision$',
 24+ 'description' => 'Easy [[Special:GlobalUserRights|global user rights]] administration',
 25+ 'descriptionmsg' => 'gur-desc',
2326 );
2427
2528 // Set up the new special page
@@ -27,6 +30,7 @@
2831 $wgExtensionAliasesFiles['GlobalUserrights'] = $dir . 'GlobalUserrights.alias.php';
2932 $wgAutoloadClasses['GlobalUserrights'] = $dir . 'GlobalUserrights_body.php';
3033 $wgSpecialPages['GlobalUserrights'] = 'GlobalUserrights';
 34+$wgSpecialPageGroups['GlobalUserrights'] = 'users';
3135
3236 // New user right, required to use Special:GlobalUserrights
3337 $wgAvailableRights[] = 'userrights-global';
Property changes on: trunk/extensions/GlobalUserrights/GlobalUserrights.php
___________________________________________________________________
Added: svn:keywords
3438 + LastChangedDate LastChangedRevision
Index: trunk/extensions/GlobalUserrights/GlobalUserrights.alias.php
@@ -15,5 +15,5 @@
1616
1717 /** German (Deutsch) */
1818 $aliases['de'] = array(
19 - 'GlobalUserrights' => array( 'Globalebenutzerrechte' )
 19+ 'GlobalUserrights' => array( 'Globale Benutzerrechte' )
2020 );

Status & tagging log