Page MenuHomePhabricator

Default value of GEHomepageManualAssignmentMentorsList is null, while MentorManager only recognizes '' as "no page provided"
Closed, ResolvedPublic

Description

While working on T273776: Scale: ability to deploy without mentorship module, I realized that the default value of wgGEHomepageManualAssignmentMentorsList is null, while MentorPageMentorManager::getManuallyAssignedMentorsPage only recognizes '' as "no page provided", resulting in warnings logged on a default setup.

Let's make MentorPageMentorManager::getManuallyAssignedMentorsPage accept null as well.

Event Timeline

Change 661751 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[mediawiki/extensions/GrowthExperiments@master] MentorManager::getManuallyAssignedMentorsPage should recognize null as 'no page provided'

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

Change 661749 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[mediawiki/extensions/GrowthExperiments@master] GEHomepage(Manual)MentorsList should consistently use null for "no list"

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

Change 661751 abandoned by Urbanecm:
[mediawiki/extensions/GrowthExperiments@master] MentorManager::getManuallyAssignedMentorsPage should recognize null as 'no page provided'

Reason:
merged into 661749 https://w.wiki/y3p

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

Change 661749 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] GEHomepage(Manual)MentorsList should consistently use null for "no list"

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

This is not QA'able yet - we're not setting it to null anywhere. Closing it.