Page MenuHomePhabricator

Echo: Keys of wgEchoSeenTime are inconsistent between PHP and JS
Open, Needs TriagePublic


In PHP when wgEchoSeenTime is added to the mw.config, the seen time for notices is added under the notice key. When wgEchoSeenTime is updated in JavaScript, the new value is added under the message key.

image.png (138×868 px, 17 KB)

They should both use the message key as that's what's used by the API and what's used internally by the extension, unless T139682 is implemented, in which case everything should use notice.