Publicsandbox
Μπορεί να γίνει επεξεργασία της σελίδας αυτής από όλους
https://teams.pirateparty.gr/issues/153#note-9
http://www.mediawiki.org/wiki/Manual:User_rights
user rights depend on mediawiki version
also
http://www.mediawiki.org/wiki/Manual:$wgGroupPermissions
http://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection
http://www.mediawiki.org/wiki/Extension:Lockdown
and finaly some practical examples
http://www.mediawiki.org/wiki/Manual:Preventing_access
Setting up custom namespaces with restricted write access
<source lang="php"> define("NS_OFFICIAL", 100); define("NS_OFFICIAL_TALK", 101);
$wgExtraNamespaces =
array(100 => "Official", 101 => "Official_talk", );
$wgNamespaceProtection[NS_OFFICIAL] = array( 'official-edit' ); $wgNamespaceProtection[NS_OFFICIAL_TALK] = array( 'official-talk-edit' );
$wgGroupPermissions['managers']['official-edit'] = true; //only managers can edit pages in the Official namespace $wgGroupPermissions['employees']['official-talk-edit'] = true; //employees can edit pages in the Official_talk namespace $wgGroupPermissions['managers']['official-talk-edit'] = true; //so can managers </source>