Module:IPAc-en/sandbox: Difference between revisions

Content deleted Content added
No edit summary
Line 16:
local function makeNowrapSpan(s)
local span = mw.html.create('span')
:addClass('rt-commentedText') -- Works with [[MediaWiki:Gadget-ReferenceTooltips.js]]
:addClass('nowrap')
:wikitext(s)
Line 50 ⟶ 51:
local function renderCategories()
local ret = ''
ret = categoryHandler{
[1] = 'yes', -- Add categories in these namespaces
main = 1,
wikipedia = 1,
file = 1,
template = 1,
help = 1,
category = 1,
portal = 1,
book = 1,
draft = 1,
module = 1,
}
if retcategoryHandler{ ==true 'yes'} then
ret = {}
for cat in pairs(categories) do