Extension:Page Forms/Download and installation

Semantic Forms is heavily tied in with the Semantic MediaWiki extension. Having Semantic MediaWiki installed is a precondition for the Semantic Forms extension: the code will not work without it.

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. From a command line, you can call the following:

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

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
 * semantic::apps - several packages of extensions, along with forms, templates and properties, intended for use in contact, project and process management.

Not recommended
There are some additional ways to download Semantic Forms, that 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. Actually, this holds true for all the other Semantic MediaWiki-affiliated extensions as well.
 * 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 commit log, clicking on any specific 7-digit revision ID, and then clicking on one of the links marked "zip", "gz" or "bzip2".
 * For SF versions from 0.1 to 2.4.2, you can download them directly at a URL of the form " http://discoursedb.org/SemanticForms/semantic_forms_ version number.zip", like http://discoursedb.org/SemanticForms/semantic_forms_2.1.2.zip.

Installation

 * 1) Create a 'SemanticForms' folder, either by extracting a compressed file or downloading via Git.
 * 2) Place the SemanticForms folder within the main MediaWiki 'extensions' folder.
 * 3) In the file LocalSettings.php in the main MediaWiki directory, add the following line below the Semantic MediaWiki extension line (both the main 'include_once' line and the 'enableSemantics' line):