X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.27;h=1856c75111a41b430d32347926564b91499e7ab4;hb=9e60ff49ba3d4232957b83c209a5e3878210d2cf;hp=d8866ad1c5da9e3990b442981e828343606f4636;hpb=d2e79dccc6f61cc89bc2e05b132c7e56340339ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index d8866ad1c5..1856c75111 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -10,6 +10,9 @@ As of 1.27, MediaWiki now requires PHP 5.5.9 or higher. This corresponds with HHVM 3.1. === Configuration changes in 1.27 === +* $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed, + now always enabled. If you use RDFa on your wiki, you now have to explicitly + set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'. * $wgUseLinkNamespaceDBFields was removed. * Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and $wgResourceLoaderMinifierMaxLineLength, because there was little value in @@ -98,6 +101,19 @@ HHVM 3.1. * $wgEnotifUseJobQ was removed and the job queue is always used. * The functionality of the ApiSandbox extension has been merged into core. The extension should no longer be used. +* $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26). + Extensions, skins, gadgets and scripts that use the mediawiki.util module must + express a dependency on it. +* $wgIncludeLegacyJavaScript, deprecated in MediaWiki 1.26, now defaults false. + Extensions, skins, gadgets and scripts that need the mediawiki.legacy.wikibits + module should express a dependency on it. +* Removed configuration option $wgCopyrightIcon (deprecated since 1.18). Use + $wgFooterIcons['copyright']['copyright'] instead. +* ApiMain::getShowVersions() was removed (deprecated in 1.21). +* ApiMain::addModule() was removed (deprecated in 1.21). +* ApiMain::addFormat() was removed (deprecated in 1.21). +* ApiMain::getFormats() was removed (deprecated in 1.21). +* ApiPageSet::finishPageSetGeneration() was removed (deprecated in 1.21). === New features in 1.27 === * $wgDataCenterUpdateStickTTL was also added. This decides how long a user @@ -166,6 +182,12 @@ HHVM 3.1. be a good idea, but will log out all current sessions. * $wgEventRelayerConfig was added, for managing PubSub event relay configuration, specifically for reliable CDN url purges. +* Requests have unique IDs, equal to the UNIQUE_ID environment variable (when + MediaWiki is behind Apache+mod_unique_id or something similar) or a randomly- + generated 24-character string. This request ID is used to annotate log records + and error messages. It is available client-side via mw.config.get( 'wgRequestId' ). + The request ID supplants exception IDs. Accordingly, MWExceptionHandler::getLogId() + is deprecated. === External library changes in 1.27 === @@ -239,10 +261,13 @@ HHVM 3.1. * Language::getLanguageNames() was removed (deprecated since 1.20). * Language::getTranslatedLanguageNames() was removed (deprecated since 1.20). * Language::specialPage() was removed (deprecated since 1.24). +* MediaWikiTestCase::assertException() was removed (deprecated since 1.22). * OutputPage::getHeadItems() was removed (deprecated since 1.24). * OutputPage::getScript() was removed (deprecated since 1.24). * OutputPage::out() was removed (deprecated since 1.22). * OutputPage::setAllowedModules() was removed (deprecated since 1.24). +* UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21). +* MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21). === Languages updated in 1.27 === @@ -251,6 +276,7 @@ regularly. Below only new and removed languages are listed, as well as changes to languages because of Phabricator reports. * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale. +* (T116020) Aliases of magic words in MessagesXx.php are sorted by usage. === Other changes in 1.27 === * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class. @@ -361,6 +387,8 @@ changes to languages because of Phabricator reports. ** User::getWatchedItem was removed. * Unit tests don't work with external PHPUnit anymore, Composer is now the only supported way. Run `composer install` to install it and other dev dependencies to run unit tests. +* wl_id field added to the watchlist table. +* Revision::getRawText() was removed (deprecated since 1.21). == Compatibility ==