Page MenuHomePhabricator

Don't show download button on subpages, and opt-out for top-level pages
Open, Needs TriagePublic

Description

As a Wikisource user, I don't want the download button to show on subpages, so that I don't encounter the situation of attempting to download a whole book and yet only download a section of a book.

Background: The download button (added in T271869) should only be shown on top-level pages. Two magic words should be added:

  • __WIKISOURCEDOWNLOAD__ to force the display of the button (e.g. on work title subpages for multi-work volumes); and
  • __NOWIKISOURCEDOWNLOAD__ to prevent it (e.g. on disambiguation pages).

Relevant links:

Acceptance Criteria:

  • Don't show download button on subpages
  • Opt-out for top-level pages

Event Timeline

Samwilson created this task.Wed, Feb 3, 5:08 AM
Restricted Application added a project: Community-Tech. · View Herald TranscriptWed, Feb 3, 5:08 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Samwilson updated the task description. (Show Details)Wed, Feb 3, 5:22 AM
JAnD added a subscriber: JAnD.Thu, Feb 4, 1:42 PM

Not very good idea. There are works like encyclopedias or periodicals with thousands of subpages.
This solutions would need to add magic word to every subpage.

ifried updated the task description. (Show Details)Thu, Feb 4, 10:44 PM
ifried updated the task description. (Show Details)Thu, Feb 4, 11:48 PM