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:
17095ba
)
Use wfScript()
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Mon, 4 Aug 2008 17:30:01 +0000
(17:30 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Mon, 4 Aug 2008 17:30:01 +0000
(17:30 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
8cf19fb
..
71ada4c
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-157,7
+157,7
@@
class Skin extends Linker {
}
function initPage( &$out ) {
- global $wgFavicon, $wgAppleTouchIcon
, $wgScriptPath, $wgScriptExtension
;
+ global $wgFavicon, $wgAppleTouchIcon;
wfProfileIn( __METHOD__ );
@@
-173,7
+173,7
@@
class Skin extends Linker {
$out->addLink( array(
'rel' => 'search',
'type' => 'application/opensearchdescription+xml',
- 'href' =>
"$wgScriptPath/opensearch_desc{$wgScriptExtension}"
,
+ 'href' =>
wfScript( 'opensearch_desc' )
,
'title' => wfMsgForContent( 'opensearch-desc' ),
));