Skip to content

Provide pinyin collation for category sorting for MediaWiki

License

Notifications You must be signed in to change notification settings

moegirlwiki/MW-PinyinSort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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.

About

Provide pinyin collation for category sorting for MediaWiki

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%