Changes

no edit summary
Line 284: Line 284:  
     end
 
     end
 
end
 
end
 +
 +
function Utils.test(obj, desc, fn)
 +
    obj.test = function()
 +
        mw.log(desc)
 +
        fn(obj)
 +
        mw.log("ok")
 +
    end
 +
end
 +
 +
Utils.log = mw.log
    
function Utils.format(s, lookup)
 
function Utils.format(s, lookup)
cssedit, gkautomate
6,926

edits