User:Kephir/Unicode

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Below are scripts I use for maintaining the Unicode database at Module:Unicode data.

How to use scripts on this page

[edit]

Ingredients: GNU Make, GNU awk, GNU wget.

  1. Put the scripts below in a dedicated directory.
  2. Run make clean, then make.
  3. The Unicode database will be downloaded, and several .lua files will be generated from it. Save them in appropriate locations as specified in the table below.
  4. Update the Unicode version number wherever you find it (e.g. Module:character list)
  5. Done. Throw a drinking party.
File name Wiktionary page
aliases.lua Module:Unicode data/aliases
blocks.lua the blocks table in Module:Unicode data
combining.lua Module:Unicode data/combining
control.lua Module:Unicode data/control (includes Cx and Zx)
names_XXX.lua Module:Unicode data/names/XXX

Scripts

[edit]