Page MenuHomePhabricator

Preloading a page omits noinclude lines
Closed, DeclinedPublic

Description

Author: howard

Description:
I have a template http://en.wikipedia.org/wiki/Template:POTDstart that has several <noinclude> lines. When I edit a page and try to preload that template http://en.wikipedia.org/w/index.php?title=Template:POTD/2012-02-18&preload=Template:POTDstart&action=edit those lines have been stripped out.

Perhaps this is related to bug 27467?


Version: 1.17.x
Severity: enhancement

Details

Reference
bz27511

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:25 PM
bzimport set Reference to bz27511.
bzimport added a subscriber: Unknown Object (MLST).

This behavior is actually intentional, see bug 5210. To put a literal <noinclude> into a preloaded page, you now have to "disable" it with something like
<<noinclude/>noinclude>

While this doesn't look as elegant anymore, the case where you want to include literal <noinclude> tags onto a preloaded page should be quite rare.

Closing as WONTFIX.