2017 © Pedro Peláez
 

mediawiki-extension smw-user-protect

Extension for protecting pages from users depending on certain semantic properties

image

mediawiki/smw-user-protect

Extension for protecting pages from users depending on certain semantic properties

  • Monday, June 18, 2018
  • by toniher
  • Repository
  • 3 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 18 % Grown

The README.md

SMWUserProtect

Extension for protecting specifically pages from users depending on their semantic properties., (*1)

Parameters

// Groups that are allowed always, (*2)

$GLOBALS['wgSMWUserProtectGroups'] = array( 'sysop', 'team' );

// User Property, (*3)

$GLOBALS['wgSMWUserProtectProps'] = array( 'Has User' );

// Namespaces with protection, (*4)

$GLOBALS['wgSMWUserProtectNS'] = array( NS_REQUEST, NS_SAMPLE, NS_PROCESS );
$GLOBALS['wgSMWUserProtectNSParent'] = array( NS_REQUEST );

// Edit prohibited depending on the value, (*5)

$GLOBALS['wgSMWUserProtectEditClose'] = array (
    NS_REQUEST => array(
        "Has Request Status" => array( "Accepted", "Closed", "Discarded" )
    )
);

// If visiting user is not in the groups above, avoid reading User pages, (*6)

$GLOBALS['wgSMWUserProtectUserPages'] = true;

// Block edition of user pages by non-owning users. It actually makes sense if previous wgSMWUserProtectUserPages is false, (*7)

$GLOBALS['wgSMWUserProtectEditUserPages'] = true;

The Versions

18/06 2018

dev-master

9999999-dev https://github.com/ProteoWiki

Extension for protecting pages from users depending on certain semantic properties

  Sources   Download

GPL-3.0+

The Requires

 

by Toni Hermoso Pulido

user mediawiki protection smw semantic mediawiki

18/06 2018

0.1.2

0.1.2.0 https://github.com/ProteoWiki

Extension for protecting pages from users depending on certain semantic properties

  Sources   Download

GPL-3.0+

The Requires

 

by Toni Hermoso Pulido

user mediawiki protection smw semantic mediawiki

19/10 2017

0.1.1

0.1.1.0 https://github.com/ProteoWiki

Extension for protecting pages from users depending on certain semantic properties

  Sources   Download

GPL-3.0+

The Requires

 

by Toni Hermoso Pulido

user mediawiki protection smw semantic mediawiki