Page MenuHomePhabricator

Title in vector-sticky-header not updated on label change
Closed, ResolvedPublicBUG REPORT

Description

As soon as the label of the current interface language is being updated the title in the vector-page-titlebar gets updated.
As soon as the change is saved the page title (shown next to favicon) is also updated.
The title shown in the vector-sticky-header is however not updated until the page is reloaded. Since this covers the vector-page-titlebar on scroll this leads to a weird situation where the title seems to revert.

Expected behaviour would be for the title shown in the sticky header to be updated at the same time as the title in the vector-page-titlebar (in case the user scrolls the page before committing the label change). It would however likely be acceptable to only update it when the label change is committed (similar to how the page title shown next to the favicon is treated).

Steps to reproduce:

Acceptance criteria:

  • When editing the label of an item in the Vector 2022 skin, the sticky header is updated with the new label, just like the regular heading is already updated.
  • If the sticky header ever appears on properties, then it should be updated there too (but it seems that this might not be the case – is the sticky header restricted to the main namespace?). Lexemes, EntitySchema and MediaInfo entities are not affected.

Details

Event Timeline

Lokal_Profil changed the subtype of this task from "Deadline" to "Bug Report".Jul 13 2025, 11:35 PM

Task time note: currently the sticky header only seems to be shown for logged in users.

Unassigning Arian as we’ve concluded in the task time that this task seems like a straightforward enough improvement that’s already ready to work on.

Change #1178021 had a related patch set uploaded (by Audrey Penven; author: Audrey Penven):

[mediawiki/extensions/Wikibase@master] Vector's sticky header shows edits

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

Change #1178021 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Vector's sticky header shows edits

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