2017 © Pedro Peláez
 

library plantuml-extension

MediaWiki extension which renders plantuml markup as UML diagramm graphics

image

pjkersten/plantuml-extension

MediaWiki extension which renders plantuml markup as UML diagramm graphics

  • Thursday, October 5, 2017
  • by WolfgangFahl
  • Repository
  • 10 Watchers
  • 25 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 16 Forks
  • 10 Open issues
  • 2 Versions
  • 33 % Grown

The README.md

Sunset

As of 2025-01 i have closed all issues. Personally i will not put any further effort into this. Wolfgang, (*1)

Hi, welcome to the PlantUML plugin for Mediawiki IconMediaWiki. The full project page for this plugin can be found on, (*2)

http://www.mediawiki.org/wiki/Extension:PlantUML, (*3)

Prerequisites

  1. A Java Icon Java installation. Can also be OpenJDK, (*4)

  2. GraphViz extension, (*5)

  3. Prerequistes of GraphViz. Basically if you get the GraphViz extension running you should also be able to get PlantUML to run., (*6)

Installation

With Composer

[Composer support is in preparation] (https://www.mediawiki.org/wiki/User_talk:Legoktm#Adding_Extension_PlantUML_to_packagist), (*7)

Without Composer

  1. Go to the extensions folder of your MediaWiki installation. On RedHat and derivates this will be /usr/share/mediawiki/extensions. cd /usr/share/mediawiki/extensions, (*8)

  2. Create a new subdirectory PlantUML in this folder and move to this directory. mkdir PlantUML && cd PlantUML, (*9)

  3. Move the all downloaded file (PlantUML.php, PlantUML.body.php, extension.json, i18n, ...) into the PlantUML directory. mv <downloaddir>/{PlantUML.php,PlantUML.body.php,extension.json,i18n}., (*10)

  4. Choose your usage style. You can either process images locally (on the server where MediaWiki was installed) or in the cloud. The local version supports SVG-images and embedded urls, at the cost of local processing. The cloud version is lightweight for your server. Default local processing is expected. If you want to use the cloud, please set to LocalSettings.php $wgPlantUmlUseCloude to true., (*11)

  5. When using local processing: get the plantuml.jar from SourceForge, (*12)

    wget https://downloads.sourceforge.net/project/plantuml/plantuml.jar, (*13)

  6. (Optional) Set to LocalSettings.php the variable $wgPlantUmlFormat to your preference. Mind that SVG produces the superior graphics, but that only PNG-images and image maps are "rock solid". (defaults: svg), (*14)

  7. (Optional) Adapt the getUploadPath and getUploadDirectory to your preference if you want these different from MediaWiki's standard settings. Mind that these directories must be writeable by the system user who runs MediaWiki., (*15)

  8. Put the following line to your LocalSettings.php in MediaWiki's root folder to include the extension:, (*16)

    wfLoadExtension( 'PlantUML' );, (*17)

  9. When using the cloud, make sure that httpd can submit HTTP-requests. (Optional) Adapt $wgPlantUmlCloudURI to use your private PlantUml server, (*18)

  10. Reload http `service httpd graceful, (*19)

  11. Enjoy!, (*20)

Issues

If you have suggestions or remarks, please file an issue!, (*21)

The Versions

05/10 2017

dev-master

9999999-dev https://github.com/pjkersten/PlantUML

MediaWiki extension which renders plantuml markup as UML diagramm graphics

  Sources   Download

GPL-2.0+

The Requires

 

mediawiki uml

07/03 2017

v0.6

0.6.0.0 https://github.com/pjkersten/PlantUML

MediaWiki extension which renders plantuml markup as UML diagramm graphics

  Sources   Download

GPL-2.0+

The Requires

 

mediawiki uml