Page MenuHomePhabricator

Fix ApiEntityTitleTextLookup for federated properties
Closed, ResolvedPublic

Description

"title text" refers to the mediawiki concept of a "title" (page name) prefixed with the namespace. This currently contains a concept URI for federated properties which makes no sense and causes wbformatentities to have an invalid URL for federated properties.

Event Timeline

Change 708077 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] FP: add method for getting unprefixed fed prop id

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

Change 708080 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] FP: use unprefix method in ApiEntityLookup

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

Change 708082 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] FP: fix ApiEntityTitleTextLookup

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

Change 708113 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] FP: throw for non-FedPropIds in Api* services

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

Change 708077 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] FP: add FederatedPropertyId::getRemoteIdSerialization

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

Change 708113 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] FP: throw for non-FedPropIds in Api* services

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

Change 708080 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] FP: use getRemoteIdSerialization in ApiEntityLookup

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

Change 708082 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] FP: fix ApiEntityTitleTextLookup

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