Anonymous user
Module:Category handler/shared: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
allow specifying a custom blacklist
(move blacklist-matching function from Module:Category handler) |
(allow specifying a custom blacklist) |
||
Line 2:
-- and its submodules.
local
return nil
end
▲ if type(page) ~= 'string' then return end
for i, pattern in ipairs(blacklist) do
local match = mw.ustring.match(page, pattern)
|