PHPackages                             mediawiki/namespace-manager - 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/namespace-manager

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

mediawiki/namespace-manager
===========================

A namespace manager for MediaWiki

2.2.0(4y ago)21481GPL-3.0-or-laterPHPPHP &gt;=5.5.0

Since Sep 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hexmode/mediawiki-NamespaceManager)[ Packagist](https://packagist.org/packages/mediawiki/namespace-manager)[ RSS](/packages/mediawiki-namespace-manager/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (5)Used By (0)

NamespaceManager
------------------------------------------------------------

[](#namespacemanager)

This module provides a single place to manage the configuration for all namespace related variables.

### Adding a setting

[](#adding-a-setting)

I recommend you add a setting by using the maintenance script dumpNSInfo.php to find the current settings that you want to have managed. This will help you determine how to set up their use in the extension.

For example, I want to put `$wgCirrusSearchNamespaceWeights` under management via the `searchWeight` key. First, I write ths bit of code inside the end of the loop in dumpNSInfo.php: &lt;syntaxhightlight lang="php"&gt; if ( isset( $wgCirrusSearchNamespaceWeights ) ) { $nsConf-&gt;$name-&gt;searchWeight = null; if ( isset( $wgCirrusSearchNamespaceWeights\[$const\] ) ) { $nsConf-&gt;$name-&gt;searchWeight = $wgCirrusSearchNamespaceWeights\[$const\]; } } &amp;lt;/syntaxhighlight&amp;gt;&lt;/syntaxhightlight&gt;

The initial `if( isset(…` check verifies that there is actually a variable we can adjust. This is needed because other people using the extension may not have CirrusSearch installed.

The next line sets the value for the ns to null as default. In the coorespodning load code, we will just skip the setting if the configuration for this variable is null.

The second `if( isset(…` checks to see if anything is set for this namespace. If there is, then the value is given to the `searchWeight` key.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 98.5% 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 ~424 days

Total

4

Last Release

1520d ago

Major Versions

1.0.0 → 2.0.02019-04-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/091004c4b32e573a26383800e11030fc01201119f53a8fa6886aa34e80edb42d?d=identicon)[hexmode](/maintainers/hexmode)

---

Top Contributors

[![hexmode](https://avatars.githubusercontent.com/u/43581?v=4)](https://github.com/hexmode "hexmode (65 commits)")[![kizule](https://avatars.githubusercontent.com/u/28963303?v=4)](https://github.com/kizule "kizule (1 commits)")

---

Tags

mediawikiextensionwiki

### Embed Badge

![Health badge](/badges/mediawiki-namespace-manager/health.svg)

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

###  Alternatives

[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[mediawiki/chameleon-skin

A highly flexible MediaWiki skin using Bootstrap 4

12481.8k2](/packages/mediawiki-chameleon-skin)[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

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

A Semantic Mediawiki extension to natively support the Scribunto extension

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

A Semantic MediaWiki extension to manage citation resources.

2310.2k1](/packages/mediawiki-semantic-cite)[starcitizentools/tabber-neue

Allows to create tabs within a page. Forked from Extension:Tabber

243.6k](/packages/starcitizentools-tabber-neue)

PHPackages © 2026

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