ZeroRatedMobileAccess (ZRMA) extension is fairly complex, and requires substantial refactoring. I have moved its code into 3 extensions:
- JsonConfig - a general purpose extension to host JSON blobs as wiki pages (could be reused by other extensions like EventLogger)
- ZeroBanner - code to show Zero banners for our zero carrier partners. Requires JsonConfig.
- ZeroPortal - this extension will be enabled on zero.wikimedia.org only and used for configuration management. Requires ZeroBanner.
The configuration patch: https://gerrit.wikimedia.org/r/#/c/136503/