r72003 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72002‎ | r72003 | r72004 >
Date:01:19, 31 August 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Remove aggregate groups for WikiHow and WikiTravel. These are not getting any translators and the farms run pretty old versions (1.11 and 1.12).
Modified paths:
  • /trunk/extensions/Translate/groups/MediaWikiExtensions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php
@@ -183,9 +183,7 @@
184184
185185 $meta = array(
186186 'ext-0-all' => 'AllMediawikiExtensionsGroup',
187 - 'ext-0-wikihow' => 'AllWikihowExtensionsGroup',
188187 'ext-0-wikimedia' => 'AllWikimediaExtensionsGroup',
189 - 'ext-0-wikitravel' => 'AllWikitravelExtensionsGroup',
190188 'ext-collection-0-all' => 'AllCollectionExtensionsGroup',
191189 'ext-flaggedrevs-0-all' => 'AllFlaggedRevsExtensionsGroup',
192190 'ext-readerfeedback-0-all' => 'AllReaderFeedbackExtensionsGroup',
@@ -322,55 +320,6 @@
323321
324322 /**
325323 * Adds a message group containing all supported MediaWiki extensions used by
326 - * wikiHow.
327 - *
328 - * @todo Needs documentation.
329 - */
330 -class AllWikihowExtensionsGroup extends AllMediawikiExtensionsGroup {
331 - protected $label = 'Extensions used by Wikihow'; // currently using 1.12.0
332 - protected $id = 'ext-0-wikihow';
333 - protected $meta = true;
334 -
335 - protected $classes = null;
336 - protected $description = '{{int:translate-group-desc-wikihowextensions}}';
337 -
338 - protected $wikihowextensions = array(
339 - 'ext-antispoof',
340 - 'ext-blocktitles',
341 - 'ext-checkuser',
342 - 'ext-cite',
343 - 'ext-confirmedit',
344 - 'ext-formatemail',
345 - 'ext-imagemap',
346 - 'ext-importfreeimages',
347 - 'ext-multiupload',
348 - 'ext-openid',
349 - 'ext-parserfunctions',
350 - 'ext-postcomment',
351 - 'ext-renameuser',
352 - 'ext-spamblacklist',
353 - 'ext-spamdifftool',
354 - 'ext-syntaxhighlightgeshi',
355 - 'ext-youtubeauthsub',
356 - );
357 -
358 - protected function init() {
359 - if ( $this->classes === null ) {
360 - $this->classes = array();
361 - $classes = MessageGroups::singleton()->getGroups();
362 - foreach ( $this->wikihowextensions as $key ) {
363 - $this->classes[$key] = $classes[$key];
364 - }
365 - }
366 - }
367 -
368 - public function wikihowextensions() {
369 - return $this->wikihowextensions;
370 - }
371 -}
372 -
373 -/**
374 - * Adds a message group containing all supported MediaWiki extensions used by
375324 * Wikimedia.
376325 *
377326 * @todo Needs documentation.
@@ -507,45 +456,6 @@
508457 }
509458
510459 /**
511 - * Adds a message group containing all supported MediaWiki extensions used by
512 - * WikiTravel.
513 - *
514 - * @todo Needs documentation.
515 - */
516 -class AllWikitravelExtensionsGroup extends AllMediawikiExtensionsGroup {
517 - protected $label = 'Extensions used by Wikitravel'; // currently using 1.11.2
518 - protected $id = 'ext-0-wikitravel';
519 - protected $meta = true;
520 -
521 - protected $classes = null;
522 - protected $description = '{{int:translate-group-desc-wikitravelextensions}}';
523 -
524 - protected $wikitravelextensions = array(
525 - 'ext-charinsert',
526 - 'ext-inputbox',
527 - 'ext-microid',
528 - 'ext-openid',
529 - 'ext-parserfunctions',
530 - 'ext-renameuser',
531 - 'ext-stringfunctions',
532 - );
533 -
534 - protected function init() {
535 - if ( $this->classes === null ) {
536 - $this->classes = array();
537 - $classes = MessageGroups::singleton()->getGroups();
538 - foreach ( $this->wikitravelextensions as $key ) {
539 - $this->classes[$key] = $classes[$key];
540 - }
541 - }
542 - }
543 -
544 - public function wikitravelextensions() {
545 - return $this->wikitravelextensions;
546 - }
547 -}
548 -
549 -/**
550460 * Adds a message group containing all components of the MediaWiki extension
551461 * Collection.
552462 *

Status & tagging log