Extension:Page Forms/Download and installation/cs

Stažení
Zdrojový kód Page Forms můžete stáhnout zabalený v .zip souboru: https://github.com/wikimedia/mediawiki-extensions-PageForms/archive/5.0.zip

Také si ho můžete stáhnout rovnou z repozitářů zdrojových kódů MediaWiki přes Git (viz dostupné tagy). Na příkazové řádce spusťte následující kód:

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

Not recommended
There are some additional ways to download Page Forms, which are not recommended:

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. These should probably not be used, since their version of the software tends to be significantly out of date.
 * Page Forms can be downloaded via the MediaWiki Extension Distributor, which lets you download any extension for any version of MediaWiki.
 * Page Forms is available via some Linux distributions, like Debian.

Installation
Once you have downloaded the code as a directory called  in your   folder, you just need to add the following line to your  LocalSettings.php file:

There are four defined for Page Forms:

By default it is given to all members of the 'user' group. By default it is given to all members of the 'sysop' group. By default it is given to all members of the 'user' group. By default it is given to everyone (i.e, '*').
 * ' ' is the permission to create new classes (see Extension:Page Forms/Special pages).
 * ' ' is the "permission" to edit restricted fields.
 * ' ' is the "permission" to use the MultiPageEdit special page, which allows to edit multiple pages through a single spreadsheet-like interface.
 * ' ' is the "permission" to see the "edit with form" tab.

You can modify the set of users who have any of these permissions. For example, to have the "edit with form" tab show up only for administrators, you could add the following, below the inclusion of Page Forms:

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": "^5.0" } }

More information about the package can be found on Packagist: