Module:Wd: Difference between revisions

41 bytes added ,  12 September 2020
Avoid Lua errors should Wikidata not be available (tested via sandbox & testcases)
(Created page with "-- Original module located at en:Module:Wd and en:Module:Wd/i18n. local p = {} local arg = ... local i18n local function loadI18n(aliasesP, frame) local title i...")
 
>IceWelder
(Avoid Lua errors should Wikidata not be available (tested via sandbox & testcases))
Line 2,541: Line 2,541:
-- main function that is supposed to be used by wrapper templates
-- main function that is supposed to be used by wrapper templates
function p.main(frame)
function p.main(frame)
if not mw.wikibase then return nil end
local f, args
local f, args


Anonymous user