Page MenuHomePhabricator

PAGENAMEBASE as a magic word (returns {{PAGENAME}} minus any disambiguation)
Closed, DuplicatePublic

Description

Currently, in several Wikipedias (English for example) there is template PAGENAMEBASE, which returns the {{PAGENAME}} minus any disambiguation (text in parentheses).

What about creating a new magic word for that?

Event Timeline

Edgars2007 raised the priority of this task from to Needs Triage.
Edgars2007 updated the task description. (Show Details)
Edgars2007 subscribed.
Aklapper renamed this task from PAGENAMEBASE as a magic word to PAGENAMEBASE as a magic word (returns {{PAGENAME}} minus any disambiguation).Apr 20 2015, 9:48 AM
Aklapper triaged this task as Lowest priority.
Aklapper added a project: MediaWiki-General.
Aklapper set Security to None.

To clarify, you want {{PAGENAMEBASE}} on, for example MediaWiki: Demo (test) to return Demo (as opposed to Demo )