-- Module to demonstrate a MW library call for Google-Code-in-2017-- Function pageinfo returns the name of the page without the namespace or interwiki prefixes
p =
p.pageinfo = function(frame) local ttl = frame.args.title local ttlobj = mw.title.new(ttl) local txt = ttlobj.text return txtend
return p