Index: trunk/extensions/ExtensionDistributor/ExtensionDistributor_body.php |
— | — | @@ -5,13 +5,14 @@ |
6 | 6 | |
7 | 7 | function __construct() { |
8 | 8 | parent::__construct( 'ExtensionDistributor' ); |
9 | | - wfLoadExtensionMessages( 'ExtensionDistributor' ); |
10 | | - $this->setHeaders(); |
11 | 9 | } |
12 | 10 | |
13 | 11 | function execute( $subpage ) { |
14 | 12 | global $wgExtDistTarDir, $wgExtDistWorkingCopy, $wgOut, $wgRequest; |
15 | 13 | |
| 14 | + wfLoadExtensionMessages( 'ExtensionDistributor' ); |
| 15 | + $this->setHeaders(); |
| 16 | + |
16 | 17 | if ( !$wgExtDistTarDir || !$wgExtDistWorkingCopy ) { |
17 | 18 | $wgOut->addWikiMsg( 'extdist-not-configured' ); |
18 | 19 | return; |