Page MenuHomePhabricator

Client: Pass initial termbox data to the store
Closed, ResolvedPublic


  • get the user language
    • from mw.config.get('wgUserLanguage') during the client side initialization (client-entry.js)
    • add a user module to the store that has a language property of type string
  • the store has an entity module containing the entity specific data
    • getters are defined on the module
  • store modules
    • actions and mutations are defined in mutationType.ts/actionTypes.ts files with constants
    • getters do not need a dedicated types file


  • try for separate interfaces for root state and module states