Fix bug slightly caused by moving legacy code out of the Skin class. The Article...
authorDaniel Friesen <dantman@users.mediawiki.org>
Tue, 8 Feb 2011 01:15:50 +0000 (01:15 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Tue, 8 Feb 2011 01:15:50 +0000 (01:15 +0000)
includes/Article.php

index 666b2dd..e13afc9 100644 (file)
@@ -2911,7 +2911,10 @@ class Article {
                        //FIXME: lego
                        $wgOut->addHTML( '<strong class="mw-delete-warning-revisions">' .
                                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' ) ) .
                                '</strong>'
                        );