I try to include the unexpanded wikitext of a page (this) into another page (this). I use {{msgnw:Namespace:Pagename}}, but I have a problem with hidden comments in the original page. Some are included, others are not! I think comments are an important part of the wikitext, so I think all of them should be shown. Thanks in advance
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +9 -2 | Make PPFrame::RECOVER_COMMENTS actually work |
Related Objects
Related Objects
Event Timeline
Comment Actions
I think this is a bug in Preprocessor_DOM::expand() and Preprocessor_Hash::expand(). When the output type is Parser::OT_HTML (so $this->parser->ot['html'] is true), the PPFrame::RECOVER_COMMENTS flag has no effect.
Comment Actions
Change 210677 had a related patch set uploaded (by PleaseStand):
Make PPFrame::RECOVER_COMMENTS actually work
Comment Actions
Sorry, I can't understand the previous message. Can we solve the problem? Thanks in advance
Comment Actions
@FRacco: The previous message links to a patch in Gerrit, the code review tool. Once that patch is merged and deployed on servers, this will be fixed.