r58599 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58598‎ | r58599 | r58600 >
Date:19:29, 5 November 2009
Author:ialex
Status:deferred
Tags:
Comment:
Avoid fatals in Special:Translate/manage :)
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -155,6 +155,9 @@
156156 if ( !$path || !$file ) return false;
157157 return "$path/$file";
158158 }
 159+ public function getSourceFilePath( $code ) {
 160+ return $this->getMessageFileWithPath( $code );
 161+ }
159162
160163 /**
161164 * Creates a new MessageCollection for this group.

Status & tagging log