Index: trunk/extensions/UserDebugInfo/SpecialUserDebugInfo.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | public function execute( $subpage ) { |
14 | 14 | $this->setHeaders(); |
15 | 15 | global $wgOut; |
16 | | - $wgOut->addHTML( Xml::openElement( 'table', array( 'class' => 'TablePager' ) ) ); |
| 16 | + $wgOut->addHTML( Xml::openElement( 'table', array( 'class' => 'wikitable' ) ) ); |
17 | 17 | |
18 | 18 | $wgOut->addHTML( '<thead>' ); |
19 | 19 | $wgOut->addHTML( '<tr>' ); |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | $this->printRow( 'userdebuginfo-remotehost', $_SERVER['REMOTE_HOST'] ); |
35 | 35 | } |
36 | 36 | |
37 | | - $this->printRow( 'userdebuginfo-remoteaddr', $_SERVER['REMOTE_ADDR'] ); |
| 37 | + $this->printRow( 'userdebuginfo-remoteaddr', wfGetIP() ); |
38 | 38 | $this->printRow( 'userdebuginfo-language', htmlspecialchars( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ); |
39 | 39 | |
40 | 40 | $wgOut->addHTML( '</tbody>' ); |