Do the "user is allowed to edit" check when checking for protect rights with the...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 10 Dec 2011 15:44:44 +0000 (15:44 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 10 Dec 2011 15:44:44 +0000 (15:44 +0000)
commitd1635b45cc77ef10c1459c0537ecffe353b8ad06
treee19d986edb880c7b42f111250688125c161ae361
parentdb0d813d05a93d13cc2acf5db6d42ac0700e2f7d
Do the "user is allowed to edit" check when checking for protect rights with the same level of expensiveness as for the protect checks and also do "quick" checks since we don't care about the message names. This avoids a DB query for cascading protection on each page view for users with protect right.
includes/Title.php