Extension: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 | 3 (Ranked 172nd) |
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.
InstallationEdit
- Download and place the file(s) in a directory called
UnicodeConverter
in yourextensions/
folder. - Add the following code at the bottom of your
LocalSettings.php
:wfLoadExtension( 'UnicodeConverter' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To users running MediaWiki 1.24 or earlier:
The instructions above describe the new way of installing this extension using wfLoadExtension()
.
If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'UnicodeConverter' );
, you need to use:
require_once "$IP/extensions/UnicodeConverter/UnicodeConverter.php";