Last modified: 2012-06-13 23:36:19 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 T39340, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37340 - Vietnamese Wikibooks: search Subject, Wikijunior, Cookbook namespaces by default
Vietnamese Wikibooks: search Subject, Wikijunior, Cookbook namespaces by default
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Dereckson
: community-consensus-needed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-05 07:49 UTC by Minh Nguyễn
Modified: 2012-06-13 23:36 UTC (History)
2 users (show)

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


Attachments

Description Minh Nguyễn 2012-06-05 07:49:46 UTC
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.
Comment 1 Dereckson 2012-06-12 20:24:20 UTC
Taking this bug.
Comment 2 Dereckson 2012-06-12 20:39:51 UTC
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

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


Navigation
Links