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:
b3599d8
)
Followup r94375; Use PROTO_RELATIVE so that when $wgServer is a protocol relative...
author
Daniel Friesen
<dantman@users.mediawiki.org>
Sun, 14 Aug 2011 14:07:12 +0000
(14:07 +0000)
committer
Daniel Friesen
<dantman@users.mediawiki.org>
Sun, 14 Aug 2011 14:07:12 +0000
(14:07 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
ba86d60
..
c58fff8
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-843,7
+843,7
@@
class Title {
# Expand the url to make it a full url. Note that getLocalURL has the
# potential to output full urls for a variety of reasons, so we use
# wfExpandUrl instead of simply prepending $wgServer
- $url = wfExpandUrl( $url );
+ $url = wfExpandUrl( $url
, PROTO_RELATIVE
);
# Finally, add the fragment.
$url .= $this->getFragmentForURL();