r90701 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90700‎ | r90701 | r90702 >
Date:09:36, 24 June 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Add group for semantic extensions
Modified paths:
  • /trunk/extensions/Translate/Translate.php (modified) (history)
  • /trunk/extensions/Translate/TranslateGroupDescriptions.i18n.php (modified) (history)
  • /trunk/extensions/Translate/groups/MediaWiki/SemanticAgg.yaml (added) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateGroupDescriptions.i18n.php
@@ -25,6 +25,7 @@
2626 'translate-group-desc-collection' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:Collection Collection]',
2727 'translate-group-desc-flaggedrevs' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:FlaggedRevs FlaggedRevs]',
2828 'translate-group-desc-readerfeedback' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:ReaderFeedback ReaderFeedback]',
 29+ 'translate-group-desc-semantic' => 'Meta message group containing all messages for all [http://http://semantic-mediawiki.org/ Semantic MediaWiki] extensions',
2930 '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]',
3031 'translate-group-desc-translate' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:Translate Translate]',
3132 'translate-group-desc-wikiaextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://www.wikia.com Wikia]',
Index: trunk/extensions/Translate/groups/MediaWiki/SemanticAgg.yaml
@@ -0,0 +1,13 @@
 2+BASIC:
 3+ id: ext-semantic-0-all
 4+ label: All Semantic MediaWiki extensions' messages
 5+ display: ext/semantic
 6+ meta: yes
 7+ class: AggregateMessageGroup
 8+ description: '{{int:translate-group-desc-semantic}}'
 9+ namespace: NS_MEDIAWIKI
 10+
 11+GROUPS:
 12+ - ext-folktagcloud
 13+ - ext-rdfio
 14+ - ext-semantic*
Index: trunk/extensions/Translate/Translate.php
@@ -359,6 +359,7 @@
360360 '/^ext-collection/' => array( 'ext', 'collection' ),
361361 '/^ext-flaggedrevs/' => array( 'ext', 'flaggedrevs' ),
362362 '/^ext-readerfeedback/' => array( 'ext', 'readerfeedback' ),
 363+ '/^ext-semantic/' => array( 'ext', 'semantic' ),
363364 '/^ext-socialprofile/' => array( 'ext', 'socialprofile' ),
364365 '/^ext-translate/' => array( 'ext', 'translate' ),
365366 '/^ext-uniwiki/' => array( 'ext', 'uniwiki' ),

Status & tagging log