From: Ivan Lanin Date: Tue, 10 Apr 2007 10:30:05 +0000 (+0000) Subject: Introduce 'mywatchlist' message; used on personal menu to link to watchlist page. X-Git-Tag: 1.31.0-rc.0~53435 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=9a2af87f3ef8ff5a189e7f6773fc7b27c7f84193;p=lhc%2Fweb%2Fwiklou.git Introduce 'mywatchlist' message; used on personal menu to link to watchlist page. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2af3079726..6b93a0eb73 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index fc1fdff4ed..1c0a3dc4ce 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -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 ) ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 2e3fd3b58a..6a39d5930f 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -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.', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 2825e32ebb..dfc2bb7558 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -1057,6 +1057,7 @@ $wgMessageStructure = array( ), 'watchlist' => array( 'watchlist', + 'mywatchlist', 'watchlistfor', 'nowatchlist', 'watchlistanontext',