Wiki-Bot is a bot with the purpose to easily search for and link to wiki pages. Wiki-Bot shows short descriptions and additional info about the pages and is able to resolve redirects and follow interwiki links. Tweaked for Dogcraft.

MarkusRost fd1f41ce66 Update `English` translation 5 lat temu
.github 28efce3855 Minor fix 5 lat temu
RcGcDb @ 7808c4b47d 4c8bbc8066 link UCP article comments 5 lat temu
cmds 0b03f0a467 add Media: support 5 lat temu
functions 68dcdc92b7 improve global user stats 5 lat temu
i18n fd1f41ce66 Update `English` translation 5 lat temu
util 12b7becb35 fix crash 5 lat temu
.env.example 69fc364269 add package-lock.json 5 lat temu
.gitignore 69fc364269 add package-lock.json 5 lat temu
.gitmodules 4f1dc2a3ae add experimental notice 5 lat temu
LICENSE.md d5b9708dd3 save new translators from the optional strings 5 lat temu
PRIVACY.md 009e48475e Rename privacy.md to PRIVACY.md 5 lat temu
README.md 5491e0412b fix translations widgets 5 lat temu
bot.js 74f593e97c default requests to json 5 lat temu
main.js 74f593e97c default requests to json 5 lat temu
package-lock.json 0207c2c4ac update discord.js 5 lat temu
package.json 0207c2c4ac update discord.js 5 lat temu

README.md

Wiki-BotTranslation statusNode.js CI

Wiki-Bot

Wiki-Bot is a bot for Discord with the purpose to easily link and search MediaWiki sites like Gamepedia and Fandom wikis. Wiki-Bot shows short descriptions and additional info about pages and is able to resolve redirects and follow interwiki links.

Wiki-Bot has translations for English, German, French, Dutch, Polish, Portuguese, Russian, Turkish and Chinese.

Use this link to invite Wiki-Bot to your Discord server.

Support server: https://discord.gg/v77RTk5

Table of Contents

Setup

After inviting Wiki-Bot to your server you need to set the wiki you want to search by default. You do this with the !wiki settings command.

  • Change the wiki with !wiki settings wiki <url>
    • Example: !wiki settings wiki https://minecraft.gamepedia.com/Minecraft_Wiki
  • Change the language with !wiki settings lang <language>
    • Example: !wiki settings lang German

Commands

For a full list with all commands use !wiki help

Command Description
!wiki <search term> Wiki-Bot will answer with a link to a matching article in the wiki.
!wiki !<wiki> <search term> Wiki-Bot will answer with a link to a matching article in the named Gamepedia wiki: https://<wiki>.gamepedia.com/
!wiki ?<wiki> <search term> Wiki-Bot will answer with a link to a matching article in the named Fandom wiki: https://<wiki>.fandom.com/
!wiki ??<wiki> <search term> Wiki-Bot will answer with a link to a matching article in the named Wikia wiki: https://<wiki>.wikia.org/
!wiki !!<wiki> <search term> Wiki-Bot will answer with a link to a matching article in the named MediaWiki project. Example: !wiki !!en.wikipedia.org Cookie
!wiki User:<username> Wiki-Bot will show some information about the user.
!wiki diff <diff> [<oldid>] Wiki-Bot will answer with a link to the diff in the wiki.
!wiki diff <page name> Wiki-Bot will answer with a link to the last diff on the article in the wiki.
!wiki random Wiki-Bot will answer with a link to a random page in the wiki.
!wiki overview Wiki-Bot will show some information and statistics about the wiki.
!wiki discussion <search term> Wiki-Bot will answer with a link to a matching discussion thread in the Fandom wiki.
!wiki discussion post <search term> Wiki-Bot will answer with a link to a matching discussion post in the Fandom wiki.
!wiki info Wiki-Bot will introduce himself.
!wiki help Wiki-Bot will list all the commands that he understands.
!wiki help <bot command> Wiki-Bot will explain the command.
!wiki help admin Wiki-Bot will list all administrator commands.
!wiki test If Wiki-Bot is active, he will answer! Otherwise not.

If you got an unwanted response, you can react with 🗑️ (:wastebasket:) to his message and Wiki-Bot will delete it.

Admin

For a full list with all administrator commands use !wiki help admin

Command Description
!wiki help admin Wiki-Bot will list all administrator commands.
!wiki settings Wiki-Bot will change the settings for the server.
!wiki settings lang <language> Wiki-Bot will change the language for the server.
!wiki settings wiki <wiki> Wiki-Bot will change the default wiki for the server.
!wiki settings channel Wiki-Bot will change the channel overwrites for the current channel.
!wiki verification Wiki-Bot will change the wiki verifications used by the !wiki verify command.
!wiki verification add <role> Wiki-Bot will add a new wiki verification. Accepts a \| separated list.
!wiki verification <id> channel <new channel> Wiki-Bot will change the channel for the wiki verification. Accepts a \| separated list.
!wiki verification <id> role <new role> Wiki-Bot will change the role for the wiki verification. Accepts a \| separated list.
!wiki verification <id> editcount <new edit count> Wiki-Bot will change the minimal edit count for the wiki verification.
!wiki verification <id> usergroup <new user group> Wiki-Bot will change the user group for the wiki verification. Accepts a \| separated list.
• Provide AND as the first list entry to make all provided user groups required.
!wiki verification <id> accountage <new account age> Wiki-Bot will change the minimal account age (in days) for the wiki verification.
!wiki verification <id> rename Wiki-Bot will change if the users Discord nickname should be changed to their wiki username for the wiki verification.
!wiki rcscript Wiki-Bot will change the recent changes webhook.
!wiki voice Wiki-Bot will try to give everyone in a voice channel a specific role.
!wiki pause @Wiki-Bot Wiki-Bot will ignore all commands on this server, except a few admin commands.

User Verification

Using the !wiki verify <wiki username> command, users are able to verify themselves as a specific wiki user by using the Discord field on their wiki profile. If the user matches and user verifications are set up on the server, Wiki-Bot will give them the roles for all verification entries they matched.

Using the !wiki verification command, admins can add up to 10 verification entries on a server. Every verification entry allows for multiple restrictions on when a user should match the verification.

  • Channel to use the !wiki verify command in.
  • Role to get when matching the verification entry.
  • Required edit count on the wiki to match the verification entry.
  • Required user group to be a member of on the wiki to match the verification entry.
  • Required account age in days to match the verification entry.
  • Whether the Discord users nickname should be set to their wiki username when they match the verification entry.

See the admin commands or !wiki help verification on how to change the wiki verification entries on the server.

Recent Changes Webhook

Wiki-Bot is able to run a recent changes webhook based on RcGcDw by using the !wiki rcscript command. The recent changes can be displayed in compact text messages with inline links or embed messages with edit tags and category changes.

Requirements to add a recent changes webhook:

  • The wiki needs to run on MediaWiki 1.30 or higher.
  • The system message MediaWiki:Custom-RcGcDw need to be set to the Discord server id.

Voice Channel

Wiki-Bot is able to give everyone in a voice channel a specific role. This allows for the creation of channels only visible or writable when in a specific voice channel.

Use !wiki voice to get the format for the role name.

Translations

Translation status

Bot Lists

Wiki-Bot Wiki-Bot Wiki-Bot Wiki-Bot

Other

Credits to Encredechine for the Wiki-Bot logo.

Privacy Policy