I just added a lot of pages to a name space, and I need to enable users to search that name space by default. I added that namespace as a default to search - And this works for guests. But all users who are logged in are using their personal settings and this name space is not selected.
How would I go about enabling search in this namespace for all users?
It is fine if I need to do it through SQL.
Thank you, Adam
On Mon, Jul 26, 2010 at 11:18 PM, Adam Meyer meyer7@mindspring.com wrote:
How would I go about enabling search in this namespace for all users?
Use the userOptions.php maintenance script.
Perfect - Thank you!
If anyone needs to know this - from the terminal in the maintenance folder I ran: php userOptions.php --nowarn --quiet searchNsXX --old 0 --new 1 replace XX with the namespace number you need to set to search by default. EG category would be 14 - and user would be 2
-Adam
On Jul 27, 2010, at 3:27 AM, Benjamin Lees wrote:
On Mon, Jul 26, 2010 at 11:18 PM, Adam Meyer meyer7@mindspring.com wrote:
How would I go about enabling search in this namespace for all users?
Use the userOptions.php maintenance script.
http://www.mediawiki.org/wiki/Manual:UserOptions.php
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org