Module:Navbar: Difference between revisions

m 1 revision imported
Hide the "t" (talk) link by default – template talk pages are not used on this wiki, so the link was always red
Line 13: Line 13:
-- view, talk, edit, hist, move, watch
-- view, talk, edit, hist, move, watch
-- TODO: Move to configuration.
-- TODO: Move to configuration.
local show = {true, true, true, false, false, false}
local show = {true, false, true, false, false, false} -- talk link hidden by default (no template talk pages on this wiki)
if template then
if template then
show[2] = false
show[2] = false