Changes
Jump to navigation
Jump to search
don't keep the whole export table around when we only need one thing from it
require('Module:No globals')
local class = require('Module:Middleclass').class
local mFileLink newFileLink = require('Module:File link').newlocal mProtectionLevel effectiveProtectionLevel = require('Module:Effective protection level')._main
local yesno = require('Module:Yesno')
-- Set level
do
local level = mProtectionLevel._maineffectiveProtectionLevel(self._action, titleObj)
if level == 'accountcreator' then
-- Lump titleblacklisted pages in with template-protected pages,
or self._configObj:getMessage('image-filename-default')
or 'Transparent.gif'
return mFileLink.newnewFileLink(filename)
:width(self._imageWidth or 20)
:alt(self._imageAlt)