On Fri, Mar 14, 2008 at 6:30 PM, Simetrical Simetrical+wikilist@gmail.com wrote:
On Fri, Mar 14, 2008 at 6:25 PM, drew einhorn drew.einhorn@gmail.com wrote:
When the page is rendered, I'd like to see <noinclude> tags affect the rendering of {{:Page}} in the areas they bracket.
You mean, give it an additional and totally different and incompatible meaning to what it does now?
It's probably not much more that a few judiciously placed if statements. to alter the links in the TOC and not include the
content in
the body of the page.
Maybe, but I wouldn't bet on it being that simple.
Any pointers to the routines that render {{:Page}} would be
appreciated.
includes/Parser.php
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
I must add that this is a really bad idea. noinclude already has a rather useful purpose, why give it another one? That would cause bad stuff to happen, like screwing up example cases on template documentation pages. (In fact, it would screw up template documentation pages. It's rather common that we transclude pages inside a noinclude for documentation reasons.