Skip to content

WikiLinks: New Plugin :shiggy:#4286

Open
patttterson wants to merge 2 commits into
Vendicated:mainfrom
patttterson:feat/wikilinks
Open

WikiLinks: New Plugin :shiggy:#4286
patttterson wants to merge 2 commits into
Vendicated:mainfrom
patttterson:feat/wikilinks

Conversation

@patttterson

Copy link
Copy Markdown

Describe your Changes

Plugin that transforms [[wiki]] and {{template}} links in your chat messages into actual hyperlinks, with the ability to use MediaWiki APIs to check the links existence.

Important

That feature may lead to an unexpected delay between hitting "Enter" and the message actually sending, so it is disabled by default.

For example, it turns [[Anubis (software)]] into [[Anubis (software)]] and {{Citation needed}} into {{Citation needed}}

This is mainly inspired by https://github.com/stjohann/DiscordWikiBot

Checklist before submitting

  • I have read the CONTRIBUTING.md file and made sure this pull request complies with it
  • This pull request was written by me, and not an AI agent

@Vendicated

Copy link
Copy Markdown
Owner

Can mostly be done with TextReplace no?

@patttterson

patttterson commented Jun 9, 2026

Copy link
Copy Markdown
Author

Yeahh I thought about that, but with all the interwiki prefixes, template syntax, different languages, per-wiki capitalization rules, etc. I figured it was worth a whole plugin

Also regex is scary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants