Template:Module:IsValidPageName
From Chalo Chatu, Zambia online encyclopedia
-- This module implements Template:isValidPageName.
local export = {}
function export.isValidPageName(frame) local success, res = pcall(mw.title.new, frame.args[1]) if success and res then return "valid" else return "" end end
return export