r111212 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111211‎ | r111212 | r111213 >
Date:22:59, 10 February 2012
Author:hashar
Status:ok
Tags:
Comment:
uses wfMessage() instead of wgLang->getMessage()

minor space
follow r111180 for bug 12021
Modified paths:
  • /trunk/phase3/includes/specials/SpecialListusers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialListusers.php
@@ -157,9 +157,9 @@
158158 $edits = '';
159159 }
160160
161 - global $wgLang;
 161+ global $wgLang;
162162 $userTalkPage = $userPage->getTalkPage();
163 - $talk = ' (' . Linker::link( $userTalkPage, $wgLang->getMessage( 'talkpagelinktext' ) ) . ')';
 163+ $talk = ' (' . Linker::link( $userTalkPage, wfMessage( 'talkpagelinktext' )->escaped() ) . ')';
164164
165165 $created = '';
166166 # Some rows may be NULL

Follow-up revisions

RevisionCommit summaryAuthorDate
r111213Release note for bug 12021...hashar23:01, 10 February 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111180Fix bug 12021 - Provide additional links on Special:Listusers...mah19:10, 10 February 2012

Status & tagging log