Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -441,22 +441,6 @@ |
442 | 442 | } |
443 | 443 | |
444 | 444 | /** |
445 | | - * Remove one or more modules recognized by the resource loader. |
446 | | - * |
447 | | - * @param $modules Mixed: module name (string) or array of module names |
448 | | - */ |
449 | | - public function removeModules( $modules ) { |
450 | | - $this->mModules = array_diff( $this->mModules, (array)$modules ); |
451 | | - } |
452 | | - |
453 | | - /** |
454 | | - * Removes all modules for resource loader. |
455 | | - */ |
456 | | - public function resetModules() { |
457 | | - $this->mModules = array(); |
458 | | - } |
459 | | - |
460 | | - /** |
461 | 445 | * Get the list of module JS to include on this page |
462 | 446 | * |
463 | 447 | * @param $filter |
— | — | @@ -2599,7 +2583,7 @@ |
2600 | 2584 | } else { |
2601 | 2585 | # @todo FIXME: This means that User:Me/Common.js doesn't load when previewing |
2602 | 2586 | # User:Me/Vector.js, and vice versa (bug 26283) |
2603 | | - |
| 2587 | + |
2604 | 2588 | // We can't do $userScripts[] = 'user'; because the user module would end up |
2605 | 2589 | // being wrapped in a closure, so load it raw like 'site' |
2606 | 2590 | $scripts .= $this->makeResourceLoaderLink( 'user', ResourceLoaderModule::TYPE_SCRIPTS ); |