Content deleted Content added
ok |
this should work |
||
Line 24:
function p.retrieve_open_requests( frame )
local pg = mw.title.new( "Wikipedia:Requests for adminship" )
return ""▼
local text = pg:getContent()
local t = {}
local k = 0
for x in string.gmatch( text, "\{\{(Wikipedia:Requests for adminship/.-)\}\}") do
if not(mw.title.equals( x, "Wikipedia:Requests for adminship/Front matter") or mw.title.equals(x, "Wikipedia:Requests for adminship/bureaucratship")) then
t[k] = x
k = k +1
end
end
end
|