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

Content deleted Content added
Bullet not working, removing
Use 'science' pre-1865 instead of 'biology' due to lack of 'biology' cat structure
Line 476:
if isNilOrEmpty(sortkey) then sortkey = '' --default to none
else sortkey = '|'..sortkey end
if currYear > 1864 then
categories[iparent] = '[[Category:'..currYear..' in biology'..sortkey..']]'
else
categories[iparent] = '[[Category:'..currYear..' in science'..sortkey..']]' --biology cat structure doesn't exist pre-1865, as of 10/2018
end
elseif parent == 'environment' then
if isNilOrEmpty(sortkey) then sortkey = '' --default to none