On Wed, Apr 19, 2006 at 09:45:20AM +0200, Steve Bennett wrote:
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.
I do want to toss my oar in on this one: would it be possible -- and what would the pitfalls be -- to make the rendered version of the page for a template's definition *not* render the template?
I can see that you'd have to put it on another page to see how it rendered: perhaps the parser could special case it and show both the code and the render?
Cheers, -- jra