Μετάβαση στο περιεχόμενο

Module:Wikidata-n

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια
-- returns the page id (Q...) of the current page, or nil if the page is not connected to Wikidata

local p = {}

function p.pageId(frame)
	return mw.wikibase.getEntityIdForCurrentPage()
end

return p