Index: trunk/extensions/MirrorTools/MirrorTools.i18n.php |
— | — | @@ -6,10 +6,15 @@ |
7 | 7 | |
8 | 8 | $messages = array(); |
9 | 9 | |
10 | | -/* English |
| 10 | +/** English |
11 | 11 | * @author Tisane |
12 | 12 | */ |
13 | 13 | $messages['en'] = array( |
14 | 14 | 'mirrortools' => 'MirrorTools', |
15 | | - 'mirrortools-desc' => 'Allows edits to be made under any username' |
16 | | -); |
\ No newline at end of file |
| 15 | + 'mirrortools-desc' => 'Allows edits via API to be made under any username', |
| 16 | + 'right-mirroredit' => 'Edit via API under any username', |
| 17 | + 'group-MirrorTools' => 'Mirror tool users', |
| 18 | + 'group-MirrorTools-member' => 'mirror tool user', |
| 19 | + 'grouppage-MirrorTools' => '{{ns:project}}:Mirror tool users', |
| 20 | +); |
| 21 | + |
Index: trunk/extensions/MirrorTools/MirrorTools.php |
— | — | @@ -43,5 +43,10 @@ |
44 | 44 | $wgAutoloadClasses['ApiMirrorEditPage'] = $dir . 'APIMirrorTools.php'; |
45 | 45 | $wgAutoloadClasses['MirrorEditPage'] = $dir . 'MirrorTools.classes.php'; |
46 | 46 | $wgAPIModules['mirroredit'] = 'ApiMirrorEditPage'; |
47 | | -$wgExtensionMessagesFiles['MirrorTools'] = $dir . 'MirrorEdit.i18n.php'; |
| 47 | + |
| 48 | +// Path to internationalization file |
| 49 | +$wgExtensionMessagesFiles['MirrorTools'] = $dir . 'MirrorTools.i18n.php'; |
| 50 | + |
| 51 | +// New user rights |
| 52 | +$wgAvailableRights[] = 'mirroredit'; |
48 | 53 | $wgGroupPermissions['MirrorTools']['mirroredit'] = true; |
\ No newline at end of file |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -696,6 +696,8 @@ |
697 | 697 | |
698 | 698 | Mini Preview |
699 | 699 | |
| 700 | +Mirror Tools |
| 701 | + |
700 | 702 | Most Revisors |
701 | 703 | aliasfile = MostRevisors/MostRevisors.alias.php |
702 | 704 | ignored = mostrevisors-limit-few-revisors |
— | — | @@ -1009,8 +1011,6 @@ |
1010 | 1012 | Show Processlist |
1011 | 1013 | aliasfile = ShowProcesslist/ShowProcesslist.alias.php |
1012 | 1014 | |
1013 | | -Sidebar Donate Box |
1014 | | - |
1015 | 1015 | Sign Document |
1016 | 1016 | aliasfile = SignDocument/SignDocument.alias.php |
1017 | 1017 | descmsg = signature-desc |