🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# C.113 WikiPublishTask This task can publish Wiki document via Wiki WebAPI. It supports only [MediaWiki](http://www.mediawiki.org/) engine for now. [cURL](http://www.php.net/manual/en/book.curl.php) extension is required. Table C.147:聽Attributes NameTypeDescriptionDefaultRequired`apiUrl``String`Wiki API URL (eg. http://localhost/wiki/api.php)n/aYes`apiUser``String`Wiki API user namen/aNo`apiPassword``String`Wiki API user passwordn/aNo`id``Integer`ID of page that will be changedn/aOne of these attributes is required.`title``String`Title of page that will be changes. Can also be used as page identifiern/a`content``String`Content of published pagen/aNo`mode``String`Edit mode (overwrite, prepend, append)appendNo C.113.1 Example ``` <wikipublish apiUrl="http://localhost/wiki/api.php" apiUser="testUser" apiPassword="testPassword" title="Some Page" content="Some content" mode="prepend"/> ```