Setting a birthday without specifying a year causes an incorrect year to be displayed
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to Special:UpdateProfile
  • Enter 01/01 into the "Birthday" field
  • Save
  • Visit your profile

What happens?:

Depending on the day and month, an arbitrary year will be displayed, e.g. 100 for 01/01 and 101 for 01/02.

image.png (291×133 px, 11 KB)

What should have happened instead?:

No year should be displayed.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

  • MediaWiki 1.43.1 (cde4276)
  • SocialProfile 1.14

Other information (browser name/version, screenshots, etc.):

Example page where this occurs: https://vocaloidlyrics.miraheze.org/wiki/User:NotFish
Downstream task: https://issue-tracker.miraheze.org/T13929

Related Objects