Description
Browser profiling lacks relevant information when getters return anonymous functions. For the sake of profiling, we should return named functions instead.
Getter returned functions were named with Vuex but this was changed on the Vuex->Pinia migration.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist