Jump to content

Extension:UnicodeConverter

From mediawiki.org
MediaWiki extensions manual
UnicodeConverter
Release status: stable
Implementation Special page
Description Example special page
Author(s) Tim Starlingtalk
MediaWiki >= 1.31.0
License GPL2 or Any OSI approved license
Download
Quarterly downloads 1 (Ranked 135th)
Translate the UnicodeConverter extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

This was the first special page extension. It was created as a demonstration showing how to create special page extensions. Its function is to take Unicode text pasted into an input box, and to show the text with any non-ASCII characters converted to HTML entities.

Installation

[edit]
  • Download and move the extracted UnicodeConverter folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UnicodeConverter
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'UnicodeConverter' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.