From b4d811d65956fb111dc2496574301bced0f03d04 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Tue, 8 Feb 2011 01:15:50 +0000 Subject: [PATCH] Fix bug slightly caused by moving legacy code out of the Skin class. The Article class was calling the legacy Skin::historyLink in a very ugly way (ie: having it's own mTitle, but relying on whatever title just happened to be set on the skin that it grabbed). --- includes/Article.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index 666b2ddb65..e13afc90f3 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2911,7 +2911,10 @@ class Article { //FIXME: lego $wgOut->addHTML( '' . wfMsgExt( 'historywarning', array( 'parseinline' ), $wgLang->formatNum( $revisions ) ) . - wfMsgHtml( 'word-separator' ) . $skin->historyLink() . + wfMsgHtml( 'word-separator' ) . $skin->link( $this->mTitle, + wfMsgHtml( 'history' ), + array( 'rel' => 'archives' ), + array( 'action' => 'history' ) ) . '' ); -- 2.20.1