Revert r45166 "Use quickUserCan for UI links"
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 31 Dec 2008 21:16:36 +0000 (21:16 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 31 Dec 2008 21:16:36 +0000 (21:16 +0000)
commit7409fde6048e7868e3e33b24691a8257ae5d4e6f
tree0c6d896e8998ffbf6ea88805b304442d6d144ca6
parenta7a6cb9ea9b693bffa808bb5b3fe8ea4136f33f0
Revert r45166 "Use quickUserCan for UI links"
Use of quickUserCan should be minimized to cases where maximal view speed is more important than accuracy, such as UI that's plastered on every page view.
In page history we're already headed into editor territory, and having an accurate idea of what we can do with editing tools (such as rollback) is relatively important.
Unless it can be shown that checking for cascading protections is a serious problem for site performance, we should continue using accurate checks here.
includes/PageHistory.php