# Command
# Inquire the Wiki
Wiki name:What to search
Example:
mw:home
[[What to search]]
Example:
[[home]]
# /help
/help
Help
Example:
/help
# /userinfo
/userinfo
Search for your own user information
Example:
/userinfo
# /language
Notice
The modification takes effect only for the user who runs the command and has a higher priority than the default configuration. If you need to modify the default configuration, modify the configuration file
/language
Displays a list of available languages
Example:
/language
/language language
Change language
Example:
/language zh-CN
# /wikiadd
Warning
The modification takes effect only for the user who runs the command and has a higher priority than the default configuration. If you need to modify the default configuration, modify the configuration file
About custom Wiki systems
Only HTTP sites can be added, and the target Wiki must be accessible to the robot's server
If MediaWiki is deployed in a non-root directory, then The Wiki link also need to fill in the corresponding path. For example, the wikipedia API address is https://zh.wikipedia.org/w/api.php, you need to fill out zh.wikipedia.org/w
/wikiadd <Wiki Name> <Wiki Link>
Add a MediaWiki site
Example:
/wikiadd mg zh.moegirl.org.cn
# /wikiupdate
Warning
The modification takes effect only for the user who runs the command and has a higher priority than the default configuration. If you need to modify the default configuration, modify the configuration file
/wikiupdate <Wiki Name> <Wiki Link>
Update the link to the MediaWiki site that you have added
Example:
/wikiupdate mg zh.moegirl.org.cn
# /wikidelete
Warning
The modification takes effect only for the user who runs the command and has a higher priority than the default configuration. If you need to modify the default configuration, modify the configuration file
/wikidelete <Wiki名字>
Delete a MediaWiki site that has been added
Example:
/wikidelete mg
# /importdata
Notice
The modification takes effect only for the user who runs the command and has a higher priority than the default configuration. If you need to modify the default configuration, modify the configuration file
/importdata <Software name> <User ID>
Cross-platform import configuration data of other users, such as languages and Wiki sites
Example:
/importdata Telegram 1000000000