Last modified: 2009-06-19 22:25:49 UTC
After discussion on enwiki, we have concluded that we do not find the ability for indiscriminate users to save books to the wiki to be constructive. We wish to disable on-wiki saving for at least the majority of users. The nicest and most flexible way to develop the extension is to create new permissions, say 'savebooktouserspace' and 'savebooktoprojectspace', that can be assigned to arbitrary groups as with other permissions. This should replace the hardcoded restriction to */autoconfirmed, respectively. Naturally, the "save book" box on [[Special:Book]] should not appear if the user is not able to save in any location.
However, downloading as PDF and requesting print from PediaPress is, of course, fine :)
As of r51151, the MediaWiki rights needed to save collections in the user or the (configurable) "community" namespace can be changed via two global variables $wgCollectionSaveAsUserPageRight and $wgCollectionSaveAsCommunityPageRight. These rights can be configured to be e.g. "autoconfirmed" or turned of by setting them to null.
Needs to be checked on the PHP side, too.
Implemented in r51870.
r51870/r51943 changed the permissions from flexible strings to hardcoded permission key values: $wgAvailableRights[] = 'collectionsaveasuserpage'; $wgAvailableRights[] = 'collectionsaveascommunitypage'; By default no user will have these rights. Note I've cleaned up the README.txt in r52180; the entries for the previous variables were inadvertently left in.
InitializeSettings has been updated and deployed to reflect this change.