Modul:Protection banner: Unterschied zwischen den Versionen

make the args table optional from p._main
(simplify reason-setting code)
(make the args table optional from p._main)
Zeile 806: Zeile 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')
Anonymer Benutzer