User "Catrope" changed the status of MediaWiki.r88765. Old Status: new New Status: ok
Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88765#c0 Commit summary: Hackaround for unstubbing order problem on $wgParser as ref'd from opensearchxml We were setting $wgParser->mOptions then calling $wgParser->clearState(); this caused unstubbing to happen at the _call_ if it hadn't been previously unstubbed, leaving the mOptions blank and, with current code, thus exploding due to the missing mOptions. Forcing setTitle first gets it going, but isn't very pretty. Should probably be rewritten more cleanly. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview