Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(simplify reason-setting code) |
(make the args table optional from p._main) |
||
Line 806: | Line 806: | ||
function p._main(args, cfg, title) |
function p._main(args, cfg, title) |
||
args = args or {} |
|||
if not cfg then |
if not cfg then |
||
cfg = mw.loadData('Module:Protection banner/config') |
cfg = mw.loadData('Module:Protection banner/config') |