r38820 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38819‎ | r38820 | r38821 >
Date:23:42, 7 August 2008
Author:siebrand
Status:old
Tags:
Comment:
* add ValidationStatistics to Translate
* cleanup ValidationStatistics.i18n.php
Modified paths:
  • /trunk/extensions/FlaggedRevs/language/ValidationStatistics.i18n.php (modified) (history)
  • /trunk/extensions/Translate/groups/MediaWikiExtensions.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/language/ValidationStatistics.i18n.php
@@ -1,6 +1,6 @@
22 <?php
33 /**
4 - * Internationalisation file for FlaggedRevs extension, section RatingHistory
 4+ * Internationalisation file for FlaggedRevs extension, section ValidationStatistics
55 *
66 * @addtogroup Extensions
77 */
@@ -9,10 +9,10 @@
1010
1111 $messages['en'] = array(
1212 'validationstatistics' => 'Validation statistics',
13 - 'validationstatistics-users' => '\'\'\'{{SITENAME}}\'\'\' currently has \'\'\'$1\'\'\' {{PLURAL:$1|user|users}} with [[{{MediaWiki:Validationpage}}|Editor]] rights
14 - and \'\'\'$2\'\'\' {{PLURAL:$2|user|users}} with [[{{MediaWiki:Validationpage}}|Reviewer]] rights.',
 13+ 'validationstatistics-users' => '\'\'\'{{SITENAME}}\'\'\' currently has \'\'\'$1\'\'\' {{PLURAL:$1|user|users}} with [[{{MediaWiki:Validationpage}}|Editor]] rights
 14+and \'\'\'$2\'\'\' {{PLURAL:$2|user|users}} with [[{{MediaWiki:Validationpage}}|Reviewer]] rights.',
1515 'validationstatistics-table' => "Statistics for each namespace are shown below, excluding redirects pages.
16 -
 16+
1717 '''Note:''' the following data is cached for several hours and may not be up to date.",
1818 'validationstatistics-ns' => 'Namespace',
1919 'validationstatistics-total' => 'Pages',
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php
@@ -397,6 +397,7 @@
398398 'ext-flaggedrevs-stablepages',
399399 'ext-flaggedrevs-stableversions',
400400 'ext-flaggedrevs-unreviewedpages',
 401+ 'ext-flaggedrevs-validationstatistics',
401402 );
402403
403404 protected function init() {
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -275,6 +275,10 @@
276276 id = ext-flaggedrevs-unreviewedpages
277277 file = FlaggedRevs/language/UnreviewedPages.i18n.php
278278
 279+Flagged Revisions - Validation Statistics
 280+id = ext-flaggedrevs-validationstatistics
 281+file = FlaggedRevs/language/ValidationStatistics.i18n.php
 282+
279283 Find Spam
280284
281285 Fixed Image

Status & tagging log