[go: up one dir, main page]

Localisation updates from https://translatewiki.net.

Change-Id: Ia017b0646dbe49e9006918a64f5155eccdd67b1d
1 file changed
tree: 9e3f9becea34c278e7442bd1f342d1b7323b2cb9
  1. db/
  2. i18n/
  3. includes/
  4. resources/
  5. src/
  6. tests/
  7. .gitignore
  8. .gitreview
  9. .phpcs.xml
  10. composer.json
  11. extension.json
  12. README.md
README.md

PageCheckout

Installation

Execute

composer require hallowelt/pagecheckout dev-REL1_31

within MediaWiki root or add hallowelt/pagecheckout to the composer.json file of your project

Activation

Add

wfLoadExtension( 'PageCheckout' );

to your LocalSettings.php or the appropriate settings.d/ file.

Activities

  • PageCheckout (page_checkout) Properties:
    • user => user for which to check the page out for
    • pageId => optional, ID of the page to checkout
    • pagename => optional, used if no pageId is specified, name of the page to checkout
    • force => options, 1|0. If true, will remove any existing checkout and create a new checkout

If neither pageId nor pagename is specified, global context page of the workflow will be used

  • Page Checkin (page_checkin) Properties:
    • user => user which has the checkout
    • pageId => optional, ID of the page to checkin
    • pagename => optional, used if no pageId is specified, name of the page to checkin