Page MenuHomePhabricator

Review "about this page" page issues treatment of boxes at the top of talk pages
Closed, ResolvedPublic

Assigned To
Authored By
Niedzielski
Nov 26 2018, 6:10 PM
Referenced Files
F35215829: image.png
Jun 7 2022, 5:04 PM
F35215831: image.png
Jun 7 2022, 5:04 PM
F35215835: image.png
Jun 7 2022, 5:04 PM
F35215833: image.png
Jun 7 2022, 5:04 PM
F35215837: image.png
Jun 7 2022, 5:04 PM
F35215827: image.png
Jun 7 2022, 5:04 PM
F35148084: Screen Shot 2022-05-17 at 13.16.28.png
May 17 2022, 11:19 AM
F35146761: IMG_EFFB01F6CCC1-1.jpeg
May 17 2022, 1:17 AM
Tokens
"Love" token, awarded by Jdlrobson.

Description

When a talk page does not exist, the presentation isn't very welcoming:

en.m.wikipedia.org_w_index.php_title=Talk_Torridincolidae&mobileaction=toggle_view_mobile.png (1×800 px, 146 KB)

The page should encourage users to make the first edit. Something like a big content area that invites users to edit it.

Approaches

Approach #1: Extend the empty state experience (T270323) to include talk pages that only contain templates

Approach #2: Disable hiding mboxes on talk pages (or all non-content namespaces)

  • Considerations
    • Mboxes usually look awful on mobile, because they were designed on desktop. It’s possible to make them mobile-friendly, but this requires work, and needs to be done by the communities (as mboxes are styled on-wiki).

See also T312309

Developer notes

The page only appears empty because the contents of the page is marked up as an tmbox which is collapsed into the link "About this page" at the top.

This is how it would look if we removed this handling:

Screen Shot 2018-11-26 at 11.39.21 AM.png (587×346 px, 70 KB)

Event Timeline

Restricted Application changed the subtype of this task from "Deadline" to "Task". · View Herald TranscriptNov 26 2018, 6:10 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jdlrobson renamed this task from Empty mobile talk page should invite creation to Review "about this page" page issues treatment of boxes at the top of talk pages.Nov 26 2018, 7:40 PM
Jdlrobson lowered the priority of this task from Medium to Low.
Jdlrobson edited projects, added Web-Team-Backlog (Design); removed Web-Team-Backlog.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added subscribers: nray, Jdlrobson.

@nray @alexhollender seems relevant given our current work on talk pages
Compare https://en.wikipedia.org/wiki/Talk:Torridincolidae with https://en.m.wikipedia.org/wiki/Talk:Torridincolidae
Should we turn off the page issues code on talk pages so that the content is revealed when you click "read as wiki page? "

Why the "about this page" hyperlink only appear in "Talk" namespace? It should load in other talk namespaces (File_talk, Project_talk etc).

Jdlrobson changed the task status from Open to Stalled.Mar 26 2021, 10:19 PM

Stalled per T278590

ppelberg claimed this task.
ppelberg subscribed.

With the new talk page empty state experience (T270323) now being available on mobile web where DiscussionTools is enabled [i], I think we can resolve this task:

IMG_EFFB01F6CCC1-1.jpeg (2×1 px, 803 KB)

Note: T307843 will help us learn whether further improvements need to be made to the empty state experience to ensure, as this task describes, that people intuitively know what to do start a new discussion on an empty talk page.


i. See: https://ht.m.wikipedia.org/wiki/Diskite:Clarno,_Wisconsin

Tacsipacsi removed ppelberg as the assignee of this task.
Tacsipacsi subscribed.

With the new talk page empty state experience (T270323) now being available on mobile web where DiscussionTools is enabled [i], I think we can resolve this task

No, we can’t. The talk page empty state experience is about non-existent pages, while this task is about existing pages that contain only tmboxes. See for example https://simple.m.wikipedia.beta.wmflabs.org/wiki/Talk:Avalanche: it does exist, thus the empty state experience doesn’t appear, but it contains nothing but a talk page header, which is hidden on mobile, so no real content appears either (not even the About this page seems to appear for some reason):

Screen Shot 2022-05-17 at 13.16.28.png (2×1 px, 256 KB)

