Closed jmformenti closed 8 months ago
Currently we have requests to Wikibase in different places within the code, for example: https://github.com/PhiloBiblon/philobiblon-ui/blob/master/frontend/pages/wiki/_page.vue#L30 https://github.com/PhiloBiblon/philobiblon-ui/blob/master/frontend/service/wikibase.service.js#L46 https://github.com/PhiloBiblon/philobiblon-ui/blob/master/frontend/service/wikibase.service.js#L172
The idea is use wbFetcher method as standard way to implement these request:
Currently we have requests to Wikibase in different places within the code, for example: https://github.com/PhiloBiblon/philobiblon-ui/blob/master/frontend/pages/wiki/_page.vue#L30 https://github.com/PhiloBiblon/philobiblon-ui/blob/master/frontend/service/wikibase.service.js#L46 https://github.com/PhiloBiblon/philobiblon-ui/blob/master/frontend/service/wikibase.service.js#L172
The idea is use wbFetcher method as standard way to implement these request: