Content deleted Content added
Tom.Reding (talk | contribs) m config |
Tom.Reding (talk | contribs) m ce, from sandbox |
||
Line 101:
local minYear = tonumber(conf[currGroup].minyear)
if minYear == nil or
(minYear and (minYear <= 1700 or minYear >= 2000))
then minYear = 1758 --default to 1758 per ICZN Art. 5
end
Line 324 ⟶ 325:
end --if currCat then
--build header
local br = '<br />'
local n = '\n'
if nav then header = nav end
if portal then header = header..
if commons then header = header..
if wikispecies then header = header..
if description and description ~= '' then
header = header..description
elseif portal or commons or wikispecies then
header = mw.ustring.gsub(header,
end
if toc then header = header..br..toc end
--rem surrounding whitespace
header = mw.text.trim(header)
header = mw.ustring.gsub(header, '^
header = mw.ustring.gsub(header,
--append header to outString
Line 346 ⟶ 350:
--append cats to outString
if currentTitle.namespace == 14 then --category namespace
if table.maxn(categories) > 0 then
outString = outString..table.concat(categories) end outString = outString..table.concat(trackingCats)
else
|