Fix regression in unwatch links sent out by enotif. {{FULLPAGENAMEE}} happens to...
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 14 Apr 2010 14:00:53 +0000 (14:00 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 14 Apr 2010 14:00:53 +0000 (14:00 +0000)
includes/UserMailer.php
languages/messages/MessagesEn.php

index ce3ca9e..daf8b62 100644 (file)
@@ -472,6 +472,7 @@ class EmailNotification {
 
                $keys['$PAGEMINOREDIT']      = $medit;
                $keys['$PAGESUMMARY']        = $summary;
+               $keys['$UNWATCHURL']         = $this->title->getFullUrl( 'action=unwatch' );
 
                $subject = strtr( $subject, $keys );
 
index 253fb5d..93dfeea 100644 (file)
@@ -2653,7 +2653,7 @@ To change your watchlist settings, visit
 {{fullurl:{{#special:Watchlist}}/edit}}
 
 To delete the page from your watchlist, visit
-{{fullurl:{{FULLPAGENAMEE}}|action=unwatch}}
+$UNWATCHURL
 
 Feedback and further assistance:
 {{fullurl:{{MediaWiki:Helppage}}}}',