wikifab / ve-templates
Mediawiki extension to add templates in Visual Editor
Installs: 3 856
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Language:JavaScript
Type:mediawiki-extension
- dev-master
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- 0.1.1
- 0.1.0
- dev-ticket-1399
- dev-julien
- dev-ticket-1384
- dev-ticket-1375
- dev-ticket-1355
- dev-ticket-1337
- dev-ticket-1335
- dev-ticket-1342
- dev-ticket-1330
- dev-ticket-1271-taille-edition
- dev-features/newImageSearch
- dev-feature/1250-WIP-refacto-searchMediaWidget
- dev-features/annotatedImages
- dev-REL1_29
This package is auto-updated.
Last update: 2024-11-07 02:19:32 UTC
README
Description
This mediawiki extension add templates in the Visual editor. It works with the Visual Editor in PageForms. (forked version of PageForms by wikifab)
Installation
- clone VeTemplates into the 'extensions' directory of your mediawiki installation
- add the folling Line to your LocalSettings.php file :
wfLoadExtension('VeTemplates');
To be in the toolbar, they must be calle in the toolbar declaration in VE : example : { header: OO.ui.deferMsg( 'visualeditor-toolbar-insert' ), title: OO.ui.deferMsg( 'visualeditor-toolbar-insert' ), type: 'list', icon: 'add', label: '', include: [ 'warningblock','infoblock', 'ideablock'] },
Usage
Currently, simple template are created for 3 templates (Info, Warning, and Idea) tu use them, you must create the wikipage template (ex: page Template:Idea ) They are added to the VE tolbar so you can add it into the editor. Then by clicking on the template, you can edit his content.
Example
MediaWiki Versions
Version 1.0 of this extension has been tested on MediaWiki version 1.29