Jump to content

Module:CiteConversionTest

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dragons flight (talk | contribs) at 13:56, 13 March 2013 (Created page with 'c = {} function c.test( frame ) local target = frame.args[1] or frame.args.target; local tt = mw.title.new( target ); local content = tt:g...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
c = {}

function c.test( frame )
    local target = frame.args[1] or frame.args.target;
    
    local tt = mw.title.new( target );
    
    local content = tt:getContent();
    
    return content;
end

return c;