Content deleted Content added
. |
. |
||
Line 8:
local prefix = 'Wikipedia:Arbitration/Requests/Case/'
local ptalk = 'Wikipedia talk:Arbitration/Requests/Case/'
function makediv ( tbl, count )
local output = ''▼
if (count > 0) then▼
local div = mw.html.create( 'div' )▼
div▼
:css( 'text-align', 'left')▼
output = tostring( div )▼
else▼
output = "''none''"▼
end▼
return output▼
function p.dates( frame )
Line 19 ⟶ 33:
local re = '\n<big>(.-)</big>'
for str in gmatch (pagecontent, re) do
table.insert(result,
end
return
end
Line 49 ⟶ 63:
end
return makediv ( result, count )
▲ local output = ''
▲ if (count > 0) then
▲ local div = mw.html.create( 'div' )
▲ div
▲ :css( 'text-align', 'left')
▲ :wikitext( table.concat(result, '\n'))
▲ output = tostring( div )
▲ else
▲ output = "''none''"
▲ end
▲ return output
end
Line 81 ⟶ 84:
end
end
return makediv ( result, count )
▲ end
end
|