From 388ea8dc28274d07e796f03a987ccc51a02fcbdf Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 2 Aug 2012 14:06:20 +0200 Subject: [PATCH] Mark the history link on page deletion as known. Two reasons: - the page must exists to reach this part of the code - it's useless to have special classes (redirect, stub) since this a link to the history and not to the content itself Change-Id: I59af2f237e0539842cc7777ddd44ba5ac500b070 --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index e1e08c9cda..6fc0acdaa4 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1384,7 +1384,7 @@ class Article extends Page { // @todo FIXME: i18n issue/patchwork message $this->getContext()->getOutput()->addHTML( '' . wfMsgExt( 'historywarning', array( 'parseinline' ), $this->getContext()->getLanguage()->formatNum( $revisions ) ) . - wfMsgHtml( 'word-separator' ) . Linker::link( $title, + wfMsgHtml( 'word-separator' ) . Linker::linkKnown( $title, wfMsgHtml( 'history' ), array( 'rel' => 'archives' ), array( 'action' => 'history' ) ) . -- 2.20.1