Jump to content

Topic on Talk:Structured Discussions/Flow

Uncomfortable path to linking to a topic

8
Gryllida (talkcontribs)

Can't find my past topic... so here it goes, a little again. I browse this board and decide to link someone to a thread. Currently:

  1. click ...
  2. click permalink
  3. copy the topic:lalalala bit from urlbar or from the page
  4. switch tab
  5. type [[
  6. paste
  7. type |
  8. switch tab
  9. copy topic title
  10. switch tab
  11. paste
  12. type ]]

...a long path. :-) Now, it is the same with old way, except that it doesn't take me to single-thread view to perform all these operations. This perhaps makes it easier to link to multiple threads at once.

Also, when linking to a thread before (with classic wiki markup pages), it was one of many on a page. It was not a single thread.

Perhaps steal design from here: https://docs.python.org/2/reference/lexical_analysis.html#physical-lines -- move mouse over the headlines and watch what changes :-) (it used to even highlight a currently selected header with yellow background, but no longer does).

He7d3r (talkcontribs)
Gryllida (talkcontribs)

Done but I don't see it

Quiddity (WMF) (talkcontribs)

There's a similar gadget available on mediawiki.org that I use - Special:Preferences#mw-prefsection-gadgets and called "HeadAnchor" - that one adds a hover-effect to all levels of ==headers== which makes a sideways "§" appear to the left of the heading. That § is a link to the heading. (So I can either: click it to change the URL in the addressbar (and then copy the bit I want from there), or right-click copy the entire thing as an external link directly)

I like the hidden-until-needed visual aspect of the gadget on mw. However, I really like the options that the frwiki gadget adds - and that's sort of what we were talking about at https://trello.com/c/zdt35anb/107-permalink-flyout and meetings and in other threads onwiki, but putting those 2 options in the actionmenu. Thanks for pointing it out. :)

He7d3r (talkcontribs)

Sorry for the confusion. This is the syntax you should use to import the gadget from French Wikipedia:

mw.loader.load( '//fr.wikipedia.org/w/index.php?title=MediaWiki:Gadget-AncreTitres.js&action=raw&ctype=text/javascript' );

Gryllida (talkcontribs)
SPage (WMF) (talkcontribs)

That doesn't work once the topic is pushed below the initial load of N topics by other activity. We could hack it for JavaScript users but then it's not universal. There's a need to load a Flow board starting at a certain topic, but it'll be query string parameter(s) that work for no-JS.

DannyH (WMF) (talkcontribs)

I agree that we need a better way to link threads. It's not super high on the list right now, but I'm not happy with the long list of steps either.