Help with Wiki-Bot
(Created Main page)
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
<mainpage-leftcolumn-start />
[[File:Wiki.png|right]]
 
'''Wikia-Bot''' is a bot for [https://discordapp.com/ Discord] with the purpose to easily link to [https://fandom.wikia.com/explore FANDOM wikis].
+
'''Wiki-Bot''' is a bot for [https://discord.com/ Discord] with the purpose to easily link and search [[mw:|MediaWiki]] sites like [https://www.wikipedia.org/ Wikipedia] and [https://www.fandom.com/ Fandom] wikis. '''Wiki-Bot''' shows short descriptions and additional info about pages and is able to resolve redirects and follow interwiki links.
<br>He resolves redirects and follows interwiki links.
 
<br>Wikia-Bot has translations for English, German, French, Polish and Brazilian Portuguese.
 
   
  +
'''Wiki-Bot''' has translations for {{Languages}}. If you don't see your language, you can help to [[Translation|translate]] '''Wiki-Bot'''.
<big>'''Wikia-Bot is not affiliated with FANDOM/Wikia and is an unofficial tool!'''</big>
 
   
[https://discordapp.com/oauth2/authorize?client_id=523162656346079234&permissions=268954688&scope=bot Use this link to invite Wikia-Bot to your Discord server.]
+
[https://discord.com/oauth2/authorize?client_id=461189216198590464&permissions=939912256&scope=bot%20applications.commands Use this link to invite '''Wiki-Bot''' to your Discord server.]
  +
  +
[[Discord|Support server]]: https://discord.gg/v77RTk5
  +
  +
== Setup ==
  +
:''See also: [[Settings]]''
  +
After [https://discord.com/oauth2/authorize?client_id=461189216198590464&permissions=939912256&scope=bot inviting] '''Wiki-Bot''' to your server you need to set the wiki you want to search by default. You do this with the <code>!wiki settings</code> command.
  +
* Change the wiki with <code>!wiki settings wiki <url></code>
  +
** Example: <code>!wiki settings wiki https:/<nowiki/>/minecraft.fandom.com/wiki/Minecraft_Wiki</code>
  +
* Change the language with <code>!wiki settings lang <language></code>
  +
** Example: <code>!wiki settings lang German</code>
   
 
== Commands ==
 
== Commands ==
For a full list with all commands use <code>!wikia help</code>
+
For a full list with all commands use <code>!wiki help</code>
  +
 
{| class="wikitable"
 
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
| <code>!wikia <search term></code> || Wikia-Bot will answer with a link to a matching article in the wiki.
+
| <code>!wiki <search&nbsp;term></code> || '''Wiki-Bot''' will answer with a link to a matching article in the wiki.
 
|-
 
|-
| <code>!wikia !<wiki> <search term></code> || Wikia-Bot will answer with a link to a matching article in the named FANDOM wiki: <code><nowiki>http://<wiki>.wikia.com/</nowiki></code>
+
| <code>!wiki !<wiki> <search&nbsp;term></code> || '''Wiki-Bot''' will answer with a link to a matching article in the named Gamepedia wiki: <code>https:/<nowiki/>/<wiki>.gamepedia.com/</code>
 
|-
 
|-
| <code>!wikia User:<username></code> || Wikia-Bot will show some information about the user.
+
| <code>!wiki ?<wiki> <search&nbsp;term></code> || '''Wiki-Bot''' will answer with a link to a matching article in the named Fandom wiki: <code>https:/<nowiki/>/<wiki>.fandom.com/</code>
 
|-
 
|-
| <code>!wikia diff <diff> [<oldid>]</code> || Wikia-Bot will answer with a link to the diff in the wiki.
+
| <code>!wiki ??<wiki> <search&nbsp;term></code> || '''Wiki-Bot''' will answer with a link to a matching article in the named Wikia wiki: <code>https:/<nowiki/>/<wiki>.wikia.org/</code>
 
|-
 
|-
| <code>!wikia diff <page name></code> || Wikia-Bot will answer with a link to the last diff on the article in the wiki.
+
| <code>!wiki !!<wiki> <search&nbsp;term></code> || '''Wiki-Bot''' will answer with a link to a matching article in the named MediaWiki project.
  +
Example: <code>!wiki !!en.wikipedia.org Cookie</code>
 
|-
 
|-
| <code>!wikia random</code> || Wikia-Bot will answer with a link to a random page in the wiki.
+
| <code>!wiki User:<username></code> || '''Wiki-Bot''' will show some information about the user.
 
|-
 
|-
| <code>!wikia page <page name></code> || Wikia-Bot will answer with a link to the article in the wiki.
+
| <code>!wiki diff <diff> [<oldid>]</code> || '''Wiki-Bot''' will answer with a link to the diff in the wiki.
 
|-
 
|-
| <code>!wikia search <search term></code> || Wikia-Bot will answer with a link to the search page for the article in the wiki.
+
| <code>!wiki diff <page&nbsp;name></code> || '''Wiki-Bot''' will answer with a link to the last diff on the article in the wiki.
 
|-
 
|-
| <code>!wikia info</code> || Wikia-Bot will introduce himself.
+
| <code>!wiki random</code> || '''Wiki-Bot''' will answer with a link to a random page in the wiki.
 
|-
 
|-
| <code>!wikia help</code> || Wikia-Bot will list all the commands that he understands.
+
| <code>!wiki overview</code> || '''Wiki-Bot''' will show some information and statistics about the wiki.
 
|-
 
|-
| <code>!wikia help <bot command></code> || Wikia-Bot will explain the command.
+
| <code>!wiki discussion <search&nbsp;term></code> || '''Wiki-Bot''' will answer with a link to a matching discussion thread in the Fandom wiki.
 
|-
 
|-
| <code>!wikia test</code> || If Wikia-Bot is active, he will answer! Otherwise not.
+
| <code>!wiki discussion post <search&nbsp;term></code> || '''Wiki-Bot''' will answer with a link to a matching discussion post in the Fandom wiki.
  +
|-
  +
| <code>!wiki info</code> || '''Wiki-Bot''' will introduce himself.
  +
|-
  +
| <code>!wiki help</code> || '''Wiki-Bot''' will list all the commands that he understands.
  +
|-
  +
| <code>!wiki help <bot&nbsp;command></code> || '''Wiki-Bot''' will explain the command.
  +
|-
  +
| <code>!wiki help admin</code> || '''Wiki-Bot''' will list all administrator commands.
  +
|-
  +
| <code>!wiki test</code> || If '''Wiki-Bot''' is active, he will answer! Otherwise not.
 
|}
 
|}
  +
  +
If you got an unwanted response, you can react with 🗑️ to his message and '''Wiki-Bot''' will delete it.
   
 
=== Admin ===
 
=== Admin ===
For a full list with all administrator commands use <code>!wikia help admin</code>
+
For a full list with all administrator commands use <code>!wiki help admin</code>
  +
 
{| class="wikitable"
 
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
| <code>!wikia help admin</code> || Wikia-Bot will list all administrator commands.
+
| <code>!wiki help admin</code> || '''Wiki-Bot''' will list all administrator commands.
 
|-
 
|-
| <code>!wikia settings</code> || Wikia-Bot will change the settings for the server.
+
| <code>!wiki settings</code> || '''Wiki-Bot''' will change the settings for the server.
 
|-
 
|-
| <code>!wikia settings lang <language></code> || Wikia-Bot will change the language for the server.
+
| <code>!wiki settings lang <language></code> || '''Wiki-Bot''' will change the language for the server.
 
|-
 
|-
| <code>!wikia settings wiki <wiki></code> || Wikia-Bot will change the default wiki for the server.
+
| <code>!wiki settings wiki <wiki></code> || '''Wiki-Bot''' will change the default wiki for the server.
 
|-
 
|-
| <code>!wikia settings channel <wiki></code> || Wikia-Bot will change the default wiki for the current channel.
+
| <code>!wiki settings channel</code> || '''Wiki-Bot''' will change the channel overwrites for the current channel.
 
|-
 
|-
| <code>!wikia poll <question as free text></code> || Wikia-Bot will create a poll and react with <code>:support:</code> and <code>:oppose:</code>.
+
| <code>!wiki verification</code> || '''Wiki-Bot''' will change the wiki verifications used by the <code>!wiki verify</code> command.
 
|-
 
|-
| <code>!wikia poll <emoji> [<emoji> ...] <question as free text></code> || Wikia-Bot will create a poll and react with the possible answers.
+
| <code>!wiki verification add <role></code> || '''Wiki-Bot''' will add a new wiki verification.
  +
Accepts a <code><nowiki>|</nowiki></code> separated list.
 
|-
 
|-
| <code>!wikia say <message></code> || Wikia-Bot will write the given message.
+
| <code>!wiki verification <id> channel <new&nbsp;channel></code> || '''Wiki-Bot''' will change the channel for the wiki verification.
  +
Accepts a <code><nowiki>|</nowiki></code> separated list.
 
|-
 
|-
| <code>!wikia say alarm <message></code> || Wikia-Bot will write the given message already preformatted: <code>'''🚨 <message> 🚨'''</code>
+
| <code>!wiki verification <id> role <new&nbsp;role></code> || '''Wiki-Bot''' will change the role for the wiki verification.
  +
Accepts a <code><nowiki>|</nowiki></code> separated list.
 
|-
 
|-
| <code>!wikia delete <count></code> || Wikia-Bot will delete the recent messages in the channel, as long as they aren't older than 14 days.
+
| <code>!wiki verification <id> editcount <new&nbsp;edit&nbsp;count></code> || '''Wiki-Bot''' will change the minimal edit count for the wiki verification.
  +
|-
  +
| <code>!wiki verification <id> usergroup <new&nbsp;user&nbsp;group></code> || '''Wiki-Bot''' will change the user group for the wiki verification.
  +
Accepts a <code><nowiki>|</nowiki></code> separated list.
  +
* Provide <code>AND</code> as the first list entry to make all provided user groups required.
  +
|-
  +
| <code>!wiki verification <id> accountage <new&nbsp;account&nbsp;age></code> || '''Wiki-Bot''' will change the minimal account age (in days) for the wiki verification.
  +
|-
  +
| <code>!wiki verification <id> rename</code> || '''Wiki-Bot''' will change if the users Discord nickname should be changed to their wiki username for the wiki verification.
  +
|-
  +
| <code>!wiki rcscript</code> || '''Wiki-Bot''' will change the recent changes webhook.
  +
|-
  +
| <code>!wiki voice</code> || '''Wiki-Bot''' will try to give everyone in a voice channel a specific role.
  +
|-
  +
| <code>!wiki pause @Wiki-Bot</code> || '''Wiki-Bot''' will ignore all commands on this server, except a few admin commands.
 
|}
 
|}
   
== Voice channel ==
+
== User Verification ==
  +
:''See also: [[Verification]]''
Wikia-Bot is able to give everyone in a voice channel a specific role. Use <code>!wikia voice</code> to get the format for the role name.
 
  +
Using the <code>!wiki verify <wiki username></code> 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 <code>!wiki verification</code> 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 <code>!wiki verify</code> 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|admin commands]] or <code>!wiki help verification</code> on how to change the wiki verification entries on the server.
   
  +
== Recent Changes Webhook ==
  +
:''See also: [[Recent changes webhook]]''
  +
'''Wiki-Bot''' is able to run a recent changes webhook based on [https://gitlab.com/piotrex43/RcGcDw RcGcDw] by using the <code>!wiki rcscript</code> 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:
[[Category:Browse]]
 
  +
* The wiki needs to run on [[mw:MediaWiki 1.30|MediaWiki 1.30]] or higher.
  +
* The system message <code>MediaWiki:Custom-RcGcDw</code> need to be set to the Discord server id.
  +
<mainpage-endcolumn />
  +
<mainpage-rightcolumn-start />
  +
<div style="text-align: center;">
 
[[File:Wiki.png|center]]
  +
<small>Logo by [[w:User:Encredechine|Encredechine]]</small>
  +
== Support Server ==
  +
<div class="DiscordIntegrator" data-id="464084451165732868" data-theme="dark" data-width="100%" data-height="450px" data-allowtransparency="true" frameborder="0">If you see this, your JavaScript might be disabled or DiscordIntegrator plugin isn't working. If the latter, please contact a wiki administrator.</div>
  +
== Recent Activity ==
  +
</div>
  +
{{Special:RecentChanges|limit=20}}
  +
<discussions/>
  +
If you are interested in working on the wiki as well, please follow the [[Wiki-Bot Wiki:Rules|rules]] and join the Support Server.
  +
<mainpage-endcolumn />
  +
__NOEDITSECTION__
 
[[Category:Wiki-Bot Wiki]]

Latest revision as of 18:43, 24 March 2021

Wiki-Bot is a bot for Discord with the purpose to easily link and search MediaWiki sites like Wikipedia 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 Bengali, German, English, Spanish, French, Hindi, Korean, Dutch, Polish, Brazilian Portuguese, Russian, Turkish, Simplified Chinese and Traditional Chinese. If you don't see your language, you can help to translate Wiki-Bot.

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

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

Setup

See also: Settings

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.fandom.com/wiki/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 🗑️ 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

See also: 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

See also: 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.
Wiki.png

Logo by Encredechine

Support Server

If you see this, your JavaScript might be disabled or DiscordIntegrator plugin isn't working. If the latter, please contact a wiki administrator.

Recent Activity

Track the most recent changes to the wiki on this page.
List of abbreviations:
N
This edit created a new page (also see list of new pages)
m
This is a minor edit
b
This edit was performed by a bot
(±123)
The page size changed by this number of bytes

11 October 2021

     18:27  Verification diffhist +6 TreeIsLife Message Wall contribs First edit

If you are interested in working on the wiki as well, please follow the rules and join the Support Server.