The issue is you are not allowed to call the parse method while
already parsing something. In 99.9% of cases, using the
recursiveTagParse method is what you want. (There are a couple cases -
like in Babel extension when auto-creating categories where you have
to do something more complicated, but they are few and far between).
It's hard to say more without being familar with what exactly you are coding.
--bawolff
On Mon, Dec 24, 2012 at 4:38 PM, Sumana Harihareswara
<sumanah(a)wikimedia.org> wrote:
By the way, Yury I just wanted to ask you to list any
UNIQ issues you
run into here:
https://bugzilla.wikimedia.org/show_bug.cgi?id=26213
(tracking bug)
thanks,
Sumana
On 12/24/2012 10:24 AM, Yury Katkov wrote:
Hi guys!
During writing my tag extension I've face with the problem: sometimes the
UNIQ-QINU MWException has been throwed after my code is finished executing.
I've found the fix
http://www.mediawiki.org/wiki/QINU_fix
that recommends using
$parser->parse($input, $parser->mTitle, $parser->mOptions, false, false);
//in my case $parser is from the function argument.
Does anyone know more about this QINU exception, or where I can read more
about it? And also what are the last three parameters of the
Parser::parse() function? [1]
[1]
http://svn.wikimedia.org/doc/classParser.html#a0e3f2edd4bd47376953dfad4dcfc…
Cheers,
-----
Yury Katkov, WikiVote
--
Sumana Harihareswara
Engineering Community Manager
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l