Changes
edge cases
local class = 'noprint plainlinks hlist navbar';
local title;
args[1] = trim( args[1] or '' );
if args[1] == '' then
title = mw.title.new( '' );
elseif args[1]:sub(1,1) == ':' then
title = mw.title.new( args[1] :sub(2) );
else
title = mw.title.new( 'Template:' .. args[1] );
end
local mainpage, talkpage, editurl;