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.

Event Timeline

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:

Screenshot_2019-09-27 Douglas Adams.png (432×933 px, 21 KB)

@Hanna_Petruschat_WMDE does this look okay to you?

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