r85868 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85867‎ | r85868 | r85869 >
Date:08:04, 12 April 2011
Author:aaron
Status:ok
Tags:
Comment:
Finally moved review action related messages to their own file. According to Nikerabbit: "move english messages and twn will do the rest" ;)
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/presentation/language/FlaggedRevs.i18n.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/presentation/language/RevisionReview.i18n.php (added) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -278,7 +278,7 @@
279279 $specialActionDir = $dir . 'presentation/specialpages/actions/';
280280 # Load revision review UI
281281 $wgAutoloadClasses['RevisionReview'] = $specialActionDir . 'RevisionReview_body.php';
282 -// @TODO: move review action related messages to separate file?
 282+$wgExtensionMessagesFiles['RevisionReview'] = $langDir . 'RevisionReview.i18n.php';
283283 # Stable version config UI
284284 $wgAutoloadClasses['Stabilization'] = $specialActionDir . 'Stabilization_body.php';
285285 $wgExtensionMessagesFiles['Stabilization'] = $langDir . 'Stabilization.i18n.php';
Index: trunk/extensions/FlaggedRevs/presentation/language/RevisionReview.i18n.php
@@ -0,0 +1,96 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for FlaggedRevs extension, section RevisionReview
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$messages = array();
 11+
 12+/** English (en)
 13+ * @author Purodha
 14+ * @author Raimond Spekking
 15+ * @author Siebrand
 16+ */
 17+
 18+$messages['en'] = array(
 19+ 'revisionreview' => 'Review revisions',
 20+ 'revreview-failed' => "'''Unable to review this revision.'''",
 21+ 'revreview-submission-invalid' => "The submission was incomplete or otherwise invalid.",
 22+
 23+ 'review_page_invalid' => 'The target page title is invalid.',
 24+ 'review_page_notexists' => 'The target page does not exist.',
 25+ 'review_page_unreviewable' => 'The target page is not reviewable.',
 26+ 'review_no_oldid' => 'No revision ID specified.',
 27+ 'review_bad_oldid' => 'The target revision does not exist.',
 28+ 'review_conflict_oldid' => 'Someone already accepted or unaccepted this revision while you were viewing it.',
 29+ 'review_not_flagged' => 'The target revision is not currently marked as reviewed.',
 30+ 'review_too_low' => 'Revision cannot be reviewed with some fields left "inadequate".',
 31+ 'review_bad_key' => 'Invalid inclusion parameter key.',
 32+ 'review_bad_tags' => 'Some of the specified tag values are invalid.',
 33+ 'review_denied' => 'Permission denied.',
 34+ 'review_param_missing' => 'A parameter is missing or invalid.',
 35+ 'review_cannot_undo' => 'Cannot undo these changes because further pending edits changed the same areas.',
 36+ 'review_cannot_reject' => 'Cannot reject these changes because someone already accepted some (or all) of the edits.',
 37+ 'review_reject_excessive' => 'Cannot reject this many edits at once.',
 38+
 39+ 'revreview-check-flag-p' => 'Accept this version (includes $1 pending {{PLURAL:$1|change|changes}})',
 40+ 'revreview-check-flag-p-title' => 'Accept the result of the pending changes and the changes you made here. Use this only if you have already seen the entire pending changes diff.',
 41+ 'revreview-check-flag-u' => 'Accept this unreviewed page',
 42+ 'revreview-check-flag-u-title' => 'Accept this version of the page. Only use this if you have already seen the entire page.',
 43+ 'revreview-check-flag-y' => 'Accept my changes',
 44+ 'revreview-check-flag-y-title' => 'Accept all the changes that you have made here.',
 45+
 46+ 'revreview-flag' => 'Review this revision',
 47+ 'revreview-reflag' => 'Re-review this revision',
 48+ 'revreview-invalid' => '\'\'\'Invalid target:\'\'\' no [[{{MediaWiki:Validationpage}}|reviewed]] revision corresponds to the given ID.',
 49+ 'revreview-legend' => 'Rate revision content',
 50+ 'revreview-log' => 'Comment:',
 51+ 'revreview-main' => 'You must select a particular revision of a content page in order to review.
 52+
 53+See the [[Special:Unreviewedpages|list of unreviewed pages]].',
 54+ 'revreview-stable1' => 'You may want to view [{{fullurl:$1|stableid=$2}} this flagged version] and see if it is now the [{{fullurl:$1|stable=1}} stable version] of this page.',
 55+ 'revreview-stable2' => 'You may want to view the [{{fullurl:$1|stable=1}} stable version] of this page.',
 56+ 'revreview-submit' => 'Submit',
 57+ 'revreview-submitting' => 'Submitting...',
 58+ 'revreview-submit-review' => 'Accept revision',
 59+ 'revreview-submit-unreview' => 'Unaccept revision',
 60+ 'revreview-submit-reject' => 'Reject changes',
 61+ 'revreview-submit-reviewed' => 'Done. Accepted!',
 62+ 'revreview-submit-unreviewed' => 'Done. Unaccepted!',
 63+ 'revreview-successful' => '\'\'\'Revision of [[:$1|$1]] successfully flagged. ([{{fullurl:{{#Special:ReviewedVersions}}|page=$2}} view reviewed versions])\'\'\'',
 64+ 'revreview-successful2' => '\'\'\'Revision of [[:$1|$1]] successfully unflagged.\'\'\'',
 65+ 'revreview-poss-conflict-p' => '\'\'\'Warning: [[User:$1|$1]] started reviewing this page on $2 at $3.\'\'\'',
 66+ 'revreview-poss-conflict-c' => '\'\'\'Warning: [[User:$1|$1]] started reviewing these changes on $2 at $3.\'\'\'',
 67+ 'revreview-toolow' => '\'\'\'You must rate each of the attributes higher than "inadequate" in order for a revision to be considered reviewed.\'\'\'
 68+
 69+To remove the review status of a revision, click "unaccept".
 70+
 71+Please hit the "back" button in your browser and try again.',
 72+ 'revreview-update' => '\'\'\'Please [[{{MediaWiki:Validationpage}}|review]] any pending changes \'\'(shown below)\'\' made since the stable version.\'\'\'',
 73+ 'revreview-update-edited' => '<span class="flaggedrevs_important">Your changes are not yet in the stable version.</span>
 74+
 75+Please review all the changes shown below to make your edits appear in the stable version.',
 76+ 'revreview-update-edited-prev' => '<span class="flaggedrevs_important">Your changes are not yet in the stable version. There are previous changes pending review.</span>
 77+
 78+Please review all the changes shown below to make your edits appear in the stable version.',
 79+ 'revreview-update-includes' => '\'\'\'Some templates/files were updated:\'\'\'',
 80+ 'revreview-update-use' => '\'\'\'NOTE:\'\'\' The stable version of each of these templates/files is used in the stable version of this page.',
 81+
 82+ 'revreview-reject-header' => 'Reject changes for $1',
 83+ 'revreview-reject-text-list' => 'By completing this action, you will be \'\'\'rejecting\'\'\' the following {{PLURAL:$1|change|changes}}:',
 84+ 'revreview-reject-text-revto' => 'This will revert the page back to the [{{fullurl:$1|oldid=$2}} version as of $3].',
 85+ 'revreview-reject-summary' => 'Summary:',
 86+ 'revreview-reject-confirm' => 'Reject these changes',
 87+ 'revreview-reject-cancel' => 'Cancel',
 88+ 'revreview-reject-summary-cur' => 'Rejected the last {{PLURAL:$1|change|$1 changes}} (by $2) and restored revision $3 by $4',
 89+ 'revreview-reject-summary-old' => 'Rejected the first {{PLURAL:$1|change|$1 changes}} (by $2) that followed revision $3 by $4',
 90+ 'revreview-reject-summary-cur-short' => 'Rejected the last {{PLURAL:$1|change|$1 changes}} and restored revision $2 by $3',
 91+ 'revreview-reject-summary-old-short' => 'Rejected the first {{PLURAL:$1|change|$1 changes}} that followed revision $2 by $3',
 92+ 'revreview-reject-usercount' => '{{PLURAL:$1|one user|$1 users}}',
 93+
 94+ 'revreview-tt-flag' => 'Accept this revision by marking it as "checked"',
 95+ 'revreview-tt-unflag' => 'Unaccept this revision by marking it as "unchecked"',
 96+ 'revreview-tt-reject' => 'Reject these changes by reverting them',
 97+);
