r69438 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69437‎ | r69438 | r69439 >
Date:20:22, 16 July 2010
Author:neilk
Status:deferred
Tags:
Comment:
improve name
Modified paths:
  • /trunk/extensions/JS2Support/mwEmbed/includes/NamedResourceLoader.php (modified) (history)

Diff [purge]

Index: trunk/extensions/JS2Support/mwEmbed/includes/NamedResourceLoader.php
@@ -117,8 +117,8 @@
118118 global $wgExtensionMessagesFiles;
119119
120120 // Get the module name
121 - $modulePathParts = explode('/', $modulePath );
122 - $moduleName = end( $modulePathParts );
 121+ $modulePathComponents = explode('/', $modulePath );
 122+ $moduleName = end( $modulePathComponents );
123123
124124 // Set the directory context for relative js/css paths
125125 self::$directoryContext = $modulePath;

Status & tagging log