From: Bartosz DziewoƄski Date: Thu, 17 Apr 2014 19:08:50 +0000 (+0200) Subject: The $CHANGEDORCREATED parameter to the 'enotif_body' message will not be removed... X-Git-Tag: 1.31.0-rc.0~15967^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=b3352d7a9df12b2cd5400649d96aea705160f865;p=lhc%2Fweb%2Fwiklou.git The $CHANGEDORCREATED parameter to the 'enotif_body' message will not be removed in 1.23 It's used in 67 of our own translations and likely by end-users in customized messages, and keeping it doesn't really hurt anything. Per discussion on I885dc670. Change-Id: Ia95ff4185d8f1a1e335b8c3f3d855289a66b8d3e --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index de4457d958..d8b9eb4b31 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(); }