Page MenuHomePhabricator

WS Export: download popup should allow the user to go to the configuration form for that work
Closed, ResolvedPublic2 Estimated Story Points

Description

The download dialog should have a link that takes the user to https://ws-export.wmcloud.org/, with the title and lang prefilled, just like the existing "Other formats" link in the sidebar.

This allows users to be informed that there are other options and formats available.

Visual Example:

Screenshot_2021-02-25_at_11.05.27_PM.png (618×644 px, 38 KB)

Link: https://phabricator.wikimedia.org/F34122590

Acceptance Criteria:

  • At the bottom of the download pop-up, display the following:
    • Text: "Looking for a different format?" in light grey
    • Text is aligned with text such as PDF, MOBI, etc
    • When clicked, the link redirects user (in a separate tab) to the Wikisource Export page with language code and book title pre-populated in relevant fields

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Inductiveload Thanks for filing this ticket! We have discussed this a bit, but I'm glad you're bringing it up now. There's an argument to be made to leave the current state, since the 3 main options may be more straight-forward & user-friendly than "Other formats" (which may seem vague/confusing), and the "Other formats" link is also available from the sidebar. However, there's also a good argument to include "Other formats" in the pop-up, which is that PDF/MOBI/EPUB doesn't work for everyone, and some people would like a higher degree of customization. If our goal is to have more people use the download button + pop-up rather than the sidebar links, I suppose the pop-up should also be a bit more robust and customizable. This leads me to think we may want to add one more row in the pop-up for "Other formats: go to WSExport page," but we would want to explicitly call out that the user would be redirected to the WSExport page, so no confusion or inconvenience arises.

Just early thoughts on my end... pinging @Prtksxna & @nayoub. Any thoughts? Thanks.

@ifried I think it should be in the dialog, even if it's de-emphasised (e.g. smaller and/or no icon, or something).

This is because:

  • A user pressing the download button may not know the sidebar links exist (they're quite ignorable), or that they are for the same thing (remember, until recently, there were several other, broken, tools in there too).
  • If you press the download button and are presented with three options, and no affordance indicating that there is more, you'd quite reasonably assume that that is all there is.
  • The sidebar links don't exist on Mobile, and you definitely want it to work from there because you could well be browsing from your reading device (phone/tablet). Cf. T274466. And the OOUI dialog would be a much more directed interface for that.

The string could be something like "Customise this export..." rather than just "Other formats" because there's more to it that just offering other formats (fonts, page size, etc).

These are great points, @Inductiveload! Thank you for sharing them. I'll discuss this with the team.

The other thing that is possible (just throwing this out there) is to add the export form to the pop up in some way, so the format, font, and other options (but probably not the language or title) could be chosen directly there. Not sure it's a good idea, but we could do it.

@Samwilson Good to know! I would be concerned about clutter and usability if we added in the whole form, but it's helpful to at least know it's an option. I'll discuss with @Prtksxna & @nayoub in our next meeting & see what they recommend for this ticket.

ifried renamed this task from WS export download popup should allow the user to go to the configuration form for that work to WS Export: download popup should allow the user to go to the configuration form for that work.Feb 25 2021, 4:15 PM
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)
ARamirez_WMF set the point value for this task to 2.Feb 25 2021, 6:49 PM
ARamirez_WMF moved this task from Needs Discussion to Up Next (June 3-21) on the Community-Tech board.

Change 673593 had a related patch set uploaded (by HMonroy; owner: HMonroy):
[mediawiki/extensions/Wikisource@master] Add different format link to download popup

https://gerrit.wikimedia.org/r/673593

Change 673593 merged by jenkins-bot:
[mediawiki/extensions/Wikisource@master] Add different format link to download popup

https://gerrit.wikimedia.org/r/673593

dom_walden subscribed.

The popup now looks like:

pick_a_format.png (326×334 px, 15 KB)

The new link takes you to https://ws-export.wmcloud.org/?lang=beta&title=<title>

We only have English translations, so I cannot yet test it in other languages.

Currently, I can only test on beta. When this goes live next Tuesday, I will test in a few production Wikisources, just to make sure we are setting the lang parameter correctly (I doubt there will be a problem).

Test Environment: https://en.wikisource.beta.wmflabs.org Wikisource – (574e77f) 07:42, 25 March 2021.

Thank you, @dom_walden! Quick note that we may actually go live on Wednesday. I'll discuss with the team during standup later and then post a team update for when the release will occur. Thanks!

This is now on production. I have also tested this, and I am able to see the link in the pop-up (see screenshot example below), which redirects me to the WS Export page (with pre-populated data related to the book I am trying to download). I'm marking this work as Done.

Screen Shot 2021-04-01 at 6.38.00 PM.png (922×1 px, 96 KB)

Currently, I can only test on beta. When this goes live next Tuesday, I will test in a few production Wikisources, just to make sure we are setting the lang parameter correctly (I doubt there will be a problem).

I have tested this in a few different languages, e.g. https://en.wikisource.org/wiki/Good_Sports?uselang=he. We don't have many translations yet.