Modifiche
nothing in data.heads, so must use pagename
data.sc = (args["sc"] and (require("Module:scripts").getByCode(args["sc"]) or error("The script code \"" .. args["sc"] .. "\" is not valid.")) or nil)
end
-- Script-tags the header in Mongolian-script entries.
local display_title = ""
local pagename = mw.title.getCurrentTitle().text
if not data.sc then
data.sc = require("Module:scripts").findBestScript(data.heads[1]pagename, data.lang)
end
if data.sc and data.sc:getCode() == "Mong" then
display_title = frame:callParserFunction("DISPLAYTITLE", '<span class="Mong">' .. mw.title.getCurrentTitle().text pagename .. '</span>')
end