| 1 | TODO |
| 2 | ==== |
| 3 | |
| 4 | Currently the `FeatureManager` class is a very shallow interpretation of Piotr Miazga's proposed |
| 5 | API and associated scaffolding classes (see https://phabricator.wikimedia.org/T244481 and |
| 6 | https://gerrit.wikimedia.org/r/#/c/mediawiki/skins/Vector/+/572323/). This document aims to list |
| 7 | the steps required to get from this system to something as powerful as Piotr's. |
| 8 | |
| 9 | 1. Consider supporing memoization of those requirements (see https://gerrit.wikimedia.org/r/#/c/mediawiki/skins/Vector/+/573626/7/includes/FeatureManagement/FeatureManager.php@68) |
| 10 | 2. Add support for getting all requirements |
| 11 | 3. Add support for getting all features enabled when a requirement is enabled/disabled |