Introduce 'mywatchlist' message; used on personal menu to link to watchlist page.
authorIvan Lanin <ivanlanin@users.mediawiki.org>
Tue, 10 Apr 2007 10:30:05 +0000 (10:30 +0000)
committerIvan Lanin <ivanlanin@users.mediawiki.org>
Tue, 10 Apr 2007 10:30:05 +0000 (10:30 +0000)
RELEASE-NOTES
includes/SkinTemplate.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index 2af3079..6b93a0e 100644 (file)
@@ -114,6 +114,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 9508) Special page to list articles with the fewest revisions
 * Introduce 'FileUpload' hook; see docs/hooks.txt for more information
 * Introduce 'SearchUpdate' hook; see docs/hooks.txt for more information
+* Introduce 'mywatchlist' message; used on personal menu to link to watchlist page
 
 == Bugfixes since 1.9 ==
 
index fc1fdff..1c0a3dc 100644 (file)
@@ -513,12 +513,12 @@ class SkinTemplate extends Skin {
                        $href = self::makeSpecialUrl( 'Preferences' );
                        $personal_urls['preferences'] = array(
                                'text' => wfMsg( 'mypreferences' ),
-                               'href' => self::makeSpecialUrl( 'Preferences' ),
+                               'href' => $href,
                                'active' => ( $href == $pageurl )
                        );
                        $href = self::makeSpecialUrl( 'Watchlist' );
                        $personal_urls['watchlist'] = array(
-                               'text' => wfMsg( 'watchlist' ),
+                               'text' => wfMsg( 'mywatchlist' ),
                                'href' => $href,
                                'active' => ( $href == $pageurl )
                        );
index 2e3fd3b..6a39d59 100644 (file)
@@ -1671,6 +1671,7 @@ or has chosen not to receive e-mail from other users.',
 
 # Watchlist
 'watchlist'                    => 'My watchlist',
+'mywatchlist'          => 'My watchlist',
 'watchlistfor' => "(for '''$1''')",
 'nowatchlist'          => 'You have no items on your watchlist.',
 'watchlistanontext' => 'Please $1 to view or edit items on your watchlist.',
index 2825e32..dfc2bb7 100644 (file)
@@ -1057,6 +1057,7 @@ $wgMessageStructure = array(
        ),
        'watchlist' => array(
                'watchlist',
+               'mywatchlist',
                'watchlistfor',
                'nowatchlist',
                'watchlistanontext',