* (bug 4411) Fix messages diff link for classic skin
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 28 Dec 2005 22:17:27 +0000 (22:17 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 28 Dec 2005 22:17:27 +0000 (22:17 +0000)
RELEASE-NOTES
includes/Skin.php

index ba4a3de..bed0f9d 100644 (file)
@@ -364,6 +364,7 @@ fully support the editing toolbar, but was found to be too confusing.
 * Set cookies to secure mode based on use of HTTPS or $wgCookieSecure
 * (bug 4392) Update of LanguageSr.php
 * (bug 4382) Frisian numeric format
+* (bug 4411) Fix messages diff link for classic skin
 
 
 === Caveats ===
index c446f0e..42ffde2 100644 (file)
@@ -627,7 +627,7 @@ END;
                        # own talk page
                        if( !$wgTitle->equals( $wgUser->getTalkPage() ) ) {
                                $tl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessageslink' ) );
-                               $dl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessagesdifflink' ) );
+                               $dl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessagesdifflink' ), 'diff=cur' );
                                $s.= ' | <strong>'. wfMsg( 'youhavenewmessages', $tl, $dl ) . '</strong>';
                                # disable caching
                                $wgOut->setSquidMaxage(0);