توضیحات این پودمان میتواند در پودمان:IsValidPageName/توضیحات قرار گیرد.
-- 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 "معتبر است"
else
return ""
end
end
return export