More languages
More actions
mNo edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
local p | local p = {} | ||
function p.main(frame) | function p.main(frame) | ||
Author = mw.wikibase. | EntityID = mw.wikibase.getEntityIdForCurrentPage() | ||
Works = Author:getAllStatements(' | Author = mw.wikibase.getEntity(EntityID) | ||
Works = Author:getAllStatements('works') | |||
return Works | |||
end | end | ||
return p | return p |