Page MenuHomePhabricator

Changes to Special:ListDatatypes when federation is enabled
Closed, ResolvedPublic5 Estimated Story Points

Description

As detailed in T246339, ListProperties should point to an intermediate page with a link out to the federation source Wiki's ListProperties page. Currently, ListDatatypes contains a description of the available data types in the local Wikibase, as well as a link to the local page Special:ListProperties/{datatype}. When federation is enabled, these links should instead point to the source Wiki.

We could redirect each link to an intermediate page like T246339 where users can click through to the source wiki's version of Special:ListProperties/{datatype}

BDD
Given My Wikibase has federated properties enabled and I am on Special:ListDataTypes
When I select "List of Properties with this data type"
Then an intermediate page is displayed with a link out to the source Wiki's version of Special:ListProperties/{datatype}

Tech details

  • The special page for fed props list properties needs to be touched to take into account the "sub page" being accessed
  • The subpage should be added to the link generated on our special page
  • The text on the page can stay the same

Pointers:

  • The real SpecialListProperties can be used as an example for subpage handling and what is done there.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 16 2020, 4:01 PM
Samantha_Alipio_WMDE set the point value for this task to 5.

From the breakdown:

  • The special page for fed props list properties needs to be touched to take into account the "sub page" being accessed
    • The subpage should be added to the link generated on our special page
    • The text on the page can stay the same

Pointers:

  • The real SpecialListProperties can be used as an example for subpage handling and what is done there.

Change 611269 had a related patch set uploaded (by Hoo man; owner: Hoo man):
[mediawiki/extensions/Wikibase@master] FP: SpecialListFederatedProperties: allow specifying data type

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

Change 611269 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] FP: SpecialListFederatedProperties: allow specifying data type

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

Addshore closed this task as Resolved.Jul 22 2020, 8:08 AM

Resolved as it's in the Done column at the end of sprint 3 (start of sprint 4)