Index: trunk/extensions/ExtensionManagement/specials/SpecialExtensionManagement.php |
— | — | @@ -19,28 +19,27 @@ |
20 | 20 | 'https://svn.wikimedia.org/viewvc/mediawiki' => 'http://svn.wikimedia.org/viewvc/mediawiki', |
21 | 21 | ); |
22 | 22 | |
23 | | - function __construct() { |
24 | | - parent::__construct( 'ExtensionManagement' ); |
25 | | - } |
| 23 | + function __construct() { |
| 24 | + parent::__construct( 'ExtensionManagement' ); |
| 25 | + } |
26 | 26 | |
27 | | - |
28 | | - function execute( $par ) { |
29 | | - global $wgOut, $wgMessageCache, $wgContLang; |
30 | | - $wgMessageCache->loadAllMessages(); |
31 | 27 | |
| 28 | + function execute( $par ) { |
| 29 | + global $wgOut, $wgContLang; |
| 30 | + |
32 | 31 | $this->setHeaders(); |
33 | 32 | $this->outputHeader(); |
34 | 33 | |
35 | 34 | $wgOut->addHTML( Xml::openElement( 'div', |
36 | 35 | array( 'dir' => $wgContLang->getDir() ) ) ); |
37 | | - $wgOut->addWikiMsgArray( 'extensionmanagement-page-explanation', '' ); |
| 36 | + $wgOut->addWikiMsg( 'extensionmanagement-page-explanation', '' ); |
38 | 37 | |
39 | 38 | $text = |
40 | 39 | $this->displayExtensions(); |
41 | 40 | |
42 | 41 | $wgOut->addWikiText( $text ); |
43 | 42 | $wgOut->addHTML( '</div>' ); |
44 | | - } |
| 43 | + } |
45 | 44 | |
46 | 45 | |
47 | 46 | function displayExtensions() { |