From: jenkins-bot Date: Thu, 31 Jan 2013 20:46:49 +0000 (+0000) Subject: Merge "Fix self link issues about titles in different or mixed variants" X-Git-Tag: 1.31.0-rc.0~20840 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=5a09e9a15e3338d0dbf53f4a350c819184f0b5eb;p=lhc%2Fweb%2Fwiklou.git Merge "Fix self link issues about titles in different or mixed variants" --- 5a09e9a15e3338d0dbf53f4a350c819184f0b5eb diff --cc includes/parser/Parser.php index 8214019516,b19137d71c..5923a38341 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@@ -1806,14 -1814,8 +1806,8 @@@ class Parser $prefix = ''; } - if ( $this->getConverterLanguage()->hasVariants() ) { - $selflink = $this->getConverterLanguage()->autoConvertToAllVariants( - $this->mTitle->getPrefixedText() ); - } else { - $selflink = array( $this->mTitle->getPrefixedText() ); - } $useSubpages = $this->areSubpagesAllowed(); - wfProfileOut( __METHOD__.'-setup' ); + wfProfileOut( __METHOD__ . '-setup' ); # Loop for each link for ( ; $line !== false && $line !== null ; $a->next(), $line = $a->current() ) {