From: Alexandre Emsenhuber Date: Thu, 2 Aug 2012 12:06:20 +0000 (+0200) Subject: Mark the history link on page deletion as known. X-Git-Tag: 1.31.0-rc.0~22880 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=388ea8dc28274d07e796f03a987ccc51a02fcbdf;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' ) ) .