This task involves the work with ensuring the version of talk pages people see when they preview the changes they've made with non-DiscussionTools interfaces to talk pages matches the talk page they see when publishing the changes they've made.
Behavior
- On desktop or mobile, visit a talk page on a wiki where Topic Containers are enabled. E.g. https://patchdemo.wmflabs.org/wikis/916be355b2/w/index.php?title=Talk:Frances_Perkins4 .
- Open the source editor
- Make some changes
- Preview the changes you made in "Step 3."
Actual
- ❗️The preview appears as it does were Topic Containers NOT enabled (note the section headings and lack of metadata):
Desktop preview | Mobile preview |
---|---|
Expected
- ✅ The preview appears as it does were Topic Containers enabled. More details in ===Requirements below.
Requirements
- Editing Interface(s) (platforms): 2010 wikitext editor and 2017 wikitext editor (mobile & desktop)
- Preview method(s): existing "asynchronous" preview, real-time preview, live preview
- Preview Contents
- Show: Topic Container section title styling as it will appear on published page, discussion metadata (number of comments, number of people in discussion, time of last comment [1])
- Do NOT show: interactive page components (read: Subscribe buttons/links, Reply buttons/links, empty state message, section [ edit ] links (already done))
- Preview Contents
- Editing Interface(s) (platforms): New Topic Tool (mobile & desktop)
- Preview Contents
- Show: Topic Container discussion title styled as it will appear on published page, discussion "body" / "subject" styled as it will appear on published page
- Do NOT show: interactive discussion components (read: Subscribe buttons/links, Reply buttons/links, empty state message, section [ edit ] links (already done))
- Do NOT show: discussion metadata (number of comments, number of people in discussion, time of last comment
- Preview Contents
1. Metadata shown in the preview should reflect the state of the discussion at the moment people click the necessary button to show the preview.
Open questions
- How – if at all – should metadata be presented within the preview?
- Per today's team discussion, and the newly-created ===Requirements section above, metadata will be presented within the preview
Done
- Answers to all ===Open questions are documented
- Expected behavior is implemented