PHPackages                             mediawiki/semantic-meta-tags - 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-meta-tags

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

mediawiki/semantic-meta-tags
============================

An extension to Semantic Mediawiki to add meta elements with content generated from semantic annotations.

5.0.0(3w ago)1115.5k↑275%10[4 issues](https://github.com/SemanticMediaWiki/SemanticMetaTags/issues)[1 PRs](https://github.com/SemanticMediaWiki/SemanticMetaTags/pulls)GPL-2.0-or-laterPHPPHP &gt;=8.1CI failing

Since Feb 28Pushed 2w ago9 watchersCompare

[ Source](https://github.com/SemanticMediaWiki/SemanticMetaTags)[ Packagist](https://packagist.org/packages/mediawiki/semantic-meta-tags)[ Docs](https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Meta_Tags)[ Fund](https://www.semantic-mediawiki.org/wiki/Sponsorship)[ Fund](https://opencollective.com/smw)[ RSS](/packages/mediawiki-semantic-meta-tags/feed)WikiDiscussions master Synced 2d ago

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

Semantic Meta Tags
==================

[](#semantic-meta-tags)

[![CI](https://github.com/SemanticMediaWiki/SemanticMetaTags/actions/workflows/main.yml/badge.svg)](https://github.com/SemanticMediaWiki/SemanticMetaTags/actions/workflows/main.yml)[![codecov](https://camo.githubusercontent.com/1b03af924a92ef743f29397f92830e3e63dab0705a153e3e2374eec1173385de/68747470733a2f2f636f6465636f762e696f2f67682f53656d616e7469634d6564696157696b692f53656d616e7469634d657461546167732f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d74635257636e4c483356)](https://codecov.io/gh/SemanticMediaWiki/SemanticMetaTags)[![Latest Stable Version](https://camo.githubusercontent.com/ce56c2d620655765f789692cad6fc511871d34cd717c0df29b21d177034cb669/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d6d6574612d746167732f76657273696f6e2e706e67)](https://packagist.org/packages/mediawiki/semantic-meta-tags)[![Packagist download count](https://camo.githubusercontent.com/30ac5cad2a4b710e969ae85499545bf5e17f5258e3cd219edc89f78af03d3b54/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d6d6574612d746167732f642f746f74616c2e706e67)](https://packagist.org/packages/mediawiki/semantic-meta-tags)

Semantic Meta Tags (a.k.a. SMT) is a [Semantic Mediawiki](https://github.com/SemanticMediaWiki/SemanticMediaWiki) extension to enhance the meta element of a page with content generated from semantic annotations.

This extension enables to automatically extend the HTML `` elements of a page with content generated from selected properties to create:

- Standard meta elements (e.g `meta name="keywords"`) as well as
- [Summary card](https://dev.twitter.com/cards/types/summary) and [Open Graph](http://ogp.me/) protocol tags (e.g `meta property="og:title"`)

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

[](#requirements)

- PHP 8.1 or later
- MediaWiki 1.43 or later
- [Semantic MediaWiki](https://github.com/SemanticMediaWiki/SemanticMediaWiki) 7.0 or later

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

[](#installation)

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

Note that the required extension Semantic MediaWiki must be installed first according to the installation instructions provided for it.

### 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-meta-tags": "~5.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-meta-tags": "~5.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( 'SemanticMetaTags' );

```

Documentation
-------------

[](#documentation)

This [document](docs/README.md) describes features as well as necessary settings.

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/SemanticMetaTags/issues)
- [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticMetaTags/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 [continuous integration platform](https://github.com/SemanticMediaWiki/SemanticMetaTags/actions)but can also be executed using `composer phpunit` from the extension base directory.

License
-------

[](#license)

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

###  Health Score

61

—

FairBetter than 98% of packages

Maintenance88

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

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

Recently: every ~102 days

Total

14

Last Release

26d ago

Major Versions

1.5.0 → 2.0.02019-01-28

2.0.0 → 3.0.02020-09-26

3.1.0 → 4.0.0-beta2025-04-24

4.1.1 → 5.0.02026-06-08

PHP version history (6 changes)1.0.0PHP &gt;=5.3.0

1.4.0PHP &gt;=5.5

1.5.0PHP &gt;=5.6

3.0.0PHP &gt;=7.1

4.0.0-betaPHP &gt;=7.4

4.0.0PHP &gt;=8.1

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

---

Top Contributors

[![mwjames](https://avatars.githubusercontent.com/u/1245473?v=4)](https://github.com/mwjames "mwjames (71 commits)")[![translatewiki](https://avatars.githubusercontent.com/u/24829418?v=4)](https://github.com/translatewiki "translatewiki (57 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (37 commits)")[![paladox](https://avatars.githubusercontent.com/u/5727000?v=4)](https://github.com/paladox "paladox (22 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (18 commits)")[![thomas-topway-it](https://avatars.githubusercontent.com/u/46287689?v=4)](https://github.com/thomas-topway-it "thomas-topway-it (17 commits)")[![gesinn-it-gea](https://avatars.githubusercontent.com/u/10398316?v=4)](https://github.com/gesinn-it-gea "gesinn-it-gea (8 commits)")[![jaideraf](https://avatars.githubusercontent.com/u/3636594?v=4)](https://github.com/jaideraf "jaideraf (6 commits)")[![gesinn-it-wam](https://avatars.githubusercontent.com/u/92986684?v=4)](https://github.com/gesinn-it-wam "gesinn-it-wam (5 commits)")[![alex-mashin](https://avatars.githubusercontent.com/u/11148653?v=4)](https://github.com/alex-mashin "alex-mashin (5 commits)")[![alistair3149](https://avatars.githubusercontent.com/u/9260542?v=4)](https://github.com/alistair3149 "alistair3149 (3 commits)")[![Nikerabbit](https://avatars.githubusercontent.com/u/1109395?v=4)](https://github.com/Nikerabbit "Nikerabbit (2 commits)")[![yaronkoren](https://avatars.githubusercontent.com/u/1278687?v=4)](https://github.com/yaronkoren "yaronkoren (1 commits)")[![jhoeffler](https://avatars.githubusercontent.com/u/10155501?v=4)](https://github.com/jhoeffler "jhoeffler (1 commits)")[![kizule](https://avatars.githubusercontent.com/u/28963303?v=4)](https://github.com/kizule "kizule (1 commits)")[![legoktm](https://avatars.githubusercontent.com/u/81392?v=4)](https://github.com/legoktm "legoktm (1 commits)")[![Protonotarios](https://avatars.githubusercontent.com/u/5426751?v=4)](https://github.com/Protonotarios "Protonotarios (1 commits)")[![siebrand](https://avatars.githubusercontent.com/u/210297?v=4)](https://github.com/siebrand "siebrand (1 commits)")

---

Tags

mediawikimeta-elementsmeta-tagsmwsemanticsemantic-mediawikismtsmwmediawikiwikimeta-tagsSMWSemantic MediaWikimeta elements

### Embed Badge

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

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

###  Alternatives

[mediawiki/semantic-media-wiki

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

622381.2k34](/packages/mediawiki-semantic-media-wiki)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[mediawiki/semantic-result-formats

Provides additional result formats for queries using Semantic MediaWiki

56188.7k1](/packages/mediawiki-semantic-result-formats)[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

3079.9k1](/packages/mediawiki-semantic-extra-special-properties)[mediawiki/semantic-scribunto

A Semantic Mediawiki extension to natively support the Scribunto extension

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

PHPackages © 2026

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