Last modified: 2009-02-28 19:41:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12805 - dynamic talk page link
dynamic talk page link
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-26 21:04 UTC by italvet
Modified: 2009-02-28 19:41 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description italvet 2008-01-26 21:04:23 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=<!--
        -->|&#32;'''·''' [[Discussion {{{ns}}}:{{{1|}}}|page de discussion]]}}<!--
        -->|&#32;'''·''' [[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.
Comment 1 Niklas Laxström 2009-02-28 19:41:18 UTC
This seems to be fixed at some point.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links