Extension:TemplateRest

From mediawiki.org
MediaWiki extensions manual
TemplateRest
Release status: unmaintained
Implementation API , Ajax
Description RESTful api for manipulating template transclusions.
Author(s) Andreas Jonssontalk
Latest version 1.1 (2016-01-25)
MediaWiki 1.25
License GNU General Public License 3.0
Download

TemplateRest is a RESTful API module that takes advantage of a Parsoid to manipulate template transclusions in MediaWiki articles. It also supports manipulating categories. A Backbone-based Javascript model is included.

Installation[edit]

  • Install a parsoid server Parsoid/Setup
  • Configure parsoid access in LocalSettings.php ($wgVirtualRestConfig['modules']['parsoid']['url'])
  • Install Extension:JSModules (if you want to use the included javascript model.)
  • Download and copy the TemplateRest extension to extensions folder of your MediaWiki installation
  • add wfLoadExtension('TemplateRest'); to LocalSettings.php
  • Yes Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.


Documentation[edit]

See the GitHub page.