Change 794562 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/DiscussionTools@master] Show new topic tool empty state on existing pages with no topics too

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

ppelberg updated the task description. (Show Details)

(To clarify, my proposal is to display our thing below the existing talk page content, whatever it is, not to replace it.)

A few comparisons of how pages would look like after these changes: (using https://en.wikipedia.org/wiki/Talk:Tridell,_Utah as an example)

Existing page (before)Existing page (after)Non-existing page (before/after)
Desktop
image.png (2×3 px, 419 KB)
image.png (2×3 px, 517 KB)
image.png (2×3 px, 241 KB)
Mobile
image.png (1×828 px, 93 KB)
image.png (1×828 px, 127 KB)
image.png (1×828 px, 63 KB)

Approach #1: Extend the empty state experience (T270323) to include talk pages that only contain templates

  • Considerations
    • We'd need to make sure the definition of "empty" does not accidentally include talk pages that are not actually meant to be used for discussions because we wouldn't want to lead people to think they ought to start discussions on talk pages that do not contain any discussions and are not actually intended for hosting discussions. Perhaps the presence of the _NONEWSECTION_ magic word appearing on a page is sufficient enough signal to prevent said pages from receiving the empty state experience.
  • Open questions
    • How do we decide whether to show an empty state or not?
    • How would we display the empty state on pages that contain some non-discussion content?

Approach #2: Disable hiding mboxes on talk pages (or all non-content namespaces)

  • Considerations
    • Mboxes usually look awful on mobile, because they were designed on desktop. It’s possible to make them mobile-friendly, but this requires work, and needs to be done by the communities (as mboxes are styled on-wiki).

I ran into one more interesting case: on many wikis new users receive a welcome message on their user talk page soon after registering, and some of those messages do not have a heading nor a signature – the proposed patch would add the "empty state" below the welcome message in this case.

Examples:

I think this would be fine, and might actually be helpful in some cases if you don't speak the local language. (You can get the messages even if you've never edited, just viewed the wiki while logged in – I've never edited on ban.wp, for example.) It would be inconsistent between wikis though. (But I think this is fairly rare. I found 2 examples, but I have about 20 other talk pages like this which do have a signature after the welcome message.)

If you think about it, this is actually a lot like the article talk page templates on en.wp, but it's also different enough that I thought I'd mention it here.

Next steps

Per today's team discussion, we are going to deploy the proposal @matmarex illustrated in T210428#7986613 which will cause the empty state experience (T270323) to appear on discussion pages – as determined by its presence in a talk namespace – that have already been created so long as they do not contain any signed comments or a section heading.

In doing the above, we are knowingly accepting the fact that there will be cases (as @matmarex named in T210428#7987263) where the empty state experience could appear on talk pages where a discussion has already been started, albeit by a bot, mass message, or other volunteer using a welcome template to communicate with a newcomer that does not contain a signature, etc.

We are comfortable accepting this tradeoff because we assume the cases described in T210428#7987263 to be relatively rare and inconsequential.


With the new talk page empty state experience (T270323) now being available on mobile web where DiscussionTools is enabled [i], I think we can resolve this task

No, we can’t. The talk page empty state experience is about non-existent pages, while this task is about existing pages that contain only tmboxes.

Also, I'm glad you caught the mistake I made in closing this task and decided to re-open it...thank you, @Tacsipacsi.

Aside: @matmarex will deploying the patch to resolve this issue also resolve cases 9, 10, 11, 12, and 13 listed in T270323?

  • On mobile, the empty state will appear beneath the page title, as the existing content is currently stored "within" the About this page link.

It depends. For example, https://fr.m.wikipedia.org/wiki/Discussion:Chanson_québécoise doesn’t have an About this page link, as the WikiProject box doesn’t have classes recognized by MobileFrontend.

Aside: @matmarex will deploying the patch to resolve this issue also resolve cases 9, 10, 11, 12, and 13 listed in T270323?

Not really, I don't understand what's the relationship of that task to this?

Aside: @matmarex will deploying the patch to resolve this issue also resolve cases 9, 10, 11, 12, and 13 listed in T270323?

Not really, I don't understand what's the relationship of that task to this?

Note: @matmarex addressed the question I posed in T270323#8062802.