PHPackages                             professional-wiki/rules - 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. professional-wiki/rules

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

professional-wiki/rules
=======================

Automatically categorize MediaWiki pages

1.0.0(11mo ago)3534[8 issues](https://github.com/ProfessionalWiki/Rules/issues)GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Aug 5Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/ProfessionalWiki/Rules)[ Packagist](https://packagist.org/packages/professional-wiki/rules)[ Docs](https://professional.wiki/en/extension/rules)[ RSS](/packages/professional-wiki-rules/feed)WikiDiscussions master Synced 3w ago

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

Rules
=====

[](#rules)

[![GitHub Workflow Status](https://camo.githubusercontent.com/f1d119ba5f36e9cca06beaf34a1a5ff884aaf5b4322f43aa9095982399b78074/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f50726f66657373696f6e616c57696b692f52756c65732f63692e796d6c3f6272616e63683d6d6173746572)](https://github.com/ProfessionalWiki/Rules/actions?query=workflow%3ACI)[![codecov](https://camo.githubusercontent.com/860b033bf3dfb0ac6f84e9018b6c312f2129cfea88a748097831567a35185b9a/68747470733a2f2f636f6465636f762e696f2f67682f50726f66657373696f6e616c57696b692f52756c65732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/ProfessionalWiki/Rules)[![Latest Stable Version](https://camo.githubusercontent.com/2904e6773717d4ed81b363226030aa2183fc6691e078a4d0f040a44002ff1059/68747470733a2f2f706f7365722e707567782e6f72672f70726f66657373696f6e616c2d77696b692f72756c65732f762f737461626c65)](https://packagist.org/packages/professional-wiki/rules)[![Download count](https://camo.githubusercontent.com/158dffb8c4f689f72746acd038d7eb93d62778d606311cd23d16d27c32b838c5/68747470733a2f2f706f7365722e707567782e6f72672f70726f66657373696f6e616c2d77696b692f72756c65732f646f776e6c6f616473)](https://packagist.org/packages/professional-wiki/rules)[![License](https://camo.githubusercontent.com/a28e54237af2206ec93ef4ffd13591ea4799adf59538e6350d916b87d465ea33/68747470733a2f2f706f7365722e707567782e6f72672f70726f66657373696f6e616c2d77696b692f72756c65732f6c6963656e7365)](LICENSE)

Automate MediaWiki page categorization based on rules defined via a user-friendly configuration interface.

- [Introduction to the extension](https://professional.wiki/en/extension/rules)
- [Usage documentation](https://professional.wiki/en/extension/rules#Usage)
- [Installation](https://professional.wiki/en/extension/rules#Installation)
- [Configuration](https://professional.wiki/en/extension/rules#Configuration)
- [Development](#development)
- [Release notes](#release-notes)

Get professional support for this extension via [Professional Wiki](https://professional.wiki), its creators and maintainers. We provide [MediaWiki Development](https://professional.wiki/en/mediawiki-development), [MediaWiki Hosting](https://pro.wiki), and [MediaWiki Consulting](https://professional.wiki/en/mediawiki-consulting-services) services.

[![Image](https://private-user-images.githubusercontent.com/146040/483364424-a8f6129a-f2e3-4af4-a2cb-a7d2806b2b8a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM3Nzg5MDgsIm5iZiI6MTc4Mzc3ODYwOCwicGF0aCI6Ii8xNDYwNDAvNDgzMzY0NDI0LWE4ZjYxMjlhLWYyZTMtNGFmNC1hMmNiLWE3ZDI4MDZiMmI4YS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcxMVQxNDAzMjhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMWMzYWQxYzcwZDVlNTY5OWUxNzZlNTgxMmFkNDE3MjJjODU5Y2UwZmRiNzI3Yzc5NzQyZTBjZjFlNTQ1ZDRlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.GUzrS_gsGiYfOgk8PSPtIi_BqgfLgCNgmGvFj7R_dNw)](https://professional.wiki/en/extension/rules)

Development
-----------

[](#development)

Run `composer install` in `extensions/Rules/` to make the code quality tools available.

### Running Tests and CI Checks

[](#running-tests-and-ci-checks)

You can use the `Makefile` by running make commands in the `Rules` directory.

Commands to run in a MediaWiki environment/container:

- `make` or `make ci`: Run everything
- `make test`: Run all PHP tests
- `make phpunit --filter FooBar`: run only PHPUnit tests with FooBar in their name
- `make cs`: Run PHP style checks and static analysis
- `make phpcs`: Run PHP style checks
- `make stan`: Run PHP static analysis
- `make stan-baseline`: Update the PHPStan baseline file (which contains errors we wish to ignore)

Commands that use Docker:

- `make lint` Lint JS, CSS, and i18n files
- `make js` Run all JS checks

Release Notes
-------------

[](#release-notes)

### Version 1.0.0

[](#version-100)

Released on 2025-08-28

- Initial version with support for MediaWiki 1.43 and 1.44
- Automatic categorization based on existing categories
- Configuration UI for rules at `MediaWiki:Rules`

###  Health Score

34

—

LowBetter than 74% of packages

Maintenance55

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/451bd4039d530fed8f9c3da91bfa519233a397d2182cdfdcad700f6cfea19b7f?d=identicon)[Jeroen De Dauw](/maintainers/Jeroen%20De%20Dauw)

![](https://avatars.githubusercontent.com/u/1104078?v=4)[Karsten Hoffmeyer](/maintainers/kghbln)[@kghbln](https://github.com/kghbln)

---

Top Contributors

[![alistair3149](https://avatars.githubusercontent.com/u/9260542?v=4)](https://github.com/alistair3149 "alistair3149 (35 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (21 commits)")[![translatewiki](https://avatars.githubusercontent.com/u/24829418?v=4)](https://github.com/translatewiki "translatewiki (18 commits)")[![malberts](https://avatars.githubusercontent.com/u/1428594?v=4)](https://github.com/malberts "malberts (13 commits)")

---

Tags

automationmediawikimediawiki-extensionquality-controlmediawiki

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/professional-wiki-rules/health.svg)

```
[![Health](https://phpackages.com/badges/professional-wiki-rules/health.svg)](https://phpackages.com/packages/professional-wiki-rules)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

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

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k64](/packages/friendsoftypo3-content-blocks)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3407.6k](/packages/starcitizentools-citizen-skin)[mediawiki/chameleon-skin

A highly flexible MediaWiki skin using Bootstrap 5

12787.4k2](/packages/mediawiki-chameleon-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19256.6k4](/packages/civicrm-civicrm-drupal-8)

PHPackages © 2026

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