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


  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:

The results will not be displayed - a user might think that it's a correct result (which is not true).

  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.

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

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

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

Checked the fix in betalabs