"Rotem Liss" rotemliss_net@fastmail.fm wrote in message news:452FC01A.7040009@fastmail.fm...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jay R. Ashworth wrote:
It causes the text inside it, IIRC, only to be returned when the page is transcluded in as a template, and not when viewed directly; the opposite of <noinclude>... unless I'm completely insane.
I think that this behavior is the one of <includeonly>, not <onlyinclude>. Anyway, I think all of them (<noinclude>, <includeonly> and <onlyinclude>)
were
introduced in 1.6.
Yup - Jay's example is for <includeonly>.
Both <includeonly> and <noinclude> are well documented in various places, including the template page on meta. <onlyinclude> is not mentioned at all, which implies that either it was introduced at a later date, or is deliberately 'undocumented' for some reason...
- Mark Clements (HappyDog)