Jump to content

Extension:Cognitive Process Designer/zh

From mediawiki.org
This page is a translated version of the page Extension:Cognitive Process Designer and the translation is 0% complete.
MediaWiki扩展手册
CognitiveProcessDesigner
发行状态: 稳定版
实现 页面操作 , Ajax, 特殊页面
描述 Draw BPMN processes with a graphical user interface in Semantic MediaWiki
作者 Tobias Weller, Maria Maleshkova, Alexander Pinchuk, Hallo Welt! GmbH
维护者 Hallo Welt! GmbH
最新版本 Ongoing releases
兼容性政策 对于每个有长期支持的MediaWiki发行版本,扩展内都有对应的分支。
MediaWiki 1.43 (LTS)
许可证 GNU General Public License 3.0 only
下載
前往translatewiki.net翻譯Cognitive Process Designer扩展
 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

  • 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

  • 下载文件,并解压CognitiveProcessDesigner文件夹到extensions/目录中。
    开发者和代码贡献人员应改从Git安装此扩展,输入:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CognitiveProcessDesigner
    
  • 只有是從Git安裝的才需运行Composer来安装PHP依赖,通过发行composer install --no-dev至扩展的目录。 (参见T173141了解潜在问题。)
  • 請新增下列代码到您的LocalSettings.php 文件的底部:
    wfLoadExtension( 'CognitiveProcessDesigner' );
    
  • For REL1_35 and upper branches - setup of processRunner.php is needed. See note below for the details.
  • Yes 完成 – 請导航至您的wiki上的Special:Version,以验证此扩展已成功安装。


{
	"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
wfLoadExtension( 'CognitiveProcessDesigner' );
  • Yes 完成 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
    php maintenance/run.php ./extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php maintenance/Maintenance.php --wait
    
    from wiki root in the separate terminal window.
  • 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

Created BPMN diagram with Cognitive Process

Create diagrams

To create a diagram, simply create a new page in the Process namespace:

Process:MyNewDiagram

The visual editing mode opens the BPMN editor.

More extensive documentation on how to use this extension: