Module:IPA/category documentation: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

19 June 2025

  • curprev 09:5009:50, 19 June 2025 Fire talk contribs 3,840 bytes +3,840 Created page with "require('strict') local p = {} local lects = mw.loadData('Module:IPA/data/export') local mLang = require('Module:Lang') function p.lookup_name( name ) for _, lect in ipairs(lects) do if (lect.name or lect.extName) == name then return lect.code, lect, lect.parent end end local code = mLang._tag_from_name({ name }) if not code:find('^<span') then local regionCode = code:match('-(.+)') if regionCode and regionCode:sub(1, 2) ~= 'x-' then code = code:sub(..."