Reproduce:
- Open any item with sitelink and with until UI is fully loaded
- Open the browser console
- Try to modify the badge of any sitelink
Result:
For each available badge, one wbparsevalue and one wbformatvalue call is made. Currently Wikidata have 13 available badges, which means 26 web requests
The wbparsevalue call is following:
which returns:
{"warnings":[{"code":"deprecation","data":{"feature":"action=wbparsevalue&parser"},"module":"wbparsevalue","*":"The parameter \"parser\" has been deprecated."},{"code":"deprecation-help","module":"main","*":"Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application."}],"results":[{"raw":"Q20748092","value":{"entity-type":"item","numeric-id":20748092,"id":"Q20748092"},"type":"wikibase-entityid"}]}(see T325428: Wikibase UI uses deprecated parameter "parser" in wbparsevalue for the deprecation message)
The wbparsevalue request is useless and should be eliminated.
(see other tasks for the wbformatvalue call)