Page MenuHomePhabricator

Additional Namespace Aliases for dewikivoyage needed
Closed, ResolvedPublic

Description

To make handling in site search easier we ask to add the following items to InitialiseSettings.php; 'wgNamespaceAliases':

'+dewikivoyage' => array(

		'WV' => NS_PROJECT,
		'WD' => NS_PROJECT_TALK,
		'B'  => NS_USER,
		'BD' => NS_USER_TALK,
		'H'  => NS_HELP,
		'HD' => NS_HELP_TALK,
		'P'  => 100,  // Portal
		'PD' => 101,  // Portal Diskussion
		'T'  => 104,  // Thema
		'TD' => 105,  // Thema Diskussion
		'N'  => 106,  // Nachrichten
		'ND' => 107,  // Nachrichten Diskussion
		'News' => 106,
		'News_Diskussion' => 107,

),

A part of the aliases is compatible to dewiki.


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz51794

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:57 AM
bzimport set Reference to bz51794.

Because B and N are already used for wikibooks and wikinews I made small corrections:

'+dewikivoyage' => array(
    'WV' => NS_PROJECT,
    'WD' => NS_PROJECT_TALK,
    'BN' => NS_USER,
    'BD' => NS_USER_TALK,
    'H'  => NS_HELP,
    'HD' => NS_HELP_TALK,
    'P'  => 100,  // Portal
    'PD' => 101,  // Portal Diskussion
    'T'  => 104,  // Thema
    'TD' => 105,  // Thema Diskussion
    'NR' => 106,  // Nachrichten
    'ND' => 107,  // Nachrichten Diskussion
    'News' => 106,
    'News_Diskussion' => 107,
),

Can you provide us with a link showing consensus for the addition of such a big number of aliases?

Since November 20, 2012 the addition of aliases for the namespaces given is part of the Wikivoyage:Cleanup scope of tasks. You will find it here:

http://de.wikivoyage.org/wiki/Wikivoyage:Cleanup

In German it is noted

*Shortcuts zur schnellen Suche

  • die üblichen Abkürzungen, außerdem: WV für Wikivoyage, T für Thema usw.
  • Vorlage:Shortcut
  • Wikivoyage:Shortcut als Übersicht

There was never a deprecatory vote.

While the migration period also the extensions SearchExtraNS should be implemented but was not done until now. Erik Moeller made in an email to me the proposal to use aliases for this purpose for now.

For the extension: see:

https://gerrit.wikimedia.org/r/#/q/status:merged+mediawiki/extensions/SearchExtraNS,n,z

On November 2, 2012 Erik Moeller wrote

Hi Roland,

ja, das ist mir alles klar - das hatte ich ja auch geschrieben. Wie
gesagt waere ein Namespace-Alias wie "T:" eine Alternative die den
Vorteil haette, dass dann auch Auto-Vervollstaendigung funktioniert.
Die SearchExtraNs mit MW 1.20 ans laufen zu kriegen sollte aber auch
relativ trivial sein. Jedenfalls sollte es nicht an uns scheitern wenn
ihr den Themen-Namensraum behalten wollt.

Erik

Thanks for the explanation, I'm re-adding the 'shell' keyword.

Change 79550 had a related patch set uploaded by TTO:
Add namespace aliases (shortcuts) for dewikivoyage

https://gerrit.wikimedia.org/r/79550

Change 79550 merged by jenkins-bot:
Add namespace aliases (shortcuts) for dewikivoyage

https://gerrit.wikimedia.org/r/79550