The DatabaseBlockStoreFactory is a new service which allows fetching of a wiki-specific DatabaseBlockStore by fetching the correct LoadBalancer via a LBFactory and then injecting it into the DatabaseBlockStore. It also creates a wiki-specific ReadOnlyMode and BlockRestrictionStore, which are also being injected. This is being done as a part of the project of supporting cross-wiki blocking. The future plan is that BlockUser and UnblockUser are being updated to properly support creating, updating and deleting cross-wiki blocks. BlockUser and UnblockUser are then going to use a newly injected DatabaseBlockStoreFactory to fetch the correct DatabaseBlockStore to then insert/update/remove the block into/from the correct database. Bug: T291849 Change-Id: I1051beedfd67c4e2c546b9eec04b6d592d969af3 |
||
|---|---|---|
| .. | ||
| BlockActionInfoTest.php | ||
| BlockPermissionCheckerTest.php | ||
| BlockRestrictionStoreFactoryTest.php | ||
| BlockUtilsTest.php | ||
| DatabaseBlockStoreFactoryTest.php | ||
| SystemBlockTest.php | ||