Extension:WebDAV

From Linux Web Expert


File:MediaWiki Stakeholders' Group Logo.svg <translate> This extension is maintained by a member of the <tvar name=1>MediaWiki Stakeholders' Group </tvar>.</translate>
MediaWiki extensions manual
WebDAV
Release status: stable
File:Webdav-logo.jpg
Description WebDAV interface to MediaWiki articles
Author(s) Hallo Welt! GmbH, Robert Vogel (Hallo Welt! GmbH), Dejan Savuljesku (Hallo Welt! GmbH)
Latest version 3.1.0
MediaWiki >=1.31
Database changes Yes
Composer mediawiki/webdav
License GNU General Public License 3.0 only
Download
  • $wgWebDAVUrlBaseUri
  • $wgWebDAVCredentialAuthProvider
  • $wgWebDAVBaseUri
  • $wgWebDAVSkipTalkNS
  • $wgWebDAVUserNameAsStaticToken
  • $wgWebDAVLockTimeOut
  • $wgWebDAVServer
  • $wgWebDAVNamespaceCollections
  • $wgWebDAVTokenExpiration
  • $wgWebDAVRootNode
  • $wgWebDAVStaticTokenExpiration
  • $wgWebDAVInvalidFileNameCharsRegEx
  • $wgWebDAVAuthType
  • $wgWebDAVInvalidateTokenOnUnlock
  • $wgWebDAVSkipNamespaces
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the WebDAV extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

WebDAV is a set of extensions to HTTP to support distributed authoring and versioning. It defines some request methods, message headers and XML message bodies which at their most basic, add metadata and locking to HTTP. Because it's based on HTTP and XML, it's quite easy to implement a WebDAV server in CGI or PHP. WebDAV maps very cleanly to file system primitives, so most modern operating systems support mounting WebDAV resources as file systems.

The Wikipedia:WebDAV article and the WebDAV home page describe WebDAV in more detail. WebDAV is formally defined in RFC 4918. The WebDAV versioning extension, DeltaV, is defined in RFC 3253.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/WebDAV</tvar>|Download]] and move the extracted <tvar name=name>WebDAV</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WebDAV
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'WebDAV' );
    
  • Copy or symlink webdav.php from the into your installation path.
  • By default Base URI ( $wgWebDAVBaseUri ) is set to $wgScriptPath/webdav, which requires Webserver to be configured in such a way to rewrite all request to this endpoint to $wgScriptPath/webdav.php.
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

External links