Last modified: 2012-08-14 11:24:34 UTC
Creating a new bug to patch 1.7-svn. See Bug 7026.
Created attachment 2230 [details] 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?
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 ***