Last modified: 2014-06-07 23:26:46 UTC
as template messages sometimes should have different context depending if they are in a section or at the top of a page, I ask for a parserfunction {{#insection:true|false}} that will flag the true value if we are in a section, and false if not.
This is probably a WONTFIX, since templates can generate section headers, and that would then break parsing of templates in parallel.
(In reply to Jackmcbarn from comment #1) > This is probably a WONTFIX, since templates can generate section headers, > and that would then break parsing of templates in parallel. only seven years for a reply, horray! :) While the bug is pretty old now, if I recall, it was to allow for example maintenance templates to show different information depending on if they where placed at the top of page, or under a section.
Closing as WONTFIX for the reasons mentioned by Jackmcbarn. (In reply to Carl Fürstenberg from comment #2) > While the bug is pretty old now, if I recall, it was to allow for example > maintenance templates to show different information depending on if they > where placed at the top of page, or under a section. Some of this could potentially be implemented with CSS. It's fairly easy to match the first child of div#content for example.