Page MenuHomePhabricator

Flow does not parse links in section header
Closed, DuplicatePublic

Description

See https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A4%D0%BE%D1%80%D1%83%D0%BC/%D0%9D%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B8/Flow and attached screenshot.

The second and third sections' headers are supposed to be clickable links but right now they just appear as raw wikitext.

Screenshot from 2015-06-09 09:10:10.png (1×1 px, 289 KB)

(Unrelated - but I couldn't figure out a way to link to the section directly with anchors. Is it possible to do that?)

Event Timeline

Glaisher raised the priority of this task from to High.
Glaisher updated the task description. (Show Details)
Glaisher subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
matthiasmullie claimed this task.
matthiasmullie subscribed.

This is not a bug, it's intentional for a couple of reasons:

  • there is a character limit on topic titles, which wouldn't play nicely with template transclusion
  • topic titles are used in watchlist, logs, recentchanges, ... and we prefer not to have parsed wikitext there

And there were some more technical reasons that I'm forgetting about :p

It is possible, however, to add wikitext to the topic summary (which appears below the topic title, also still in the gray area) - that is available via the ... menu: Кратко описать содержание.

You can't link to a topic with anchors (because of the infinite scroll), you can however link to the topic directly. "Постоянная ссылка" via the ... menu. In this case: https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BC%D0%B0:Shhqnuw5kngudt55

Glaisher reopened this task as Open.EditedJun 9 2015, 11:53 AM

This is not a bug, it's intentional for a couple of reasons:

If it's intentional, then it needs to be changed. It has been possible to link in section headers since forever. If wikitext talk pages are going to be converted to Flow-based pages, then we would have broken section headers on hundreds of pages.

  • there is a character limit on topic titles, which wouldn't play nicely with template transclusion

This task is only requesting about parsing links in topic titles, not about parsing included templates in topic titles.

  • topic titles are used in watchlist, logs, recentchanges, ... and we prefer not to have parsed wikitext there

As topic titles in logs and watchlists are not going to be fully parsed wikitext, then it should have the current behavior for changelist entries and log entries (i.e., just showing parsed "text only" instead of making it clickable links).

It is possible, however, to add wikitext to the topic summary (which appears below the topic title, also still in the gray area) - that is available via the ... menu: Кратко описать содержание.

Is there going to be a topic summary in old converted discussions?

You can't link to a topic with anchors (because of the infinite scroll), you can however link to the topic directly. "Постоянная ссылка" via the ... menu. In this case: https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BC%D0%B0:Shhqnuw5kngudt55

Thanks for the tip.

Please reconsider this as it will break lots and lots of pages if this behavior is retained.