Index: trunk/extensions/examples/FourFileTemplate/MyExtension_body.php |
— | — | @@ -3,7 +3,6 @@ |
4 | 4 | { |
5 | 5 | function MyExtension() { |
6 | 6 | parent::__construct("MyExtension"); |
7 | | - wfLoadExtensionMessages( 'MyExtension' ); |
8 | 7 | } |
9 | 8 | |
10 | 9 | function execute( $par ) { |
— | — | @@ -11,6 +10,8 @@ |
12 | 11 | |
13 | 12 | $this->setHeaders(); |
14 | 13 | |
| 14 | + wfLoadExtensionMessages( 'MyExtension' ); |
| 15 | + |
15 | 16 | # Get request data from, e.g. |
16 | 17 | $param = $wgRequest->getText('param'); |
17 | 18 | |