Investigation card for wish #20: Create new Han characters with IDS extension for Wikisource
The main ticket is {T137786}.
The investigation is -- what still needs to be done? Several people have been working on it. How can we help to get it finished?
See also https://meta.wikimedia.org/wiki/2016_Community_Wishlist_Survey/Categories/Wikisource#Create_new_Han_Characters_with_IDS_extension_for_WikiSource
----
== Investigation
**Background:**
- Adding [[https://en.wikipedia.org/wiki/Chinese_character_description_languages#Ideographic_Description_Sequences|IDS]] support to wikis means that rather than using manually-created images to represent characters that are not (yet) present in unicode, contributors will be able to add these characters directly from the edit interface. IDS operates via 12 special 'operator' unicode characters that prefix other characters to create new ideographs.
- The [[https://www.mediawiki.org/wiki/Extension:Ids|IDS extension]] works by sending these character combinations (defined within an `<ids>…</ids>` element) to a web service that returns a PNG of the resulting ideograph.
**Current situation:**
- Active development is underway (most recent activity a couple of weeks ago) by users including @Shoichi and @awight
- The (GPL-2.0) extension code is at https://github.com/MGdesigner/Mediawiki-IDSextension — it's only about 25 lines of code
- The (Java, AGPL-3.0) web service tool is at https://github.com/sih4sing5hong5/han3_ji7_tsoo1_kian3 (27 open issues, but most are from within about the last 18 months)
- A [[https://github.com/Wikimedia-TW/han3_ji7_tsoo1_kian3_WM|fork]] of this is maintained by Wikimedia Taiwan, but it's currently [[https://github.com/sih4sing5hong5/han3_ji7_tsoo1_kian3/compare/master...Wikimedia-TW:master|the same as]] upstream
- Much of han3_ji7_tsoo1_kian3 is in Chinese, which is a barrier to non-Sinophone developers — however, it [[https://phabricator.wikimedia.org/T148693#2837458|sounds like]] the upstream author has agreed that things should be translated to English instead
- A test installation of the web service is running at https://tools.wmflabs.org/idsgen/
- The `mediawiki/extensions/Ids` repository has been [[https://www.mediawiki.org/wiki/Git/New_repositories/Requests|requested]] by @awight
- A test wiki has been set up at http://ids-testing.wmflabs.org/wiki/
**Still required:**
- [ ] Move the extension repository into Diffusion
- [ ] Set up an IDS Phabricator project
- [ ] Security (and code style etc.) review of the extension
- [ ] Add ability to configure the web service endpoint to the extension (hardcoded at the moment)
- [ ] Translate han3_ji7_tsoo1_kian3 into English
- [ ] Security (etc.) review of han3_ji7_tsoo1_kian3
- [ ] {T137786}
- [ ] {T148693}