Replace User::isAllowed with PermissionManager.
authorPetr Pchelko <ppchelko@wikimedia.org>
Fri, 16 Aug 2019 18:13:56 +0000 (11:13 -0700)
committerPetr Pchelko <ppchelko@wikimedia.org>
Tue, 20 Aug 2019 21:43:51 +0000 (14:43 -0700)
commit1d286560d2cd4f2adf6138f62a8dfcfad5991c14
treecdba36c7056f93174d006e419d1fef621c219cae
parent247904106076b80636ba9f3833a8d1e18be256a7
Replace User::isAllowed with PermissionManager.

Covers root includes, actions, api, block, changes,
changetags, diff and PermissionManager itself.

Bug: T220191
Change-Id: Ic027d32f5dd8f4c74865df0c8a9fcf91123c889c
43 files changed:
includes/AjaxDispatcher.php
includes/EditPage.php
includes/FileDeleteForm.php
includes/Linker.php
includes/MergeHistory.php
includes/MovePage.php
includes/Permissions/PermissionManager.php
includes/ProtectionForm.php
includes/ServiceWiring.php
includes/Title.php
includes/actions/HistoryAction.php
includes/actions/InfoAction.php
includes/actions/RawAction.php
includes/actions/WatchAction.php
includes/actions/pagers/HistoryPager.php
includes/api/ApiBlock.php
includes/api/ApiImport.php
includes/api/ApiMain.php
includes/api/ApiManageTags.php
includes/api/ApiMove.php
includes/api/ApiPageSet.php
includes/api/ApiQueryAllDeletedRevisions.php
includes/api/ApiQueryAllRevisions.php
includes/api/ApiQueryBase.php
includes/api/ApiQueryBlocks.php
includes/api/ApiQueryDeletedRevisions.php
includes/api/ApiQueryDeletedrevs.php
includes/api/ApiQueryFilearchive.php
includes/api/ApiQueryInfo.php
includes/api/ApiQueryLogEvents.php
includes/api/ApiQueryRecentChanges.php
includes/api/ApiQueryRevisions.php
includes/api/ApiQueryUserContribs.php
includes/api/ApiQueryUserInfo.php
includes/api/ApiUnblock.php
includes/api/ApiUserrights.php
includes/block/AbstractBlock.php
includes/block/BlockManager.php
includes/changes/RecentChange.php
includes/changetags/ChangeTags.php
includes/diff/DifferenceEngine.php
tests/phpunit/includes/actions/WatchActionTest.php
tests/phpunit/includes/block/BlockManagerTest.php