Pulling out the discussion from https://phabricator.wikimedia.org/T248141#5988111
On mobile when a user visits a user page that doesn't exist they are prompted to create one. This helps new users understand that their user page is a place they can express themselves and something they can edit
During the bug T248141 this code leaked to desktop and prompted the question - why is this mobile only?
Developer notes
We'd like to port the code in MobileFrontend into core and generalise it.
Looking at the existing code, I'd suggest with refactoring showMissingArticle so that it always uses getSubstituteContent.
From there possibly a new Content class e.g. BlankPageContent could be created.
Once such an architecture is in place BlankUserPageContent would be added and code from MobileFrontend migrated.
The two methods that need to be migrated from MobileFrontend are blankUserPageHTML, getUserPageContent and buildPageUserObject
Any advice with how to achieve this (particularly architecture) would be appreciated.
product notes
The bug was live in 1.35.0-wmf.24; 2020-03-17 and fixed in MW-1.35-notes (1.35.0-wmf.27; 2020-04-07) on all wikis. We should check if there were any train delays during that time but there is thus about 3 weeks of data we can look at to see how it impacted user page creations.