Module:Footnotes/anchor id list/sandbox: Difference between revisions

Content deleted Content added
use require('strict') instead of require('Module:No globals')
No edit summary
Tag: Reverted
Line 107:
if not Article_content then
Article_content = mw.title.getCurrentTitle():getContent() or ''; -- get the content of the article or ''; new pages edited w/ve do not have 'content' until saved; ve does not preview; phab:T221625
if '' == Article_content then
error ('no article content')
end
for _, tag in ipairs (patterns_tags) do
Article_content = Article_content:gsub (tag, ''); -- remove certain html-like tags and their content