Extension:Page Forms/Download and installation/zh

下载
您可以在这里下载.zip格式的页面表单代码.

您也可以直接从MediaWiki源代码库通过Git下载代码（参见可用标签）. 从命令行，您可以调用以下内容：

To view the code online, including version history for each file, go.

Not recommended
There are some additional ways to download Page Forms, which are not recommended:
 * Page Forms can be downloaded via the MediaWiki Extension Distributor, which lets you download any extension for any version of MediaWiki. This not recommended because the code being downloaded represents a random snapshot in time, that could contain bugs that were fixed later - or, if the "development/trunk" version is used, it could conversely contain code that is too new, and hasn't been fully tested yet.
 * Page Forms is available via some Linux distributions, like Debian. These should probably not be used, since their version of the software tends to be significantly out of date.

Installation

 * Note: For versions 1.26 and lower of MediaWiki, it is highly recommended to use the 2nd option, of calling "require_once", rather than calling wfLoadExtension.

Composer
Page Forms can also be downloaded and installed using Composer. However, this is not a well-supported feature at the moment.

To install with Composer, add the following to your  file:

{  "require": { "mediawiki/page-forms": "^4.4.2" } }

More information about the package can be found on Packagist: https://packagist.org/packages/mediawiki/page-forms