Page MenuHomePhabricator

Support namespace aliases
Open, Needs TriagePublic

Description

We should support all the namespace aliases, so e.g. when you search :Wikipedia or :pedia, it will find Wikipédia.

(These are already supported, so e.g. you can visit Wikipedia:Contact and it will redirect to Wikipédia:Contact, this is just another use case)

See also T174040: RCFilters: Search for namespaces by number.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Mattflaschen-WMF renamed this task from All filter search for truncated words to Support namespace aliases.Aug 24 2017, 2:57 PM
Mattflaschen-WMF updated the task description. (Show Details)

Is there a list somewhere of the common aliases? Or do we have to compile that

https://www.mediawiki.org/wiki/Manual:Namespace#Built-in_namespaces

  • (Main) 0
  • User 2
  • Project 4
  • File 6
  • MediaWiki 8
  • Template 10
  • Help 12
  • Category 14

Add +1 to a namespace to have the associated talkpage:
(main) 0 -> Talk 1
Template 10 -> Ttemplate talk 11

Is there a list somewhere of the common aliases? Or do we have to compile that

They're all tracked in the software (they already work in the URL), so we would reuse that.