Module:Other uses2

Revision as of 14:55, 13 December 2016 by wp>Nihiltres ("mw.title.getCurrentTitle().text" → "mw.title.getCurrentTitle().prefixedText" for multi-namespace support, mirroring change to Module:Other uses)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This module should neither be invoked directly nor used from Lua. Use the {{other uses2}} template instead.


local mOtheruses = require('Module:Other uses')
local p = {}
p.otheruses2 = function (frame)
	return mOtheruses._otheruses({}, {title = (frame:getParent().args[1] or mw.title.getCurrentTitle().prefixedText)})
end
return p