Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -295,6 +295,7 @@ |
296 | 296 | if ( $page->getMarkedTag() ) { |
297 | 297 | list( , $code ) = TranslateUtils::figureMessage( $title->getText() ); |
298 | 298 | wfLoadExtensionMessages( 'PageTranslation' ); |
| 299 | + // FIXME: Core chokes on this, passing an array as first parameter to wfMsgNoTrans |
299 | 300 | $result = array( |
300 | 301 | 'tpt-target-page', |
301 | 302 | $page->getTitle()->getPrefixedText(), |
— | — | @@ -460,4 +461,4 @@ |
461 | 462 | return true; |
462 | 463 | } |
463 | 464 | |
464 | | -} |
\ No newline at end of file |
| 465 | +} |