# Internal inline oneboxes in the Discourse preview feature (on discourse.gnome.org only)

**URL:** https://meta.discourse.org/t/internal-inline-oneboxes-in-the-discourse-preview-feature-on-discourse-gnome-org-only/346587
**Category:** Support
**Tags:** onebox
**Created:** [January 10, 2025, 11:23pm UTC](https://meta.discourse.org/t/internal-inline-oneboxes-in-the-discourse-preview-feature-on-discourse-gnome-org-only/346587 "2025-01-10T23:23:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Thomas\_DC](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@Thomas\_DC](https://meta.discourse.org/u/Thomas_DC)
#### Post date: [January 10, 2025, 11:23pm UTC](https://meta.discourse.org/t/internal-inline-oneboxes-in-the-discourse-preview-feature-on-discourse-gnome-org-only/346587/1 "2025-01-10T23:23:55Z")

</div>

Hi 🙂

Could someone help for this pb which does not occur on [meta.discourse.org](http://meta.discourse.org) please? 🙂

> **[Internal featured-links in the preview feature](https://discourse.gnome.org/t/internal-featured-links-in-the-preview-feature/20237)**
>
> Hi 🙂 Why does Automatic cross-links - Feature - Discourse Meta work as a featured-link, while Flag posts as a solution in the Community category does not? (At the time I’m posting, the 2nd shows the raw link.) meta.discourse.org hasn’t any pb,...

> **[Internal inline oneboxes in the Discourse preview feature (#1433) · Issues ·...](https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1433)**
>
> Summary On Discourse, internal links are not handled correctly in the preview feature. No pb once it's...

Need you me to copy/paste here what I said there?

It seems that it’s not a recent fix, which would be available on [meta.discourse.org](http://meta.discourse.org) since not long ago, but not still on [gitlab.gnome.org](http://gitlab.gnome.org).

Could you confirm that, please:  
[gitlab.gnome.org](http://gitlab.gnome.org) has Discourse 3.3.3 yet. [meta.discourse.org](http://meta.discourse.org) had an older version in april 2024, isn’t it?

---

<div class="post-metadata">

### Author: ![Thomas\_DC](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@Thomas\_DC](https://meta.discourse.org/u/Thomas_DC)
#### Post date: [January 11, 2025, 5:55pm UTC](https://meta.discourse.org/t/internal-inline-oneboxes-in-the-discourse-preview-feature-on-discourse-gnome-org-only/346587/2 "2025-01-11T17:55:38Z")

</div>

Hi @Moin 🙂

Why did you replace `featured-link` by `onebox` tag?

I used one-boxes in this msg, but that was not a demonstration.  
And I just checked it, there is no pb on [discourse.gnome.org](http://discourse.gnome.org) with one-boxes, only with featured-links.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [January 11, 2025, 6:09pm UTC](https://meta.discourse.org/t/internal-inline-oneboxes-in-the-discourse-preview-feature-on-discourse-gnome-org-only/346587/3 "2025-01-11T18:09:27Z")

</div>

Sorry, maybe I misunderstood your problem. I had the impression you were talking about inline oneboxes.

Quote from the second link:

> Steps to reproduce
> 
> 1. Create a new Topic on [https://discourse.gnome.org/](https://discourse.gnome.org/).
> 2. Type some text, and without going to the next line, add an external link, like [Automatic cross-links](https://meta.discourse.org/t/automatic-cross-links/301224). In the preview pane, it should appear as `Automatic cross-links - feature - Discourse Meta`.
> 3. Still without going to the next line, add an internal link, like [Flag posts as a solution in the Community category - Site Feedback - GNOME Discourse](https://discourse.gnome.org/t/flag-posts-as-a-solution-in-the-community-category/20236). In the preview pane, it should appear as `https://discourse.gnome.org/t/flag-posts-as-a-solution-in-the-community-category/20236`.

A [featured link](https://meta.discourse.org/t/adding-a-featured-link-to-your-topic/317027/1) is added to a topic when you paste a link into the title field of a topic before writing anything else. Then the link is added next to the topic title, which is also visible in topic lists.

> [@Adding a featured link to your topic](https://meta.discourse.org/t/adding-a-featured-link-to-your-topic/317027/1):
>
> ![Topic title with featured link below](https://global.discourse-cdn.com/meta/original/4X/4/0/9/4090ae8f803ad09a3bc9dc316e1142b5295a8806.png)

When you post a link in the same line as text and it is replaced by something more readable than the URL, it’s an inline onebox.

> [@Creating rich link previews with Onebox](https://meta.discourse.org/t/creating-rich-link-previews-with-onebox/98088/1):
>
> ## Inline Oneboxing
> 
> With the `enable inline onebox on all domains` site setting enabled (this feature is enabled by default), pasting the link inline with the text will replace the raw link with the title of the page, like this [Understanding Discourse Trust Levels](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/)
> 
> > `like this https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/`

Because your steps to reproduce mention typing text before posting the link, I changed the tag. I will gladly change the tag back if you meant featured links and not inline oneboxes.

Then the answer is probably simple: Featured links don’t work for internal links. So you cannot create a featured link for the forum you are currently posting to.

> [@Adding a featured link to your topic](https://meta.discourse.org/t/adding-a-featured-link-to-your-topic/317027/1):
>
> ## Limitations
> 
> - The ability to use featured links depends on the site’s settings. If you don’t see the option, it may not be enabled for your community
> - **You cannot use a link from the same Discourse instance as a featured link**

---

<div class="post-metadata">

### Author: ![Thomas\_DC](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@Thomas\_DC](https://meta.discourse.org/u/Thomas_DC)
#### Post date: [January 11, 2025, 7:34pm UTC](https://meta.discourse.org/t/internal-inline-oneboxes-in-the-discourse-preview-feature-on-discourse-gnome-org-only/346587/4 "2025-01-11T19:34:58Z")

</div>

> [@Moin](#):
>
> I had the impression you were talking about inline oneboxes.

You were right. I didn’t have the right vocabulary.  
Maybe I was misled by the [First Onebox badge](https://meta.discourse.org/badges/42/first-onebox).

Thank you for the correction and for all the explanations. 🙂

---

<div class="post-metadata">

### Author: ![Thomas\_DC](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@Thomas\_DC](https://meta.discourse.org/u/Thomas_DC)
#### Post date: [February 9, 2025, 8:40pm UTC](https://meta.discourse.org/t/internal-inline-oneboxes-in-the-discourse-preview-feature-on-discourse-gnome-org-only/346587/5 "2025-02-09T20:40:36Z")

</div>

> [@Thomas\_DC](#):
>
> Could someone help for this pb which does not occur on [meta.discourse.org](http://meta.discourse.org) please? 🙂

> [@Thomas\_DC](#):
>
> Could you confirm that, please:  
> [gitlab.gnome.org](http://gitlab.gnome.org) has Discourse 3.3.3 yet. [meta.discourse.org](http://meta.discourse.org) had an older version in April 2024, isn’t it?

I suppose I was wrong about [meta.discourse.org](http://meta.discourse.org)’s version in April 2024, since the problem has just been fixed by a recent update.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 11, 2025, 8:40pm UTC](https://meta.discourse.org/t/internal-inline-oneboxes-in-the-discourse-preview-feature-on-discourse-gnome-org-only/346587/6 "2025-03-11T20:40:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
