Contents of restricted pages are leaked through Scribunto functions
The content of a restricted page may be leaked by using the getContent
function in Lua, for example:
local p = {}
function p.content( frame )
return mw.title.new("Restricted article"):getContent()
end
return p