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:
740b3ac
)
don't make apache cry
author
River Tarnell
<kateturner@users.mediawiki.org>
Sun, 3 Jul 2005 08:17:18 +0000
(08:17 +0000)
committer
River Tarnell
<kateturner@users.mediawiki.org>
Sun, 3 Jul 2005 08:17:18 +0000
(08:17 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
9345471
..
14291ca
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-731,7
+731,7
@@
class Title {
function getLocalURL( $query = '' ) {
global $wgLang, $wgArticlePath, $wgScript, $wgMakeDumpLinks, $action;
- if ( $this->isExternal()
|| $action == 'render'
) {
+ if ( $this->isExternal() ) {
return $this->getFullURL();
}
@@
-758,7
+758,11
@@
class Title {
}
$url = "{$wgScript}?title={$dbkey}&{$query}";
}
- return $url;
+
+ if ($action == 'render')
+ return $wgServer . $url;
+ else
+ return $url;
}
/**