Jump to content

User:Remember

From Wikipedia

Testing

Lincoln Test

[edit]

mw.wikibase.getEntity(Abraham Lincoln)

 local entity = mw.wikibase.getEntity()
 local father = mw.wikibase.label( "Q" .. entity.claims.p107[0].mainsnak.datavalue.value["numeric-id"])
 -- father == "Lord Byron"
  • ID: no entity
  • Label():
  • Label(Q2099): CZEzsyPk
  • Label(q555555):
  • Label(xyz):
  • Page():
  • Page(Q7259):
  • Page(q555555):
  • Page(xyz):