r50445 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50444‎ | r50445 | r50446 >
Date:17:27, 10 May 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Add descriptions for standard meta message groups
Modified paths:
  • /trunk/extensions/Translate/Translate.i18n.php (modified) (history)
  • /trunk/extensions/Translate/groups/MediaWikiExtensions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php
@@ -182,6 +182,7 @@
183183 protected $meta = true;
184184 protected $type = 'mediawiki';
185185 protected $classes = null;
 186+ protected $description = '{{int:translate-group-desc-mediawikiextensions}}';
186187
187188 public function getProblematic( $code ) {
188189 $this->init();
@@ -257,6 +258,7 @@
258259 protected $meta = true;
259260
260261 protected $classes = null;
 262+ protected $description = '{{int:translate-group-desc-wikiaextensions}}';
261263
262264 protected $wikiaextensions = array(
263265 'ext-antibot',
@@ -306,6 +308,7 @@
307309 protected $meta = true;
308310
309311 protected $classes = null;
 312+ protected $description = '{{int:translate-group-desc-wikihowextensions}}';
310313
311314 protected $wikihowextensions = array(
312315 'ext-antispoof',
@@ -348,6 +351,7 @@
349352 protected $meta = true;
350353
351354 protected $classes = null;
 355+ protected $description = '{{int:translate-group-desc-wikimediaextensions}}';
352356
353357 protected $wmfextensions = array(
354358 'ext-abusefilter', // test.wikipedia.org
@@ -432,6 +436,7 @@
433437 protected $meta = true;
434438
435439 protected $classes = null;
 440+ protected $description = '{{int:translate-group-desc-wikitravelextensions}}';
436441
437442 protected $wikitravelextensions = array(
438443 'ext-charinsert',
@@ -464,6 +469,7 @@
465470 protected $meta = true;
466471
467472 protected $classes = null;
 473+ protected $description = '{{int:translate-group-desc-collection}}';
468474
469475 protected $collectionextensions = array(
470476 'ext-collection-core',
@@ -487,6 +493,7 @@
488494 protected $meta = true;
489495
490496 protected $classes = null;
 497+ protected $description = '{{int:translate-group-desc-flaggedrevs}}';
491498
492499 protected $flaggedrevsextensions = array(
493500 'ext-flaggedrevs-flaggedrevs',
@@ -521,6 +528,7 @@
522529 protected $meta = true;
523530
524531 protected $classes = null;
 532+ protected $description = '{{int:translate-group-desc-socialprofile}}';
525533
526534 protected $socialprofileextensions = array(
527535 'ext-socialprofile-systemgifts',
@@ -549,6 +557,7 @@
550558 protected $meta = true;
551559
552560 protected $classes = null;
 561+ protected $description = '{{int:translate-group-desc-translate}}';
553562
554563 protected $translateprofileextensions = array(
555564 'ext-translate-core',
@@ -572,6 +581,7 @@
573582 protected $meta = true;
574583
575584 protected $classes = null;
 585+ protected $description = '{{int:translate-group-desc-uniwiki}}';
576586
577587 protected $uniwikiextensions = array(
578588 'ext-uniwiki-authors',
Index: trunk/extensions/Translate/Translate.i18n.php
@@ -194,6 +194,18 @@
195195 # be ignored.', # do not duplicate this message to other languages
196196
197197 'translate-save' => 'Save ($1)',
 198+
 199+ # Meta message group descriptions
 200+ 'translate-group-desc-mediawikiextensions' => 'Meta message group containing all messages for supported extensions for MediaWiki',
 201+ 'translate-group-desc-collection' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:Collection Collection]',
 202+ 'translate-group-desc-flaggedrevs' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:FlaggedRevs FlaggedRevs]',
 203+ 'translate-group-desc-socialprofile' => 'Meta message group containing all messages for extensions related to the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:SocialProfile Social Profile]',
 204+ 'translate-group-desc-translate' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:Translate Translate]',
 205+ 'translate-group-desc-wikiaextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://www.wikia.com Wikia]',
 206+ 'translate-group-desc-wikihowextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://www.wikihow.com wikiHow]',
 207+ 'translate-group-desc-wikimediaextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by the [http://wikimedia.org/ Wikimedia Foundation]',
 208+ 'translate-group-desc-wikitravelextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://wikitravel.org Wikitravel]',
 209+ 'translate-group-desc-uniwiki' => 'Meta message group containing all messages for extensions related to [http://unicefinnovation.org/wiki.php Uniwiki]',
198210 );
199211
200212 /** Message documentation (Message documentation)

Status & tagging log