Module:RFX report: Difference between revisions

Content deleted Content added
add "Header" to exceptions
merge from sandbox, add abbrs for headers
Line 8:
local function getRfxes()
-- Get the title object for [[Wikipedia:Requests for adminship]].
local noError, rfa = pcall( mw.title.new, 'WikipediaUser:Requests for adminshipFirefly/sandbox2' )
if not noError or ( noError and not rfa ) then
return nil
Line 113:
 
local function makeHeading( rfxType )
local frame = mw.getCurrentFrame()
local rfxCaps
if rfxType == 'rfa' then
Line 122 ⟶ 123:
end
return mw.ustring.format(
'\n|-\n! %s candidate !! <abbr title="Support">S</abbr> !! <abbr title="Oppose">O</abbr> !! <abbr title="Neutral">N</abbr> !! <abbr title="%% Support">S %%</abbr> !! Status !! Ending (UTC) !! Time left !! Dupes<abbr title="Has duplicate votes?">Dups?</abbr> !! Report',
rfxCaps
)