[Wikidata-bugs] [Maniphest] [Commented On] T196962: Module prefix 'wbeu' is shared between Wikibase\Client\Api\ApiListEntityUsage and Wikibase\Client\Api\ApiPropsEntityUsage

2020-05-20 Thread Dipsacus_fullonum
Dipsacus_fullonum added a comment.


  When I make an API call with action=query and generator=wblistentityusage, 
like 
https://en.wikipedia.org/w/api.php?action=query&generator=wblistentityusage&gwbeuentities=Q42
 I get an RuntimeException:
  
{
"error": {
"code": "internal_api_error_RuntimeException",
"info": "[66cd48ca-659d-4873-92dc-505e78f08159] Caught exception of 
type RuntimeException",
"errorclass": "RuntimeException"
},
"servedby": "mw1382"
}
  
  I get the expected result if I use action=list and list=wblistentityusage, 
like in 
https://en.wikipedia.org/w/api.php?action=query&list=wblistentityusage&wbeuentities=Q42.
  
  Is this a consequence of the shared module prefix, or should I create a new 
task for the RuntimeException?

TASK DETAIL
  https://phabricator.wikimedia.org/T196962

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dipsacus_fullonum
Cc: Dipsacus_fullonum, Lea_Lacroix_WMDE, Aklapper, gerritbot, Lydia_Pintscher, 
Ladsgroup, hashar, WMDE-leszek, Anomie, Legoktm, Blissjay007, Oblanco79, 
Alter-paule, Beast1978, Un1tY, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, 
darthmon_wmde, Kent7301, Meekrab2012, joker88john, CucyNoiD, Nandana, 
NebulousIris, Gaboe420, lucamauri, Versusxo, Majesticalreaper22, Giuliamocci, 
Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, 
GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, 
LawExplorer, WSH1906, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T196962: Module prefix 'wbeu' is shared between Wikibase\Client\Api\ApiListEntityUsage and Wikibase\Client\Api\ApiPropsEntityUsage

2018-08-20 Thread gerritbot
gerritbot added a comment.
Change 454049 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] ApiPrefixUniquenessTest: Drop wbeu hack

https://gerrit.wikimedia.org/r/454049TASK DETAILhttps://phabricator.wikimedia.org/T196962EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: Lea_Lacroix_WMDE, Aklapper, gerritbot, Lydia_Pintscher, Ladsgroup, hashar, WMDE-leszek, Anomie, Legoktm, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T196962: Module prefix 'wbeu' is shared between Wikibase\Client\Api\ApiListEntityUsage and Wikibase\Client\Api\ApiPropsEntityUsage

2018-07-30 Thread WMDE-leszek
WMDE-leszek added a comment.
@Lydia_Pintscher so the "wbeu" prefix this mentions is used in parameter names of the particular API modules.
This can be seen at https://en.wikipedia.org/w/api.php?action=""> and https://en.wikipedia.org/w/api.php?action="">.
If one (or both) of API module would have their prefix changed, this would mean the parameter names would change as well. This change would be a subject to wikidata's stable interface policy (any users using parameter would probably need to adjust their API calls).TASK DETAILhttps://phabricator.wikimedia.org/T196962EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Aklapper, gerritbot, Lydia_Pintscher, Ladsgroup, hashar, WMDE-leszek, Anomie, Legoktm, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs