r72291 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72290‎ | r72291 | r72292 >
Date:16:13, 3 September 2010
Author:catrope
Status:deferred
Tags:
Comment:
resouceloader: Fix clearly wrong comments
Modified paths:
  • /branches/resourceloader/phase3/includes/ResourceLoader.php (modified) (history)

Diff [purge]

Index: branches/resourceloader/phase3/includes/ResourceLoader.php
@@ -189,11 +189,11 @@
190190 }
191191 // Automatically register module
192192 else {
193 - // Modules without dependencies pass one argument (name) to mediaWiki.loader.register()
 193+ // Modules without dependencies pass two arguments (name, timestamp) to mediaWiki.loader.register()
194194 if ( !count( $module->getDependencies() ) ) {
195195 $registrations[] = array( $name, $module->getModifiedTime( $lang, $skin, $debug ) );
196196 }
197 - // Modules with dependencies pass two arguments (name, dependencies) to mediaWiki.loader.register()
 197+ // Modules with dependencies pass three arguments (name, timestamp, dependencies) to mediaWiki.loader.register()
198198 else {
199199 $registrations[] = array( $name, $module->getModifiedTime( $lang, $skin, $debug ),
200200 $module->getDependencies() );

Status & tagging log