[Mediawiki-l] Pages into Categories via templates

Rob Church robchur at gmail.com
Thu Jan 11 23:03:44 UTC 2007


On 11/01/07, a. cremer <albert.cremer at online.de> wrote:
> I like to design a template that puts the page into a certain category when
> used .
> But I do not like the template itself to appear in that category.

<includeonly>[[Category:Foo]]</includeonly>

"includeonly" is one of a series of confusingly-similar tags which
have magical and sometimes crackpot properties; this one means,
"whatever's between these tags is ONLY rendered/processed/otherwise
parsed when this page is included".


Rob Church



More information about the MediaWiki-l mailing list