Extension:Amp

MediaWiki extensions manual
Amp
Release status: unmaintained
Implementation Tag
Description Creates Amp pages for MediaWiki
Author(s) Nischay Nahata (Nischayn22talk)
Latest version 0.1 (2017-11-21)
MediaWiki 1.27+
PHP 5.3+
Database changes No
License MIT License
Download
README

The Amp extension automagically creates Amp or Accelerated Mobile Pages for your MediaWiki Articles. The Amp project is created by Google to enable mobile-first viewing experience for readers. These pages are cached by Google's CDN and can be loaded instantly. To learn more about Amp visit their website

To enable amp for a page add <amp/> anywhere in the wikitext of the pages.

Installation

  • Download and place the file(s) in a directory called Amp in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Amp' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Development and Help

Amp has been written by Nischay Nahata. Please contact him for consulting on further developments, feature requests or bug fixes on this extension.

See also