Hello Jack,
That information you require is stored in the 'user_options' column of the 'user' table in your database. It's a blob containing a newline separated list of keyword/value pairs. It looks something like this (lines removed for brevity):
----------------------------- quickbar=1 underline=2 ... enotifwatchlistpages=0 enotifusertalkpages=1 enotifminoredits=0 enotifrevealaddr=0 ... language=en searchNs0=1 -----------------------------
Regarding "Email me when watchlist pages change": the particular field you're looking for (I believe) is 'enotifwatchlistpages', which you'd want to set to 1 for all users.
Regarding "Add pages I create to my watchlist": the field you want is 'watchcreations', which should also be set to 1. Unlike 'enotifwatchlistpages', this value is not in the auto-generated user_options blobs by default - so you'll need to add a line for it.
Hope this helps!
-- Jim R. Wilson (jimbojw)
On 6/14/07, Jack Eapen C jackec@suntecgroup.com wrote:
Hi
Our wiki is running over the intranet. Authentication is done via LDAp plugin. How can we set the preferences for all users at one go- like "Add pages I create to my watchlist", "Email me when pages in my watchlist changes", etc. to true for all users at one go?
Also I want to treat all emailids as verified, without the verification process. How can that be achieved?
Regards,
Jack Eapen C SunTec Knowledge Centre
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l