PHPackages                             mediawiki/semantic-scribunto - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mediawiki/semantic-scribunto

ActiveMediawiki-extension[Utility &amp; Helpers](/categories/utility)

mediawiki/semantic-scribunto
============================

A Semantic Mediawiki extension to natively support the Scribunto extension

2.3.3(7mo ago)2967.5k—0%20[3 issues](https://github.com/SemanticMediaWiki/SemanticScribunto/issues)[1 PRs](https://github.com/SemanticMediaWiki/SemanticScribunto/pulls)GPL-2.0-or-laterPHPPHP &gt;=7.3CI failing

Since Jan 22Pushed 1mo ago13 watchersCompare

[ Source](https://github.com/SemanticMediaWiki/SemanticScribunto)[ Packagist](https://packagist.org/packages/mediawiki/semantic-scribunto)[ Docs](https://www.semantic-mediawiki.org/wiki/Extension:SemanticScribunto)[ Fund](https://www.semantic-mediawiki.org/wiki/Sponsorship)[ Fund](https://opencollective.com/smw)[ RSS](/packages/mediawiki-semantic-scribunto/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (16)Used By (0)

Semantic Scribunto
==================

[](#semantic-scribunto)

[![Build Status](https://github.com/SemanticMediaWiki/SemanticScribunto/actions/workflows/ci.yml/badge.svg)](https://github.com/oetterer/BootstrapComponents/actions/workflows/ci.yml)[![Code Coverage](https://camo.githubusercontent.com/87708efaec648625f40c83a884f489a9a85872480a6da2a63cb1e14eb6635fd1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f53656d616e7469634d6564696157696b692f53656d616e7469635363726962756e746f2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticScribunto/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a579c29629fb1dd237d330a6452c842f46d52d1a58400e5ba084f9620d1c9a85/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f53656d616e7469634d6564696157696b692f53656d616e7469635363726962756e746f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticScribunto/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/02a97063acceb5436318cbe0fe58a291374e57eeeefcababe885da0beacae1ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6564696177696b692f73656d616e7469632d7363726962756e746f2e737667)](https://camo.githubusercontent.com/02a97063acceb5436318cbe0fe58a291374e57eeeefcababe885da0beacae1ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6564696177696b692f73656d616e7469632d7363726962756e746f2e737667)[![Packagist Download Count](https://camo.githubusercontent.com/3a2dc87c84c074556c8b58557cc6a22848d94c92f2d78b2ca78e7c56bb9e2706/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6564696177696b692f73656d616e7469632d7363726962756e746f2e737667)](https://camo.githubusercontent.com/3a2dc87c84c074556c8b58557cc6a22848d94c92f2d78b2ca78e7c56bb9e2706/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6564696177696b692f73656d616e7469632d7363726962756e746f2e737667)

Semantic Scribunto (a.k.a. SSC) is a [Semantic Mediawiki](https://github.com/SemanticMediaWiki/SemanticMediaWiki) extension to provide native support for the [Scribunto](https://www.mediawiki.org/wiki/Extension:Scribunto) extension.

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

[](#requirements)

- PHP 7.3 or later
- MediaWiki 1.39 or later
- [Semantic MediaWiki](https://github.com/SemanticMediaWiki/SemanticMediaWiki) 4.1 or later

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

[](#installation)

The recommended way to install Semantic Scribunto 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-scribunto": "~2.3"
	}
}
```

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-scribunto": "~2.3"

```

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( 'SemanticScribunto' );

```

Usage
-----

[](#usage)

A description of the `mw.smw` library functions can be found [here](docs/README.md).

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

[](#contribution-and-support)

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guideline.

- [File an issue](https://github.com/SemanticMediaWiki/SemanticScribunto/issues)
- [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticScribunto/pulls)
- Ask a question on [the mailing list](https://www.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/SemanticScribunto)but can also be executed using the `composer phpunit` command from the extension base directory that will run all tests. In order to run only a specific test suit, the following commands are provided for convenience:

- `composer unit` to run all unit tests
- `composer integration` to run all integration tests (which requires an active MediaWiki, DB connection)

License
-------

[](#license)

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

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance76

Regular maintenance activity

Popularity42

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor3

3 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 ~318 days

Recently: every ~339 days

Total

11

Last Release

220d ago

Major Versions

1.2.0 → 2.0.02018-10-05

PHP version history (4 changes)1.0.0PHP &gt;=5.5

2.0.0PHP &gt;=5.6

2.1.0PHP &gt;=7.0

2.2.0PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22235?v=4)[Stefan Wasilewski](/maintainers/SMW)[@smw](https://github.com/smw)

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

![](https://www.gravatar.com/avatar/114d6462eab1e6b289bf50aac43c554fc8bcc5507c0023cbea7f20e397617ae6?d=identicon)[oetterer](/maintainers/oetterer)

---

Top Contributors

[![mwjames](https://avatars.githubusercontent.com/u/1245473?v=4)](https://github.com/mwjames "mwjames (59 commits)")[![translatewiki](https://avatars.githubusercontent.com/u/24829418?v=4)](https://github.com/translatewiki "translatewiki (37 commits)")[![oetterer](https://avatars.githubusercontent.com/u/9444462?v=4)](https://github.com/oetterer "oetterer (31 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (27 commits)")[![mint-thompson](https://avatars.githubusercontent.com/u/22081959?v=4)](https://github.com/mint-thompson "mint-thompson (12 commits)")[![Nikerabbit](https://avatars.githubusercontent.com/u/1109395?v=4)](https://github.com/Nikerabbit "Nikerabbit (8 commits)")[![paladox](https://avatars.githubusercontent.com/u/5727000?v=4)](https://github.com/paladox "paladox (7 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (6 commits)")[![Ostrzyciel](https://avatars.githubusercontent.com/u/56843159?v=4)](https://github.com/Ostrzyciel "Ostrzyciel (2 commits)")[![kizule](https://avatars.githubusercontent.com/u/28963303?v=4)](https://github.com/kizule "kizule (2 commits)")[![goossens](https://avatars.githubusercontent.com/u/1984220?v=4)](https://github.com/goossens "goossens (2 commits)")[![alistair3149](https://avatars.githubusercontent.com/u/9260542?v=4)](https://github.com/alistair3149 "alistair3149 (2 commits)")[![hexmode](https://avatars.githubusercontent.com/u/43581?v=4)](https://github.com/hexmode "hexmode (2 commits)")[![yaronkoren](https://avatars.githubusercontent.com/u/1278687?v=4)](https://github.com/yaronkoren "yaronkoren (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![FO-nTTaX](https://avatars.githubusercontent.com/u/3266537?v=4)](https://github.com/FO-nTTaX "FO-nTTaX (1 commits)")[![freephile](https://avatars.githubusercontent.com/u/38368?v=4)](https://github.com/freephile "freephile (1 commits)")[![gesinn-it-gea](https://avatars.githubusercontent.com/u/10398316?v=4)](https://github.com/gesinn-it-gea "gesinn-it-gea (1 commits)")[![HamishSlater](https://avatars.githubusercontent.com/u/26261210?v=4)](https://github.com/HamishSlater "HamishSlater (1 commits)")[![jaideraf](https://avatars.githubusercontent.com/u/3636594?v=4)](https://github.com/jaideraf "jaideraf (1 commits)")

---

Tags

mediawikimwscribuntosemanticsemantic-mediawikismwsscmediawikiwikiSMWSemantic MediaWikiluaScribunto

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  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-extra-special-properties

Provides extra special properties for Semantic MediaWiki

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

A Semantic MediaWiki extension to manage citation resources.

2310.2k1](/packages/mediawiki-semantic-cite)[mediawiki/semantic-bundle

Bundle extension that installs and loads Semantic MediaWiki and associated extensions

204.4k](/packages/mediawiki-semantic-bundle)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[mediawiki/semantic-result-formats

Provides additional result formats for queries using Semantic MediaWiki

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

PHPackages © 2026

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