Extension:ZeroRatedMobileAccess

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
ZeroRatedMobileAccess

Release status: stable

Wikipedia Zero Logo.jpg
Implementation MyWiki, Special page, ContentHandler, Skin
Description Provides features for mobile providers that provide free access to Wikipedia
Author(s) Yuri Astrakhan (yuriktalk)
Latest version 1.1.0
MediaWiki 1.22+
PHP 5.3+
Database changes No
License GPL v2 or later
Download
README
Deployments
Parameters
  • $wgEnableZeroRatedMobileAccessTesting
  • $wgZeroRatedMobileAccessConfigIndexUri
  • $wgZeroRatedMobileAccessDisableCache
  • $wgZeroRatedMobileAccessEnableZeroConfigPages
Hooks used
ResourceLoaderTestModules

BeforePageDisplayMobile
GetMobileUrl
MinervaPreRender
GetMobileNotice
BeforePageDisplay
CanonicalNamespaces
EditFilterMerged
CodeEditorGetPageLanguage
PageContentSaveComplete

Translate the ZeroRatedMobileAccess extension if possible

Check usage and version matrix; code metrics
Bugs: list open list all report

The ZeroRatedMobileAccess extension provides banner, hyperlink, and image treatment for webpages for the Wikipedia Zero program.

Installation[edit | edit source]

  • Download and extract the files in a directory called ZeroRatedMobileAccess in your extensions/ folder. If you're a developer and this extension is in a Git repository, then instead you should clone the repository.
  • Add the following code at the bottom of your LocalSettings.php:
require_once( "$IP/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.php" );
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Configuration[edit | edit source]

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

See also[edit | edit source]


Language: English  • 日本語 • русский