r54430 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54429‎ | r54430 | r54431 >
Date:05:49, 5 August 2009
Author:purodha
Status:ok
Tags:
Comment:
Fix error in r54421
Modified paths:
  • /trunk/extensions/Translate/TranslateEditAddons.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateEditAddons.php
@@ -231,6 +231,7 @@
232232 private static function figureMessage( Title $title ) {
233233 $text = $title->getDBkey();
234234 $pos = strrpos( $text, '/' );
 235+ if ( $pos === FALSE )
235236 {
236237 $code = '';
237238 $key = $text;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r54421Fix typo, make figureMessage work correctly when called without a language code.purodha02:38, 5 August 2009

Status & tagging log