/SyntaxHighlightPages

MediaWiki extension to syntax highlight pages based on title suffixes.

Primary LanguagePHPMIT LicenseMIT

SyntaxHighlightPages

Syntax highlight pages based on title suffixes.

The extension additionally adds a Download link to the toolbox on highlighted pages.

Setup

This extension depends on Extension:SyntaxHighlight.

Place the extension in your extensions directory and load it with wfLoadExtension('SyntaxHighlightPages');.

You can customize the enabled suffixes with the $wgSyntaxHighlightPagesSuffixes array.