Module:Sandbox/Aidan9382/DiscussionOverview: Difference between revisions

Content deleted Content added
Can fix sorting like this, that works ig
bold doesnt work with !, woops
Line 133:
local sections = getSectionData(text)
local tableContent = '{| class="wikitable sortable"\n! style="text-align:center" colspan=6 | <b>Conversation summary for [[' .. page
.. ']]</b>\n|-\n! Section !! Initiator !! Last Comment !! Size !! Participants !! Mentions'
for _,section in next,sections do
local sanitisedName = string.gsub(string.gsub(section.name,"%[%[:?[^|]-|([^%]]-)]]","%1"),"%[%[:?([^%]]-)]]","%1")