[Wikidata-bugs] [Maniphest] [Commented On] T149108: Add mw.wikibase.getEntityIdForCurrentPage for items which link to a currnt page through specific property

2016-10-25 Thread Jarekt
Jarekt added a comment. It is not that similar to T74815. T74815 seeks to look up Q-ID of arbitrary page based on if it is used as a sitelink. This request is for Q-ID lookup of current page based on if it is used as a property. I guess we could make it so it can look up Q-ID of arbitrary page base

[Wikidata-bugs] [Maniphest] [Commented On] T149108: Add mw.wikibase.getEntityIdForCurrentPage for items which link to a currnt page through specific property

2016-10-25 Thread Jarekt
Jarekt added a comment. Yes that is basically T99899 except for the "identifier" part. AFAIK, identifiers, like VIAF, are a special homogeneous subset of properties. Links to pages on other wikipedia would be another, links to wikidata items would be another, sitelinks like in T74815 would be yet

[Wikidata-bugs] [Maniphest] [Commented On] T149108: Add mw.wikibase.getEntityIdForCurrentPage for items which link to a currnt page through specific property

2016-10-26 Thread hoo
hoo added a comment. In T149108#2742575, @Jarekt wrote: Yes that is basically T99899 except for the "identifier" part. AFAIK, identifiers, like VIAF, are a special homogeneous subset of properties. Links to pages on other wikipedia would be another, links to wikidata items would be another, sitel

[Wikidata-bugs] [Maniphest] [Commented On] T149108: Add mw.wikibase.getEntityIdForCurrentPage for items which link to a currnt page through specific property

2016-10-26 Thread Jarekt
Jarekt added a comment. The properties I care about (P373, P1472 and P1612) all have distinctive single value constraint, so 1:1 is true. (VIAF identifier P214 has the same constraint but there are thousands of violations which can not be resolved on Wikidata without fixing VIAF database. ). So ye