The $CHANGEDORCREATED parameter to the 'enotif_body' message will not be removed...
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 17 Apr 2014 19:08:50 +0000 (21:08 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 17 Apr 2014 19:13:34 +0000 (19:13 +0000)
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

includes/UserMailer.php

index de4457d..d8b9eb4 100644 (file)
@@ -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();
                }