r75505 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75504‎ | r75505 | r75506 >
Date:07:02, 27 October 2010
Author:wikibhasha.msr
Status:deferred
Tags:
Comment:
Changing wikiBhasha to WikiBhasha caused few issues in the script - fixed
Modified paths:
  • /trunk/extensions/WikiBhasha/WikiBhasha.php (modified) (history)
  • /trunk/extensions/WikiBhasha/WikiBhashaSpecial.php (modified) (history)
  • /trunk/extensions/WikiBhasha/WikiBhasha_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiBhasha/WikiBhasha.php
@@ -24,18 +24,18 @@
2525 $dir = dirname( __FILE__ ) . '/';
2626 $jsPath = "extensions/WikiBhasha/src/";
2727
28 -// add a special page
29 -$wgSpecialPages['wikiBhasha'] = 'WikiBhasha';
30 -$wgSpecialPageGroups['wikiBhasha'] = 'wiki';
31 -
3228 // Autoloadable classes
3329 $wgAutoloadClasses['wikiBhashaExt'] = $dir . 'WikiBhashaExtClass.php';
34 -$wgAutoloadClasses['wikiBhasha'] = $dir . 'WikiBhashaSpecial.php';
 30+$wgAutoloadClasses['WikiBhasha'] = $dir . 'WikiBhashaSpecial.php';
3531
3632 // initilize wikiBhasha launch class
3733 $wbExtClass = new wikiBhashaExt();
3834
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)
4040 $wgExtensionMessagesFiles['WikiBhasha'] = $dir . 'WikiBhasha.i18n.php'; # Location of a messages file (Tell MediaWiki to load this file)
4141 $wgExtensionAliasesFiles['WikiBhasha'] = $dir . 'WikiBhasha.alias.php'; # Location of a messages file (Tell MediaWiki to load this file)
4242
Index: trunk/extensions/WikiBhasha/WikiBhashaSpecial.php
@@ -7,7 +7,7 @@
88 *
99 */
1010
11 -class wikiBhasha extends SpecialPage {
 11+class WikiBhasha extends SpecialPage {
1212
1313 /**
1414 * Constructor
Index: trunk/extensions/WikiBhasha/WikiBhasha_body.php
@@ -5,7 +5,7 @@
66 * this file contains the functions to populate the content to the special page
77 *
88 */
9 -class wikibhasha extends SpecialPage {
 9+class Wikibhasha extends SpecialPage {
1010 function __construct() {
1111 parent::__construct( 'Wikibhasha' );
1212 }

Status & tagging log