PHPackages                             paveld/mw-markdown-wiki - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. paveld/mw-markdown-wiki

ActiveMediawiki-extension[Parsing &amp; Serialization](/categories/parsing)

paveld/mw-markdown-wiki
=======================

An extension for markdown support in mediawiki pages

v0.3.2(4y ago)041[2 issues](https://github.com/PavelD/mw-markdown-wiki/issues)MITPHP

Since Jan 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/PavelD/mw-markdown-wiki)[ Packagist](https://packagist.org/packages/paveld/mw-markdown-wiki)[ Docs](https://github.com/PavelD/mw-markdown-wiki#readme)[ RSS](/packages/paveld-mw-markdown-wiki/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

MarkdownWiki extension for MediaWiki
====================================

[](#markdownwiki-extension-for-mediawiki)

About
-----

[](#about)

This extension allows usage of [Markdown](https://daringfireball.net/projects/markdown/) syntax on wiki pages. It's based on extension of the [Cebe](https://github.com/cebe)'s [Markdown](https://github.com/cebe/markdown) library for parsing Mrkdown into WikiText syntax.

### Why new extension

[](#why-new-extension)

I have many markdown files that used to be source for our personal web in the past. But the provider is gone and I had many files on my disk with some not well known dialect of Markdown inside.

There is [Blake](https://github.com/bharley)'s [Markdown](https://github.com/bharley/mw-markdown). It's not working ion the version of MediaWiki I have and fixing it turns into this project. To be more flexible in parsing I swhitched backend library to [Cebe](https://github.com/cebe/markdown)'s [Markdown](https://github.com/cebe/markdown) parser. As well I inject some wiki syntax into the files and change the logic of the parsing.

Now it's possilbe to combine the Markkdown language with wiki syntax.

To simplify the extension I extracted [MarkdownWiki](https://github.com/PavelD/markdown-wiki) parser to separated project.

Instalation
-----------

[](#instalation)

- In `$mw` run `COMPOSER=composer.local.json composer require --no-update paveld/mw-markdown-wiki`, where `$mw` is a path to your MediaWiki installation
- In `$mw` run `composer update paveld/mw-markdown-wiki --no-dev -o`
- Add the following to `$mw/LocalSettings.php`:

```
wfLoadExtension( 'MarkdownWiki' );
```

Set MarkdwonWiki as default paser add to the file as well following code:

```
$wgMarkdownWikiDefaultOn = true;
```

Usage
-----

[](#usage)

To alow markdown syntax in the article put `{{MARKDOWN}}` tp the begging of the page.

To use Markdown on every page use `$wgMarkdownWikiDefaultOn` in `$mw/LocalSettings.php`

### Custom markdown elements

[](#custom-markdown-elements)

See [README.md](https://github.com/PavelD/markdown-wiki/blob/main/README.md) on the MarkdownWiki project page.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~5 days

Total

3

Last Release

1610d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fabf3e45d3819c1e4ecbedb2b3b1e663a9cbcf4e8eb233a38de7816c33b9aada?d=identicon)[PavelD](/maintainers/PavelD)

---

Top Contributors

[![PavelD](https://avatars.githubusercontent.com/u/447416?v=4)](https://github.com/PavelD "PavelD (17 commits)")

---

Tags

markdown-parsermediawiki-extensionmarkdownwiki

### Embed Badge

![Health badge](/badges/paveld-mw-markdown-wiki/health.svg)

```
[![Health](https://phpackages.com/badges/paveld-mw-markdown-wiki/health.svg)](https://phpackages.com/packages/paveld-mw-markdown-wiki)
```

###  Alternatives

[texy/texy

Texy converts plain text in easy to read Texy syntax into structurally valid (X)HTML. It supports adding of images, links, nested lists, tables and has full support for CSS. Texy supports hyphenation of long words (which reflects language rules), clickable emails and URL (emails are obfuscated against spambots), national typographic single and double quotation marks, ellipses, em dashes, dimension sign, nonbreakable spaces (e.g. in phone numbers), acronyms, arrows and many others. Texy code can optionally contain HTML tags.

159855.5k15](/packages/texy-texy)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)

PHPackages © 2026

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