FANDOM


local GL = {}
 
 
function GL.test()
    glob1 = glob1 or 0
 
    local res = ''
 
    res = res .. mw.ustring.format('* %s - before: %s\n', 'glob1', glob1)
    glob1 = glob1 + 1
    res = res .. mw.ustring.format('* %s - after: %s\n', 'glob1', glob1)
 
    local glob2 = _G['glob2'] or 0
    res = res .. mw.ustring.format('* %s - before: %s\n', 'glob2', glob2)
    glob2 = glob2 + 1
    _G['glob2'] = glob2
    res = res .. mw.ustring.format('* %s - after: %s\n', 'glob2', glob2)
 
    return res
end
 
return GL

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.