Module:YearNav: Difference between revisions

OK, seems the trouble was I was just seeing the output on a page without a four digit year...
(Created page with "local p = {} function p.YearNav(frame) Pattern = frame.args[1] or -1 if Pattern==-1 then Pattern = "####-10 ・・ ####-1 ・ '''####''' ・ ####+1 ・・ ####+10" --Default. Will be overwritten if something was there. for i,v in pairs(frame.args) do Pattern= i .. "=" .. v end end ThisPageTitle = mw.title.getCurrentTitle() Prefix = ThisPageTitle.nsText Namespace = ThisPageTitle.namespace PageName = ThisPa...")
 
(OK, seems the trouble was I was just seeing the output on a page without a four digit year...)
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
(No difference)