Page MenuHomePhabricator

Wikivoyage's $wgNamespacesToBeSearchedDefault should include only main namespace
Closed, ResolvedPublic

Description

Author: peter

Description:
Please alter $wgNamespacesToBeSearchedDefault to exclude file and category namespaces—default should only leave the (main) namespace ticked.

This is requested for English Wikivoyage, but I assume all language versions would want the same behavior.


Version: wmf-deployment
Severity: minor
URL: http://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#Search_defaults

Details

Reference
bz43465

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:10 AM
bzimport set Reference to bz43465.
bzimport added a subscriber: Unknown Object (MLST).

When and where was this discussed?

peter wrote:

I figured this was a no-brainer, but I have now started a discussion, and the proposal is well supported/non-controversial:

http://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#Search_defaults

So I think what we want is something like this:

  • '+enwikivoyage' => array( 6 => 1, 14 => 1, 100 => 1, 104 => 1, 106 => 1 ),

+ '+enwikivoyage' => array( 100 => 1, 104 => 1, 106 => 1 ),

I'm not sure what the remaining ones are though...

carlb613 wrote:

There is no namespace 100, 104 or 106 on the English-language Wikivoyage. The German de:voy has separate namespaces for itinerary and travel topic articles, but these don't exist on en: or fr: (and likely not on most of the others).

Let's just use array() then. Gerrit change 47367

Actually maybe we could remove that line completely.

It shouldn't matter though.

Merged and deployed by Reedy.