[RfC] PageTerms API module should work on entity pages and connected pages on a wiki with repo and client functionality enabled.
Open, NormalPublic

Description

Currently, we support prop=pageterms only on the repo, for connected page. We want the same functionality also on the repo, for entity pages. And for wikis with both client and repo functionality, it should work for both, entity pages as well as connected pages.

daniel created this task.Oct 9 2015, 3:23 PM
daniel updated the task description. (Show Details)
daniel raised the priority of this task from to Needs Triage.
daniel added a project: Wikidata.
daniel added a subscriber: daniel.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 9 2015, 3:23 PM
JanZerebecki added a subscriber: JanZerebecki.EditedOct 12 2015, 1:10 PM

The hack added in https://gerrit.wikimedia.org/r/#/c/244698/ will do this, but it should be replaced by a non hack.

There are open conceptional issues with doing this in a proper way. Let's create a separate ticket once we figured out how to solve it.

Tobi_WMDE_SW renamed this task from PageTerms API module should work on entity pages and connected pages on a wiki with repo and client functionality enabled. to [RfC] PageTerms API module should work on entity pages and connected pages on a wiki with repo and client functionality enabled..Nov 3 2015, 1:59 PM
Tobi_WMDE_SW added a project: Proposal.
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 18 2015, 11:41 AM

Notes from today's story time:

  • API allows to ask for a description, and uses the connected item for that.
  • Project page on Wikidata can be connected to *one* item, which links to *one* connected page on enwiki.
  • Problem arises when a sitelink links to an other item. This item then does have *two* ways of resolving the description API request.
  • Suggestion: Special case only for the item namespace. Items are always exclusively connected to themself and can *not* have sitelinks to other items. Plus disallow sitelinks to the item namespace on the item namespace, then this is consistent.
  • Todo investigation: How many sitelinks link to items on wikidata.org?
  • Next: Find valid use cases and decide based on them.
aude added a subscriber: aude.Nov 25 2015, 1:04 AM

Notes from today's story time:

  • API allows to ask for a description, and uses the connected item for that.
  • Project page on Wikidata can be connected to *one* item, which links to *one* connected page on enwiki.
  • Problem arises when a sitelink links to an other item. This item then does have *two* ways of resolving the description API request.
  • Suggestion: Special case only for the item namespace. Items are always exclusively connected to themself and can *not* have sitelinks to other items. Plus disallow sitelinks to the item namespace on the item namespace, then this is consistent.
  • Todo investigation: How many sitelinks link to items on wikidata.org?

there are no sitelinks to items or properties on wikidata.

the sitelinks to wikidata pages are only for categories (a lot of these babel categories), help pages, lua modules, Special:Recentchanges, templates and project (Wikidata) namespace.

  • Next: Find valid use cases and decide based on them.
Lydia_Pintscher triaged this task as Normal priority.Feb 19 2016, 9:55 AM