r95610 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95609‎ | r95610 | r95611 >
Date:21:22, 27 August 2011
Author:robin
Status:ok
Tags:
Comment:
follow-up r94138: Change addModules() to addModuleStyles() as it only uses CSS
Modified paths:
  • /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( 'ext.babel' );
 19+ $wgOut->addModuleStyles( 'ext.babel' );
2020 $parser->setFunctionHook( 'babel', array( 'Babel', 'Render' ) );
2121 return true;
2222 }

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