X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.31;h=2758d4c567fe4239fc9ac20e76d026c1f870210a;hb=09caa0be01ba5d646cd5c7570452c8a7df1e1c55;hp=ea3aa8bd3c33f34f23a8fed1bcdd5c6dc32613ec;hpb=71653df1c365ec4092ca3390f1857d5e8e435b6e;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index ea3aa8bd3c..2758d4c567 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -31,8 +31,18 @@ production. * (T188472) The 'comma' value for $wgArticleCountMethod is no longer supported for performance reasons, and installations with this setting will now work as if it was configured with 'any'. +* (T185753) MediaWiki now defaults to using RemexHtml to tidy up user input, rather than + being off by default. If you wish to disable HTML tidying entirely, set $wgTidyConfig + to null; if you wish to use the old, deprecated Tidy external binary, both + 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. +* $wgUseAjax is now marked as deprecated, just like the deprecated AJAX + framework that it enables. Some extensions mistakenly used this to check + whether any AJAX functionality at all should be enabled, further making this + problematic to retain. === New features in 1.31 === * (T76554) User sub-pages named ….json are now protected in the same way that ….js @@ -80,6 +90,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 === @@ -94,7 +110,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. * … @@ -111,14 +127,19 @@ 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 +* (T90902) Non-breaking space in header ID breaks anchor. +* (T189375) CSSMin now allows unquoted urls in `url()` syntax to start with a space. === Action API changes in 1.31 === * (T185058) The 'name' value to tgprop for action=query&list=tags has been removed. It has never made a difference in the output, the name was always returned regardless. +* The 'watch' and 'unwatch' parameters for action=move have been removed. They + were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use + 'watchlist' instead. === Action API internal changes in 1.31 === * ApiBase::getProfileDBTime was removed (deprecated since 1.25) @@ -245,6 +266,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 @@ -333,6 +358,8 @@ changes to languages because of Phabricator reports. * Wikimedia\Rdbms\SavepointPostgres is deprecated. * The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be used instead. +* The function wfShellWikiCmd() has been deprecated, use + MediaWiki\Shell::makeScriptCommand(). === Other changes in 1.31 === * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C. @@ -347,8 +374,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 @@ -356,7 +383,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