Extension:ZeroBanner

The ZeroBanner extension provides banner, hyperlink, and image treatment for webpages for the Wikipedia Zero program. This extension is a refactoring of ZRMA extension

Installation

 * Install JsonConfig extension first!

Configuration
See the for more information on configuration and settings pertaining to carrier mockup.

For local (test) wikis, try just the following:

Setting up local wiki

 * Install a browser extension for modifying request headers such as ModHeader for Chrome


 * Navigate to Zero:TEST on your wiki and create the page. Some default configuration is provided, but the JSON below may prove more useful:
 * Add 3 new request headers in your extension:
 * X-CS: TEST
 * User-Agent: android-mobile
 * X-Subdomain: M
 * Optionally add a filter to only apply these headers to your local environment
 * Navigate to Main Page (or any article) on your local wiki. You should now see a banner rendered at the top of the article.