Last modified: 2013-02-04 00:47:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45465, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43465 - Wikivoyage's $wgNamespacesToBeSearchedDefault should include only main namespace
Wikivoyage's $wgNamespacesToBeSearchedDefault should include only main namespace
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikivoyage.org/wiki/Wikivoy...
: shell
Depends on:
Blocks: 41184
  Show dependency treegraph
 
Reported: 2012-12-27 18:51 UTC by Peter Fitzgerald
Modified: 2013-02-04 00:47 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter Fitzgerald 2012-12-27 18:51:16 UTC
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.
Comment 1 Sam Reed (reedy) 2013-02-03 00:24:31 UTC
When and where was this discussed?
Comment 2 Peter Fitzgerald 2013-02-03 03:14:19 UTC
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
Comment 3 Alex Monk 2013-02-03 19:35:59 UTC
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...
Comment 4 Carl Austin Bennett 2013-02-03 20:15:21 UTC
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).
Comment 5 Alex Monk 2013-02-03 20:17:59 UTC
Let's just use array() then. Gerrit change #47367
Comment 6 Alex Monk 2013-02-03 20:24:03 UTC
Actually maybe we could remove that line completely.

It shouldn't matter though.
Comment 7 Alex Monk 2013-02-04 00:47:11 UTC
Merged and deployed by Reedy.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links