d24ee2e939
Use newest Unihan_Readings.txt and adapt to the structure change of it; PHP 7.4 compatibility fix |
||
---|---|---|
i18n | ||
includes | ||
maintenance | ||
LICENSE | ||
README.md | ||
extension.json |
README.md
PinyinSort 0.2.0
Add pinyin as a category sorting collation
Install
- Clone the respository, rename it to PinyinSort and copy to extensions folder
- Add
wfLoadExtension('PinyinSort')
; to your LocalSettings.php - Add
$wgCategoryCollation = 'pinyin';
to your LocalSettings.php to activate PinyinSort- You need to run
updateCollation.php
as an post-requisite for changing collation.
- You need to run
- You are done!
Configuration
- Alternatively, you can use
$wgCategoryCollation = 'pinyin-noprefix';
to automatically strip prefixes.- For example, "Subproject:PageA" will be transformed to "PageA" during collation process.
- You need to run
updateCollation.php
as an post-requisite for changing collation.