Last modified: 2011-01-09 12:48:02 UTC
Calling wfMsgWikiHtml() / wfMsgExt( 'parse' ) / wfMsgExt( 'parseinline' ) inside a tag hook exposes the UNIQ for the edit sections. They call $wgOut->parse() which in turn use $wgParser, which is the same as the parent parser, whose state gets reset.
Created attachment 7729 [details] Extension test case bug25506.php Test with: == Hello == <bug25506></bug25506>
Related to (or possibly depends on) bug 17329
Check was added in r79892 which tells the correct way to do it while bug 17329 is open.