Page MenuHomePhabricator

action=raw&templates=expand broken (1.7-svn)
Closed, ResolvedPublic


Author: dto

Creating a new bug to patch 1.7-svn.
See Bug 7026.

Version: 1.7.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:23 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz7028.
bzimport added a subscriber: Unknown Object (MLST).

dto wrote:

patch for 1.7-svn r16089 to fix templates=expand

I added the Parser::preprocess function from 1.8 to 1.7 and added a new parser
option, RemoveComments, which means the same thing as in 1.8. However, adding
OT_PREPROCESS turned out to be more annoying than I had expected, so I just use
OT_WIKI for stripping (to preserve <nowiki>) and OT_HTML for replacing
variables (to fully expand templates). Is that acceptable?


robchur wrote:

Report bugs once, choosing the highest version in which the issue appears, but
make it explicit that the issue appears in the stable release branch, too.

*** This bug has been marked as a duplicate of 7026 ***