r108823 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108822‎ | r108823 | r108824 >
Date:18:31, 13 January 2012
Author:siebrand
Status:reverted
Tags:
Comment:
Fix typo in r108822.
Modified paths:
  • /trunk/extensions/Translate/tag/PageTranslationHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/PageTranslationHooks.php
@@ -321,7 +321,7 @@
322322 public static function preventUnknownTranslations( Title $title, User $user, $action, &$result ) {
323323 $handle = new MessageHandle( $title );
324324 if ( $handle->isPageTranslation() && $action === 'edit' && !$handle->isValid() ) {
325 - $result = array( wgMsg( 'tpt-unknown-page' ) );
 325+ $result = array( wfMsg( 'tpt-unknown-page' ) );
326326 return false;
327327 }
328328

Follow-up revisions

RevisionCommit summaryAuthorDate
r108848Revert r108822 and r108823. This fixed an API error message, but caused an is...siebrand21:15, 13 January 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108822Return message instead of key.siebrand18:28, 13 January 2012

Status & tagging log