| 👁 Image | This extension is mainly supported in an external venue: BlueSpice Community Forum. If you need help, you should post there, and not on the talk page. |
Release status: stable |
|
|---|---|
| 👁 Image |
|
| Implementation | Page action, Ajax, Special page |
| Description | Draw BPMN processes with a graphical user interface in Semantic MediaWiki |
| Author(s) | Tobias Weller, Maria Maleshkova, Alexander Pinchuk, Hallo Welt! GmbH |
| Maintainer(s) | Hallo Welt! GmbH |
| Latest version | Ongoing releases |
| Compatibility policy | For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension. |
| MediaWiki | 1.43 (LTS) |
| Licence | GNU General Public License 3.0 only |
| Download | |
| Translate the Cognitive Process Designer extension if it is available at translatewiki.net | |
| 👁 Image Community Forum |
The Cognitive Process Designer extension supports the creation of BPMN (Business Process Model and Notation) processes by using an intuitive GUI (graphical user interface).
It is based on bpmn.io, an open source project by Camunda. Bpmn.io is an JavaScript renderer that allows to model BPMN processes and to check the syntax.
Functionality
[edit]- The extension introduces a dedicated content type
CPD. - Processes are stored in a decicated process namespace (PROC, 1530).
- A linter checks for errors before the diagram can be saved.
- When saving the diagram, users can decide to create description pages for each task shape in the diagram. They are created as subpages of the diagram.
- The generated task pages have a built-in navigation between process steps.
- The BPMN diagrams can be embedded in any wiki page via the tag
<bpmn process="..." />.
Installation
[edit]- Download and move the extracted
CognitiveProcessDesignerfolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cdextensions/ gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/CognitiveProcessDesigner - Only when installing from Git, run Composer to install PHP dependencies, by issuing
composer install --no-devin the extension directory. (See T173141 for potential complications.) - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'CognitiveProcessDesigner' );
- For REL1_35 and upper branches - setup of processRunner.php is needed. See note below for the details.
- 👁 Yes
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
- Add the repo url (https://github.com/wikimedia/mediawiki-extensions-CognitiveProcessDesigner.git) as a "vcs repository" and the package name (mediawiki/CognitiveProcessDesigner) and version to the
requiresection of yourcomposer.local.json. Example:
{ "repositories":[ { "type":"vcs", "url":"https://github.com/wikimedia/mediawiki-extensions-CognitiveProcessDesigner.git" } ], "require":{ "mediawiki/CognitiveProcessDesigner":"dev-REL1_43" } }
- Run the following command in your MediaWiki installation path
composer update --no-dev
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'CognitiveProcessDesigner' );
- 👁 Yes
Done Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
- In REL1_35 and upper branches "process manager"[1] is used to save diagram elements on the server. In that case processRunner.php must be running to correctly save BPMN diagram. See how to setup it. For the most cases - just execute from wiki root in the separate terminal window.
php maintenance/run.php ./extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php maintenance/Maintenance.php --wait
- Semantic MediaWiki must be installed in order to provide information for the elements in a structured way and publish the information according to the Linked Data Principles, which helps to avoid having an unbounded web.
- file uploads for SVG file types must be allowed and the images directory must be writable (chmod 755)[2]
Usage
[edit]Create diagrams
[edit]To create a diagram, simply create a new page in the Process namespace:
Process:MyNewDiagram
The visual editing mode opens the BPMN editor.
External links
[edit]More extensive documentation on how to use this extension:
- Technical reference (check this page for possible extension dependencies)
- Extension user help
| 👁 Image | This extension is included in the following wiki farms/hosts and/or packages: |
Categories:
- Stable extensions
- Page action extensions
- Ajax extensions
- Special page extensions
- CanonicalNamespaces extensions
- ParserFirstCallInit extensions
- ContentHandlerDefaultModelFor extensions
- BlueSpiceDiscoveryTemplateDataProviderAfterInit extensions
- SkinTemplateNavigation::Universal extensions
- CodeEditorGetPageLanguage extensions
- OutputPageBeforeHTML extensions
- LoadExtensionSchemaUpdates extensions
- PageDeleteComplete extensions
- MWStakeCommonUIRegisterSkinSlotComponents extensions
- GPL licensed extensions
- Extensions in Wikimedia version control
- All extensions
- Extensions by HalloWelt
- BlueSpice
- Extensions requiring Composer with git
- Extensions included in BlueSpice
- Semantic MediaWiki extensions
- Graph extensions
