Extension:ChineseTools

This extension converts Chinese characters (both Simplified and Traditional) to pinyin letters, and also converts Traditional Chinese characters to Simplified Chinese characters. The original conversion utility was designed by PrimeZeroTools.

C-Pop Fantasie has created a MediaWiki extension based on this utility, primarily used for dynamically converting Traditional Chinese lyrics into pinyin and Simplified Chinese.

The website for the extension can be found here.

Download instructions
Please download and extract the files here and place them in.

Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Parameters

 * type:
 * 's' = Convert Traditional Chinese text to Simplified Chinese text
 * 'p' = Convert Traditional or Simplified Chinese text to pinyin (with tones)

Examples
測試 測試