Extension:Page Forms/Download and installation

Download
You can download the Semantic Forms code, in .zip format, here.

You can also download the code directly via Git from the MediaWiki source code repository (see available tags). From a command line, you can call the following:

If you are using an older version of MediaWiki, especially one before 1.19, it is recommended that you check out the branch that corresponds to that version. For example, if you are using MediaWiki 1.18, you should run:

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

Packages
You can also download Semantic Forms as part of several software packages:
 * Semantic Bundle - a package of extensions based around Semantic MediaWiki, co-maintained by the author of Semantic Forms

Not recommended
There are some additional ways to download Semantic Forms, which are not recommended:
 * Semantic 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.
 * Semantic 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.

Downloading old versions
There are various ways to get older versions of Semantic Forms:
 * Versions since 2.5 have been tagged in the Git repository; the version number is the tag name.
 * Any specific revision of the code, since the beginning, can be downloaded by going to the, clicking on any tree link behind the version you like, and then clicking on one of the links marked "zip", "gz" or "bzip2".

Installation

 * 1) Create a 'SemanticForms' folder, either by extracting a compressed file or downloading via Git. (If you are extracting a zip file, you should first place it in the /extensions folder.)
 * 2) Place the SemanticForms folder within the main MediaWiki 'extensions' folder.
 * 3) Add the following line to the file LocalSettings.php in the main MediaWiki directory:
 * If you are running the Semantic MediaWiki extension as well, this line should go below both the 'include_once' line for Semantic MediaWiki and the 'enableSemantics' line.
 * If you are running the Semantic MediaWiki extension as well, this line should go below both the 'include_once' line for Semantic MediaWiki and the 'enableSemantics' line.

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