r66558 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66557‎ | r66558 | r66559 >
Date:08:48, 17 May 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Document a bug I don't have time to investigate now
Modified paths:
  • /trunk/extensions/Translate/tag/PageTranslationHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/PageTranslationHooks.php
@@ -295,6 +295,7 @@
296296 if ( $page->getMarkedTag() ) {
297297 list( , $code ) = TranslateUtils::figureMessage( $title->getText() );
298298 wfLoadExtensionMessages( 'PageTranslation' );
 299+ // FIXME: Core chokes on this, passing an array as first parameter to wfMsgNoTrans
299300 $result = array(
300301 'tpt-target-page',
301302 $page->getTitle()->getPrefixedText(),
@@ -460,4 +461,4 @@
461462 return true;
462463 }
463464
464 -}
\ No newline at end of file
 465+}

Status & tagging log