r64450 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64449‎ | r64450 | r64451 >
Date:18:56, 31 March 2010
Author:btongminh
Status:ok
Tags:
Comment:
(bug 23003) Wrap globalusage results in a <div id="mw-imagepage-section-globalusage">
Modified paths:
  • /trunk/extensions/GlobalUsage/SpecialGlobalUsage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalUsage/SpecialGlobalUsage.php
@@ -200,10 +200,12 @@
201201
202202 if ( $guHtml ) {
203203 $html .= '<h2 id="globalusage">' . wfMsgHtml( 'globalusage' ) . "</h2>\n"
 204+ . '<div id="mw-imagepage-section-globalusage">'
204205 . wfMsgExt( 'globalusage-of-file', 'parse' )
205206 . "<ul>\n" . $guHtml . "</ul>\n";
206207 if ( $query->hasMore() )
207208 $html .= wfMsgExt( 'globalusage-more', 'parse', $targetName );
 209+ $html .= '</div>';
208210 }
209211
210212 return true;

Status & tagging log