The contents of includes/services/ (ServiceContainer and friends) do not use any MediaWiki-specific code, as far as I can tell, except for the Assert library. As such, they could be moved to the includes/libs/ directory, to signal this fact more clearly, or even extracted into a separate library published to Packagist.
MediaWiki:
- core: move and rename
- extensions: update for rename
- remove compatibility aliases
Library:
- Create repo.
- Verify GitHub mirror.
- Set up WMF CI.
- Set up Packagist hook.
- Set up code coverage pipeline.
- Set up doxygen pipeline.
- Add lib to doc.wikimedia.org.