![]() Release status: beta |
|
---|---|
Implementation | Tag |
Description | Adds a new tag <php> to highlight PHP code with the internal PHP syntax highlighter |
Author(s) | IAlextalk |
MediaWiki | 1.23+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | Download extension Git [?]: |
Tags
<php> |
|
Hooks used
|
|
Quarterly downloads | 1 (Ranked 169th) |
Translate the PhpHighlight extension if it is available at translatewiki.net | |
The PhpHighlight extension defines a new tag <php> to highlight PHP code with the internal PHP syntax highlighter.
Installation
- Download and place the file(s) in a directory called
PhpHighlight
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
require_once "$IP/extensions/PhpHighlight/PhpHighlight.php";
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.