Module:Article stub box: Difference between revisions

Content deleted Content added
Streamlined a few functions
Od Mishehu (talk | contribs)
No edit summary
Line 92:
--p.templatepage passes page; p.main does not, i.e. articles are categorized without sort keys.
table.insert(stubCats.v, page and
(tsort and {cat, t = '*'..tsort} or {cat, k = '*', t = page.text})
or cat
)