Content deleted Content added
remove debugging stuff and update the submodule name |
get rid of the antiquarian html, plus a couple of small fixes |
||
Line 136:
local daysLeft
if secondsLeft <= 0 then
daysLeft = '
else
daysLeft = mw.ustring.gsub( lang:formatDuration(secondsLeft, {'days', 'hours'}), ' and', ',')
Line 162:
local function makeReportRows(rfxType)
local ret = ''
for i, rfx in ipairs(r[rfxType]) do
local dups
Line 171:
end
local style = ''
if r[rfxType][i].timeLeft == 'Pending closure...' then
style = ' style="background: #f8cdc6;" |'
styleInline = ' background: #f8cdc6;'
end
local page = r[rfxType][i].page
Line 179 ⟶ 181:
|-
|%s
|
|
|
|
|%s
|%s
| style="text-align: right;%s" | %s
|%s
style, page, r[rfxType][i].user,
colour, r[rfxType][i].percent,
style, r[rfxType][i].endTime,
style, r[rfxType][i].timeLeft,
style, r[rfxType][i].report
)
Line 207 ⟶ 209:
makeRfxTables('rfb')
local
local clear = args.clear or 'left'
Line 214 ⟶ 216:
ret = ret .. args.style
else
ret = ret .. '
.. 'margin-top: 0em; margin-bottom: .5em; float: ' ..
.. 'padding: .5em 0em 0em 1.4em; background: .. 'border-collapse: collapse; border-spacing: 0;"'
end
if #r.rfa > 0 then
|