Changes
Jump to navigation
Jump to search
return self:_makeDisputeLinkParameter() -- A link to the page history or the move log return self:_makeDisputeLinkParameter()
return self:_makeSubjectPageLinksParameter() -- Adds links to edit requests and the talk page if we are on a -- subject page return self:_makeSubjectPageLinksParameter()
if local protectionDate = self._protectionDate _protectionStatusObj:getProtectionDate() if protectionDate then
self._protectionDateprotectionDate
add some more blurb parameter functions
self._expiry = args.expiry or 'indef'
self._section = args.section
self._protectionDate = args.date
self._username = args.user
end
function ProtectionStatus:getSection()
return self._section
end
function ProtectionStatus:getProtectionDate()
return self._protectionDate
end
function ProtectionStatus:getUsername()
return self._username
end
parameterFuncs[9] = function ()
end
parameterFuncs[14] = function ()
end
function Blurb:_makeProtectionDateParameter()
-- parameter $5
local lang = mw.language.getContentLanguage()
local success, date = pcall(
lang,
'j F Y',
)
if success and date then
end
end
end
function Blurb:_makeVandalTemplateParameter()
local mVandalM = require('Module:Vandal-m')
local username = self._protectionStatusObj:getUsername()
username = username or self._titleObj.baseText
return mVandalM.luaMain{username}
end