X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=9e86cb020ea29c62fb42640fb0fcaf36a0ac6327;hb=5f24c0a8177967c9c87764da627b8b60f24dd33d;hp=a63a16d293076bdfd7cb7fa05b833968e4ba8b25;hpb=238dbaa8f09c84474d1148148a5b04d3a756004f;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index a63a16d293..9e86cb020e 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -27,6 +27,15 @@ production. by default. * $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for granting the above rights. +* $wgDBDefaultGroup – A default database group for use by maintenance scripts. +* $wgResourceLoaderEnableJSProfiler – This new configuration setting lets you + enable client-side profiling of JavaScript modules; it is off by default. +* (T193868) $wgChangeTagsSchemaMigrationStage — This temporary configuration + setting allows sysadmins to gradually migrate the database table schema for + how change tags are stored. +* (T199334) $wgTagStatisticsNewTable — This temporary configuration setting + allows sysadmins to enable the caching of Special:Tags via the new + change_tag_def table. ==== Changed configuration ==== * $wgUseAjax – This setting, deprecated in 1.31, is now ignored. @@ -44,6 +53,13 @@ production. MIGRATION_WRITE_NEW. It instead uses SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD and SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW for intermediate stages of migration. +* $wgDBTableOptions – The default table options now use the binary charset. The + default was already overridden in the installer-generated LocalSettings.php, + and so is always set to binary after the installer UI option was removed. The + default value is only used when the installer installs an extension. +* $wgPopularPasswordFile — The location of the default popular passwords file + has been moved to be in line with other non-PHP files used by libraries and + classes. ==== Removed configuration ==== * $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31, @@ -57,6 +73,19 @@ production. message `emailsender`. * $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers were removed. RemexHtml, which is the default, should be used instead. +* (T181318) The $wgStyleVersion setting and its appendage to various script and + style URLs in OutputPage, deprecated in 1.31, was removed. +* (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed + from ResourceLoader. Instead, use `@import` statements in LESS to import + files directly from nearby directories within the same project. +* (T140804) The wgResourceLoaderLESSVars configuration option, deprecated + since 1.30, was removed. Instead, to expose variables from PHP to LESS, use + the ResourceLoaderModule::getLessVars() method. +* $wgResourceLoaderValidateStaticJS – This setting, unused since MediaWiki 1.18, + was removed. +* Two temporary variables for deploying the feature of filters on change lists, + $wgStructuredChangeFiltersShowPreference introduced in MediaWiki 1.30 and + $wgStructuredChangeFiltersOnWatchlist in 1.31, were removed. === New features in 1.32 === * (T112474) Generalized the ResourceLoader mechanism for overriding modules @@ -117,7 +146,7 @@ production. * Updated composer/spdx-licenses from 1.3.0 to 1.4.0. * Updated jquery.i18n from 1.0.4 to 1.0.5. * Updated wikimedia/timestamp from 1.0.0 to 2.2.0. -* Updated wikimedia/remex-html from 1.0.3 to 2.0.0. +* Updated wikimedia/remex-html from 1.0.3 to 2.0.1. * Updated jquery from v3.2.1 to v3.3.1. ==== Removed external libraries ==== @@ -180,6 +209,10 @@ production. * (T198214) The 'disabletidy' parameter to action=parse has been deprecated; untidy output will not be supported by future wikitext parsers. +* Added intestactionsdetail to action=query&prop=info to allow retrieving the + reasons an action is not allowed. +* Deprecated action=query&prop=info inprop=readable in favor of + intestactions=read. === Action API internal changes in 1.32 === * Added 'ApiParseMakeOutputPage' hook. @@ -191,6 +224,26 @@ production. * ApiFeedContributions::feedItemAuthor() * ApiFeedContributions::feedItemDesc() * ApiQueryRevisionsBase::extractRevisionInfo() +* The following deprecated methods have been removed: + * ApiBase::profileIn() (deprecated in 1.25) + * ApiBase::profileOut() (deprecated in 1.25) + * ApiBase::safeProfileOut() (deprecated in 1.25) + * ApiBase::profileDBIn() (deprecated in 1.25) + * ApiBase::profileDBOut() (deprecated in 1.25) + * ApiBase::dieUsage() (deprecated in 1.29) + * ApiBase::dieUsageMsg() (deprecated in 1.29) + * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29) + * ApiBase::getErrorFromStatus() (deprecated in 1.29) + * ApiBase::parseMsg() (deprecated in 1.29) + * ApiBase::setWarning() (deprecated in 1.29) + * ApiPageSet::getInvalidTitles() (deprecated in 1.26) + * ApiQueryLogEvents::addLogParams() (deprecated in 1.25) + * ApiUsageException::getCodeString() (deprecated in 1.29) + * ApiUsageException::getMessageArray() (deprecated in 1.29) +* Class UsageException, deprecated in 1.29, has been removed. +* ApiErrorFormatter: Added getFormat() and newWithFormat(). In particular, you + can now easily test $formatter->getFormat() === 'bc', and then call + $formatter->newWithFormat( 'plaintext' ) to get a non-BC formatter. === Languages updated in 1.32 === MediaWiki supports over 350 languages. Many localisations are updated regularly. @@ -245,8 +298,6 @@ because of Phabricator reports. removed. Use mediawiki.widgets.visibleLengthLimit instead. * The jquery.farbtastic module, unused since 1.18, was removed. * The 'jquery.expandableField' module, unused since 1.22, was removed. -* (T181318) The $wgStyleVersion setting and its appendage to various script and - style URLs in OutputPage, deprecated in 1.31, was removed. * The hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' may provide any HTMLForm object rather than PreferencesForm. * The non namespaced TimestampException class, deprecated in 1.29, was removed. @@ -256,12 +307,6 @@ because of Phabricator reports. The UtfNormal\Utils class from the utfnormal library should be used instead. * The deprecated UTF8_ and UNICODE_ constants were removed. The class constants from the UtfNormal\Constants class from the utfnormal library should be used -* (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed - from ResourceLoader. Instead, use `@import` statements in LESS to import - files directly from nearby directories within the same project. -* (T140804) The wgResourceLoaderLESSVars configuration option, deprecated - since 1.30, was removed. Instead, to expose variables from PHP to LESS, use - the ResourceLoaderModule::getLessVars() method. * The protected methods PHPSessionHandler::returnSuccess() and returnFailure(), only needed for PHP5 compatibility, have been removed. It now uses the boolean values `true` and `false` respectively. @@ -305,8 +350,8 @@ because of Phabricator reports. a no-op function since 1.30. * SpecialPageFactory::resetList() is a no-op. Call overrideMwServices() instead. -* MediaWiki no longer supports a StartProfiler.php file. - Define $wgProfiler via LocalSettings.php instead. +* MediaWiki no longer supports a StartProfiler.php file. Instead, you can set + $wgProfiler and $wgEnableProfileInfo. * The mw.loader.addSource() is now considered a private method, and no longer supports the `id, url` signature. Use the `Object` parameter instead. * The backwards-compatibility code in HTMLForm to add a drop-down control to an @@ -358,6 +403,23 @@ because of Phabricator reports. * The hook 'UnknownAction', deprecated since 1.19, has now been removed. * The hook 'ParserLimitReport', deprecated since 1.22, has been removed. Use the hooks 'ParserLimitReportPrepare' and 'ParserLimitReportFormat' instead. +* The following deprecated API methods have been removed: + * ApiBase::profileIn() (deprecated in 1.25) + * ApiBase::profileOut() (deprecated in 1.25) + * ApiBase::safeProfileOut() (deprecated in 1.25) + * ApiBase::profileDBIn() (deprecated in 1.25) + * ApiBase::profileDBOut() (deprecated in 1.25) + * ApiBase::dieUsage() (deprecated in 1.29) + * ApiBase::dieUsageMsg() (deprecated in 1.29) + * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29) + * ApiBase::getErrorFromStatus() (deprecated in 1.29) + * ApiBase::parseMsg() (deprecated in 1.29) + * ApiBase::setWarning() (deprecated in 1.29) + * ApiPageSet::getInvalidTitles() (deprecated in 1.26) + * ApiQueryLogEvents::addLogParams() (deprecated in 1.25) + * ApiUsageException::getCodeString() (deprecated in 1.29) + * ApiUsageException::getMessageArray() (deprecated in 1.29) +* Class UsageException, deprecated in 1.29, has been removed. === Deprecations in 1.32 === * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit @@ -534,6 +596,8 @@ because of Phabricator reports. * The $wgUseKeyHeader configuration option and the OutputPage::getKeyHeader() method have been deprecated; the relevant draft IETF spec expired without becoming a standard. +* Deprecated API action=query&prop=info inprop=readable in favor of + intestactions=read. === Other changes in 1.32 === * (T198811) The following tables have had their UNIQUE indexes turned into