Talk:WMDE Technical Wishes/ReferencePreviews

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Reference Tooltips[edit]

See also mw:Reference Tooltips and its improved version on the discussion page. The RedBurn (talk) 23:41, 17 July 2018 (UTC)

Choosing hover/click[edit]

If WMDE is considering to implement this by default (like WMDE does with everything), please consider providing a way to choose whether someone wants to have previews by click or by simple hover. It is an option in the current gadget and it is there for a reason, since, if there are functional previews available, there’s no reason for people to click on footnotes to go to the bottom of the page.

Also, as I said on Phabricator, personally I consider these mockups to be too big in their size. Footnote previews can be substantially longer than article previews, and they should be generally less important to the reader than article previews. Right now the mockup is substantially bigger than it should be.

Please take time to consider nested content (lists, footnotes in footnotes etc.) and good luck in your development. stjn[ru] 11:23, 6 December 2018 (UTC)

Size and scrolling[edit]

I'd like to see how further examples and discussion about how it would/could/should work with larger content within each <ref>. There are many articles that contain large and detailed citations, or include large quotation-excerpts from the citation, so this will be a significant aspect of how it works.

I'm concerned about the proposed idea of scrollable content within these previews ("If the footnote's content is too big, you can scroll within the pop-up."). Specifically I'm concerned about how big the preview would need to be before it starts offering a scrollbar (versus just expanding-to-fit). However I do understand that it has to happen at some size (ie. it has to fit within the browser window). My top-most specific worries are:

  • Readers are less likely to see anything that requires interaction, so long citations and excerpts that are cut-off partway will inevitably get fewer readers.
  • Secondary scrollbars are often considered a UX anti-pattern, because they can interfere with user-intentions in a few ways. E.g. when scrolling within a sub-window, once I scroll to the end of the area it can cause the entire window to start-scrolling which might lose my place in the page. E.g.2. I might want to scroll the entire page, but because my mouse cursor is in the wrong place either the sub-window scrolls or nothing happens. (I'd guess this depends on technical implementation details)

For a random example (and I wish I had time to find more of these, or track down the example used in the embedded video) at w:en:ASCII#cite_ref-Haynes_2015_55-0 the Reference Tooltips gadget displays the long-ish excerpt in full (screenshot). I hope ReferencePreviews can also accomplish this. HTH! Quiddity (talk) 19:54, 6 December 2018 (UTC)

A few points[edit]

Regarding the "Research" section: All of the gadgets mentioned (enwiki, dewiki, nlwiki) are in fact ReferenceTooltips, which is enabled by default on 59 Wikipedias and available opt-in on many others. Some styling changes were made by certain wikis to match Page Previews styles.

Regarding intended behaviour, I very much advise against removing support for nested footnotes. I also share Quiddity's concerns above.

Please run this by the community somewhere before implementing potentially controversial changes. --Yair rand (talk) 20:18, 6 December 2018 (UTC)

Agree about the nested tooltips. If you are going to introduce support for short citations (which is great), this would be practically worthless if nested tooltips aren't supported (that's the animation of how the current gadget in ruwiki handles this). Jack who built the house (talk) 11:26, 9 December 2018 (UTC)