Search existing topics when hyperlinking

Hi everyone, if I may give you a suggestion.

When in editor and hyperlinking a word in a post, it would be a great idea to write a word/keys and dynamically search for matching topics. Because I’m finding myself linking references to other topics.

I saw a similar feature on some wordpress plugins, to easily put anchors and relate content.

20

11 Me gusta

This is a duplicate of some other requests:
:lock: Insert internal link like Wordpress
:lock: Fast way to link to existing topic?
:unlock: https://meta.discourse.org/t/how-about-mentioning-topic-feature/7350

You can kind of do something similar when composing by opening the header search, typing your query, using the down arrow to select the topic you want, and then hitting a to insert the link into the composer (totally recognize that it’s a power-user feature, and something in the hyperlink modal would be much more discoverable).

7 Me gusta

:confetti_ball: This feature has been added to core just a few minutes ago.

17 Me gusta

I hate to be “that guy” but I think category and tags need to appear there as well?

4 Me gusta

Also the closed icon/solved icon and so on like search shows. Basically the same as search, minus the excerpt in one line.

3 Me gusta

This has been updated, with support for categories, tags and topic status (closed/solved/pinned and so on).

11 Me gusta

Esta es una de las características más útiles en discourse, lo que permite una vinculación cruzada mucho más fácil entre temas.

Una pregunta: ¿qué tan difícil sería implementar una búsqueda entre sitios en esta característica? Por ejemplo, buscar en un sitio de documentación de ayuda externo también y permitir buscar ese contenido también y vincularlo.

1 me gusta

Actualmente, esto no está configurado para extenderse e incluir otros resultados de búsqueda. Supongo que un plugin podría extender esa ruta y devolver otros resultados, pero es probable que no sea un cambio trivial.

No creí que lo fuera. ¿La tecnología de indexación se puede reasignar a un sitio diferente en un plugin?