r56095 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56094‎ | r56095 | r56096 >
Date:15:31, 9 September 2009
Author:yaron
Status:deferred
Tags:
Comment:
Fixed check of blank message
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc
@@ -99,7 +99,7 @@
100100 $pager->mLimit = 10;
101101 $out->addHTML( '<div class="mw-warning-with-logexcerpt">' );
102102 // the message name changed in MW 1.16
103 - if (wfMsg( 'moveddeleted-notice' ) != '')
 103+ if (! wfEmptyMsg( 'moveddeleted-notice', wfMsg('moveddeleted-notice') ))
104104 $out->addWikiMsg( 'moveddeleted-notice' );
105105 else
106106 $out->addWikiMsg( 'recreate-deleted-warn' );

Status & tagging log