wiki.techinc.nl/includes/editpage
Dylan F 7071887383 PermissionManager: Differentiate between cascading protection of file content and file pages
This patch reworks RestrictionStore::getCascadeProtectionSourcesInternal
to return a third and fourth array:
* One for cascading restrictions originating from templatelinks
* Another for those originating from imagelinks

They are used in PermissionManager::checkCascadingSourcesRestrictions
to differentiate cascading protection of file content and file page,
but could also be used in the future by action=info and other callers.

Bug: T24521
Bug: T62109
Bug: T140010
Change-Id: Ia5863f418538106f4fd657c672298ff6ac835805
(cherry picked from commit 7a4952ef2c5d593fae9419bad39f3e9894f42adf)
2025-03-24 13:31:34 +00:00
..
Constraint Remove meaningless @var documentation from constants 2024-10-09 09:33:12 +02:00
EditPage.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
IEditObject.php Handle collisions from SerialProvider::acquireIndex 2023-12-21 14:49:42 +00:00
IntroMessageBuilder.php PermissionManager: Differentiate between cascading protection of file content and file pages 2025-03-24 13:31:34 +00:00
IntroMessageList.php Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
ParametersHelper.php Namespace includes/context 2024-02-08 11:07:01 -05:00
PreloadedContentBuilder.php Namespace all remaining classes in includes/parser 2024-10-15 23:54:32 +01:00
SpamChecker.php Various doc fixes about false on method arguments/return types 2022-11-10 19:23:46 +00:00
TemplatesOnThisPageFormatter.php TemplatesOnThisPage: Do not show non-functional link for special pages 2024-10-15 17:37:46 +01:00
TextboxBuilder.php Namespace Sanitizer under \MediaWiki\Parser 2023-09-21 05:39:23 +00:00
TextConflictHelper.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00