"मोड्युल:Article history" का संशोधनहरू बिचको अन्तर

Content deleted Content added
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
only output the current status row if there is a status object present, and remove the "status-unknown" message as there should always be a status name if there is a status object
पङ्क्ति १,२९३:
-- Current status.
if statusObj and nActionRows > 1 then
local statusText
if statusObj then
statusText = statusObj.name
end
statusText = statusText or self:message('status-unknown')
collapsibleTable
:tag('tr')
:tag('td')
:attr('colspan', 3)
:wikitext(self:message('status-blurb', statusTextstatusObj.name))
end
end