Module:Article history: Difference between revisions

Content deleted Content added
add Row:cachedTry, to standardise caching for methods called multiple times
make Row:_cachedTry respect debug mode, and turn debug mode on
Line 10:
local CONFIG_PAGE = 'Module:Article history/config'
local WRAPPER_TEMPLATE = 'Template:Article history'
local DEBUG_MODE = falsetrue -- If true, errors are not caught.
 
-- Load required modules.
Line 154:
end
local success
if DEBUG_MODE then
success, ret = pcall(func)
success = true
ret = func()
else
success, ret = pcall(func)
end
if success then
if ret then