eranroz added a comment.
- Wikidata (wikidata client only) and communities (frwiki, hewiki, ruwiki) code is misaligned by removing JS API interface to wikidata that is used by gadgets -> functionality broken -> regression. to get it resolved we need to re-align them - communities code can adapt to new API-less wikidata (develop their own wrappers to API) - wikidata code can return removed code - (or anything in between) Amir - the point that I think that is missed here is that API, unlike other modules is intended to expose functionality for developers for extending capabilities. If API is useful for Wikidata itself (entityChangers, edittoolbar, formatters, parsers, PageConnector) - it is useful. If API is deprecated for Wikidata itself - e.g in the long term we would like to get rid of it also in Wikidata repository itself There could be pros and cons for each direction (less JS code to maintain - keeping only mw.Api, more easily to locate code that use API etc - having mw.RepoApi, alignment to mw ecosystem with core/resources/src/mediawiki.api resources that expose API to JS). and I think a good discussion on this is missing, and this is not just "performance" which doesn't seem to be good argument in regards to API resource. Wikidata code that use RepoApi: client/resources/jquery.wikibase/jquery.wikibase.linkitem.js client/resources/wikibase.client.PageConnector.js lib/resources/wikibase-api/Gruntfile.js lib/resources/wikibase-api/README.md lib/resources/wikibase-api/src/FormatValueCaller.js lib/resources/wikibase-api/src/ParseValueCaller.js lib/resources/wikibase-api/src/RepoApiError.js lib/resources/wikibase-api/src/RepoApi.js repo/resources/parsers/getApiBasedValueParserConstructor.js repo/resources/parsers/getStore.js repo/resources/Resources.php repo/resources/wikibase.ui.entityViewInit.js view/resources/jquery/wikibase/jquery.wikibase.entityselector.js view/resources/jquery/wikibase/snakview/snakview.js view/resources/jquery/wikibase/toolbar/jquery.wikibase.edittoolbar.js view/resources.php view/resources/wikibase/entityChangers/AliasesChanger.js view/resources/wikibase/entityChangers/DescriptionsChanger.js view/resources/wikibase/entityChangers/EntityChangersFactory.js view/resources/wikibase/entityChangers/EntityTermsChanger.js view/resources/wikibase/entityChangers/LabelsChanger.js view/resources/wikibase/entityChangers/SiteLinksChanger.js view/resources/wikibase/entityChangers/SiteLinkSetsChanger.js view/resources/wikibase/entityChangers/StatementsChanger.js view/resources/wikibase/store/store.ApiEntityStore.js view/resources/wikibase/view/ToolbarViewController.js TASK DETAIL https://phabricator.wikimedia.org/T259211 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: eranroz Cc: Lydia_Pintscher, 0x010C, vlsergey, Krinkle, Lucas_Werkmeister_WMDE, Ladsgroup, Aklapper, eranroz, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _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