http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55026
Revision: 55026 Author: siebrand Date: 2009-08-14 17:05:55 +0000 (Fri, 14 Aug 2009) Log Message: ----------- makeTitle is needed here Modified Paths: -------------- trunk/extensions/Translate/SpecialManageGroups.php Modified: trunk/extensions/Translate/SpecialManageGroups.php =================================================================== --- trunk/extensions/Translate/SpecialManageGroups.php 2009-08-14 16:39:11 UTC (rev 55025) +++ trunk/extensions/Translate/SpecialManageGroups.php 2009-08-14 17:05:55 UTC (rev 55026) @@ -343,7 +343,6 @@ protected function doAction( $action, $group, $key, $code, $message, $comment = '' ) { if ( $action === 'import' || $action === 'conflict' ) { - if ( $action === 'import' ) { $comment = wfMsgForContentNoTrans( 'translate-manage-import-summary' ); } else { @@ -356,6 +355,7 @@ } elseif ( $action === 'ignore' ) { return array( 'translate-manage-import-ignore', $key ); } elseif ( $action === 'fuzzy' ) { + $title = self::makeTitle( $group, $key, $code ); return $this->doFuzzy( $title, $message, $comment ); } else { throw new MWException( "Unhandled action $action" ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs