Module:usex: Difference between revisions

Jump to navigation Jump to search
292 bytes removed ,  29 April 2021
no edit summary
(Created page with "local export = {} local translit_data = mw.loadData("Module:transliteration/data") local needs_translit = translit_data[1] -- microformat2 classes, see https://phabricator.w...")
 
No edit summary
Line 84: Line 84:


if substs then
if substs then
--[=[
[[Special:WhatLinksHere/Template:tracking/quote/substs]]
[[Special:WhatLinksHere/Template:tracking/usex/substs]]
]=]
if quote then
require("Module:debug").track("quote/substs")
else
require("Module:debug").track("usex/substs")
end
local substs = mw.text.split(substs, ",")
local substs = mw.text.split(substs, ",")
for _, subpair in ipairs(substs) do
for _, subpair in ipairs(substs) do
Line 150: Line 139:
usex = require("Module:script utilities").tag_text(usex, lang, sc, face,
usex = require("Module:script utilities").tag_text(usex, lang, sc, face,
quote == "quote-meta" and class.quotation_with_citation or
quote == "quote-meta" and class.quotation_with_citation or
quote and class.quotation or class.example)
quote and class.quotation or "usex")
else
else
if transliteration then
if transliteration then

Navigation menu