Topic on Project:Support desk

Extension outputting UNIQ-QINU

3
Summary by Star Warden

Please upgrade

Kairo5590 (talkcontribs)

Hello guys,

I have a self written Multilanguage extension for MediaWiki using <country> tag for selective text display depending from user language settings. It interacts with the LanguageSelector which I installed in the version for my MediaWiki 1.23.

The extension is working fine, but I get some weird output like..

UNIQ64ea7d5fb1d3858c-country-00000000-QINU on my page.

Here the Extension Function:

function wfArticleSectionCheck() {

        global $wgParser;

        $wgParser->setHook("country","wfRenderArticleSectionCheck");

        }

function wfRenderArticleSectionCheck($input, $args, $parser) {

global $wgLanguageCode, $wgLang;

$lan = $wgLang->getCode();

if(strpos($args['lan'], $lan) !== false) {

$output = $parser->recursiveTagParse($input);

return $output;

}

}

Here is my setup..

MediaWiki 1.23

PHP 5.3.3

MySQL 5.1.67

Thank you.

Malyacko (talkcontribs)

Unrelated, but please upgrade. 1.23 is an old unsupported version which does not receive security updates anymore.

2003:72:6D0A:FF00:A159:85BF:9A91:4353 (talkcontribs)

We have QINU fix, which might help with some pointers...