r94477 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94476‎ | r94477 | r94478 >
Date:19:54, 14 August 2011
Author:reedy
Status:deferred
Tags:
Comment:
Followup r94468

Fixup a couple of nits
Modified paths:
  • /trunk/extensions/UserDebugInfo/SpecialUserDebugInfo.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UserDebugInfo/SpecialUserDebugInfo.php
@@ -12,7 +12,7 @@
1313 public function execute( $subpage ) {
1414 $this->setHeaders();
1515 global $wgOut;
16 - $wgOut->addHTML( Xml::openElement( 'table', array( 'class' => 'TablePager' ) ) );
 16+ $wgOut->addHTML( Xml::openElement( 'table', array( 'class' => 'wikitable' ) ) );
1717
1818 $wgOut->addHTML( '<thead>' );
1919 $wgOut->addHTML( '<tr>' );
@@ -33,7 +33,7 @@
3434 $this->printRow( 'userdebuginfo-remotehost', $_SERVER['REMOTE_HOST'] );
3535 }
3636
37 - $this->printRow( 'userdebuginfo-remoteaddr', $_SERVER['REMOTE_ADDR'] );
 37+ $this->printRow( 'userdebuginfo-remoteaddr', wfGetIP() );
3838 $this->printRow( 'userdebuginfo-language', htmlspecialchars( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) );
3939
4040 $wgOut->addHTML( '</tbody>' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94468Craptastic extension...reedy19:16, 14 August 2011

Status & tagging log