X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FUserMailer.php;h=1ec279290061f2857e8ffca21f52ee4ca04cd0b1;hb=b41f33189a082d2b04ecd60361e3d89fdcd77f72;hp=2094b6275b76cb0c2745439fa15f7cf4e8f0f92f;hpb=bd2a78a159ce6d9f7b27fd75d05570228b44c3cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 2094b6275b..1ec2792900 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -738,13 +738,13 @@ class EmailNotification { ->inContentLanguage()->text(); } $keys['$OLDID'] = $this->oldid; - // @deprecated Remove in MediaWiki 1.23. + // Deprecated since MediaWiki 1.21, not used by default. Kept for backwards-compatibility. $keys['$CHANGEDORCREATED'] = wfMessage( 'changed' )->inContentLanguage()->text(); } else { # clear $OLDID placeholder in the message template $keys['$OLDID'] = ''; $keys['$NEWPAGE'] = ''; - // @deprecated Remove in MediaWiki 1.23. + // Deprecated since MediaWiki 1.21, not used by default. Kept for backwards-compatibility. $keys['$CHANGEDORCREATED'] = wfMessage( 'created' )->inContentLanguage()->text(); } @@ -767,6 +767,7 @@ class EmailNotification { } $keys['$PAGEEDITOR_WIKI'] = $this->editor->getUserPage()->getCanonicalURL(); + $keys['$HELPPAGE'] = wfExpandUrl( Skin::makeInternalOrExternalUrl( wfMessage( 'helppage' )->inContentLanguage()->text() ) ); # Replace this after transforming the message, bug 35019 $postTransformKeys['$PAGESUMMARY'] = $this->summary == '' ? ' - ' : $this->summary;