Module:StarLing

Hello, you have come here looking for the meaning of the word Module:StarLing. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:StarLing, but we will also tell you about its etymology, its characteristics and you will know how to say Module:StarLing in singular and plural. Everything you need to know about the word Module:StarLing you have here. The definition of the word Module:StarLing will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:StarLing, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module fixes characters in headwords so that words can be looked up in StarLing.


local export = {}

-- StarLing isn't consistent about Unicode normalization. Some letters are
-- decomposed (NFD), others are composed (NFC).
function export.fix_unicode_and_url_encode(text)
	text = mw.ustring.gsub(text, "+", mw.ustring.toNFD)
	return mw.uri.encode(text)
end

function export.fix_unicode_and_url_encode_frame(frame)
	return export.fix_unicode_and_url_encode(frame.args)
end

return export