Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -416,6 +416,7 @@ |
417 | 417 | self::isMessageNamespace( $article->getTitle() ) ) |
418 | 418 | { |
419 | 419 | list( $key, $code, $group ) = self::getKeyCodeGroup( $article->getTitle() ); |
| 420 | + if ( !$group ) return true; |
420 | 421 | $def = $group->getMessage( $key, 'en' ); |
421 | 422 | $content = TranslateUtils::convertWhiteSpaceToHTML( $content ); |
422 | 423 | $deftext = wfMsgNoTrans( 'translate-edit-show-def' ); |