aboutsummaryrefslogtreecommitdiffstats
path: root/RELEASE-NOTES-1.44
diff options
context:
space:
mode:
authorDylan F <git@dylanfarrar.com>2025-01-19 03:06:14 +0000
committerBartosz Dziewoński <dziewonski@fastmail.fm>2025-02-14 23:48:06 +0100
commit7a4952ef2c5d593fae9419bad39f3e9894f42adf (patch)
tree9b892681a155b50181a500a75f00ab5fa1a8d493 /RELEASE-NOTES-1.44
parent7b4aee237e257954195c4d695b2cfe2a9a3b4116 (diff)
downloadmediawikicore-7a4952ef2c5d593fae9419bad39f3e9894f42adf.tar.gz
mediawikicore-7a4952ef2c5d593fae9419bad39f3e9894f42adf.zip
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
Diffstat (limited to 'RELEASE-NOTES-1.44')
-rw-r--r--RELEASE-NOTES-1.445
1 files changed, 5 insertions, 0 deletions
diff --git a/RELEASE-NOTES-1.44 b/RELEASE-NOTES-1.44
index 34367be36cf6..f9849fc57aa0 100644
--- a/RELEASE-NOTES-1.44
+++ b/RELEASE-NOTES-1.44
@@ -94,6 +94,10 @@ For notes on 1.43.x and older releases, see HISTORY.
this permits authenticated cross-origin requests against the Action API,
similar to how origin=* allows unauthenticated cross-origin requests.
This feature is currently considered experimental.
+* (T24521, T62109) Embedding a file (e.g., [[File:MediaWiki.png]]) on a page
+ protected with cascading protection will no longer restrict edits to the
+ file description page, only file uploads. Transcluding a file description
+ page (e.g., {{:File:MediaWiki.png}}) will now restrict edits to the page.
* …
=== New features for sysadmins in 1.44 ===
@@ -154,6 +158,7 @@ For notes on 1.43.x and older releases, see HISTORY.
=== Bug fixes in 1.44 ===
* File reverts now check for 'reupload' or 'reupload-own' rights. (T304474)
+* File reverts now check for cascading edit protection. (T140010)
* …
=== Action API changes in 1.44 ===