Extension:SyntaxHighlightPages
SyntaxHighlightPages Release status: beta |
|
---|---|
Implementation | ContentHandler |
Description | Syntax highlight pages based on title suffixes. |
Author(s) | (Gittenburgtalk) |
Latest version | 0.1.0 (2019-07-13) |
Compatibility policy | master |
MediaWiki | 1.31+ |
License | MIT License |
Download | GitHub: Note: |
$wgSyntaxHighlightPagesSuffixes |
|
Translate the SyntaxHighlightPages extension if it is available at translatewiki.net | |
Check usage and version matrix. |
The SyntaxHighlightPages extension highlights pages based on title suffixes; it depends on Extension:SyntaxHighlight.
Additionally the extension adds a Download link to the toolbox on highlighted pages.
InstallationEdit
- Install Extension:SyntaxHighlight.
- Download and place the file(s) in a directory called
SyntaxHighlightPages
in yourextensions/
folder.
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'SyntaxHighlightPages' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parametersEdit
- $wgSyntaxHighlightPagesSuffixes
- The enabled suffixes.