Page MenuHomePhabricator

Vietnamese Wikibooks: search Subject, Wikijunior, Cookbook namespaces by default
Closed, ResolvedPublic

Description

Please configure the Vietnamese Wikibooks to search the main, Subject (Chủ đề), Wikijunior (Trẻ em), and Cookbook (Nấu ăn) namespaces by default.

To do this, add the following entry to $wgNamespacesToBeSearchedDefault in InitialiseSettings.php:

'viwikibooks' => array( -1 => 0, 0 => 1, 1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0, 8 => 0, 9 => 0, 10 => 0, 11 => 0, 12 => 0, 13 => 0, 102 => 1, 104 => 1, 106 => 1 ),

Thank you.


Version: unspecified
Severity: normal

Details

Reference
bz37340

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:27 AM
bzimport set Reference to bz37340.

Code review: https://gerrit.wikimedia.org/r/11086


Removing 'shell' and adding 'shellpolicy' keyword.

Could you provide us a link to the local consensus for this change?


I see you were offered in bug #36329 to request a developer access:

Thanks again for the patch. Have you had any trouble in using developer access
to directly suggest it into our Git source control system?

https://www.mediawiki.org/wiki/Developer_access

https://www.mediawiki.org/wiki/Git/Workflow#How_to_submit_a_patch

If you were afraid by the workflow, here the commands I used to prepare this commit:

cd /home/dereckson/dev/wikimedia/mediawiki-config
git checkout -b bug/37340
nano -w wmf-config/InitialiseSettings.php
<edit the file, check if the namespaces are the correct ones and adding the line>
git add wmf-config/InitialiseSettings.php
git diff --cached
php -l wmf-config/InitialiseSettings.php
git commit
<write the commit message>
git review