Extension:Amp

Category:Unmaintained extensions#Amp Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
Amp
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Tag Category:Tag extensions
Description Creates Amp pages for MediaWiki
Author(s) Nischay Nahata (Nischayn22talk)
Latest version 0.1 (2017-11-21)
MediaWiki 1.27+Category:Extensions with manual MediaWiki version
PHP 5.3+
Database changes No
License MIT License
Download Category:Extensions in GitHub version control
README
  • $wgAmpFooterLinks
  • $wgAllPagesAmp
Category:All extensions

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' );
    
  • Yes 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

Category:All extensions Category:BeforePageDisplay extensions Category:Extensions in GitHub version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:MIT licensed extensions Category:PageContentSaveComplete extensions Category:ParserFirstCallInit extensions Category:Tag extensions Category:Unmaintained extensions