X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.28;h=75fc139b58a71d58b99d08b6731d09856be04f7d;hb=25fd321ac256bbb9a4811722e67574344862c5c0;hp=8b7dced7f82615f9ffd428ba198c3eb589a4af66;hpb=003e754dce6359c83cc99c693935363c3df81683;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.28 b/RELEASE-NOTES-1.28 index 8b7dced7f8..75fc139b58 100644 --- a/RELEASE-NOTES-1.28 +++ b/RELEASE-NOTES-1.28 @@ -61,6 +61,9 @@ production. on the wiki farm with a different domain, MediaWiki will instead alter the redirect URL to include a ?cpPosTime parameter that triggers the database synchronization when the URL is followed by the client. The same-domain case uses a new cpPosTime cookie. +* Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and + 'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and + 'show' parameters to existing API query modules. === External library changes in 1.28 === @@ -114,12 +117,17 @@ production. indicated by a 'fromencoded' boolean alongside the existing 'from' parameter. * (T28680) action=paraminfo can now return info about all submodules of a module without listing them all explicitly. +* (T146770) It is now possible to assert that the current user is a specific + named user, using the 'assertuser' parameter. +* (T141963) Added a 'known' property when missing-but-known titles (e.g. from + the 'TitleIsAlwaysKnown' hook) are output in various modules. === Action API internal changes in 1.28 === * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better interact with ApiParse and ApiExpandTemplates. * (T139565) SECURITY: API: Generate head items in the context of the given title * (T115333) SECURITY: Check read permission when loading page content in ApiParse +* ApiBase::getResultData() was removed (deprecated since 1.25) * ApiBase::makeHelpArrayToString() was removed (deprecated since 1.25) * ApiBase::makeHelpMsgParameters() was removed (deprecated since 1.25) * ApiBase::makeHelpMsg() was removed (deprecated since 1.25) @@ -150,6 +158,12 @@ production. * ApiResult::setParsedLimit() was removed (deprecated since 1.25) * ApiResult::setRawMode() was removed (deprecated since 1.25) * ApiResult::size() was removed (deprecated since 1.25) +* Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and + 'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and + 'show' parameters to existing API query modules. A query module can enable + these hooks by passing an array for $hookData to ApiQueryBase::select() and + by calling ApiQueryBase->processRow() before adding a row's data to the + result. === Languages updated in 1.28 === @@ -161,7 +175,8 @@ changes to languages because of Phabricator reports. BASAbali, M. Adiputra, Naval Scene, Nemo bis, NoiX180, and 아라. * (T135867) shn (Shan), thanks to translators Khun Sar, Piangpha, Saiddzone Saimawnkham, Saosukham, and Sengwan. -* Czech (cs) and Slovak (sk) set as reciprocal fallbacks +* Czech (cs) and Slovak (sk) set as reciprocal fallbacks. +* (T146744) Livvi-Karelian (olo) namespace messages created thanks to translator Ilja.mos. === Other changes in 1.28 === * (T128697) Improved handling of large diffs. @@ -211,6 +226,9 @@ changes to languages because of Phabricator reports. * IP::isConfiguredProxy() and IP::isTrustedProxy() were removed. Callers should migrate to using the same functions on a ProxyLookup instance, obtainable from MediaWikiServices. +* The ArticleAfterFetchContent, ArticleInsertComplete, ArticleSave, ArticleSaveComplete, + ArticleViewCustom, EditFilterMerged, EditPageGetDiffText, EditPageGetPreviewText and + ShowRawCssJs hooks will now emit deprecation warnings if used. == Compatibility ==