Module:Library works: Difference between revisions

From ProleWiki, the proletarian encyclopedia
mNo edit summary
mNo edit summary
Line 4: Line 4:
Author = mw.wikibase.getEntityIdForCurrentPage()
Author = mw.wikibase.getEntityIdForCurrentPage()
Works = Author:getAllStatements('P25')
Works = Author:getAllStatements('P25')
return Works
end
end
return p
return p

Revision as of 23:42, 30 November 2021

local p = {}

function p.main(frame) 
	Author = mw.wikibase.getEntityIdForCurrentPage()
	Works = Author:getAllStatements('P25')
	return Works
end
return p