[MediaWiki-l] administrator/sysop permission

Toshi Esumi email2 at toshiesumi.com
Mon Dec 7 05:38:40 UTC 2015


Recently my wiki site got attacked by somebody using API and thousands 
of pages and users were created. So I had to re-image the VM (ubunto 
14.04) and installed 1.26.0 and manually re-created the wiki from 
scratch Then encountered some difficulty setting up proper user group 
privileges to protect the site from vandalism.

First, I disabled ('false') 'createpage' for all user groups '*' like 
below in LocalSettings.php. But it looked like disabled administrator 
creating pages. So I added another line with 'sysop' to allow it. But it 
still doesn't allow. I created a new user group and allowed 
"createpage", and this works. So I'm wondering why an administrator 
can't create a page.

$wgGroupPermissions['*']['createpage'] = false;
$wgGroupPermissions['sysop']['createpage'] = true;

Does anyone know why this doesn't work?


More information about the MediaWiki-l mailing list