💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 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"/> ```