Module:Protection banner: Difference between revisions

m
call it "reasonTable" throughout, rather than switching between "reasonTable" and "reasonsTable"
(add a Documentation class for autogenerating the reason documentation)
m (call it "reasonTable" throughout, rather than switching between "reasonTable" and "reasonsTable")
Line 801:
end
 
function Documentation:makeReasonsTablemakeReasonTable()
-- Get the data from the cfg.banners table.
local rowData = {}
Line 879:
local cfg = mw.loadData('Module:Protection banner/config')
local documentationObj = Documentation:new(cfg)
return documentationObj:makeReasonsTablemakeReasonTable()
end