Page MenuHomePhabricator

Display creation timestamp of each key on Special:AccountSecurity
Closed, ResolvedPublic

Description

The UI redesign in T401774 calls for the creation timestamp of each key to be displayed on Special:AccountSecurity. Separating this out in its own task because it's a little more complicated for two reasons:

  • The creation timestamp is stored in the database, but nothing currently retrieves it. We'll have to retrieve it from the DB somewhere in order to be able to display it.
  • Older keys (created before May 2024) have their creation timestamp set to NULL, so we'll have to handle that (presumably by not displaying the "created on" message at all)

Acceptance criteria:

  • Creation timestamp is added to the UI
  • Nulls are handled in a reasonable way

Event Timeline

Change #1191245 had a related patch set uploaded (by Mstyles; author: Mstyles):

[mediawiki/extensions/OATHAuth@master] Display timestamp

https://gerrit.wikimedia.org/r/1191245

Change #1196181 had a related patch set uploaded (by Mstyles; author: Mstyles):

[mediawiki/extensions/WebAuthn@master] Implement GetTimestamp

https://gerrit.wikimedia.org/r/1196181

Change #1196181 merged by jenkins-bot:

[mediawiki/extensions/WebAuthn@master] Implement GetTimestamp

https://gerrit.wikimedia.org/r/1196181

Change #1191245 merged by jenkins-bot:

[mediawiki/extensions/OATHAuth@master] Display timestamp field

https://gerrit.wikimedia.org/r/1191245