Jump to content

Extension:WebDAV

From mediawiki.org
This page is a translated version of the page Extension:WebDAV and the translation is 38% complete.
MediaWiki扩展手册
WebDAV
发行状态: 稳定版
描述 WebDAV interface to MediaWiki articles
作者 Hallo Welt! GmbH, Robert Vogel (Hallo Welt! GmbH), Dejan Savuljesku (Hallo Welt! GmbH)
最新版本 3.1.0
MediaWiki >=1.31
数据库更改
许可协议 僅限GNU通用公眾授權條款3.0
下載
  • $wgWebDAVUrlBaseUri
  • $wgWebDAVCredentialAuthProvider
  • $wgWebDAVBaseUri
  • $wgWebDAVSkipTalkNS
  • $wgWebDAVUserNameAsStaticToken
  • $wgWebDAVLockTimeOut
  • $wgWebDAVServer
  • $wgWebDAVNamespaceCollections
  • $wgWebDAVTokenExpiration
  • $wgWebDAVRootNode
  • $wgWebDAVStaticTokenExpiration
  • $wgWebDAVInvalidFileNameCharsRegEx
  • $wgWebDAVAuthType
  • $wgWebDAVInvalidateTokenOnUnlock
  • $wgWebDAVSkipNamespaces
季度下載量 2 (Ranked 129th)
前往translatewiki.net翻譯WebDAV扩展
問題 开启的任务 · 报告错误

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.

安裝

  • 下载文件,并将解压后的WebDAV文件夹移动到extensions/目录中。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WebDAV
  • 将下列代码放置在您的LocalSettings.php 的底部:
    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.
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

外部链接