From: jenkins-bot Date: Thu, 5 Sep 2013 07:41:39 +0000 (+0000) Subject: Merge "Call $wgContLang->findVariantLink() in {{PAGESINCATEGORY: }}" X-Git-Tag: 1.31.0-rc.0~18807 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27user_edit%27%2C%20userid=session.user.id%29%20%7D%7D?a=commitdiff_plain;h=59404fb12ee50a52925709a389f9c263f3e332a2;p=lhc%2Fweb%2Fwiklou.git Merge "Call $wgContLang->findVariantLink() in {{PAGESINCATEGORY: }}" --- 59404fb12ee50a52925709a389f9c263f3e332a2 diff --cc includes/parser/CoreParserFunctions.php index 8246f71d68,dbafebae7e..8df0e2cf57 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@@ -660,9 -604,10 +661,10 @@@ class CoreParserFunctions } $title = Title::makeTitleSafe( NS_CATEGORY, $name ); - if( !$title ) { # invalid title + if ( !$title ) { # invalid title return self::formatRaw( 0, $raw ); } + $wgContLang->findVariantLink( $name, $title, true ); // Normalize name for cache $name = $title->getDBkey();