Page MenuHomePhabricator

Highlight individual statements when selecting them in the URL
Closed, ResolvedPublic

Description

T178745: Highlight statement(s) when using "#P" in URL highlights the whole statement group when its property ID is selected in the URL hash, but you can also target individual statements this way, and it would be nice to highlight them, too.

Details

Related Gerrit Patches:
mediawiki/extensions/Wikibase : masterHighlight individual :target statements

Event Timeline

Restricted Application added a project: Design. · View Herald TranscriptSep 27 2019, 5:54 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 533917 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Abián):
[mediawiki/extensions/Wikibase@master] Highlight individual :target statements

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

The change linked above implements this; here’s what it looks like if the statement is not the first in the list:

@Hanna_Petruschat_WMDE does this look okay to you?

abian added a comment.Sep 27 2019, 6:44 PM

Thanks for the task, @Lucas_Werkmeister_WMDE!

Note that, when you load the page with the hash, you'll have the property name inside the box anyway, since the property name follows you when you scroll down.

Change 533917 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Highlight individual :target statements

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