dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3e1536
)
Follow-up r72349. The new makeResourceLoaderLink() doesn't need $wgScriptPath.
author
Platonides
<platonides@users.mediawiki.org>
Tue, 7 Sep 2010 22:55:34 +0000
(22:55 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Tue, 7 Sep 2010 22:55:34 +0000
(22:55 +0000)
I quite agree with the TODO. Moving to ResourceLoader class seems a good idea.
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
dc659a9
..
33d4931
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-2281,7
+2281,7
@@
class OutputPage {
}
static function makeResourceLoaderLink( $skin, $modules, $only ) {
- global $wgUser, $wgLang, $wgRequest
, $wgScriptPath
;
+ global $wgUser, $wgLang, $wgRequest;
// TODO: Should this be a static function of ResourceLoader instead?
$query = array(
'modules' => implode( '|', array_unique( (array) $modules ) ),