Index: trunk/extensions/WikiBhasha/WikiBhasha.php |
— | — | @@ -24,18 +24,18 @@ |
25 | 25 | $dir = dirname( __FILE__ ) . '/'; |
26 | 26 | $jsPath = "extensions/WikiBhasha/src/"; |
27 | 27 | |
28 | | -// add a special page |
29 | | -$wgSpecialPages['wikiBhasha'] = 'WikiBhasha'; |
30 | | -$wgSpecialPageGroups['wikiBhasha'] = 'wiki'; |
31 | | - |
32 | 28 | // Autoloadable classes |
33 | 29 | $wgAutoloadClasses['wikiBhashaExt'] = $dir . 'WikiBhashaExtClass.php'; |
34 | | -$wgAutoloadClasses['wikiBhasha'] = $dir . 'WikiBhashaSpecial.php'; |
| 30 | +$wgAutoloadClasses['WikiBhasha'] = $dir . 'WikiBhashaSpecial.php'; |
35 | 31 | |
36 | 32 | // initilize wikiBhasha launch class |
37 | 33 | $wbExtClass = new wikiBhashaExt(); |
38 | 34 | |
39 | | -$wgAutoloadClasses['wikibhasha'] = $dir . 'WikiBhasha_body.php'; # Location of the wikibhasha class (Tell MediaWiki to load this file) |
| 35 | +// add a special page |
| 36 | +$wgSpecialPages['WikiBhasha'] = 'WikiBhasha'; |
| 37 | +$wgSpecialPageGroups['WikiBhasha'] = 'wiki'; |
| 38 | + |
| 39 | +$wgAutoloadClasses['WikiBhasha'] = $dir . 'WikiBhasha_body.php'; # Location of the wikibhasha class (Tell MediaWiki to load this file) |
40 | 40 | $wgExtensionMessagesFiles['WikiBhasha'] = $dir . 'WikiBhasha.i18n.php'; # Location of a messages file (Tell MediaWiki to load this file) |
41 | 41 | $wgExtensionAliasesFiles['WikiBhasha'] = $dir . 'WikiBhasha.alias.php'; # Location of a messages file (Tell MediaWiki to load this file) |
42 | 42 | |
Index: trunk/extensions/WikiBhasha/WikiBhashaSpecial.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | * |
9 | 9 | */ |
10 | 10 | |
11 | | -class wikiBhasha extends SpecialPage { |
| 11 | +class WikiBhasha extends SpecialPage { |
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Constructor |
Index: trunk/extensions/WikiBhasha/WikiBhasha_body.php |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | * this file contains the functions to populate the content to the special page |
7 | 7 | * |
8 | 8 | */ |
9 | | -class wikibhasha extends SpecialPage { |
| 9 | +class Wikibhasha extends SpecialPage { |
10 | 10 | function __construct() { |
11 | 11 | parent::__construct( 'Wikibhasha' ); |
12 | 12 | } |