Well, [a] SourceForge is shit, so it didn't commit properly and [b] I'm not bothering, since Avar, Niklas and Mark are objecting.
Sorry.
Rob Church
On 05/03/06, Rob Church robchur@gmail.com wrote:
I've added {{TALKPAGENAME}} and {{TALKPAGENAMEE}} variables which will be available when someone next synchronises the site with the code.
[Note: On talk pages, the variable will simply print out the current page name.]
Rob Church
On 05/03/06, Nick Jenkins nickpj@gmail.com wrote:
Hi All,
On http://meta.wikimedia.org/wiki/Help:Magic_words it lists all the various MediaWiki magic words.
I'm looking for something that can be used to give the talk page for the current page.
For example, in:
- The main namespace (namespace 0), it would return "Talk:{{PAGENAME}}".
- In the talk namespace ({{ns:1}}), it would return
"Talk:{{PAGENAME}}" (since the talk page for a talk page is the talk page itself).
- In the User namespace ({{ns:2}}), it would return "User_talk:{{PAGENAME}}".
- In the User talk namespace ({{ns:3}}), it would return
"User_talk:{{PAGENAME}}" (since the talk page for a user talk page is the user talk page itself).
- And so forth...
Does anyone know of a way of doing this? If not, can I maybe suggest a new magic word along these lines, such as "{{TALKPAGE}}", which would do this?
All the best, Nick. _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l