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:
f7f573c
)
good catch, $wgServer definitely needs trailing slash added =)
author
Domas Mituzas
<midom@users.mediawiki.org>
Sat, 11 Jul 2009 08:15:37 +0000
(08:15 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Sat, 11 Jul 2009 08:15:37 +0000
(08:15 +0000)
includes/parser/ParserOutput.php
patch
|
blob
|
history
diff --git
a/includes/parser/ParserOutput.php
b/includes/parser/ParserOutput.php
index
e0b0f77
..
1b9ebf4
100644
(file)
--- a/
includes/parser/ParserOutput.php
+++ b/
includes/parser/ParserOutput.php
@@
-96,7
+96,7
@@
class ParserOutput
function addExternalLink( $url ) {
# We don't register links pointing to our own server, unless... :-)
global $wgServer, $wgRegisterInternalExternals;
- if( $wgRegisterInternalExternals or stripos($url,$wgServer)!==0)
+ if( $wgRegisterInternalExternals or stripos($url,$wgServer
.'/'
)!==0)
$this->mExternalLinks[$url] = 1;
}