Module:Language/data/ISO 639-3/make/doc

MyWikiBiz, Author Your Legacy — Friday November 15, 2024
< Module:Language‎ | data‎ | ISO 639-3‎ | make
Revision as of 23:30, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Language/data/ISO 639-3/make

Template:Lua

This is a crude tool that reads a local copy of a iso-639-3_Name_Index_YYYYMMDD.tab file from sil.org and extracts the information necessary to create the data table held by Module:Language/data/ISO_639-3

Usage

To use this tool:

  1. open a blank sandbox page and paste this {{#invoke:}} into it at the top line:
    {{#invoke:Language/data/ISO 639-3/make|ISO_639_3_extract|file-date=YYYYMMDD}}
    where YYYYMMDD is year, month, day from the .tab filename (used to place a file-date comment in Module:Language/data/ISO_639-3)
  2. go to and download the Complete Code Tables Set UTF-8 version zip file
  3. unzip the iso-639-3_Name_Index_YYYYMMDD.tab and open the file with a plain-text editor
  4. copy the data from the editor and paste it into the sandbox page below the {{#invoke:}}
  5. click Show preview
  6. wait
  7. get result

There is some crude error checking that will insert an error message in the output. No guarantees that such messaging will be helpful. Search for the word 'error' in the tool's output.