PHPackages                             mediawiki/semantic-approved-revs - 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/semantic-approved-revs

ActiveMediawiki-extension

mediawiki/semantic-approved-revs
================================

Complementary extension to Semantic MediaWiki and Approved Revs to control the storage of approved revision content.

0.9.2(3y ago)41.3k3[7 issues](https://github.com/SemanticMediaWiki/SemanticApprovedRevs/issues)GPL-2.0-or-laterPHPPHP &gt;=7.3CI failing

Since Nov 15Pushed 5d ago12 watchersCompare

[ Source](https://github.com/SemanticMediaWiki/SemanticApprovedRevs)[ Packagist](https://packagist.org/packages/mediawiki/semantic-approved-revs)[ Docs](https://www.mediawiki.org/wiki/Extension:SemanticApprovedRevs)[ RSS](/packages/mediawiki-semantic-approved-revs/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

Semantic Approved Revs
======================

[](#semantic-approved-revs)

[![CI](https://github.com/SemanticMediaWiki/SemanticApprovedRevs/actions/workflows/main.yaml/badge.svg)](https://github.com/SemanticMediaWiki/SemanticApprovedRevs/actions/workflows/main.yaml)[![codecov](https://camo.githubusercontent.com/7240c20e2a57a7a6464164ed7e91f5470cf3494002b10b3eb62293a1adfbafa7/68747470733a2f2f636f6465636f762e696f2f67682f53656d616e7469634d6564696157696b692f53656d616e746963417070726f766564526576732f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d3737444e4f5150544e46)](https://codecov.io/gh/SemanticMediaWiki/SemanticApprovedRevs)[![Latest Stable Version](https://camo.githubusercontent.com/10887f2f0b21c18f2e801a7fc7080650afd893dbbd2c26e341c5dc51913258d2/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d617070726f7665642d726576732f76657273696f6e2e706e67)](https://packagist.org/packages/mediawiki/semantic-approved-revs)[![Packagist download count](https://camo.githubusercontent.com/976a73299753c27331eee8728db71256a64493fecf4281a7ee3edeccfa74dac9/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d617070726f7665642d726576732f642f746f74616c2e706e67)](https://packagist.org/packages/mediawiki/semantic-approved-revs)

Semantic Approved Revs (a.k.a. SAR) is a [Semantic MediaWiki](https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki) extension and a complement to the Approved Revs extension to help store data related to an approved revision. The extension provides:

- Control over Semantic MediaWiki related updates to only store data for an approved revision (managed by extension Approved Revs)
- Additional properties ("Approved by", "Approved date", "Approved revision" and "Approval status") to accompany the approval process

This short [video](https://youtu.be/cl9XmzKQ2Ec) demonstrates the interaction between the Semantic MediaWiki, Semantic Approved Revs, and the Approved Revs extension.

Requirements
------------

[](#requirements)

- PHP 7.0 or later
- MediaWiki 1.31 or later
- Semantic MediaWiki 3.1 or later
- ApprovedRevs extension 0.8 or later

Installation
------------

[](#installation)

The recommended way to install Semantic Approved Revs is using [Composer](https://getcomposer.org) with [MediaWiki's built-in support for Composer](https://www.mediawiki.org/wiki/Composer).

Note that the required extensions Semantic MediaWiki and Scribunto must be installed first according to the installation instructions provided.

### Step 1

[](#step-1)

Change to the base directory of your MediaWiki installation. If you do not have a "composer.local.json" file yet, create one and add the following content to it:

```
{
	"require": {
		"mediawiki/semantic-approved-revs": "~1.0"
	}
}
```

If you already have a "composer.local.json" file add the following line to the end of the "require" section in your file:

```
"mediawiki/semantic-approved-revs": "~1.0"

```

Remember to add a comma to the end of the preceding line in this section.

### Step 2

[](#step-2)

Run the following command in your shell:

```
php composer.phar update --no-dev

```

Note if you have Git installed on your system add the `--prefer-source` flag to the above command.

### Step 3

[](#step-3)

Add the following line to the end of your "LocalSettings.php" file:

```
wfLoadExtension( 'SemanticApprovedRevs' );

```

Usage
-----

[](#usage)

Not additional customizing is necessary.

Contribution and support
------------------------

[](#contribution-and-support)

If you have remarks, questions, or suggestions, please send them to . You can subscribe to this list [here](http://sourceforge.net/mailarchive/forum.php?forum_name=semediawiki-user).

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the [contribution guildline](/CONTRIBUTING.md). A list of people who have made contributions in the past can be found [here](https://github.com/SemanticMediaWiki/SemanticApprovedRevs/graphs/contributors).

- [File an issue](https://github.com/SemanticMediaWiki/SemanticApprovedRevs/issues)
- [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticApprovedRevs/pulls)
- Ask a question on [the mailing list](https://semantic-mediawiki.org/wiki/Mailing_list)

### Tests

[](#tests)

This extension provides unit and integration tests that are run by a [continues integration platform](https://travis-ci.org/SemanticMediaWiki/SemanticApprovedRevs)but can also be executed using `composer test` from the extension base directory.

License
-------

[](#license)

[GNU General Public License 2.0 or later](https://www.gnu.org/copyleft/gpl.html)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance45

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~239 days

Total

3

Last Release

1159d ago

PHP version history (2 changes)0.9.0PHP &gt;=5.6.0

0.9.1PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/372f9bc1233d5518b9522cb681210a8de2765a3a9bbde20138f6ad5332a411ca?d=identicon)[mwjames](/maintainers/mwjames)

---

Top Contributors

[![translatewiki](https://avatars.githubusercontent.com/u/24829418?v=4)](https://github.com/translatewiki "translatewiki (31 commits)")[![gesinn-it-gea](https://avatars.githubusercontent.com/u/10398316?v=4)](https://github.com/gesinn-it-gea "gesinn-it-gea (16 commits)")[![mwjames](https://avatars.githubusercontent.com/u/1245473?v=4)](https://github.com/mwjames "mwjames (15 commits)")[![hexmode](https://avatars.githubusercontent.com/u/43581?v=4)](https://github.com/hexmode "hexmode (6 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (4 commits)")[![paladox](https://avatars.githubusercontent.com/u/5727000?v=4)](https://github.com/paladox "paladox (3 commits)")[![jaideraf](https://avatars.githubusercontent.com/u/3636594?v=4)](https://github.com/jaideraf "jaideraf (1 commits)")[![gesinn-it-wam](https://avatars.githubusercontent.com/u/92986684?v=4)](https://github.com/gesinn-it-wam "gesinn-it-wam (1 commits)")

---

Tags

mediawikiwikiSMWSemantic MediaWiki

### Embed Badge

![Health badge](/badges/mediawiki-semantic-approved-revs/health.svg)

```
[![Health](https://phpackages.com/badges/mediawiki-semantic-approved-revs/health.svg)](https://phpackages.com/packages/mediawiki-semantic-approved-revs)
```

###  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)
