한국   대만   중국   일본 
Protect for admin only on Project:Support desk Jump to content

Topic on Project:Support desk

Davisvawiz ( talk contribs )

Hello, i kindly request you to help me protect some of my pages like home page and privacy policy to be only editable by admins only. i used this code

$wgNamespaceProtection[NS_MAIN] = ['sysop'];

$wgGroupPermissions['sysop']['edit'] = false;

in my local setting php and it locked me for editing anything that is already in the site.

this code does not work either

$wgFlaggedRevsProtection = array('sysop' => true);

kindly help.

Rgds

Davis Wanyonyi

TheDJ ( talk contribs )
Davisvawiz ( talk contribs )

Thank You!!!!

Reply to "Protect for admin only"