2017 © Pedro Peláez
 

mediawiki-extension ve-templates

Mediawiki extension to add templates in Visual Editor

image

wikifab/ve-templates

Mediawiki extension to add templates in Visual Editor

  • Wednesday, January 24, 2018
  • by pyro853
  • Repository
  • 3 Watchers
  • 0 Stars
  • 896 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 29 % Grown

The README.md

VE Templates

Description

This mediawiki extension add templates in the Visual editor. It works with the Visual Editor in PageForms. (forked version of PageForms by wikifab), (*1)

Installation

  1. clone VeTemplates into the 'extensions' directory of your mediawiki installation
  2. 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'] },, (*2)

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., (*3)

Example

http://wikifab.org, (*4)

MediaWiki Versions

Version 1.0 of this extension has been tested on MediaWiki version 1.29, (*5)

The Versions

24/01 2018

dev-master

9999999-dev

Mediawiki extension to add templates in Visual Editor

  Sources   Download

MIT

24/01 2018

0.1.1

0.1.1.0

Mediawiki extension to add templates in Visual Editor

  Sources   Download

MIT

20/12 2017

0.1.0

0.1.0.0

Mediawiki extension to add templates in Visual Editor

  Sources   Download

MIT