Page MenuHomePhabricator

MediaWiki:GrowthMentors.json allows to save over-limit intro message
Closed, DuplicatePublicBUG REPORT

Description

Based on T399086: Mentorship interface throwing errors

Steps to replicate the issue:

  • an admin testwiki wmf.9 changes any message on MediaWiki:GrowthMentors.json to be over 240 allowed character count

What happens?:

  • no user can enroll (via Special:EnrollAsMentor" - the error message: "Introduction message is too long..." for any number of characters typed in the intro text field
  • no mentor can quit - the message "Introduction message is too long..." seems confusing since there is not field with such name at all

Screenshot 2025-07-11 at 5.28.56 PM.png (866×2 px, 155 KB)

  • and admin cannot edit mentors on Special:ManageMentors - the message "Introduction message is too long..." appears upon saving edits to "Number of newcomers assigned" or to the "Away" status.

What should have happened instead?:

  • MediaWiki:GrowthMentors.json should not allow to save invalid edits

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript