Give a 200 response for valid user pages
authorRyan Lane <rlane@wikimedia.org>
Thu, 21 Feb 2013 22:45:57 +0000 (14:45 -0800)
committerParent5446 <tylerromeo@gmail.com>
Fri, 22 Feb 2013 00:49:39 +0000 (00:49 +0000)
commit1abb019e250b619da9a2e1954c860251d24711d4
tree2864f36399f63b7a8ee52d8d8e4d2340e811e202
parentf2c394b15a768e6983ef3b2f75b1e4e58db5cf02
Give a 200 response for valid user pages

Rather than sending a 404 on empty user pages, send a 200 response.
It's ideal to use the user's page as an OpenID identity url, but
OpenID expects 200 responses on identity urls. If we send 404s on
empty user pages it's necessary for all users to have content on
their pages to use Wikimedia as a provider. This change eliminates
that requirement.

Fixes: bug 45241
Change-Id: I527aa9d9c19c5cef7bebde78ef22f426bcbb3cd6
includes/Article.php