Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to allow MediaWiki logged user to edit Common.css?

Tags:

mediawiki

I would like to allow the logged user to edit MediaWiki/Common.css without adding them to the sysop group.

I understand that this will allow user to change it to harful ways but it is a closed wiki so that is not a problem.

Any solution is acceptable even changing php code :)

like image 898
Emmanuel Caradec Avatar asked Oct 02 '08 10:10

Emmanuel Caradec


1 Answers

Create a new group, add give it "editinterface" privilege. In LocalSettings.php it's done like this:

$wgGroupPermissions['mynewgroup']['editinterface'] = true;

Then add the user to you new group.

Or if you want to give that right to all logged-in users, do it like this:

$wgGroupPermissions['user']['editinterface'] = true;
// user is the default group for all logged-in users

For details see MediaWiki manual.

like image 100
che Avatar answered Oct 06 '22 00:10

che