[Mediawiki-l] How to change defaults for preferences for allusers?

Daniel Barrett danb at VistaPrint.com
Wed Sep 26 19:46:01 UTC 2007


And if you need to designate new, custom namespaces for searching, the
easiest way seems to be the script maintenance/userOptions.php.  For
example, to enable search on custom namespace 200 for all users:

  cd maintenance
  php userOptions.php searchNs200 --old "" --new 1

or if you are enabling rather than creating:

  php userOptions.php searchNs200 --old 0 --new 1

DanB

-----Original Message-----
2. Setting default preferences for all EXISTING users
This is done in the database in the user table...





More information about the MediaWiki-l mailing list