Module:YearNav: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 21: Line 21:
     _, _, OriginalYear = string.find(PageName, "(%d%d%d%d)")
     _, _, OriginalYear = string.find(PageName, "(%d%d%d%d)")
     --DebugOutput = "ThisPageTitle " .. ThisPageTitle .. " Prefix " .. Prefix .. " Namespace " .. Namespace .. " PageName " .. PageName
     --DebugOutput = "ThisPageTitle " .. ThisPageTitle .. " Prefix " .. Prefix .. " Namespace " .. Namespace .. " PageName " .. PageName
     DebugOutput = ThisPageTitle
     --DebugOutput = ThisPageTitle
     return DebugOutput
     --return DebugOutput
end
--end


function p.fakesoitwillshutup(frame)
--function p.fakesoitwillshutup(frame)
     PageWithout = string.gsub(PageName, OriginalYear, "@@@@")
     PageWithout = string.gsub(PageName, OriginalYear, "@@@@")