Last modified: 2010-09-25 23:53:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27313, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25313 - Define a new magic word: {{NONDISAMBIGUATEDPAGENAME}}
Define a new magic word: {{NONDISAMBIGUATEDPAGENAME}}
Status: RESOLVED DUPLICATE of bug 7264
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-25 23:22 UTC by Ville Saalo
Modified: 2010-09-25 23:53 UTC (History)
1 user (show)

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


Attachments

Description Ville Saalo 2010-09-25 23:22:17 UTC
Please define a new magic word that would render the page name without the disambiguation part. For example, if the page was named "Foo (Bar)", I'd like the magic word to render as just "Foo". 

Remind you, this same feature exists for rendering links: "[[Foo (Bar)|]]" renders as "Foo" for the users.

This would be extremely handy in those cases where a page uses a template to include an image that matches the page name. If the image to be included is "{{PAGENAME}}.jpg", the format currently breaks if the has to be disambiguated. With this new magic word the system could continue to use the old image (at least until the image is moved as well).
Comment 1 Bawolff (Brian Wolff) 2010-09-25 23:53:18 UTC

*** This bug has been marked as a duplicate of bug 7264 ***

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


Navigation
Links