Module:Footnotes/whitelist/sort and Module:Footnotes/whitelist/sort/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Trappist the monk
No edit summary
 
imported>Hike395
sandbox version operating on sandbox whitelist
 
Line 85: Line 85:
local temp, temp2 = {}, {};
local temp, temp2 = {}, {};


local content = mw.title.new('Module:Footnotes/whitelist'):getContent(); -- read the module plain text
local content = mw.title.new('Module:Footnotes/whitelist/sandbox'):getContent(); -- read the module plain text
local find_pattern = '%s*local%s+whitelist%s+=%s+'; -- find the whitelist table
local find_pattern = '%s*local%s+whitelist%s+=%s+'; -- find the whitelist table