* Updating messages.inc.
* Rebuilding English localization.
* Making restrictlogpage an ignored message, as there seems to be no reason to localize it.
'edit-no-change' => 'Your edit was ignored, because no change was made to the text.',
'edit-already-exists' => 'Could not create a new page.
It already exists.',
-'userrestricted-page' => "<big>'''Your user name or IP address has been restricted from editing page \"$1\".'''</big>
+'userrestricted-page' => '<big>\'\'\'Your user name or IP address has been restricted from editing page "$1".\'\'\'</big>
The restriction was put by [[User:$2|$2]].
-The reason given is ''$3''.
+The reason given is \'\'$3\'\'.
Restriction was put at $4 and expires at $5.
-You can contact [[User:$2|$2]] or another [[{{MediaWiki:Grouppage-sysop}}|administrator]] to discuss the restriction.",
+You can contact [[User:$2|$2]] or another [[{{MediaWiki:Grouppage-sysop}}|administrator]] to discuss the restriction.',
'userrestricted-namespace' => "<big>'''Your user name or IP address has been restricted from editing $1 namespace.'''</big>
The restriction was put by [[User:$2|$2]].
'right-suppressrevision' => 'Review and restore revisions hidden from Sysops',
'right-suppressionlog' => 'View private logs',
'right-block' => 'Block other users from editing',
+'right-restrict' => 'Restrict user from editing certain namespaces and pages',
'right-blockemail' => 'Block a user from sending email',
'right-hideuser' => 'Block a username, hiding it from the public',
'right-ipblock-exempt' => 'Bypass IP blocks, auto-blocks and range blocks',
'right-userrights' => 'Edit all user rights',
'right-userrights-interwiki' => 'Edit user rights of users on other wikis',
'right-siteadmin' => 'Lock and unlock the database',
-'right-restrict' => 'Restrict user from editing certain namespaces and pages',
# User rights log
'rightslog' => 'User rights log',
'userrestrictiontype-page' => 'Page',
# Special:RemoveRestrictions
-'removerestrictions' => 'Remove restriction from a user',
-'removerestrictions-intro' => 'Use the form below to remove a restriction from a certain user.',
-'removerestrictions-noid' => 'No restriction ID was specified.',
-'removerestrictions-wrongid' => 'Restriction with that ID not found. Most probably someone has removed it or it expired.',
-'removerestrictions-legend' => 'Remove a restriction',
-'removerestrictions-user' => 'Restricted user:',
-'removerestrictions-type' => 'Restriction type:',
-'removerestrictions-page' => 'Page:',
-'removerestrictions-namespace' => 'Namespace:',
-'removerestrictions-reason' => 'Reason:',
-'removerestrictions-submit' => 'Remove the restriction',
-'removerestrictions-success' => 'Successfully removed the restriction from [[User:$1|$1]].',
+'removerestrictions' => 'Remove restriction from a user',
+'removerestrictions-intro' => 'Use the form below to remove a restriction from a certain user.',
+'removerestrictions-noid' => 'No restriction ID was specified.',
+'removerestrictions-wrongid' => 'Restriction with that ID not found. Most probably someone has removed it or it expired.',
+'removerestrictions-legend' => 'Remove a restriction',
+'removerestrictions-user' => 'Restricted user:',
+'removerestrictions-type' => 'Restriction type:',
+'removerestrictions-page' => 'Page:',
+'removerestrictions-namespace' => 'Namespace:',
+'removerestrictions-reason' => 'Reason:',
+'removerestrictions-submit' => 'Remove the restriction',
+'removerestrictions-success' => 'Successfully removed the restriction from [[User:$1|$1]].',
# Special:RestrictUser
'restrictuser' => 'Restrict user',
'restrictentry' => 'restricted $1 from editing $2 (expiry set to $3)',
'restrictremoveentry' => 'removed restriction from $1 for editing $2',
'restrictlognamespace' => '$1 namespace',
-'restrictlogpage' => '[[$1]]', # only translate this message to other languages if you have to change it
+'restrictlogpage' => '[[$1]]', # do not translate or duplicate this message to other languages
# Developer tools
'lockdb' => 'Lock database',
'upload-summary',
'pagetitle-view-mainpage',
'newuserlogentry',
+ 'restrictlogpage',
);
/** Optional messages, which may be translated only if changed in the target language. */
'recentchangeslinked-backlink',
'diff-with-additional',
'statistics-footer',
- 'restrictlogpage',
);
/** EXIF messages, which may be set as optional in several checks, but are generally mandatory */
'edit-conflict',
'edit-no-change',
'edit-already-exists',
+ 'userrestricted-page',
+ 'userrestricted-namespace',
),
'parserwarnings' => array(
'expensive-parserfunction-warning',
'right-suppressrevision',
'right-suppressionlog',
'right-block',
+ 'right-restrict',
'right-blockemail',
'right-hideuser',
'right-ipblock-exempt',
'ipbsubmit',
'ipbother',
'ipboptions',
+ 'ipbinfinite',
'ipbotheroption',
'ipbotherreason',
'ipbhidename',
'sorbs_create_account_reason',
'cant-block-while-blocked',
),
+ 'listrestrictions' => array(
+ 'listuserrestrictions',
+ 'listuserrestrictions-intro',
+ 'listuserrestrictions-row-ns',
+ 'listuserrestrictions-row-page',
+ 'listuserrestrictions-row-expiry',
+ 'listuserrestrictions-legend',
+ 'listuserrestrictions-type',
+ 'listuserrestrictions-user',
+ 'listuserrestrictions-namespace',
+ 'listuserrestrictions-page',
+ 'listuserrestrictions-submit',
+ 'listuserrestrictions-notfound',
+ 'listuserrestrictions-empty',
+ 'listuserrestrictions-remove',
+ 'userrestrictiontype-none',
+ 'userrestrictiontype-namespace',
+ 'userrestrictiontype-page',
+ ),
+ 'removerestrictions' => array(
+ 'removerestrictions',
+ 'removerestrictions-intro',
+ 'removerestrictions-noid',
+ 'removerestrictions-wrongid',
+ 'removerestrictions-legend',
+ 'removerestrictions-user',
+ 'removerestrictions-type',
+ 'removerestrictions-page',
+ 'removerestrictions-namespace',
+ 'removerestrictions-reason',
+ 'removerestrictions-submit',
+ 'removerestrictions-success',
+ ),
+ 'restrictuser' => array(
+ 'restrictuser',
+ 'restrictuser-userselect',
+ 'restrictuser-user',
+ 'restrictuser-go',
+ 'restrictuser-notfound',
+ 'restrictuser-existing',
+ 'restrictuser-legend-page',
+ 'restrictuser-legend-namespace',
+ 'restrictuser-title',
+ 'restrictuser-namespace',
+ 'restrictuser-expiry',
+ 'restrictuser-reason',
+ 'restrictuser-sumbit',
+ 'restrictuser-badtitle',
+ 'restrictuser-badnamespace',
+ 'restrictuser-badexpiry',
+ 'restrictuser-duptitle',
+ 'restrictuser-dupnamespace',
+ 'restrictuser-success',
+ ),
+ 'restrictionlog' => array(
+ 'restrictionlog',
+ 'restrictionlogtext',
+ 'restrictentry',
+ 'restrictremoveentry',
+ 'restrictlognamespace',
+ 'restrictlogpage',
+ ),
'developertools' => array(
'lockdb',
'unlockdb',
'sp-contributions' => '',
'whatlinkshere' => 'What links here',
'block' => 'Block/unblock',
+ 'listrestrictions' => 'Special:ListUserRestrictions',
+ 'removerestrictions' => 'Special:RemoveRestrictions',
+ 'restrictuser' => 'Special:RestrictUser',
+ 'restrictionlog' => 'Special:Log/restrict',
'developertools' => 'Developer tools',
'movepage' => 'Move page',
'export' => 'Export',