local p = {}
function p.test(frame)
    local lin = {}
    for k,v in pairs(frame) do
        table.insert(lin, k..' ('.. type(v) ..') = ' .. tostring(v))
    table.insert(lin, '<br/>')
    table.insert(lin, 'frame = '..frame:preprocess('{{FULLPAGENAME}}'))
    table.insert(lin, 'parent = '..frame:getParent():preprocess('{{FULLPAGENAME}}'))
    table.insert(lin, 'current = ''{{FULLPAGENAME}}'))
    return table.concat(lin, '<br />')
function p.test2(frame)
    local a, b
    a = frame:preprocess('{{FULLPAGENAME}}')
    b = mw.title.getCurrentTitle().prefixedText
    return a .. '/' .. b
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.