r75539 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75538‎ | r75539 | r75540 >
Date:13:50, 27 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r75538 - forgot to remove this function
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
@@ -428,44 +428,6 @@
429429 }
430430
431431 /**
432 - * Register the resource modules for the resource loader.
433 - *
434 - * @since 1.5.3
435 - *
436 - * @param ResourceLoader $resourceLoader
437 - *
438 - * @return true
439 - */
440 -function smwfRegisterResourceLoaderModules( ResourceLoader &$resourceLoader ) {
441 - global $smwgScriptPath, $wgContLang;
442 -
443 - $modules = array(
444 - 'ext.smw.style' => array(
445 - 'styles' => $smwgScriptPath . ( $wgContLang->isRTL() ? '/skins/SMW_custom_rtl.css' : '/skins/SMW_custom.css' )
446 - ),
447 - 'ext.smw.tooltips' => array(
448 - 'scripts' => $smwgScriptPath . '/skins/SMW_tooltip.js',
449 - 'dependencies' => array(
450 - 'mediawiki.legacy.wikibits',
451 - 'ext.smw.style'
452 - )
453 - ),
454 - 'ext.smw.sorttable' => array(
455 - 'scripts' => $smwgScriptPath . '/skins/SMW_sorttable.js',
456 - 'dependencies' => 'ext.smw.style'
457 - )
458 - );
459 -
460 - foreach ( $modules as $name => $resources ) {
461 - $resourceLoader->register( $name, new ResourceLoaderFileModule(
462 - array_merge_recursive( $resources, array( 'group' => 'ext.smw' ) )
463 - ) );
464 - }
465 -
466 - return true;
467 -}
468 -
469 -/**
470432 * This hook registers parser functions and hooks to the given parser. It is
471433 * called during SMW initialisation. Note that parser hooks are something different
472434 * than MW hooks in general, which explains the two-level registration.

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75538Fixed resource path issue, found by RoanKattouwjeroendedauw13:48, 27 October 2010

Status & tagging log