Use a better message when a revision is not found.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 2 Aug 2012 09:20:40 +0000 (11:20 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 6 Aug 2012 08:53:53 +0000 (10:53 +0200)
commitd24a4d7f10a91fd8d12615f99cbb335132737086
treee542c06c4036cdebf57cdb5c001e32fa0df24e50
parent617d0f03c8151669e1ca51583d88bcd9ea2867d9
Use a better message when a revision is not found.

This comes from
https://translatewiki.net/wiki/Thread:Support/MediaWiki:Missing-article
that asks for a link to the deletion log in the
'missing-article' message.

Instead of simply changing that message I replaced
it with two news messages 'missing-revision' when trying
to view an old revision and 'difference-missing-revision'
when showing a difference. This removes the "lego"
construction of 'missing-article' with 'missingarticle-rev'
and 'missingarticle-diff' submessages.

I had to keep current messages since they are still
used in extensions.

Change-Id: Ibe60c84cfea922a78b3ad22cc48185a109cd617d
includes/Article.php
includes/EditPage.php
includes/diff/DifferenceEngine.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc