r32994 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32993‎ | r32994 | r32995 >
Date:22:50, 8 April 2008
Author:aaron
Status:old
Tags:
Comment:
Kill useless div that bumps everything down
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -51,7 +51,7 @@
5252 public function showHeader( $out, $type ) {
5353 if( LogPage::isLogType( $type ) ) {
5454 $out->setPageTitle( LogPage::logName( $type ) );
55 - $out->addWikiText( LogPage::logHeader( $type ) );
 55+ $out->addHtml( LogPage::logHeader( $type ) );
5656 }
5757 }
5858
Index: trunk/phase3/includes/LogPage.php
@@ -136,7 +136,7 @@
137137 */
138138 static function logHeader( $type ) {
139139 global $wgLogHeaders;
140 - return Xml::element( 'div', array( 'class' => 'mw-log-headertext' ), wfMsg( $wgLogHeaders[$type] ) );
 140+ return wfMsgExt($wgLogHeaders[$type],array('parseinline'));
141141 }
142142
143143 /**

Status & tagging log