Extension:BudouX

The  extension provides a way to integrate Google BudouX to enable beautiful and readable line breaks for CJK languages.

Languages
BudouX is supported for Japanese, Simplified Chinese and Traditional Chinese at this time.

You must set a language suitable for your contents.


 * ja - Japanese
 * zh-hans - Simplified Chinese
 * zh-hant - Traditional Chinese

Styles
(option) If you want to display text as justified, edit MediaWiki:Common.css on your server as follows. This is optional, you can fully customize it.

Note: (MW 1.32+) You will need some permissions to edit Common.css, see: MediaWiki 1.32/interface-admin.

Exclude specified pages
(v1.0.1+)(option) If you want to exclude some pages, you can specify page names as follows. Case sensitive.

Adapt specified tags
(v1.0.1+)(option) If you want to limit adapted tags, you can specify tag names as follows. Set as lower case.

If this variable not defined, will be used [ "p", "dd", "li" ] by default.

Limitations
This extension works in NS_MAIN or $wgContentNamespaces only.

This extension will not work in auto translated pages by Extension:SubTranslate.

This extension show no errors. It may be terminated quietly if meet some error.

BudouX may be conflicted with mw:Help:Formatting styles (background color).

This extension is not supported to load a custom model at this time. If you want to use a custom model, try to use Extension:Postscript to add the script.