Page MenuHomePhabricator

A standalone version of simplified-traditional Chinese converter
Open, LowPublicFeature

Description

Author: barabbas

Description:
This converter re-uses LanguageZh.php to ensure the consistency of conversion
results.
It helps normalizing dumped files of http://download.wikimedia.org/zhwiki/ to
simplified Chinese or traditional Chinese texts, not mixtures of them.


Version: unspecified
Severity: enhancement
OS: FreeBSD
Platform: PC

Details

Reference
bz5343

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:09 PM
bzimport set Reference to bz5343.
bzimport added a subscriber: Unknown Object (MLST).

barabbas wrote:

a standalone simplified-traditional Chinese converter

It should be put and run under the directory "maintenance"

Attached:

barabbas wrote:

Sorry, please apply this patch of a small bug for the last line of the xml file:

64,65c64
< if(strpos($outputBuffer_, "</page>") !== FALSE ||

< strpos($outputBuffer_, "</mediawiki>") !== FALSE) {

if(strpos($outputBuffer_, "</page>") !== FALSE) {

If this is still wanted, somebody would need to turn the attachment into a patch and put it into Gerrit. See https://www.mediawiki.org/wiki/Developer_access

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.