https://bugzilla.wikimedia.org/show_bug.cgi?id=51479

--- Comment #7 from Remco de Boer <[email protected]> ---
I have done some tests with a simple parser function that creates a new page. I
encountered similar problems as the ones reported here. I get the impression
that the problem lies in performing an 'edit within an edit' (creating a new
page as part of the save routine of another page).

Apparently, when we wrap the creation of the new page (the execution of
doEdit()) in a job and push it on the job queue all of these issues disappear.
No need to invocate parser->clearState() in that case, and no more wrong titles
'leaking' via the parser object. ApprovedRevs seems happy too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to