Jack
This is something I am doing through SQL with our three wikis.
Although I am sure it isn't quite the 'wiki-way' we have chosen to prevent access to Special:Preferences and to control preferences through other means. This is primarily to try to ensure a consistent UE and to prevent preference related issues.
For example, if you allow users to turn off the toolbar (toolbar=0) then this causes the Google Maps extension to become invisible to them!
For most of the settings we change them by altering the relevant setting within the user_options BLOB inside the user table.
UPDATE user SET user_options=REPLACE(user_options,"old_value","new_value");
If you want to do this for a specific user just add 'WHERE user_id=xx' to the end.
For a few flags we provide the user with anther page where they can make some selections within our Drupal platform. These are also effected though a standard SQL statement.
When a new user is created we have a set of 75 settings which are written automatically into the user's user_options field giving them our standard starting point.
Hope some of this helps.
Paul
On 6/14/07 7:53 AM, "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