Module:Excerpt: Difference between revisions

Content deleted Content added
Supporting named article keys in Transclude selected excerpt. Dispose of Efn-ua templates.
Handle {{Sfnm}}
Line 68:
 
local function striptemplate(t)
local unwanted = {"[Ee]fn", "[Ee]fn%-[lu]a", "[Ee]l[mn]", "[Rr]p?", "[Ss]fn[bpbmp]", "[Ss]f[bn]", "NoteTag", "#[Tt]ag:%s*[Rr]ef", "[Rr]efn?",
"[CcDd]n", "[Cc]itation needed", "[Dd]isambiguation needed"}
for _, u in pairs(unwanted) do