Last modified: 2009-02-28 19:41:18 UTC
if i want output the discussion page link for any page with parser functions i have no choice but use such esoteric code -->{{#if:{{{ns|}}}|<!-- -->{{#switch:{{lc:{{{ns}}}}}<!-- -->|discuter|discussion catégorie|discussion aide|discussion image|discussion mediawiki<!-- -->|discussion portail|discussion modèle|discussion utilisateur|discussion wikipédia=<!-- -->| '''·''' [[Discussion {{{ns}}}:{{{1|}}}|page de discussion]]}}<!-- -->| '''·''' [[Discuter:{{{1|}}}|page de discussion]]}}}}<!-- it would be nice that something like this works : input {{TALKPAGENAME: {{{1}}} }} outputs [[(localised namespace talkpage prefix):{{{1}}}]] for example {{TALKPAGENAME:Foo}} -> [[Talk:Foo]] on en: [[Discuter:Foo]] on fr: {{TALKPAGENAME:User:A guy}} -> [[User_talk:A_guy]] on en: [[Discussion_utilisateur:A_guy]] on fr: {{TALKPAGENAME:Category:Bar}} -> [[Category_talk:Bar]] etc.
This seems to be fixed at some point.