"मोड्युल:Article history" का संशोधनहरू बिचको अन्तर
Content deleted Content added
Undid revision 642591985 by Mr. Stradivarius (talk) let's keep things the same as the current template until we roll this out |
rename noCollapsibleRows to nCollapsibleRows; use a nActionRows variable instead of calculating the number every time; and output the current status row if there is more than one action |
||
पङ्क्ति १,१८९:
)
end
local
local nCollapsibleRows = nActionRows + #collapsibleNoticeHtmlObjects
-- Find out if we are collapsed or not.
Line १,१९५ ⟶ १,१९६:
if self.cfg.uncollapsedRows == 'all' then
isCollapsed = false
elseif
isCollapsed = false
else
isCollapsed =
end
Line १,२१६ ⟶ १,२१७:
-- notices are only included in the table if it is collapsed. Action rows
-- are always included.
if isCollapsed or
-- Collapsible table base
local collapsibleTable = tableRoot
Line १,२३० ⟶ १,२३१:
:css('font-size', '90%')
if
-- Header row
local ctHeader = collapsibleTable
Line १,२६१ ⟶ १,२६२:
-- Subheadings
if
collapsibleTable
:tag('tr')
Line १,२९२ ⟶ १,२९३:
-- Current status.
if
local statusText
if statusObj then
|