Extension:VEForPageForm

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
VEForPageForm
Release status: beta
Implementation Special page
Description Allows to use the VisualEditor on fields generated by the PageForms extension
Author(s) Pierre Boutet
Latest version 0.1.1 (2017-02-28)
MediaWiki 1.28.x only
PHP 5.4+
Database changes No
License MIT License
Download
Translate the VEForPageForm extension if it is available at translatewiki.net
Check usage and version matrix.

The VEForPageForm extension allows to use the VisualEditor on fields generated by the PageForms extension.

Installation[edit]

The VisualEditor extension and PageForms extension are required for this extension to work. You will need to install them first.
  • Download, extract and place the file(s) in a directory called VEForPageForm in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'VEForPageForm' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

To enable visual editing on a field, you need to add the class "form-textarea" on the texteara input type, in your page form template.

Example
{{{field|Description|input type=textarea|class=form-textarea}}}

See also[edit]

VEForAll