Module:Authority control: Difference between revisions

imported>Fire
Created page with "require('strict') local p = {} local title = mw.title.getCurrentTitle() local namespace = title.namespace local testcases = (string.sub(title.subpageText,1,9) == 'testcases') local function addCat(cat,sortkey) if cat and cat ~= '' and (namespace == 0 or testcases) then local redlinkcat = '' if testcases == false and mw.title.new(cat, 14).exists == false then redlinkcat = 'Category:Pages with red-linked authority control categories' end if sortkey then..."
 
(No difference)