The BagOStuff and other classes that extend it are defined in the global namespace, stored in includes/libs/objectcache folder.
When working on T353458, I tried to move some of the BagOStuff classes and discovered that some things in objectcache/utils folder already belong to Wikimedia/LightweightObjectStore namespace.
Let's decide on the namespace and what to do with existing namespaced classes.
Definition of done
- Agree on the namespace name Wikimedia/ObjectCache to match folder structure, or Wikimedia/LightweightObjectStore to match the namespace of some classes.
- decide on what to do with items in Wikimedia/LightweightObjectStore namespace - move to Wikimedia/{NEW_NAME}/Utils namespace, or move files to lib root directory
- Migrate classes into new namespace, add aliases for backwards-compatibility
- Migrate MediaWiki core to use the new class names