Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -667,6 +667,10 @@ |
668 | 668 | public function getMessage( $key, $code ) { |
669 | 669 | if ( $code === 'en' ) { |
670 | 670 | $stuff = $this->load( 'en' ); |
| 671 | + // FIXME: throws PHP Notice: Undefined index: <key> |
| 672 | + // when keys are added, but createMessageIndex.php is |
| 673 | + // not run (like when a translatable page from page |
| 674 | + // translation was added) |
671 | 675 | return $stuff[$key]; |
672 | 676 | } |
673 | 677 | $title = Title::makeTitleSafe( $this->namespaces[0], "$key/$code" ); |
Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -227,6 +227,8 @@ |
228 | 228 | * like markup spanning between sections. */ |
229 | 229 | $page->getParse(); |
230 | 230 | } catch ( TPException $e ) { |
| 231 | + // FIXME: throws "PHP Notice: Undefined variable: ret" when <translate>/</translate> is uneven |
| 232 | + // and an 'edit conflict'. |
231 | 233 | call_user_func_array( array( $status, 'fatal' ), $ret ); |
232 | 234 | return false; |
233 | 235 | } |