Extension:UnicodeConverter

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 <translate> Any OSI approved license</translate>
Download
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/UnicodeConverter</tvar>|Download]] and move the extracted <tvar name=name>UnicodeConverter</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UnicodeConverter
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'UnicodeConverter' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>