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:
c0b50eb
)
Added fixme for incorrect assumption being made
author
jeroendedauw
<jeroendedauw@gmail.com>
Mon, 6 Aug 2012 17:28:57 +0000
(19:28 +0200)
committer
jeroendedauw
<jeroendedauw@gmail.com>
Mon, 6 Aug 2012 17:28:57 +0000
(19:28 +0200)
Change-Id: I40b83428019b32c39c529577bf3f55677a407693
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
13cf3b1
..
d313b65
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-1937,6
+1937,7
@@
class Parser {
# Interwikis
wfProfileIn( __METHOD__."-interwiki" );
if ( $iw && $this->mOptions->getInterwikiMagic() && $nottalk && Language::fetchLanguageName( $iw, null, 'mw' ) ) {
+ // FIXME: the above check prevents links to sites with identifiers that are not language codes
$this->mOutput->addLanguageLink( $nt->getFullText() );
$s = rtrim( $s . $prefix );
$s .= trim( $trail, "\n" ) == '' ? '': $prefix . $trail;