Page MenuHomePhabricator

Prefixindex should show property title
Closed, ResolvedPublic

Description

Special:Allpages on Wikidata currently exposes the titles of items as well as the titles of properties. Special:Prefixindex only exposes the title of an item. It would be nice if Special:Prefixindex also exposed the titles of properties.

See Special:Allpages/Property: and Special:Prefixindex/Property:.

Details

Reference
bz52624

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:58 AM
bzimport set Reference to bz52624.
bzimport added a subscriber: Unknown Object (MLST).

The intent was to copy-paste them, since I am dumb and did not think to use the not-pretty format. :)

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).

LinkBeginHookHandler::doOnLinkBegin() only overwrites link texts when they equal the full title of the target page:
https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/a63410ebadcd2737ec0ea50d8415d8e363a1c30b/repo/includes/Hooks/LinkBeginHookHandler.php#L165
This is always the case for item pages because they're in main namespace, but not for property pages on Special:PrefixIndex, which strips the namespace name. Eventually, a hook like T76363 should be used.

Izno set Security to None.