r86256 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86255‎ | r86256 | r86257 >
Date:11:43, 17 April 2011
Author:ialex
Status:ok
Tags:
Comment:
Use OutputPage::addWikiMsg()
Modified paths:
  • /trunk/extensions/AssertEdit/AssertEdit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AssertEdit/AssertEdit.php
@@ -63,7 +63,7 @@
6464 $wgOut->mRedirect = '';
6565
6666 $wgOut->mBodytext = '';
67 - $wgOut->addWikiText( wfMsg( 'assert_edit_message', $assertName ) );
 67+ $wgOut->addWikiMsg( 'assert_edit_message', $assertName );
6868
6969 $wgOut->returnToMain( false, $editpage->mTitle );
7070 return false;

Status & tagging log