WikiDwarf
Created page with "-- This module implements {{search}} local p = {} local ll = '' local function urlencode(text) -- Return equivalent of {{urlencode:text}}. local function byte(char) return string.format('%%%02X', string.byte(char)) end return text:gsub('[^ %w%-._]', byte):gsub(' ', '+') end local function addlink(p, u, a, t, s) local item = ll:tag('li') item:wikitext(p .. '[' .. u .. ' ') item:tag('abbr') :attr('title', a) :wikitext(t) item:wikitext(']' .. s) end functi..."