Page MenuHomePhabricator

Define a new magic word: {{NONDISAMBIGUATEDPAGENAME}}
Closed, ResolvedPublic

Description

Author: villes01

Description:
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).


Version: unspecified
Severity: enhancement

Details

Reference
bz25313

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:18 PM
bzimport set Reference to bz25313.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 7264 ***