Module:Other uses2: Difference between revisions

From Astrobiology Wiki
Jump to navigation Jump to search
Content added Content deleted
("mw.title.getCurrentTitle().text" → "mw.title.getCurrentTitle().prefixedText" for multi-namespace support, mirroring change to Module:Other uses)
(No difference)

Revision as of 14:55, 13 December 2016

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.