Module:Sandbox/Aidan9382/DiscussionOverview: Difference between revisions

Content deleted Content added
Re-fetch the # thanks to ' and whatever
{{user}} template makes this hard but test preprocessing section name
Line 136:
.. ']]\n|-\n! Section !! Initiator !! Last Comment !! Size !! Participants !! Mentions'
for _,section in next,sections do
local sanitisedName = string.gsub(string.gsub(frame:preprocess(section.name),"%[%[:?[^|]-|([^%]]-)]]","%1"),"%[%[:?([^%]]-)]]","%1")
local wikilinkAnchor = "[[:"..page.."#"..sanitisedName.."|"..sanitisedName.."]]"
local membersInText = getUserMentions(section.content)