r65807 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65806‎ | r65807 | r65808 >
Date:13:07, 2 May 2010
Author:ialex
Status:deferred
Tags:
Comment:
Fix for r65805: description should be parsed
Modified paths:
  • /trunk/extensions/Translate/SpecialLanguageStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialLanguageStats.php
@@ -179,7 +179,7 @@
180180 * @return string HTML
181181 */
182182 function getGroupStats( $code, $suppressComplete = false ) {
183 - global $wgUser, $wgLang;
 183+ global $wgUser, $wgLang, $wgOut;
184184
185185 $errorString = '<error>';
186186 $out = '';
@@ -255,7 +255,7 @@
256256 $translateTitle,
257257 $groupLabel,
258258 array(
259 - 'title' => strip_tags( $g->getDescription() )
 259+ 'title' => strip_tags( $wgOut->parse( $g->getDescription(), false ) )
260260 ),
261261 $queryParameters
262262 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65805Add message group description as link titlesiebrand12:58, 2 May 2010

Status & tagging log