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
This commit is contained in:
parent
4ee36ec0cd
commit
b3352d7a9d
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue