Extension:VEForPageForm

From mediawiki.org
Jump to navigation Jump to search
Other languages:
English • ‎Türkçe • ‎lietuvių • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
VEForPageForm
Release status: unmaintained
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

Check usage and version matrix.

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

Installation[edit]

The VisualEditor extension and Page Forms extension are required for this extension to work. You will need to install them first.
  • Download 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]