X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.31;h=97b8f432e18401ffbfd08891e9b8e60b2ea66ae3;hp=8ec3b7da422908ef295744e9d77222e56ca746ea;hb=27fbb0c3fd71b95074172a4e12085beae9a532bf;hpb=5cf4575ea34f2dd17a8f318d0412e0d8457db5d5 diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index 8ec3b7da42..97b8f432e1 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -37,6 +37,8 @@ production. set $wgTidyConfig to null and also set $wgUseTidy to true. * $wgLogAutopatrol now defaults to false instead of true. * $wgValidateAllHtml was removed and will be ignored. +* $wgScriptExtension was removed (deprecated and ignored since 1.25). + See 1.25 release notes for more information. === New features in 1.31 === * (T76554) User sub-pages named ….json are now protected in the same way that ….js @@ -84,6 +86,12 @@ production. extensions. Pass --with-extensions to enable that feature. * (T184791) rc_patrolled now has three states: "0" for unpatrolled, "1" for manually patrolled and "2" for autopatrolled actions. +* Extensions can now set their type to "editor" if they provide an editor + or enhance the editing experience. +* Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces" property + in extension.json. See + + for more details and an example. === External library changes in 1.31 === @@ -98,7 +106,7 @@ production. * Updated wikimedia/running-stat from 1.1.0 to 1.2.0. * Updated wikimedia/wrappedstring from 2.2.0 to 2.3.0. * Updated mediawiki/at-ease from 1.1.0 to 1.2.0. -* Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.5. +* Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.6. * Updated wikimedia/remex-html from 1.0.2 to 1.0.3. * … @@ -115,6 +123,7 @@ production. 'mediawiki.viewport' module instead. * The deprecated 'mediawiki.widgets.CategorySelector' module alias was removed. Use the 'mediawiki.widgets.CategoryMultiselectWidget' module directly instead. +* mediawiki/at-ease was replaced with wikimedia/at-ease. === Bug fixes in 1.31 === * (T90902) Non-breaking space in header ID breaks anchor @@ -249,6 +258,10 @@ changes to languages because of Phabricator reports. MWTidy::checkErrors() and its callee TidyDriverBase::validate() are removed, as are MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument(). The $wgValidateAllHtml configuration option is removed and will be ignored. +* Execution of external programs using MediaWiki\Shell\Command now applies RESTRICT_DEFAULT + Firejail restriction by default. +* The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods, + deprecated in 1.26, were removed. === Deprecations in 1.31 === * The Revision class was deprecated in favor of RevisionStore, BlobStore, and @@ -353,8 +366,8 @@ changes to languages because of Phabricator reports. will not have this trimming behavior. == Compatibility == -MediaWiki 1.31 requires PHP 5.5.9 or later. Although HHVM 3.18.5 or later is supported, -it is generally advised to use PHP 5.5.9 or later for long term support. +MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is supported, +it is generally advised to use PHP 7.0.0 or later for long term support. MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used, but support for them is somewhat less mature. There is experimental support for @@ -362,7 +375,7 @@ Oracle and Microsoft SQL Server. The supported versions are: -* MySQL 5.0.3 or later +* MySQL 5.5.8 or later * PostgreSQL 9.2 or later * SQLite 3.3.7 or later * Oracle 9.0.1 or later