Summary: Parser::extractSection() should not use same output
                    type as Parser::preSaveTransform()
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Page rendering
            Blocks: 93

Created an attachment (id=7155)
 --> (
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.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to