Index: trunk/extensions/Translate/groups/Wikia/WikiaExtensions.php |
— | — | @@ -15,6 +15,7 @@ |
16 | 16 | protected $useConfigure = false; |
17 | 17 | protected $idPrefix = 'wikia-'; |
18 | 18 | protected $path = null; |
| 19 | + protected $namespaces = array( NS_WIKIA, NS_WIKIA_TALK ); |
19 | 20 | |
20 | 21 | public function __construct() { |
21 | 22 | global $wgTranslateGroupRoot; |
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php |
— | — | @@ -16,6 +16,7 @@ |
17 | 17 | protected $definitionFile = null; |
18 | 18 | protected $useConfigure = true; |
19 | 19 | protected $idPrefix = 'ext-'; |
| 20 | + protected $namespaces = array( NS_MEDIAWIKI, NS_MEDIAWIKI_TALK ); |
20 | 21 | |
21 | 22 | public function __construct() { |
22 | 23 | global $wgTranslateExtensionDirectory; |
— | — | @@ -190,6 +191,7 @@ |
191 | 192 | $group = ExtensionMessageGroup::factory( $info['name'], $id ); |
192 | 193 | $group->setMessageFile( $info['file'] ); |
193 | 194 | $group->setPath( $this->path ); |
| 195 | + $group->namespaces = $this->namespaces; |
194 | 196 | |
195 | 197 | if ( isset( $info['prefix'] ) ) { |
196 | 198 | $mangler = new StringMatcher( $info['prefix'], $info['mangle'] ); |