[Wikidata-bugs] [Maniphest] [Commented On] T185313: mw.wikibase.entity:getBacklinks (lua API in wikibase client)

2019-12-10 Thread Ghuron
Ghuron added a comment. The only reason I mention Special:WhatLinksHere is that I thought it would be easier to implement, which doesn't seems to be the case. If some can expose reasonable subset of haswbstatement - I would be more than happy. TASK DETAIL https://phabricator.wikimedia.or

[Wikidata-bugs] [Maniphest] [Commented On] T185313: mw.wikibase.entity:getBacklinks (lua API in wikibase client)

2019-12-09 Thread Uzume
Uzume added a comment. I agree that Special:WhatLinksHere is probably not the right semantics for this request, `haswbstatement` might be better semantics, however, those need to be well defined so people know if in fact they would address this request. For example, I assume this would r

[Wikidata-bugs] [Maniphest] [Commented On] T185313: mw.wikibase.entity:getBacklinks (lua API in wikibase client)

2019-11-28 Thread hoo
hoo added a comment. So I just looked into this a bit and sadly this is not a trivial change. First of all, I don't think we want to expose backlinks (as in Special:WhatLinksHere) as these don't have the semantics the use cases here call for (and using them still would probably lead to stran

[Wikidata-bugs] [Maniphest] [Commented On] T185313: mw.wikibase.entity:getBacklinks (lua API in wikibase client)

2019-11-23 Thread lucamauri
lucamauri added a comment. As this function would be very significant for a project of mine, I would like to work on it. I am willing to put effort in implementing such a function, but I have some difficulties to get started with it. I read above that the function already exist in Wikibas

Re: [Wikidata-bugs] [Maniphest] [Commented On] T185313:mw.wikibase.entity:getBacklinks (lua API in wikibase client)

2018-04-18 Thread John D.
are you talking about the info box ? From: Ghuron Sent: Wednesday, April 18, 2018 2:55 AM To: wikidata-bugs@lists.wikimedia.org Subject: [Wikidata-bugs] [Maniphest] [Commented On] T185313:mw.wikibase.entity:getBacklinks (lua API in wikibase client) Ghuron added a comment. I'd

[Wikidata-bugs] [Maniphest] [Commented On] T185313: mw.wikibase.entity:getBacklinks (lua API in wikibase client)

2018-04-18 Thread Ghuron
Ghuron added a comment. I'd like to explain another scenario, where this functionality can be useful. Ru-wiki infoboxes sometimes add categories to the corresponding articles. Sometimes we do this based on wikidata, but we are pretty much limited to a few cases, defined in P1465, P1792, P1464 or ve

[Wikidata-bugs] [Maniphest] [Commented On] T185313: mw.wikibase.entity:getBacklinks (lua API in wikibase client)

2018-01-23 Thread Uzume
Uzume added a comment. In T185313#3916435, @Ghuron wrote: Well, although I can some similarities between this one and T99899, I believe there are different use cases involved. Lookup for external identifier is mostly needed in _javascript_ (e.g. notify user that wikidata instance with the same imd

[Wikidata-bugs] [Maniphest] [Commented On] T185313: mw.wikibase.entity:getBacklinks (lua API in wikibase client)

2018-01-22 Thread Ghuron
Ghuron added a comment. In T185313#3915129, @Uzume wrote: This seems like a more generalized version of T99899 (see also T149108). Well, although I can some similarities between this one and T99899, I believe there are different use cases involved. Lookup for external identifier is mostly needed