r94142 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94141‎ | r94142 | r94143 >
Date:01:41, 10 August 2011
Author:demon
Status:ok
Tags:
Comment:
Followup r94138: use RL naming conventions
Modified paths:
  • /trunk/extensions/Babel/Babel.php (modified) (history)
  • /trunk/extensions/Babel/BabelStatic.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Babel/BabelStatic.class.php
@@ -15,7 +15,7 @@
1616 */
1717 public static function Setup( $parser ) {
1818 global $wgOut;
19 - $wgOut->addModules( 'BabelExtension' );
 19+ $wgOut->addModules( 'ext.babel' );
2020 $parser->setFunctionHook( 'babel', array( 'Babel', 'Render' ) );
2121 return true;
2222 }
Index: trunk/extensions/Babel/Babel.php
@@ -40,7 +40,7 @@
4141 $wgAutoloadClasses['BabelStatic'] = $dir . 'BabelStatic.class.php';
4242 $wgAutoloadClasses['BabelAutoCreate'] = $dir . 'BabelAutoCreate.class.php';
4343
44 -$wgResourceModules['BabelExtension'] = array(
 44+$wgResourceModules['ext.babel'] = array(
4545 'styles' => 'Babel.css',
4646 'localBasePath' => dirname( __FILE__ ),
4747 'remoteExtPath' => 'Babel',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94138* Use ResourceLoader for Babel extension (Babel::Render() is a more logical p...robin21:51, 9 August 2011

Status & tagging log