We need these API calls for new categories, but for existing ones we can used cached results.
As the current sequence for a move is:
- Remove
- API request
- Add
This also results in a visible flicker when the category is dropped.
We need these API calls for new categories, but for existing ones we can used cached results.
As the current sequence for a move is:
This also results in a visible flicker when the category is dropped.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
MWCategoryWidget: Improve caching | mediawiki/extensions/VisualEditor | master | +42 -28 |
Change 271552 had a related patch set uploaded (by Esanders):
MWCategoryWidget: Improve caching