Jump to content

Module:AfC submission catcheck

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by WOSlinker (talk | contribs) at 11:55, 16 April 2013 (WOSlinker moved page Module:User::WOSlinker/sandbox to Module:User:WOSlinker/sandbox without leaving a redirect). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local i = {}

function i.checkforcats(frame)
    local t = mw.title.getCurrentTitle()
    tc = t:getContent()
    if mw.ustring.match(tc, "%[%[%s-[Cc]ategory:" ) == nil then
        return ""
    else
        return "found cats"
    end
end
 
return i