Extension:Amp
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
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 | GitHub: Note: 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
[edit]- Download and place the file(s) in a directory called
Amp
in yourextensions/
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
[edit]Amp has been written by Nischay Nahata. Please contact him for consulting on further developments, feature requests or bug fixes on this extension.