Property changes on: trunk/extensions/FlaggedRevs/presentation/language/RevisionReview.i18n.php
___________________________________________________________________
Added: svn:eol-style
198 + native
Index: trunk/extensions/FlaggedRevs/presentation/language/FlaggedRevs.i18n.php
@@ -72,7 +72,6 @@
7373 'review-logpage' => 'Review log',
7474 'review-logpagetext' => 'This is a log of which versions of content pages are [[{{MediaWiki:Validationpage}}|checked]].',
7575 'reviewer' => 'Reviewer',
76 - 'revisionreview' => 'Review revisions',
7776 'revreview-accuracy' => 'Accuracy',
7877 'revreview-accuracy-0' => 'Inadequate',
7978 'revreview-accuracy-1' => 'Sighted',
@@ -88,26 +87,6 @@
8988 New [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} changes] may have been made.',
9089 'revreview-basic-same' => 'This is the [[{{MediaWiki:Validationpage}}|stable version]], [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} checked] on <i>$2</i>.',
9190 'revreview-basic-source' => 'A [{{fullurl:{{FULLPAGENAMEE}}|stableid=$1}} checked version] of this page, [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} approved] on <i>$2</i>, was based off this revision.',
92 -
93 - 'revreview-failed' => "'''Unable to review this revision.'''",
94 - 'revreview-submission-invalid' => "The submission was incomplete or otherwise invalid.",
95 -
96 - 'review_page_invalid' => 'The target page title is invalid.',
97 - 'review_page_notexists' => 'The target page does not exist.',
98 - 'review_page_unreviewable' => 'The target page is not reviewable.',
99 - 'review_no_oldid' => 'No revision ID specified.',
100 - 'review_bad_oldid' => 'The target revision does not exist.',
101 - 'review_conflict_oldid' => 'Someone already accepted or unaccepted this revision while you were viewing it.',
102 - 'review_not_flagged' => 'The target revision is not currently marked as reviewed.',
103 - 'review_too_low' => 'Revision cannot be reviewed with some fields left "inadequate".',
104 - 'review_bad_key' => 'Invalid inclusion parameter key.',
105 - 'review_bad_tags' => 'Some of the specified tag values are invalid.',
106 - 'review_denied' => 'Permission denied.',
107 - 'review_param_missing' => 'A parameter is missing or invalid.',
108 - 'review_cannot_undo' => 'Cannot undo these changes because further pending edits changed the same areas.',
109 - 'review_cannot_reject' => 'Cannot reject these changes because someone already accepted some (or all) of the edits.',
110 - 'review_reject_excessive' => 'Cannot reject this many edits at once.',
111 -
11291 'revreview-current' => 'Pending changes',
11392 'revreview-depth' => 'Depth',
11493 'revreview-depth-0' => 'Inadequate',
@@ -118,26 +97,12 @@
11998 'revreview-draft-title' => 'Pending changes are displayed on this page',
12099 'revreview-edit' => 'Edit',
121100 'revreview-editnotice' => '\'\'\'Your changes will be displayed to readers once an authorized user reviews them. ([[{{MediaWiki:Validationpage}}|help]])\'\'\'',
122 - 'revreview-check-flag-p' => 'Accept this version (includes $1 pending {{PLURAL:$1|change|changes}})',
123 - 'revreview-check-flag-p-title' => 'Accept the result of the pending changes and the changes you made here. Use this only if you have already seen the entire pending changes diff.',
124 - 'revreview-check-flag-u' => 'Accept this unreviewed page',
125 - 'revreview-check-flag-u-title' => 'Accept this version of the page. Only use this if you have already seen the entire page.',
126 - 'revreview-check-flag-y' => 'Accept my changes',
127 - 'revreview-check-flag-y-title' => 'Accept all the changes that you have made here.',
128101 'revreview-submitedit' => 'Submit changes',
129102 'revreview-submitedit-title' => 'Submit your changes for review',
130103 'revreview-edited' => '\'\'\'Your changes will be displayed to readers once an authorized user reviews them. ([[{{MediaWiki:Validationpage}}|help]])\'\'\'
131104
132105 There {{PLURAL:$2|is|are}} [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} $2 pending {{PLURAL:$2|change|changes}}] \'\'(shown below)\'\' awaiting review.',
133106 'revreview-edited-section' => 'Return to page section named "[[#$1|$2]]".',
134 - 'revreview-flag' => 'Review this revision',
135 - 'revreview-reflag' => 'Re-review this revision',
136 - 'revreview-invalid' => '\'\'\'Invalid target:\'\'\' no [[{{MediaWiki:Validationpage}}|reviewed]] revision corresponds to the given ID.',
137 - 'revreview-legend' => 'Rate revision content',
138 - 'revreview-log' => 'Comment:',
139 - 'revreview-main' => 'You must select a particular revision of a content page in order to review.
140 -
141 -See the [[Special:Unreviewedpages|list of unreviewed pages]].',
142107 'revreview-newest-basic' => '[{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} $3 {{PLURAL:$3|change|changes}}] in this version {{PLURAL:$3|is|are}} [[{{MediaWiki:Validationpage}}|pending review]].
143108 The [{{fullurl:{{FULLPAGENAMEE}}|stable=1}} stable version] was [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} checked] on <i>$2</i>.',
144109 'revreview-newest-basic-i' => '[{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} Template/file changes] in this version are [[{{MediaWiki:Validationpage}}|pending review]].
@@ -174,42 +139,15 @@
175140 'revreview-selected' => 'Selected revision of \'\'\'$1:\'\'\'',
176141 'revreview-source' => 'View source',
177142 'revreview-basic-title' => 'This is a checked version of this page',
178 - 'revreview-stable1' => 'You may want to view [{{fullurl:$1|stableid=$2}} this flagged version] and see if it is now the [{{fullurl:$1|stable=1}} stable version] of this page.',
179 - 'revreview-stable2' => 'You may want to view the [{{fullurl:$1|stable=1}} stable version] of this page.',
180143 'revreview-style' => 'Readability',
181144 'revreview-style-0' => 'Inadequate',
182145 'revreview-style-1' => 'Acceptable',
183146 'revreview-style-2' => 'Good',
184147 'revreview-style-3' => 'Concise',
185148 'revreview-style-4' => 'Featured',
186 - 'revreview-submit' => 'Submit',
187 - 'revreview-submitting' => 'Submitting...',
188 - 'revreview-submit-review' => 'Accept revision',
189 - 'revreview-submit-unreview' => 'Unaccept revision',
190 - 'revreview-submit-reject' => 'Reject changes',
191 - 'revreview-submit-reviewed' => 'Done. Accepted!',
192 - 'revreview-submit-unreviewed' => 'Done. Unaccepted!',
193 - 'revreview-successful' => '\'\'\'Revision of [[:$1|$1]] successfully flagged. ([{{fullurl:{{#Special:ReviewedVersions}}|page=$2}} view reviewed versions])\'\'\'',
194 - 'revreview-successful2' => '\'\'\'Revision of [[:$1|$1]] successfully unflagged.\'\'\'',
195 - 'revreview-poss-conflict-p' => '\'\'\'Warning: [[User:$1|$1]] started reviewing this page on $2 at $3.\'\'\'',
196 - 'revreview-poss-conflict-c' => '\'\'\'Warning: [[User:$1|$1]] started reviewing these changes on $2 at $3.\'\'\'',
197149 'revreview-toggle-show' => '(+)',
198150 'revreview-toggle-hide' => '(-)',
199151 'revreview-toggle-title' => 'show/hide details',
200 - 'revreview-toolow' => '\'\'\'You must rate each of the attributes higher than "inadequate" in order for a revision to be considered reviewed.\'\'\'
201 -
202 -To remove the review status of a revision, click "unaccept".
203 -
204 -Please hit the "back" button in your browser and try again.',
205 - 'revreview-update' => '\'\'\'Please [[{{MediaWiki:Validationpage}}|review]] any pending changes \'\'(shown below)\'\' made since the stable version.\'\'\'',
206 - 'revreview-update-edited' => '<span class="flaggedrevs_important">Your changes are not yet in the stable version.</span>
207 -
208 -Please review all the changes shown below to make your edits appear in the stable version.',
209 - 'revreview-update-edited-prev' => '<span class="flaggedrevs_important">Your changes are not yet in the stable version. There are previous changes pending review.</span>
210 -
211 -Please review all the changes shown below to make your edits appear in the stable version.',
212 - 'revreview-update-includes' => '\'\'\'Some templates/files were updated:\'\'\'',
213 - 'revreview-update-use' => '\'\'\'NOTE:\'\'\' The stable version of each of these templates/files is used in the stable version of this page.',
214152 'revreview-visibility-synced' => '\'\'\'This page has an updated [[{{MediaWiki:Validationpage}}|stable version]]; page stability settings can be [{{fullurl:{{#Special:Stabilization}}|page={{FULLPAGENAMEE}}}} configured].\'\'\'',
215153 'revreview-visibility-outdated' => '\'\'\'This page has an outdated [[{{MediaWiki:Validationpage}}|stable version]]; page stability settings can be [{{fullurl:{{#Special:Stabilization}}|page={{FULLPAGENAMEE}}}} configured].\'\'\'',
216154 'revreview-visibility-nostable' => '\'\'\'This page does not have a [[{{MediaWiki:Validationpage}}|stable version]]; page stability settings can be [{{fullurl:{{#Special:Stabilization}}|page={{FULLPAGENAMEE}}}} configured].\'\'\'',
@@ -259,18 +197,6 @@
260198 'revreview-restriction-any' => 'any',
261199 'revreview-restriction-none' => 'none',
262200
263 - 'revreview-reject-header' => 'Reject changes for $1',
264 - 'revreview-reject-text-list' => 'By completing this action, you will be \'\'\'rejecting\'\'\' the following {{PLURAL:$1|change|changes}}:',
265 - 'revreview-reject-text-revto' => 'This will revert the page back to the [{{fullurl:$1|oldid=$2}} version as of $3].',
266 - 'revreview-reject-summary' => 'Summary:',
267 - 'revreview-reject-confirm' => 'Reject these changes',
268 - 'revreview-reject-cancel' => 'Cancel',
269 - 'revreview-reject-summary-cur' => 'Rejected the last {{PLURAL:$1|change|$1 changes}} (by $2) and restored revision $3 by $4',
270 - 'revreview-reject-summary-old' => 'Rejected the first {{PLURAL:$1|change|$1 changes}} (by $2) that followed revision $3 by $4',
271 - 'revreview-reject-summary-cur-short' => 'Rejected the last {{PLURAL:$1|change|$1 changes}} and restored revision $2 by $3',
272 - 'revreview-reject-summary-old-short' => 'Rejected the first {{PLURAL:$1|change|$1 changes}} that followed revision $2 by $3',
273 - 'revreview-reject-usercount' => '{{PLURAL:$1|one user|$1 users}}',
274 -
275201 'revreview-reviewlink' => 'pending edits',
276202 'revreview-reviewlink-title' => 'View diff of all pending changes',
277203 'revreview-unreviewedpage' => 'unchecked page',
@@ -295,9 +221,6 @@
296222
297223 'log-show-hide-review' => '$1 review log',
298224
299 - 'revreview-tt-flag' => 'Accept this revision by marking it as "checked"',
300 - 'revreview-tt-unflag' => 'Unaccept this revision by marking it as "unchecked"',
301 - 'revreview-tt-reject' => 'Reject these changes by reverting them',
302225 'validationpage' => '{{ns:help}}:Page validation',
303226 );
304227

Follow-up revisions

RevisionCommit summaryAuthorDate
r85870Per r85864/r85868: update for Translatewikiraymond12:03, 12 April 2011

Status & tagging log