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) |
||
|---|---|---|
| .. | ||
| api-testing | ||
| common | ||
| jest | ||
| parser | ||
| phan | ||
| phpunit | ||
| qunit | ||
| selenium | ||
| uidesign | ||
| .htaccess | ||