Page MenuHomePhabricator

Make EntitySchemas appear on Special:WhatLinksHere
Open, Needs TriagePublic

Description

As a Wikidata user I want to see on Special:WhatLinksHere what EntitySchemas reference a given Wikidata entity (which can be an Item, Property, Lexeme, EntitySchema, etc.) in order to facilitate the search and maintenance of those related EntitySchemas.

Problem: EntitySchemas are currently plain text and they don't generate [[wikilinks]] to the entity IDs they reference, so EntitySchemas never appear on Special:WhatLinksHere.

Example:

Screenshots/mockups:

BDD
GIVEN
AND
WHEN
AND
THEN
AND

Acceptance criteria:

  • All entity IDs written in the EntitySchema (e.g., "wd:Q42") with a valid syntax generate a link to the EntitySchema on the corresponding Special:WhatLinksHere pages of those entities.

Open questions:

Event Timeline

abian created this task.Jul 18 2019, 1:28 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 18 2019, 1:28 PM

Same as T224669 if I understand correctly.

abian added a comment.Jul 19 2019, 9:03 AM

Hey, thanks for the reference! I didn't know that task was open. But both tasks aren't exactly the same, this task is oriented to generate wikilinks automatically from every single entity ID that doesn't have an explicit link in the raw text. For example...

PREFIX wd: <http://www.wikidata.org/entity/>
...
... [wd:Q202871] } ;
}

... should generate a link [[Q202871]] that is not explicit in the EntitySchema.

It's my fault that this task looks the same, I should have written acceptance criteria.

abian updated the task description. (Show Details)Jul 19 2019, 9:10 AM