Module:Category described in year: Difference between revisions

Content deleted Content added
+Taxa tree ('biology' parent used instead, b/c it's more specific than 'science'); +'environment' parents to species-year & species-century cats; 'Taxa' don't belong in 'environment' b/c fossil taxa have no anthropocentric relevance, antithetical to the 'environment' cats' description
m currYear
Line 471:
elseif parent == 'biology' then
if sortkey == nil then sortkey = '' end --default to none
categories[iparent] = '[[Category:'..yearcurrYear..' in biology|'..sortkey..']]'
elseif parent == 'environment' then
if sortkey == nil then sortkey = '' end --default to none
categories[iparent] = '[[Category:'..yearcurrYear..' in the environment|'..sortkey..']]'
elseif mw.ustring.match(parent, '^%u%l') then --e.g. Animals/Insects
if sortkey == nil then sortkey = '' --default to none