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