Page MenuHomePhabricator

Make the link in the page move history to a newly created redirect not redirect
Open, Needs TriagePublic

Description

When moving a page and leaving a redirect behind, it would be nice if the link to the newly created redirect pointed to the redirect=no page in the page history.

Also, this page (https://www.mediawiki.org/wiki/How_to_report_a_bug) makes me think I did this totally wrong, but don't really give instructions that seem to apply to this, so sorry and please don't banish me from phab.

Event Timeline

The original bug report was OK, but a little vague. You need to give explicit idiot-proof step-by-step instructions to replicate the issue.

In the page history the edit summary for a page move says something like {{user}} moved page [[{{1}}]] to [[{{2}}]]. This doesn't appear to be a system message, because I can't find it in [[Special:AllMessages]]. Although because it's in English, it must be localised. Where is this message? Once the message is found, updating it should be straightforward.

The page history is pretty much set in stone, though, currently without T15937: Changeable (editable) edit summaries being addressed. So any change to the message won't be backwards-compatible.

MediaWiki:Movepage-moved is the text you see when you have just moved the page, but that already links to the former title with &redirect=no

As best I can tell, the watchlist and page history text isn't a customisable MediaWiki message but is part of MediaWiki that is defined at Translate Wiki, e.g. Crosswatch-LOGEVENT_MOVE/en, Logentry-move-move/en, Logentry-move-move_redir etc. so would need changing there (I don't know the necessary syntax, or that syntax even exists) and would only update when the next version of MediaWiki is installed (this is generally weekly on Wikimedia websites, but I don't know if translatewiki entries are updated each time.