Page MenuHomePhabricator

Support case where the topic is already covered by an existing article
Closed, ResolvedPublic4 Estimated Story Points

Description

As part of the work on Article Guidance (T396029), the proposed workflow (T414409) allows users to identify the Wikidata item that represents what the article will be about. Ideally, the user will be able to proceed with the creation of the article. However, there are some cases where the user intent may clash with the existing contents of the wiki.

This ticket is focused on supporting the situation where the topic selected (represented by a Wikidata item) is already present on the current Wikipedia (regardless of the article title). In this case, we want to inform the user that the topic already exists, and provide options to contribute to it (show the option to edit it, suggest sections to add...).

For example, the user starting the Article Guidance workflow starts an article for "orange", selects the Wikidata item Q39338 and the system tells the user that the topic is already covered by the article "Orange_(colour)" on English Wikipedia (despite the title differences).

For the case where the title is already taken by a different article, see T421196.

Design approach

User scenario: A junior editor searches for a topic (for example, "orange"), selects a Wikidata item (Q39338), and the system detects that the topic is already covered by a local article ("Orange_(colour)"). The editor needs to understand what happened and decide what to do next.

UX flow

  • user picks a topic
  • system checks whether that topic already exists on wiki
  • if it does, creation stops and we show a separate "Article already exists" view
  • otherwise the normal creation flow continues

Design decisions

New Article Orange (4).png (1,080×1,920 px, 244 KB)

  • Step header: "Article already exists"
    • Codex hint: use the standard step container/header pattern with back navigation enabled
  • Existing local article shown as a linked card that opens the article
    • Codex hint: use CdxCard
    • Expected content: article title, short description, and image when available
    • Expected behavior: whole card opens the existing article
  • Description: Positive one-liner acknowledging the article exists and inviting contribution
    • Codex hint: plain supporting body text below the card, not a CdxMessage
  • Primary action: "Improve article" → opens the editor
    • Codex hint: use CdxButton with weight="primary" and action="progressive"
  • Back arrow: returns to topic selection

Event Timeline

SBisson moved this task from Backlog to Prioritized on the LPL Hypothesis board.

According to this page, we can use ?ecenable=suggestions to enable suggestions mode in the "Edit existing article" flow.

SGautam_WMF renamed this task from Support cases where title and/or the content already exist to Support case where the topic is already covered by an existing article.Mar 25 2026, 5:11 AM
SGautam_WMF updated the task description. (Show Details)

Change #1260674 had a related patch set uploaded (by GautamSudhanshu; author: GautamSudhanshu):

[mediawiki/extensions/ArticleGuidance@master] Add existing-topic resolver for selected topics

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

Change #1260674 abandoned by GautamSudhanshu:

[mediawiki/extensions/ArticleGuidance@master] Add existing-topic resolver for selected topics

Reason:

Lots of code practices here we would not do otherwise.

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

SBisson changed the task status from Open to In Progress.Mar 25 2026, 2:47 PM
SBisson moved this task from Prioritized to In-progress on the LPL Hypothesis board.

Change #1260977 had a related patch set uploaded (by Eamedina; author: Eamedina):

[mediawiki/extensions/ArticleGuidance@master] Add support for when a topic is already covered by an existing article

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

Change #1260977 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@master] Add support for when a subject is already covered by an existing article

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

Nikerabbit set the point value for this task to 4.