Extension:VEForPageForm
Jump to navigation
Jump to search
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
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 | GitHub: Note: |
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 yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'VEForPageForm' );
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}}}