dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove JavaScript global variable wgLoadScript
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.util.js
diff --git
a/resources/src/mediawiki.util.js
b/resources/src/mediawiki.util.js
index
7cda45f
..
56bfc42
100644
(file)
--- a/
resources/src/mediawiki.util.js
+++ b/
resources/src/mediawiki.util.js
@@
-188,7
+188,7
@@
if ( str === 'index' ) {
return mw.config.get( 'wgScript' );
} else if ( str === 'load' ) {
- return
mw.config.get( 'wgLoadScript' )
;
+ return
config.LoadScript
;
} else {
return mw.config.get( 'wgScriptPath' ) + '/' + str + '.php';
}