[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2020-06-15 Thread Uzume
Uzume added a comment. In T192462#5461691 , @Ladsgroup wrote: > So quick question from people who need this (ping @Uzume and @eranroz): Should mw.wikibase.entityExists('Q123') return true in case Q123 is redirect all the time or when

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2020-04-30 Thread gerritbot
gerritbot added a comment. Change 433952 abandoned by Addshore: getLatestRevisionId redirect handling Reason: I'm going to abandon this for now and continue discussing on the ticket. https://gerrit.wikimedia.org/r/433952 TASK DETAIL https://phabricator.wikimedia.org/T192462

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2019-09-04 Thread gerritbot
gerritbot added a comment. Change 534394 **merged** by jenkins-bot: [mediawiki/extensions/Wikibase@master] Make RevisionBasedEntityLookup throw redirect exception on redirects https://gerrit.wikimedia.org/r/534394 TASK DETAIL https://phabricator.wikimedia.org/T192462 EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2019-09-04 Thread gerritbot
gerritbot added a comment. Change 534394 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup): [mediawiki/extensions/Wikibase@master] Make RevisionBasedEntityLookup throw redirect exception on redirects https://gerrit.wikimedia.org/r/534394 TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2019-09-03 Thread Ladsgroup
Ladsgroup added a comment. So quick question from people who need this (ping @Uzume and @eranroz): Should mw.wikibase.entityExists('Q123') return true in case Q123 is redirect all the time or when it's redirecting to an existing entity? TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2019-07-30 Thread Ladsgroup
Ladsgroup added a comment. Broken in production as well: ladsgroup@mwmaint1002:~$ mwscript eval.php --wiki=enwiki > $client = Wikibase\Client\WikibaseClient::getDefaultInstance()->getStore()->getEntityLookup(); > echo $client->hasEntity( new

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2019-07-30 Thread Ladsgroup
Ladsgroup added a comment. The look that is being passed to EntityAccessor is indeed RedirectResolvingEntityLookup but it can't understand redirects ladsgroup@deployment-deploy01:~$ mwscript eval.php --wiki=enwiki > $client =

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2019-07-30 Thread Ladsgroup
Ladsgroup added a comment. It still happens: (tested in beta cluster ) print(mw.wikibase.entityExists('Q478306')) false print(mw.wikibase.entityExists('Q478307')) true TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2018-10-04 Thread Ahecht
Ahecht added a comment. In T192462#4627547, @Lydia_Pintscher wrote: Is there anything left to do here or can it be closed? What was the intended resolution? mw.wikibase.entityExists('Q404') still returns false.TASK DETAILhttps://phabricator.wikimedia.org/T192462EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2018-09-29 Thread Lydia_Pintscher
Lydia_Pintscher added a comment. Is there anything left to do here or can it be closed?TASK DETAILhttps://phabricator.wikimedia.org/T192462EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: eranroz, Lydia_PintscherCc: gerritbot, Aklapper, Uzume, Ahecht,

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2018-08-29 Thread gerritbot
gerritbot added a comment. Change 453148 merged by jenkins-bot: [mediawiki/extensions/Wikibase@master] Use LatestRevisionIdResult in EntityRevisionLookup::getLatestRevisionId https://gerrit.wikimedia.org/r/453148TASK DETAILhttps://phabricator.wikimedia.org/T192462EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2018-08-28 Thread gerritbot
gerritbot added a comment. Change 453118 merged by jenkins-bot: [mediawiki/extensions/Wikibase@master] Introduce LatestRevisionIdResult https://gerrit.wikimedia.org/r/453118TASK DETAILhttps://phabricator.wikimedia.org/T192462EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2018-08-16 Thread gerritbot
gerritbot added a comment. Change 453148 had a related patch set uploaded (by Aleksey Bekh-Ivanov (WMDE); owner: Aleksey Bekh-Ivanov (WMDE)): [mediawiki/extensions/Wikibase@master] Use LatestRevisionIdResult in EntityRevisionLookup::getLatestRevisionId https://gerrit.wikimedia.org/r/453148TASK

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2018-08-16 Thread gerritbot
gerritbot added a comment. Change 453118 had a related patch set uploaded (by Aleksey Bekh-Ivanov (WMDE); owner: Aleksey Bekh-Ivanov (WMDE)): [mediawiki/extensions/Wikibase@master] Introduce LatestRevisionIdResult https://gerrit.wikimedia.org/r/453118TASK

[Wikidata-bugs] [Maniphest] [Commented On] T192462: mw.wikibase.entityExists returns false for redirected entities

2018-05-19 Thread gerritbot
gerritbot added a comment. Change 433952 had a related patch set uploaded (by Eranroz; owner: Eranroz): [mediawiki/extensions/Wikibase@master] getLatestRevisionId redirect handling https://gerrit.wikimedia.org/r/433952TASK DETAILhttps://phabricator.wikimedia.org/T192462EMAIL