Module:Category described in year/sandbox: Difference between revisions

Content deleted Content added
m workaround for regex limits
m -strays
Line 428:
--determine current/related/adjacent cats' properties/vars/etc.
local currGroup = mw.ustring.match(currCat, '^([%w ]+) described in)') --Bacteria/Plants/etc.
if currGroup == nil then mw.ustring.match(currCat, '^([%w ]+) by year of formal description)') end
if conf[currGroup] == nil then conf[currGroup] = conf['Default'] end --default to Default
local currYDCF = nil --possible future values: year/decade/century/formal