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) |
||
|---|---|---|
| .. | ||
| Constraint | ||
| EditPage.php | ||
| IEditObject.php | ||
| IntroMessageBuilder.php | ||
| IntroMessageList.php | ||
| ParametersHelper.php | ||
| PreloadedContentBuilder.php | ||
| SpamChecker.php | ||
| TemplatesOnThisPageFormatter.php | ||
| TextboxBuilder.php | ||
| TextConflictHelper.php | ||