# Discourse Wikilinks Plugin

**URL:** https://meta.discourse.org/t/discourse-wikilinks-plugin/233592
**Category:** Plugin
**Created:** [July 21, 2022, 9:29pm UTC](https://meta.discourse.org/t/discourse-wikilinks-plugin/233592 "2022-07-21T21:29:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dvargas92495](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dvargas92495/32/263601_2.png) [@dvargas92495](https://meta.discourse.org/u/dvargas92495)
#### Post date: [July 21, 2022, 9:29pm UTC](https://meta.discourse.org/t/discourse-wikilinks-plugin/233592/1 "2022-07-21T21:29:49Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Supports the wikilinking between posts |
| 🛠 | **Repository Link** | [https://github.com/dvargas92495/discourse-wikilinks](https://github.com/dvargas92495/discourse-wikilinks) |
| 📖 | **Install Guide** | [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) |

  

### Features

- Autoclosing brackets in composer
- Autocomplete suggestion when typing a topic title within brackets `[[]]`
- Overlaying `anchor` tags where there are bracketed wikilinks, pointing to the linked topic
- Populating linked references with topics that wikilink to the currently viewable topic
- Creating new topics when a user inline links a new topic title within a pair of wikilink brackets.

### Configuration

You can configure the default text contained in a topic when you inline wikilink a post that doesn’t exist.

### CHANGELOG

Authoritative truth on changelog is maintained in the [Releases](https://github.com/dvargas92495/discourse-wikilinks/releases) section of the repository, with videos attached with each release.

### TODO

All issues available on the [Github’s Issues](https://github.com/dvargas92495/discourse-wikilinks) are PR welcome. All issues with the `enhancement` tag applied will be paid to the developer who closes the issue at $25/issue, paid from our Open Collective pool [found here](https://opencollective.com/discourse-wikilinks).

If you find this plugin useful, consider becoming a sponsor so that we could pay developers to continue improving the product!

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [August 12, 2022, 11:36am UTC](https://meta.discourse.org/t/discourse-wikilinks-plugin/233592/2 "2022-08-12T11:36:57Z")

</div>

I got this now (sorry strange language, but you should see the issue):

 ![kuva](https://global.discourse-cdn.com/meta/original/4X/8/0/7/807b0a836dd43b5f8ba3befbace3777de46370c0.jpeg)

And second one:

 ![kuva](https://global.discourse-cdn.com/meta/original/4X/6/4/5/645f7f9d1bca67dce40a6f320f4d98960527182f.jpeg)

The topic shows links that is connected to used tag. There is no another connections what so ever.

Is behaviour changed or is this a bug?

I’m using version 2.9.0beta9 [3764ebf963](https://github.com/discourse/discourse/commits/3764ebf96341692f3c5b79268007a1d1e78c5ef8)

And before you ask… yes, safe-mode works just fine. But I’m trying to make my life easier if someone has alredy find the quilty one 😉

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [August 12, 2022, 9:41pm UTC](https://meta.discourse.org/t/discourse-wikilinks-plugin/233592/3 "2022-08-12T21:41:40Z")

</div>

That came from Wikilinks plugin.

> [@Discourse Wikilinks Plugin](https://meta.discourse.org/t/discourse-wikilinks-plugin/233592):
>
> information_sourceSummary Supports the wikilinking between postshammer_and_wrenchRepository Link [https://github.com/dvargas92495/discourse-wikilinks](https://github.com/dvargas92495/discourse-wikilinks)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)Features Autoclosing brackets in composer Autocomplete suggestion when typing a topic title within brackets [[]] Overlaying anchor tags where there are bracketed wikilinks, pointing to the linked topic Populating linked references with topics that wikilink to…

It messed search history too, this way:

 ![kuva](https://global.discourse-cdn.com/meta/original/4X/5/1/d/51ddc371432d817682253554d437e21999d403a3.jpeg)

Should something like those happend?

Well, this is not a bug of Discourse, so could someone with stronger tools move this somewhere else, please?

(I know — I could flag this by myself, but I’ve learned my lessons and here is two things I don’t do: I don’t mention anyone from team and I don’t flag my own posts 😉 )

---

<div class="post-metadata">

### Author: ![oshyan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oshyan/32/212644_2.png) [@oshyan](https://meta.discourse.org/u/oshyan)
#### Post date: [August 13, 2022, 2:34pm UTC](https://meta.discourse.org/t/discourse-wikilinks-plugin/233592/4 "2022-08-13T14:34:45Z")

</div>

Wait, so you went and implemented this? 😮

> [@In-line topic search-and-linking, e.g. Roam-like bracket links](https://meta.discourse.org/t/in-line-topic-search-and-linking-e-g-roam-like-bracket-links/200454):
>
> I think it’s time Discourse had a faster way to create links to other topics on a given forum. Obviously there is the existing link button and shortcut in the composer, and if you’re really brilliant and happen to know the exact URL of a topic you can even do it without using the link dialog. But there are other apps showing that there can be a better, faster, easier way: invoking a search-and-link dialog in-line. There is already precedent for this in Discourse with the @ link/search behavior …

I imagine, given your Roam experience, that you had the idea independently yourself. And I’m excited to see it! Thanks for doing this work. Going to play with it now in my digital garden. 🙂
