Page MenuHomePhabricator

Find a logical order for the list of namespace in dropdown menus
Closed, DeclinedPublic

Description

Suggested here. This ticket is to explore options and take a decision.

Current status

At the moment, the filter list follow the ID of each namespace: 0 is main, 1 is talk:... which

Pros

  • well...

Cons

  • does not looks logical.

Other options may be:

Filter by importance

Pros
Importance of namespaces is known by experienced users, who can define it. For instance followed by file, template or project or user namespaces, then the rest; or
Cons

  • It requires to know which namespaces are more important. Prioritize main namespace first would be ok, but not on Commons or Wikisource for instance.
  • Define a namespace order by community would require a configuration change to define with each community, which is a significant amount of work to have it done.

To explore

  • Have a way to know the activity on each namespace, but it may also be pointless for some reasons (Translations: namespace on Mediawiki has a huge number of changes which are language specific).

Alphabetical order

Pros

  • Logical and understandable
  • Search is a good way to avoid scrolling

Cons

  • Experienced users would prefer to have the most important/active namespaces first.
  • If you don't use search, there is a lot of scrolling to reach the Wiki* namespace, the last of all.
  • what would happen on i18n wikis?
  • idem if someone has a different input language changed while filtering?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I'll just point out that this is the order in which namespaces are listed in every UI element that lists namespaces throughout MediaWiki. Most of them are not terribly popular though, like the namespace dropdown on Special:Allpages.

Trizek-WMF renamed this task from Find a logical order for the list of namespace filters to Find a logical order for the list of namespace in dropdown menus.Sep 29 2017, 10:13 AM
Trizek-WMF added a project: MediaWiki-General.

Suggestion from the IP who has suggested the idea, use $wgContentNamespaces or $wgNamespacesToBeSearchedDefault to sort the namespaces.

Overall, one surprise of the figures Roan recently pulled is that Namespace searching is very popular. We could probably pull stats and figure out what namespaces are the most commonly used in searching, then order them according to the grand pattern across all wikis.

The question is, is it worth the trouble?

Overall, one surprise of the figures Roan recently pulled is that Namespace searching is very popular. We could probably pull stats and figure out what namespaces are the most commonly used in searching, then order them according to the grand pattern across all wikis.

The question is, is it worth the trouble?

If we don't have data about that, maybe we can survey them?

The team can come to no agreement as to how this might be done, and also sees negatives in ordering this menu in a way that is not consistent with other tools on the site.