Jump to content

Module:AWBVersions

ຈາກ ວິກິພີເດຍ

Documentation for this module may be created at Module:AWBVersions/doc

local p = {}

function p.main( frame )
    local decoded = mw.loadJsonData( 'Wikipedia:AutoWikiBrowser/CheckPage/VersionJSON' )
    local output = ''
    for i, v in ipairs(decoded.enabledversions) do
    	output = output .. '* ' .. v.version
    	if v.dev then
    		output = output .. ' (svn)'
    	end
    	output = output .. '\n'
    end
    
    return output
end

return p