Changes
Fix event drops overflow collapsible
details = format{self._details_template, details = table.concat(details, ", ")}
details = format{self._details_template, details = table.concat(details, ", ")}
if details_len > self._max_drops_before_collapsible then
if details_len > self._max_drops_before_collapsible then
table.insert(result, tostring(mw.html.create("div"):addClass("mw-collapsible"):addClass("mw-collapsed"):wikitext(self._event_drop_label):tag("div"):addClass("mw-collapsible-content"):wikitext(details)))
table.insert(result, tostring(mw.html.create("div"):addClass("mw-collapsible"):addClass("mw-collapsed"):wikitext(self._event_drop_label):tag("div"):addClass("mw-collapsible-content"):wikitext(details):allDone()))
else
else
table.insert(result, self._event_drop_label .. details)
table.insert(result, self._event_drop_label .. details)