Jump to content

Module:Protection banner: Difference between revisions

make the args table optional from p._main
(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')
Cookies help us deliver our services. By using our services, you agree to our use of cookies.