Module:Itemnumber: Difference between revisions

No edit summary
No edit summary
Line 90: Line 90:
local qid = mw.wikibase.getEntityIdForCurrentPage()
local qid = 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: ' .. gid ..
'No URL found. Please specify a URL here or add one to Wikidata: ' .. qid ..
'</strong>'
'</strong>'
if qid then
if qid then