Page MenuHomePhabricator

Handle article already exists in manual outline selection case
Open, HighPublic2 Estimated Story Points

Description

As part of the Article Guidance work (T396029), the workflow takes in consideration when the Wikipedia has already an article with the provided title to invite users to update the title. This was specified and implemented in T421196: Support case where the article title is already taken.

A regression seem to have affected this part of the process. Currently, it is possible to select an article that already exists and proceed with the workflow without an appropriate handling.
An example is illustrated below based on the following steps:

  1. Start a new article on Simple English Wikipedia with the title "Blues".
  2. Continue through the Article Guidance Workflow, observing that the UI behaves as if the article didn't exist.
  3. Reach Visual Editor and observe how the existing article contents are loaded.

Event Timeline

Pginer-WMF triaged this task as High priority.
Pginer-WMF added a project: Regression.
Pginer-WMF moved this task from Backlog to Prioritized on the LPL Hypothesis board.

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

[mediawiki/extensions/ArticleGuidance@master] Check for title taken on manual outline selection

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

Nikerabbit set the point value for this task to 2.Mon, Jun 1, 12:48 PM
Nikerabbit subscribed.

Do we know what caused the regression?

Do we know what caused the regression?

Not a regression. Checking for title already taken was not done in the manual outline selection code path.

Nikerabbit renamed this task from Regression for handling cases when article title is already taken to Handle article already exists in manual outline selection case.Mon, Jun 1, 12:58 PM
Nikerabbit removed a project: Regression.
Nikerabbit updated the task description. (Show Details)

Change #1294378 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@master] Check for title taken on manual outline selection

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

This is working fine but this Selected subject seems to only work for items selected from wikidata search but not for manual outlines. @SBisson shall we do it as part of separate task, or move this one back to dev? I realized this may need a little bit different treatment as they are not selecting subject here rather choosing a manual outline

New Article Moto G4 (36).png (1,080×1,920 px, 185 KB)

@SGautam_WMF yes, maybe show the selected outline in this case?