Module:Protection banner: Difference between revisions

Replace Module:Vandal-m per TfD; getting this over-two-year-old merge proposal finally completed
(don't add protection categories or show padlock icons for user js/css pages; based on code contributed by User:ProcrastinatingReader)
(Replace Module:Vandal-m per TfD; getting this over-two-year-old merge proposal finally completed)
Line 652: Line 652:


function Blurb:_makeVandalTemplateParameter()
function Blurb:_makeVandalTemplateParameter()
return require('Module:Vandal-m')._main{
return mw.getCurrentFrame():expandTemplate{
self._args.user or self._protectionObj.title.baseText
title="vandal-m",
args={self._args.user or self._protectionObj.title.baseText}
}
}
end
end
Anonymous user