wiki.techinc.nl/includes/user
Dreamy Jazz 6547b639d8 Add SpreadAnyEditBlock hook
Why:
* A hook is needed which is called when User::spreadAnyEditBlock
  is called, so that extensions which provide alternative blocking
  mechanisims (such as the GlobalBlocking extension) can spread
  their blocks when local blocks are spread.

What:
* Add SpreadAnyEditBlockHook which is called from User
  ::spreadAnyEditBlock when it is called except when the user is
  not registered.
** The hook is called even if the user is not locally blocked
* The return value of User::spreadAnyEditBlock is modified to
  return true if either a local block or alternative blocking
  mechanism spread blocks.
* Update UserTest to test this new behaviour.

Bug: T374857
Change-Id: Id302a6362d6177c89da9cdf4e677b3822ecb85f1
2024-09-24 12:04:20 +01:00
..
CentralId CentralIdLookup: Introduce concept of "owned" accounts 2024-09-04 19:25:19 +02:00
Hook Allow extensions to send password resets without a local user/email 2024-09-16 23:09:04 +02:00
Options UserOptionsManager: Allow global prefs for users without local accounts 2024-09-10 00:01:58 +02:00
Registration
TempUser Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
ActorCache.php
ActorMigration.php
ActorMigrationBase.php Replace gettype() with get_debug_type() in exception messages 2024-07-31 19:24:39 +02:00
ActorNormalization.php
ActorStore.php
ActorStoreFactory.php
BotPassword.php Use namespaced classes (1) 2024-06-16 20:18:23 +02:00
BotPasswordStore.php Make use of the ??= and ?? operators where it makes sense 2024-08-26 09:26:36 +02:00
ExternalUserNames.php
LoggedOutEditToken.php
PasswordReset.php Allow extensions to send password resets without a local user/email 2024-09-16 23:09:04 +02:00
TalkPageNotificationManager.php
User.php Add SpreadAnyEditBlock hook 2024-09-24 12:04:20 +01:00
UserArray.php
UserArrayFromResult.php
UserEditCountInitJob.php
UserEditTracker.php
UserFactory.php UserFactory: Use PHP type hints 2024-09-09 20:35:54 +00:00
UserGroupExpiryJob.php
UserGroupManager.php deferred: pass $fname to MWCallableUpdate callbacks and improve comments 2024-08-08 15:50:00 +00:00
UserGroupManagerFactory.php
UserGroupMembership.php
UserIdentity.php
UserIdentityLookup.php
UserIdentityUtils.php
UserIdentityValue.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
UserNamePrefixSearch.php
UserNamePrefixSearch_deprecated.php
UserNameUtils.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
UserRigorOptions.php
UserSelectQueryBuilder.php Fix 'SORT_ACS' for 'SORT_ASC' documentation typo 2024-08-08 10:18:51 +00:00
UserTimeCorrection.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00