Content deleted Content added
. |
. |
||
(5 intermediate revisions by the same user not shown) | |||
Line 9:
local ptalk = 'Wikipedia talk:Arbitration/Requests/Case/'
function
local output = ''
if (count > 0) then
local div = mw.html.create( 'div' )
div
:css( 'text-align', 'left' )
:wikitext( '<p>\n' .. table.concat(tbl, '<
output = tostring( div )
else
Line 35:
table.insert(result, trim(str))
end
return
end
Line 52:
for str in gmatch(fd, re) do
if find(str, '^%s*Enforcement') then
end▼
if find(str, '^=') then▼
s = trim(sub(str, 2))▼
table.insert(result, ':[[' .. page .. '#' .. s .. '|' .. s .. ']]')▼
else
▲ if find(str, '^=') then
table.insert(result, "'''" .. str .. "'''")▼
▲ s = trim(sub(str, 2))
▲ table.insert(result, ':[[' .. page .. '#' .. s .. '|' .. s .. ']]')
else
▲ table.insert(result, "'''" .. str .. "'''")
▲ end
count = count + 1▼
end
▲ count = count + 1
end
return
end
Line 80 ⟶ 81:
if find(str, '^Amendment request')
or find(str, '^Clarification request') then
table.insert(result, '
count = count + 1
end
end
return
end
|