Background
We're moving to a world where instead of Saved the title will be Saved / <Custom List Title> and the custom list title will no longer be on a separate line. Additionally, on mobile we want the line to wrap to max 2 lines and then truncate with ellipses
Notes for engineers
This is a bit tricky, because the page title is being set in SpecialReadingLists.php which currently does not concern itself with the reading list in question. It shouldn't be hard, but we will have to look up the custom list name via ID and make sure we're not doing anything silly like exposing security holes
For the text wrap, look into line clamp and text overflow - you should be able to target the page title in the special page stylesheet (please ensure the styles are not leaking out of the special page, but they shouldn't)
User story
As a logged in Wikipedia user, I can see the page title shift when I navigate to a custom collection that goes from "Saved" (default, all items view) to "Saved / [name of custom collection]"
Design requirements
Again this should probably be an exported wireframe but alas I don't know how to do that 😭
mobile wrapping behavior
Requirements
Acceptance criteria
- Page title reflects name of custom list on custom list pages
- Custom list title is removed from subheader
- Page title of parent Saved "all items" page is unchanged
- On mobile, text wraps to two lines and then truncates with ellipses as shown in design (desktop optional)
QA strategy
- Risky change? Med risk - I suspect this will be cached, so we should make sure we get it right before letting it ride the train
- QA by: QS, PM, and/or design
- QA in: Patchdemo, beta, and production
- Test steps: Add if needed.
Communication criteria
Add if this needs an announcement or discussion.
Rollback plan
If this is somehow broken it will (hopefully) be limited to the scope of the user, so plan our response accordingly - we may need to backport a fix but assuming the page title is cached HTML, we will be a bit at the mercy of the slow moving cache. Proceed accordingly and scope changes to this area only to limit the blast radius




