Module:Sandbox/Aidan9382/DiscussionOverview: Difference between revisions

Content deleted Content added
Ignore # for getUserMentions
Add header text to the wikitable
Line 133:
local sections = getSectionData(text)
local tableContent = '{| class="wikitable sortable"\n!| Sectionstyle="text-align:center" !!colspan=6 Initiator| !!<b>Conversation Lastsummary Commentfor !![[' Size.. !! Participants !! Mentions'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")