mediawiki: user rights list

by prettyscripts on 2009-03-13 13:23:39

wikiframework

by default mediawiki’s user management pages are not user friendly. the user list shows list of users and their groups. change permission is done in another page user rights management, but requires search of user.

UserRightsList display list of users and their groups and allow change of groups in the same page.

just download, untar and copy the directory under extensions/. add the following to LocalSettings.php:

PHP:

require_once("$IP/extensions/UserRightsList/UserRightsList.php");

you should see users right list from the special page.

in V1.14, going to this page results in internal error. thanksfully there’s a solution. edit line 11 in SpecialUserRightsList.body.php, add DB_SLAVE as parameter to wfGetDB so it looks like:

PHP:

list ($this->user_table,$this->user_groups_table) = wfGetDBDB_SLAVE )->tableNamesN('user','user_groups');

Tags: user, wiki

No feedback yet

Leave a comment


Your email address will not be revealed on this site.
PoorExcellent
note: all comments are moderated. do not spam and do not advertise. only comments relevant to the post will be published.
(Line breaks become <br />)
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)