r79717 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79716‎ | r79717 | r79718 >
Date:13:07, 6 January 2011
Author:ialex
Status:ok
Tags:
Comment:
wfEmptyMsg() doesn't require a second parameter anymore
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRecentchanges.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRecentchanges.php
@@ -671,7 +671,7 @@
672672 $options = $nondefaults + $defaults;
673673
674674 $note = '';
675 - if( !wfEmptyMsg( 'rclegend', wfMsg('rclegend') ) ) {
 675+ if( !wfEmptyMsg( 'rclegend' ) ) {
676676 $note .= '<div class="mw-rclegend">' . wfMsgExt( 'rclegend', array('parseinline') ) . "</div>\n";
677677 }
678678 if( $options['from'] ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64178Make MessageCache::get() return false if the requested message does not exist...happy-melon20:21, 25 March 2010

Status & tagging log