PHPackages                             mediawiki/smw-user-protect - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mediawiki/smw-user-protect

ActiveMediawiki-extension

mediawiki/smw-user-protect
==========================

Extension for protecting pages from users depending on certain semantic properties

0.1.2(7y ago)123GPL-3.0+PHPPHP &gt;=5.3.0

Since Oct 19Pushed 7y ago3 watchersCompare

[ Source](https://github.com/ProteoWiki/SMWUserProtect)[ Packagist](https://packagist.org/packages/mediawiki/smw-user-protect)[ Docs](https://github.com/ProteoWiki)[ RSS](/packages/mediawiki-smw-user-protect/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

SMWUserProtect
==============

[](#smwuserprotect)

Extension for protecting specifically pages from users depending on their semantic properties.

Parameters
----------

[](#parameters)

// Groups that are allowed always

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

```

// User Property

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

```

// Namespaces with protection

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

```

// Edit prohibited depending on the value

```
$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

```
$GLOBALS['wgSMWUserProtectUserPages'] = true;

```

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

```
$GLOBALS['wgSMWUserProtectEditUserPages'] = true;

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~241 days

Total

2

Last Release

2892d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5218ca0754245ef120fb4ebc1c520616cb8339e5e4f81301e4906893859d5404?d=identicon)[toniher](/maintainers/toniher)

---

Top Contributors

[![toniher](https://avatars.githubusercontent.com/u/535539?v=4)](https://github.com/toniher "toniher (15 commits)")

---

Tags

mediawikiuserprotectionSMWSemantic MediaWiki

### Embed Badge

![Health badge](/badges/mediawiki-smw-user-protect/health.svg)

```
[![Health](https://phpackages.com/badges/mediawiki-smw-user-protect/health.svg)](https://phpackages.com/packages/mediawiki-smw-user-protect)
```

###  Alternatives

[mediawiki/semantic-media-wiki

An extension to MediaWiki that lets you store and query structured data within wiki pages

586361.8k33](/packages/mediawiki-semantic-media-wiki)[mediawiki/semantic-result-formats

Provides additional result formats for queries using Semantic MediaWiki

51180.7k1](/packages/mediawiki-semantic-result-formats)[mediawiki/semantic-cite

A Semantic MediaWiki extension to manage citation resources.

2310.2k1](/packages/mediawiki-semantic-cite)[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

3074.6k1](/packages/mediawiki-semantic-extra-special-properties)[mediawiki/semantic-breadcrumb-links

An extension to Semantic MediaWiki allowing to build breadcrumb links from an attributive property filter

1921.8k](/packages/mediawiki-semantic-breadcrumb-links)[mediawiki/semantic-scribunto

A Semantic Mediawiki extension to natively support the Scribunto extension

2967.5k](/packages/mediawiki-semantic-scribunto)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
