On 19/04/06, Jay R. Ashworth jra@baylink.com wrote:
If I correctly understand both a) what you mean, and b) how it works, the new INCLUDEONLY/NOINCLUDE stuff will permit that (you can create a template which causes the page into which you include it to be placed in a category, that is).
Yep, and that works to an exent. But all it can really store is membership, and the title of the page as it should appear on the category page. That's apparently insufficient, because pages like wp:copyvio still exist. To replace pages like that, it would need at a minimum the date that the template was added, and a text comment.
INCLUDEONLY/NOINCLUDE is definitely very cool, and I can't believe we got by without it before ;) It's only a pity that they NOINCLUDE's cant actually be included...some cute template documentation templates could be produced otherwise.
And to make this email about three separate things at once, it would be really nice if MediaWiki could be changed so that special variables displayed differently on template pages than on the page where the template is included. For example, if PAGENAME actually rendered as PAGENAME, rather than fa or welcome or whatever. Similarly, {{{1}}} could rendered as PARAMETER1... that might make templates a little easier to use and understand for novices.
Steve
Steve