Extension:UnihanTag

This extension allows users to add data from the Unicode Han Database to Mediawiki pages without typing in the data manually. This includes Mandarin Pinyin and Cantonese Jyutping.


 * Project Homepage: UnihanTag Extension - the-b.org
 * Source Code: UnihanTag.php
 * Licensing: UnihanTag is released under GNU General Public License V3.

Installation

 * 1) Download UnihanTag.php and makedbm.pl and place them under $IP/extensions/UnihanTag/
 * Note:  is your MediaWiki install directory.
 * 1) Download Unihan database Unihan.txt and put it under $IP/extensions/UnihanTag
 * 2) Convert the Unihan text file into a CDB with:
 * perl makedbm.pl
 * 1) Enable the extension by adding this line to your :

Usage
You can utilize UnihanTag by adding the &lt;unihan> tag to articles:

This results in:

老师 (Pinyin: l&#462;o sh&#299;)