X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmail%2FEmailNotification.php;h=67b7142a07d89f88f4fafc579166e68c66a64423;hb=387bfb4f8e82fd94d1e43016ea2c6e54062dd169;hp=932797abacf62f33a6d34ae4d4abc54a80954f39;hpb=8b706516e027a7ad81f04b123fd53d77f351787a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/mail/EmailNotification.php b/includes/mail/EmailNotification.php index 932797abac..67b7142a07 100644 --- a/includes/mail/EmailNotification.php +++ b/includes/mail/EmailNotification.php @@ -90,7 +90,7 @@ class EmailNotification { LinkTarget $linkTarget, $timestamp ) { - // wfDeprecated( __METHOD__, '1.27' ); + wfDeprecated( __METHOD__, '1.27' ); $config = RequestContext::getMain()->getConfig(); if ( !$config->get( 'EnotifWatchlist' ) && !$config->get( 'ShowUpdatedMarker' ) ) { return []; @@ -343,7 +343,7 @@ class EmailNotification { $keys['$PAGETITLE'] = $this->title->getPrefixedText(); $keys['$PAGETITLE_URL'] = $this->title->getCanonicalURL(); $keys['$PAGEMINOREDIT'] = $this->minorEdit ? - wfMessage( 'minoredit' )->inContentLanguage()->text() : ''; + wfMessage( 'enotif_minoredit' )->inContentLanguage()->text() : ''; $keys['$UNWATCHURL'] = $this->title->getCanonicalURL( 'action=unwatch' ); if ( $this->editor->isAnon() ) {