Last modified: 2010-09-03 22:41:42 UTC
Created attachment 7155 [details] implements described change To fix bug 93 it is necessary to change the behaviour of <includeonly> tags during preSaveTransform() but not during extractSections(). This could be done either by adding a new preprocessor flag, or by adding a new output type. The latter is a better choice, as the current situation where OT_WIKI appears to be used for two things but is only used for one is very counter intuitive. Besides, I can't think of a good name for a flag to add to PPFrame::RECOVER_ORIG to indicate "<ignore>'s the contents of top-level <includeonly> tags instead of <ignore>ing the tags themselves". OT_WIKI is currently used only for the PST. extractSections() overrides all power that OT_WIKI might have by setting PPFrame::RECOVER_ORIG.
r63194