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

Content deleted Content added
Grab everything before ' described in' to accomodate 'Fossil taxa'
m Fix regex
Line 392:
--determine current/related/adjacent cats' properties/vars/etc.
local currGroup = mw.ustring.match(currCat, '^([%w%s ]+?) described in') --Bacteria/Plants/etc.
if conf[currGroup] == nil then conf[currGroup] = conf['Default'] end --default to Default
local currYDC = nil --possible future values: year/decade/century