Page MenuHomePhabricator

The most specific outline not being selected for ice hockey player
Closed, ResolvedPublic4 Estimated Story Points

Description

As part of the Article Guidance work (T396029), editors can create outlines to capture guidance for specific types of articles. When outlines are associated with Wikidata items their hierarchy of "instance-of" relations (and some other properties such as "occupation") is taken into account to use the most specific outline.

Currently, the following case was identified where the system is not working as expected:

  • On the test instance a Ice hockey player outline was created, and it is associated with the "Ice hockey player" Wikidata item Q11774891.
  • When trying to start an article about "Ian Moore" (I used "Ian Moore hockey" as title to disambiguate), the system picks the "Sportsperson" outline despite that Ian Moore Wikidata item (Q133869438) has the "occupation" property linked with "ice hockey player" (Q11774891).

b24e11a4f1.catalyst.wmcloud.org_wiki_Special_NewArticle(Wiki Mobile) (19).png (320×568 px, 44 KB)

The expected behaviour would be for the ice hockey player outline to be used instead.

This is based on an example shared by a an editor

Event Timeline

Pginer-WMF triaged this task as Medium priority.

Change #1295458 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ArticleGuidance@master] Outline matching: 0-hop check for non-default match via

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

Change #1295458 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@master] Outline matching: 0-hop check for non-default match via

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