Add User::isSafeToLoad() and ParserOptions::newFromAnon()
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 3 Feb 2016 20:41:00 +0000 (15:41 -0500)
committerAnomie <bjorsch@wikimedia.org>
Wed, 3 Feb 2016 21:45:56 +0000 (21:45 +0000)
commit35c38ce319563889ccd61f998223e61316a35f6a
treeef9104fce339dafa0287e694c65cd3f4a9212ce7
parent2257fe42288cca06376e5caf45aa32da9d0216cf
Add User::isSafeToLoad() and ParserOptions::newFromAnon()

Useful for avoiding "User::loadFromSession called before the end of
Setup.php".

Bug: T124367
Change-Id: I0b018a623fc833ca95d249ee21667a8f5690d50e
includes/cache/MessageCache.php
includes/parser/ParserOptions.php
includes/user/User.php