Rob Church wrote:
On 05/03/06, Rob Church <robchur(a)gmail.com> wrote:
I've added {{TALKPAGENAME}} and
{{TALKPAGENAMEE}} variables which will
be available when someone next synchronises the site with the code.
Well, [a] SourceForge is shit, so it didn't commit properly and [b]
I'm not bothering, since Avar, Niklas and Mark are objecting.
If you don't mind me asking, what's the objection? This is a feature
that has been requested several times during the time I've been here.
It would be extremely useful for both templates and system messages. I
was ready to jump and shout with joy that this perennial request had
finally been fulfilled before I saw your followup message. :(
Anyway, if you do decide to implement something like this, I'd prefer to
see {{TALKNAMESPACE}} and, to complement it, {{CONTENTNAMESPACE}}. Plus
the URL-encoded forms, of course.
And while we're wishing for the moon, how about an {{encode:}} function
so we wouldn't _need_ all those pre-URL-encoded variables? It would be
very useful in a number of templates, such as [[en:Template:Vandal]], too.
--
Ilmari Karonen