Module:Official website: Difference between revisions

imported>Fire
No edit summary
 
No edit summary
Line 45: Line 45:
-- Get objects for all official sites on Wikidata.
-- Get objects for all official sites on Wikidata.
local websites = quickPcall(function ()
local websites = quickPcall(function ()
return mw.wikibase.getAllStatements(mw.wikibase.getEntityIdForCurrentPage(), 'P12')
return mw.wikibase.getAllStatements(mw.wikibase.getEntityIdForCurrentPage(), 'P87')
end)
end)