Module:User:Benwing2/test-title
Jump to navigation
Jump to search
- This module lacks a documentation subpage. You may create it.
- Useful links: root page • root page’s subpages • links • transclusions • testcases • user page • user talk page • userspace
This is a private module sandbox of Benwing2, for their own experimentation. Items in this module may be added and removed at Benwing2's discretion; do not rely on this module's stability.
local export = {}
function export.test(frame)
local title = mw.title.getCurrentTitle()
local titles = {
interwiki = title.interwiki,
namespace = title.namespace,
fragment = title.fragment,
nsText = title.nsText,
text = title.text,
prefixedText = title.prefixedText,
fullText = title.fullText,
rootText = title.rootText,
baseText = title.baseText,
subpageText = title.subpageText,
}
return mw.dumpObject(titles)
end
return export