r45770 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45769‎ | r45770 | r45771 >
Date:14:23, 15 January 2009
Author:ashley
Status:ok
Tags:
Comment:
adding some missing right-* messages for extensions
Modified paths:
  • /trunk/extensions/ChangeAuthor/ChangeAuthor.i18n.php (modified) (history)
  • /trunk/extensions/LookupUser/LookupUser.i18n.php (modified) (history)
  • /trunk/extensions/Maintenance/Maintenance.i18n.php (modified) (history)
  • /trunk/extensions/SpamRegex/SpamRegex.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ChangeAuthor/ChangeAuthor.i18n.php
@@ -25,34 +25,38 @@
2626
2727 $messages = array();
2828
 29+/** English
 30+ * @author Roan Kattouw
 31+ */
2932 $messages['en'] = array(
30 - 'changeauthor' => 'Change revision author',
31 - 'changeauthor-short' => 'ChangeAuthor',
32 - 'changeauthor-desc' => 'Allows changing a revision\'s author',
33 - 'changeauthor-title' => 'Change the author of a revision',
34 - 'changeauthor-search-box' => 'Search revisions',
35 - 'changeauthor-pagename-or-revid' => 'Page name or revision ID:',
36 - 'changeauthor-pagenameform-go' => 'Go',
37 - 'changeauthor-comment' => 'Comment:',
38 - 'changeauthor-changeauthors-multi' => 'Change {{PLURAL:$1|author|authors}}',
39 - 'changeauthor-explanation-multi' => 'With this form you can change revision authors.
 33+ 'changeauthor' => 'Change revision author',
 34+ 'changeauthor-short' => 'ChangeAuthor',
 35+ 'changeauthor-desc' => 'Allows changing a revision\'s author',
 36+ 'changeauthor-title' => 'Change the author of a revision',
 37+ 'changeauthor-search-box' => 'Search revisions',
 38+ 'changeauthor-pagename-or-revid' => 'Page name or revision ID:',
 39+ 'changeauthor-pagenameform-go' => 'Go',
 40+ 'changeauthor-comment' => 'Comment:',
 41+ 'changeauthor-changeauthors-multi' => 'Change {{PLURAL:$1|author|authors}}',
 42+ 'changeauthor-explanation-multi' => 'With this form you can change revision authors.
4043 Simply change one or more usernames in the list below, add a comment (optional) and click the \'Change author(s)\' button.',
4144 'changeauthor-changeauthors-single' => 'Change author',
42 - 'changeauthor-explanation-single' => 'With this form you can change a revision author.
 45+ 'changeauthor-explanation-single' => 'With this form you can change a revision author.
4346 Simply change the username below, add a comment (optional) and click the \'Change author\' button.',
44 - 'changeauthor-invalid-username' => 'Invalid username "$1".',
45 - 'changeauthor-nosuchuser' => 'No such user "$1".',
46 - 'changeauthor-revview' => 'Revision #$1 of $2',
47 - 'changeauthor-nosuchtitle' => 'There is no page called "$1".',
48 - 'changeauthor-weirderror' => 'A very strange error occurred.
 47+ 'changeauthor-invalid-username' => 'Invalid username "$1".',
 48+ 'changeauthor-nosuchuser' => 'No such user "$1".',
 49+ 'changeauthor-revview' => 'Revision #$1 of $2',
 50+ 'changeauthor-nosuchtitle' => 'There is no page called "$1".',
 51+ 'changeauthor-weirderror' => 'A very strange error occurred.
4952 Please retry your request.
5053 If this error keeps showing up, the database is probably broken.',
51 - 'changeauthor-invalidform' => 'Please use the form provided by the [[Special:ChangeAuthor|special page]] rather than a custom form.',
52 - 'changeauthor-success' => 'Your request has been processed successfully.',
53 - 'changeauthor-logentry' => 'Changed author of $2 of $1 from $3 to $4',
54 - 'changeauthor-logpagename' => 'Author change log',
55 - 'changeauthor-logpagetext' => '',
56 - 'changeauthor-rev' => 'r$1',
 54+ 'changeauthor-invalidform' => 'Please use the form provided by the [[Special:ChangeAuthor|special page]] rather than a custom form.',
 55+ 'changeauthor-success' => 'Your request has been processed successfully.',
 56+ 'changeauthor-logentry' => 'Changed author of $2 of $1 from $3 to $4',
 57+ 'changeauthor-logpagename' => 'Author change log',
 58+ 'changeauthor-logpagetext' => '',
 59+ 'changeauthor-rev' => 'r$1',
 60+ 'right-changeauthor' => 'Change the author of a revision',
5761 );
5862
5963 /** Message documentation (Message documentation)
Index: trunk/extensions/LookupUser/LookupUser.i18n.php
@@ -27,6 +27,7 @@
2828 'lookupuser-touched' => 'User record last touched: $1',
2929 'lookupuser-info-authenticated' => 'E-mail authentication: $1',
3030 'lookupuser-useroptions' => 'User options:',
 31+ 'right-lookupuser' => 'Look up user preferences',
3132 );
3233
3334 /** Message documentation (Message documentation)
Index: trunk/extensions/Maintenance/Maintenance.i18n.php
@@ -17,6 +17,8 @@
1818 'maintenance' => 'Run maintenance scripts',
1919 // description
2020 'maintenance-desc' => '[[Special:Maintenance|Wiki interface]] for various maintenance scripts',
 21+ // for Special:ListGroupRights
 22+ 'right-maintenance' => 'Run maintenance scripts through [[Special:Maintenance]]',
2123 // main form
2224 'maintenance-backlink' => 'Back to script selection',
2325 'maintenance-header' => 'Please select a script below to execute.
Index: trunk/extensions/SpamRegex/SpamRegex.i18n.php
@@ -1,7 +1,8 @@
22 <?php
33 /**
4 - * Internationalisation file for extension SpamRegex.
 4+ * Internationalisation file for SpamRegex extension.
55 *
 6+ * @file
67 * @ingroup Extensions
78 */
89
@@ -11,35 +12,36 @@
1213 * @author Bartek Łapiński
1314 */
1415 $messages['en'] = array(
15 - 'spamregex' => 'Spam regex',
16 - 'spamregex-desc' => '[[Special:SpamRegex|Filter]] out unwanted phrases in edited pages, based on regular expressions',
 16+ 'spamregex' => 'Spam regex',
 17+ 'spamregex-desc' => '[[Special:SpamRegex|Filter]] out unwanted phrases in edited pages, based on regular expressions',
1718 'spamregex-error-unblocking' => 'Error unblocking "$1". Probably there is no such pattern.',
18 - 'spamregex-summary' => 'The text was found in the page\'s summary.',
19 - 'spamregex-intro' => 'Use this form to effectively block expressions from saving into a page\'s text.
 19+ 'spamregex-summary' => 'The text was found in the page\'s summary.',
 20+ 'spamregex-intro' => 'Use this form to effectively block expressions from saving into a page\'s text.
2021 If the text contains the given expression, change would not be saved and an explanation will be displayed to user that tried to save the page.
2122 Caution advised, expressions should not be too short or too common.',
22 - 'spamregex-page-title' => 'Spam regex unwanted expressions block',
23 - 'spamregex-currently-blocked' => "'''Currently blocked phrases:'''",
 23+ 'spamregex-page-title' => 'Spam regex unwanted expressions block',
 24+ 'spamregex-currently-blocked' => "'''Currently blocked phrases:'''",
2425 'spamregex-move' => 'The reason you entered contained a blocked phrase. ',
2526 'spamregex-no-currently-blocked' => "'''There are no blocked phrases.'''",
26 - 'spamregex-log-1' => '* \'\'\'$1\'\'\' $2 ([{{SERVER}}$3&text=$4 remove]) added by ',
27 - 'spamregex-log-2' => ' on $1',
28 - 'spamregex-page-title-1' => 'Block phrase using regular expressions',
29 - 'spamregex-unblock-success' => 'Unblock succedeed',
30 - 'spamregex-unblock-message' => 'Phrase \'\'\'$1\'\'\' has been unblocked from editing.',
31 - 'spamregex-page-title-2' => 'Block phrases from saving using regular expressions',
32 - 'spamregex-block-success' => 'Block succedeed',
33 - 'spamregex-block-message' => 'Phrase \'\'\'$1\'\'\' has been blocked.',
34 - 'spamregex-warning-1' => 'Give a phrase to block.',
35 - 'spamregex-error-1' => 'Invalid regular expression.',
36 - 'spamregex-warning-2' => 'Please check at least one blocking mode.',
37 - 'spamregex-already-blocked' => '"$1" is already blocked',
38 - 'spamregex-phrase-block' => 'Phrase to block:',
39 - 'spamregex-phrase-block-text' => 'block phrase in page text',
 27+ 'spamregex-log-1' => '* \'\'\'$1\'\'\' $2 ([{{SERVER}}$3&text=$4 remove]) added by ',
 28+ 'spamregex-log-2' => ' on $1',
 29+ 'spamregex-page-title-1' => 'Block phrase using regular expressions',
 30+ 'spamregex-unblock-success' => 'Unblock succedeed',
 31+ 'spamregex-unblock-message' => 'Phrase \'\'\'$1\'\'\' has been unblocked from editing.',
 32+ 'spamregex-page-title-2' => 'Block phrases from saving using regular expressions',
 33+ 'spamregex-block-success' => 'Block succedeed',
 34+ 'spamregex-block-message' => 'Phrase \'\'\'$1\'\'\' has been blocked.',
 35+ 'spamregex-warning-1' => 'Give a phrase to block.',
 36+ 'spamregex-error-1' => 'Invalid regular expression.',
 37+ 'spamregex-warning-2' => 'Please check at least one blocking mode.',
 38+ 'spamregex-already-blocked' => '"$1" is already blocked',
 39+ 'spamregex-phrase-block' => 'Phrase to block:',
 40+ 'spamregex-phrase-block-text' => 'block phrase in page text',
4041 'spamregex-phrase-block-summary' => 'block phrase in summary',
41 - 'spamregex-block-submit' => 'Block&nbsp;this&nbsp;phrase',
42 - 'spamregex-text' => '(Text)',
43 - 'spamregex-summary-log' => '(Summary)',
 42+ 'spamregex-block-submit' => 'Block&nbsp;this&nbsp;phrase',
 43+ 'spamregex-text' => '(Text)',
 44+ 'spamregex-summary-log' => '(Summary)',
 45+ 'right-spamregex' => 'Block spam phrases through [[Special:SpamRegex]]',
4446 );
4547
4648 /** Message documentation (Message documentation)

Status & tagging log