View source for Module:R avoided double redirect
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
local function noredir(page)
local link = page:fullUrl("redirect=no")
return "<span class=\"plainlinks\">[" .. link .. " " .. page.fullText .. "]</span>"
end
function p.main(frame)
local args = require("Module:Arguments").getArgs(frame, {removeBlanks=false})
-- Demo parameters, for demonstrating behavior with certain redirect
-- targets and avoiding categorization (do not use in articles)
local noError = args.noerror
local demo = args.demo or noError or args.thistarget or args.othertarget
local function formatError(err)
return "<span class=\"error\">Error in [[Module:R avoided double redirect]]: " .. err .. "</span>"
.. (demo and "" or "[[Category:Avoided double redirects/error]]")
end
000
1:0
Template used on this page:
Return to Module:R avoided double redirect.