Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
You are viewing an old version of this page. Return to the latest version.
This is the version of 18 January 2023, 08:16 by Redaktion
PreviousNext
  • Manual
  • Extension
    • Workflows
      • Activity
        • EditPage
        Last edited one year ago
        by Redaktion

        EditPage

        Revision as of 08:16, 18 January 2023 by Redaktion (talk | contribs)
        (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

        Contents

        • 1 Description
        • 2 Properties
          • 2.1 Input properties
          • 2.2 Output properties
        • 3 Usage

        Description

        The EditWikiPage activity appends content to an existing wiki page.

        Short profile
        Name EditWikiPage
        Async Yes
        BPMN type bpmn:Task
        BPMN Extension Element "wf:type" edit_page

        Properties

        Input properties

        Each input property can provide a default value if no other value is set by the workflow.

        Name of property Source Description Possible values Type
        title - Name of the wiki page that will be edited by this activity. string
        user - Name of user that will be shown as making the edit. Default value: MediaWiki default string
        content - Content that will be added to the wiki page. string
        mode - How the content is added to the wiki page.
        • append: Content is added at the end of the page.
        • replace: Content replaces all existing page content.
        • prepend: Content is added at the beginning of the page.
        string
        minor - The edit will be marked as major or minor revision.
        • 1 (=minor revision)
        • 0 (=major revision)
        int

        Output properties

        Name of property Source Description Type
        revisionId - The revision ID of the edited page. string
        timestamp - The revision time of the edited page. int

        Usage

        <bpmn:task id="Activity_18egh9o" name="Edit page">
            <bpmn:extensionElements>
        		<wf:type>edit_page</wf:type>
        	</bpmn:extensionElements>
        	<bpmn:property name="title" default="Some page" validation="required"/>
        	<bpmn:property name="user" default="Mediawiki default" validation="existing-user"/>
        	<bpmn:property name="content" default="This is my test at editing"/>
        	<bpmn:property name="mode" default="append"/> <!-- ALlowed: append, replace, prepend -->
        	<bpmn:property name="minor" default="1"/>
        	<!-- Output properties -->
        	<bpmn:property name="revisionId"/>
        	<bpmn:property name="timestamp"/>
        </bpmn:task>
        



        PDF exclude - start

        To submit feedback about this documentation, visit our community forum.

        PDF exclude - end
        Retrieved from "https://en.wiki.bluespice.com/w/index.php?title=Manual:Extension/Workflows/Activity/EditPage&oldid=5417"
        No categories assignedEdit
        Page actions and tools navigaiton contains tabs, toolbox and actions
        Actions
        • Refresh
        • Copy URL
        • E-Mail
        • QR code
        Details
        • View history
        • Page information
        • Browse properties
        • ... all actions
        • Privacy policy
        • Terms of service
        • Disclaimer
        • Imprint
        • Accessibility
        • About
        • Analysis service
        • Edit preview settings
        • Powered by MediaWiki
        • Powered by BlueSpice
        • Powered by Semantic MediaWiki
        • Creative Commons License