Page MenuHomePhabricator

"Main Page" incorrectly displayed as page title in error messages with "Return to $pagetitle"
Open, Needs TriagePublic

Description

Steps to reproduce:

Current result:

You have either not specified any target revision on which to perform this function, or the specified revision does not exist.
Return to Main Page.

Expected result:

You have either not specified any target revision on which to perform this function, or the specified revision does not exist.
Return to Wikipedia:Sandbox.

Event Timeline

Aklapper renamed this task from "Main Page" incorrectly displayed as page title in error messages to "Main Page" incorrectly displayed as page title in error messages with "Return to $pagetitle".May 5 2020, 3:59 PM
Aklapper added a project: MediaWiki-General.

Note that this is not an error per se. If you don't select any revision that does not make sense and so you'll be redirected to an error page, the "return to mainpage" is meant to guide you and everything back to normalcy. There are many pages (that are not normal to come by) that have that generic return message also.

Pppery subscribed.

I would delete "return to [[Main Page]]" entirely. It's almost never useful.

Note that this is not an error per se. If you don't select any revision that does not make sense and so you'll be redirected to an error page, the "return to mainpage" is meant to guide you and everything back to normalcy. There are many pages (that are not normal to come by) that have that generic return message also.

...but the actual title I'd need to return back to is even still in the visible URL!

Note that this is not an error per se. If you don't select any revision that does not make sense and so you'll be redirected to an error page, the "return to mainpage" is meant to guide you and everything back to normalcy. There are many pages (that are not normal to come by) that have that generic return message also.

...but the actual title I'd need to return back to is even still in the visible URL!

No, you don't actually want to return to that. It's also an error page (so you'll still see the 'return to mainpage' link there).