Permanently protected module

Module:Normalized pagename

From Yugipedia
Jump to: navigation, search
Module documentation[view] [edit] [history] [purge]

Implements {{Normalized pagename}}.

-- <pre>

--
-- implements {{Normalized pagename}}
--

local p = {}

function p.main( frame )
    local args = frame:getParent().args;

    local pagename = args[ 1 ] or mw.title.getCurrentTitle().prefixedText

    return mw.text.decode( pagename )
end

return p

-- </pre>