[go: up one dir, main page]

MediaWiki extension PageCheckout

Clone this repo:
  1. b1fc140 Localisation updates from https://translatewiki.net. by Translation updater bot · 13 days ago master
  2. 18b06e3 Localisation updates from https://translatewiki.net. by Translation updater bot · 5 weeks ago
  3. 0132e3b Convert to abstract schema by hslater · 6 months ago
  4. 114bf65 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 by libraryupgrader · 7 weeks ago
  5. 7a7c5f0 Localisation updates from https://translatewiki.net. by Translation updater bot · 9 weeks ago

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