r53758 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53757‎ | r53758 | r53759 >
Date:19:39, 25 July 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Hopefully fixes a bug with translatable pages
Modified paths:
  • /trunk/extensions/Translate/SpecialTranslations.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialTranslations.php
@@ -111,7 +111,7 @@
112112 $namespace = $title->getNamespace();
113113 $message = $title->getDBkey();
114114
115 - $inMessageGroup = TranslateUtils::messageKeyToGroup( $title->getNamespace(), $title->getBaseText() );
 115+ $inMessageGroup = TranslateUtils::messageKeyToGroup( $title->getNamespace(), $title->getText() );
116116
117117 if( !$inMessageGroup ) {
118118 $wgOut->addWikiMsg( 'translate-translations-no-message', $title->getPrefixedText() );

Status & tagging log