扩展:Amp

![]() 發佈狀態: 测试版 |
|
---|---|
实现 | 标签 |
描述 | 创建用于MediaWiki的Amp页面 |
作者 | Nischay Nahata (Nischayn22讨论) |
最新版本 | 0.1 (2017-11-21) |
MediaWiki | 1.27+ |
PHP | 5.3+ |
数据库更改 | 否 |
许可协议 | MIT授權條款 |
下載 | 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.
安裝
- 下载文件,并将其放置在您
extensions/
文件夹中的Amp
目录内。 - 将下列代码放置在您的
LocalSettings.php
的底部:wfLoadExtension( 'Amp' );
完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
开发与帮助
Amp has been written by Nischay Nahata. Please contact him for consulting on further developments, feature requests or bug fixes on this extension.