Page MenuHomePhabricator

Mobile view malfunctioning when there is a level 2 section without a title on a talk page
Closed, DeclinedPublic

Description

As seen here, (permanent link) mobile view malfunctions when there is a level 2 section without a title on a user talk page; it automatically opens the said section. Additionally, if the reader tries to view the entire talk page instead of just one section, they will be redirected to the page they visited before opening the talk page. For example, if you open a user page and choose the "Discussion" tab, the said section will automatically be opened, and when you try to close it, you will be redirected to the user page. Similarly, should you visit the talk page in desktop view, switch to the mobile view and then try to close the automatically-opened section, you will be redirected to the desktop view. This issue only occurs with the mobile view, and the desktop version of Minerva works fine.

Event Timeline

Jdlrobson added a project: patch-welcome.
Jdlrobson subscribed.

We don't support pages which do not use the level 1 section. Ideally this would be detected by the MobileFrontend talk page code and it would abort if it can't find a heading in the page. Patch welcomed to that effect, but this is unlikely to be prioritized our side.

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

Stalled per T278590

Xaosflux renamed this task from Mobile view malfunctioning when there is a level 2 section without a title on a user talk page to Mobile view malfunctioning when there is a level 2 section without a title on a talk page.Dec 28 2021, 4:29 PM

Not limited to "user talk" (see T298329)

ppelberg subscribed.

This issue only seems to impact the MobileFrontend overlay, which the Editing Team is planning to deprecate and replace with a new DiscussionTools interface.

There are a few places you can go to learn about and participate in the work the Editing Team is doing to make it easier for people, across experience levels, to use mobile talk pages constructively:

  • Read and/or subscribe to the network of tasks associated with T278588 that are of interest to you
  • Read and/or add the project' MediaWiki project page to your watchlist: Talk pages project/Mobile

Of course, if any question/ideas/concerns emerge as you're reading the above, please send me a message on my mediawiki.org talk page: https://www.mediawiki.org/wiki/User_talk:PPelberg_(WMF)