r66247 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66246‎ | r66247 | r66248 >
Date:00:37, 12 May 2010
Author:dale
Status:deferred
Tags:
Comment:
added missing getComponentsList function
Modified paths:
  • /branches/MwEmbedStandAlone/includes/jsClassLoader.php (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/includes/jsClassLoader.php
@@ -180,7 +180,17 @@
181181 self::loadClassPaths();
182182 return self::$moduleList;
183183 }
 184+
184185 /**
 186+ * Get the list of enabled components
 187+ */
 188+ public static function getComponentsList(){
 189+ self::loadClassPaths();
 190+ return self::$coreComponentsList;
 191+ }
 192+
 193+
 194+ /**
185195 * Build a list of components to be included with mwEmbed
186196 */
187197 private static function preg_buildComponentList( $jsvar ){

Status & tagging log