Page MenuHomePhabricator

[wmf.15] Related changes page: the warning "The given page title is invalid..." is out of sync with the page content
Closed, ResolvedPublic

Description

  1. On enwiki Special:RecentChangesLinked page enter the page title that will fetch some results with the default page settings - e.g. Apertium.
  2. Change the page tittle to de:Apertium - the suggested title will be displayed in the drop-down:

Screen Shot 2018-01-15 at 11.17.53 AM.png (325×544 px, 43 KB)

The results will not be displayed - a user might think that it's a correct result (which is not true).
Screen Shot 2018-01-15 at 11.18.01 AM.png (533×940 px, 63 KB)

  1. Reload the page - the warning explains that the pages titles with invalid interwiki prefix cannot be used here. The prefix de is not invalid, so the warning is misleading.

Screen Shot 2018-01-15 at 11.33.16 AM.png (553×947 px, 75 KB)

  1. Remove the prefix and observe that the results are displayed, but the warning does not go away:

Screen Shot 2018-01-15 at 11.19.30 AM.png (560×1 px, 120 KB)

Note: the steps can be repeated with entering an invalid page title - e.g. <<MediaWiki:Tag-foo-description>>, and then changing it to a valid title.

Event Timeline

Is it be possible to detect invalid (as in "not valid for that special page") strings and give an accurate warning message?

Change 405973 had a related patch set uploaded (by Sbisson; owner: Sbisson):
[mediawiki/core@master] RCLFilters specific message for invalid target page

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

Change 405973 merged by jenkins-bot:
[mediawiki/core@master] RCLFilters specific message for invalid target page

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

Checked the fix in betalabs