Module:Category described in year: Difference between revisions

Content deleted Content added
m Sort year-cats by year, and decade cats by decade, for decade-parents century-parents only (Animal-type-parents use alphabetical sortkey); -ws
m --ce/update
Line 187:
local currDeca = mw.ustring.match(currCat, 'described in the (%d%d%d%d)s$')
local currCent = mw.ustring.match(currCat, 'described in the (%d+)[snrt][tdh] century$')
local parentDeca = nil --used with currYear (e.g. Spiders) & currDeca (e.g. Spiders)
local parentCent = nil --used with currYear (e.g. Fish) & currDeca (e.g. Spiders)
local lastCent, nextCent = nil, nil --used with currYear (e.g. Fish), & currCent (e.g. Fish)
local minYear = tonumber(conf[currGroup].yearmin)
Line 218:
--conf error checkng (missing keys)
--Numeric sortkeys are unfortunately grouped together under "0-9".
--Check phab T203355 (Magic word to force category number headings instead of 0-9).
if bConfError == false then
if conf[currGroup] == nil then