Index: trunk/phase3/maintenance/language/languages.inc |
— | — | @@ -547,7 +547,9 @@ |
548 | 548 | public function getUntranslatedNamespaces( $code ) { |
549 | 549 | $this->loadFile( 'en' ); |
550 | 550 | $this->loadFile( $code ); |
551 | | - return array_flip( array_diff_key( $this->mNamespaceNames['en'], $this->mNamespaceNames[$code] ) ); |
| 551 | + $namespacesDiff = array_diff_key( $this->mNamespaceNames['en'], $this->mNamespaceNames[$code] ); |
| 552 | + if ( isset( $namespacesDiff[NS_MAIN] ) ) unset( $namespacesDiff[NS_MAIN] ); |
| 553 | + return $namespacesDiff; |
552 | 554 | } |
553 | 555 | |
554 | 556 | /** |