More languages
More actions
mNo edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
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 |