Jump to content

Module:Sortkey

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by TheDJ (talk | contribs) at 21:13, 22 June 2018 (very simple lua module to escape html data attribute for the sortkey). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

local p = {}
function p.encode(frame)
    return mw.text.encode(frame.args[1])
end
return p