Page MenuHomePhabricator

Keep Vector 2022 sticky header visible at Wikidata.org
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):
Keep the Vector-2022 header line (vector-header) visible in the Wikidata wiki while scrolling through the page as it is done in the "normal" wikipages. Now it is scrolled out. It is easy to lose track if you cannot see the name/title any longer.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Compare a content page for instance in the English Wikipedia and a data page in Wikidata and scroll through the page. In the Wikis the header-line is kept all the time, in Wikidata it is vanished.

Benefits (why should this be implemented?):
All readers and data typists.

Event Timeline

Aklapper renamed this task from Keep the vector-header visible at Wikidata to Keep Vector 2022 sticky header visible at Wikidata.org.Jan 3 2025, 9:13 AM

I don't see a sticky header on the English Wikipedia. Are you sure it's not a script or gadget?

@Nikki: It is only at the new Vector 2022 skin, not on the old one and not on the main page. This feature is available on other wikis like German Wikivoyage, so it is not a local gadget.

Only a comment: Maybe it is useful to show the sticky header in any case (logged-in and logged-out users) in all wikis hiding only these icons which are not useful for logged-out users.

Could you clarify what this bug is about?
The sticky header for logged in users is present on any Wikidata page which has a heading and has been configured for that namespace.

I see it on the following pages:

https://www.wikidata.org/wiki/Help:About_data
https://www.wikidata.org/wiki/Q1

Screenshot 2025-02-06 at 2.19.53 PM.png (1×3 px, 380 KB)

Is this a duplicate of T329673: Enable sticky header in all namespaces or is there something specific to Wikidata in this bug report?

I assume that in InitialiseSettings.php the vector.sticky_header test enrollment was removed, and that's why sticky headers are now visible on all wikis. A month ago, Wikidata was excluded. Maybe @ovasileva can tell us about this.

It seems that the former section:

'wgVectorStickyHeader' => [
	'default' => [
		'logged_in' => true,
		'logged_out' => false,
	],
	'commonswiki' => [
		'logged_in' => false,
		'logged_out' => false,
	],
	'wikidatawiki' => [
		'logged_in' => false,
		'logged_out' => false,
	],
	'frwiki' => [
		'logged_in' => false,
		'logged_out' => false,
	],
],

is now vanished.

@RolandUnger I'm still confused. Yes the sticky header was recently cleaned up so that it applies to all projects. It was completed in T332728 on 8th January just after your task was filed.

So to confirm: Are you saying the issue is now fixed or are you requesting that the sticky header is disabled on certain pages?