Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php |
— | — | @@ -183,9 +183,7 @@ |
184 | 184 | |
185 | 185 | $meta = array( |
186 | 186 | 'ext-0-all' => 'AllMediawikiExtensionsGroup', |
187 | | - 'ext-0-wikihow' => 'AllWikihowExtensionsGroup', |
188 | 187 | 'ext-0-wikimedia' => 'AllWikimediaExtensionsGroup', |
189 | | - 'ext-0-wikitravel' => 'AllWikitravelExtensionsGroup', |
190 | 188 | 'ext-collection-0-all' => 'AllCollectionExtensionsGroup', |
191 | 189 | 'ext-flaggedrevs-0-all' => 'AllFlaggedRevsExtensionsGroup', |
192 | 190 | 'ext-readerfeedback-0-all' => 'AllReaderFeedbackExtensionsGroup', |
— | — | @@ -322,55 +320,6 @@ |
323 | 321 | |
324 | 322 | /** |
325 | 323 | * 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 |
375 | 324 | * Wikimedia. |
376 | 325 | * |
377 | 326 | * @todo Needs documentation. |
— | — | @@ -507,45 +456,6 @@ |
508 | 457 | } |
509 | 458 | |
510 | 459 | /** |
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 | | -/** |
550 | 460 | * Adds a message group containing all components of the MediaWiki extension |
551 | 461 | * Collection. |
552 | 462 | * |