Module:Official website: Difference between revisions

m 1 revision imported
No edit summary
 
Line 88: Line 88:
local function renderUrl(options)
local function renderUrl(options)
if not options.url and not options.wikidataurl then
if not options.url and not options.wikidataurl then
local qid = mw.wikibase.getEntityIdForCurrentPage()
local qid = nil -- mw.wikibase.getEntityIdForCurrentPage()
local result = '<strong class="error">' ..
local result = '<strong class="error">' ..
'No URL found. Please specify a URL here or add one to Wikidata.' ..
'No URL found. Please specify a URL here or add one to Wikidata.' ..