Anonymous user
Module:Redirect hatnote: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Updated from sandbox to fix argument initialization bug
(text= option) |
(Updated from sandbox to fix argument initialization bug) |
||
Line 68:
-- Functionality for adding categories
local categoryTable = {}
local function addCategory(cat)
if cat and cat ~= '' then
-- Add by index to avoid duplicates
Line 90:
local mRedirect = require('Module:Redirect')
local target = mRedirect.getTarget(redirectTitle)
if
addCategory('Articles with redirect hatnotes needing review')
end
|