Module:Section link: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(more elegant fix for blank page names)
m (need to check that page exists before finding substrings)
Line 30: Line 30:


-- Deal with blank page names elegantly
-- Deal with blank page names elegantly
if not page:find('%S') then
if page and not page:find('%S') then
page = nil
page = nil
options.nopage = true
options.nopage = true