Module:Article history: Difference between revisions

Content deleted Content added
always add the "Article milestones" header if we have one or more actions, or if the collapsible table is collapsed
add a "collapse" parameter to manually collapse/expand the template
Line 1,194:
 
-- Find out if we are collapsed or not.
local isCollapsed = yesno(self.args.collapse)
if self.cfg.uncollapsedRowsisCollapsed == 'all'nil then
if self.cfg.uncollapsedRows == 'all' then
isCollapsed = false
elseif nCollapsibleRows == 1 then
isCollapsed = false
else
isCollapsed = nCollapsibleRows > (tonumber(self.cfg.uncollapsedRows) or 3)
end
end