X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.29;h=e66b9ce57947c99531dc1cfd60aa2385d1f17c8b;hb=73412f53fe8113eebe56818a9cdae7ceaf8f9387;hp=5e211ba18698ad63706409cd63a4b95091bcc037;hpb=5c8e8ebb1e868ad0f72ea9343b04b9a9d5c5f140;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29 index 5e211ba186..e66b9ce579 100644 --- a/RELEASE-NOTES-1.29 +++ b/RELEASE-NOTES-1.29 @@ -6,8 +6,8 @@ MediaWiki 1.29 is an alpha-quality branch and is not recommended for use in production. === Configuration changes in 1.29 === -* Default cookie expiration time has been reduced to 30 days. Login cookie expiration time is - kept at 180 days. +* Default cookie expiration time has been reduced to 30 days. Login cookie + expiration time is kept at 180 days. * A new configuration variable has been added: $wgCookieSetOnAutoblock. This determines whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even after logging out and moving to a new IP address, @@ -22,13 +22,28 @@ production. code for ApiBase::parseMsg() will no longer work. * ApiBase::$messageMap is no longer public. Code attempting to access it will result in a PHP fatal error. -* $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC policies. +* $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC + policies. * Subpages are now enabled by default in the Template namespace. Set $wgNamespacesWithSubpages[NS_TEMPLATE] to false to keep the old behavior. +* $wgRunJobsAsync is now false by default (T142751). This change only affects + wikis with $wgJobRunRate > 0. === New features in 1.29 === -* (T5233) A cookie can now be set when a user is autoblocked, to track that user if - they move to a new IP address. This is disabled by default. +* (T5233) A cookie can now be set when a user is autoblocked, to track that user + if they move to a new IP address. This is disabled by default. +* Added ILocalizedException interface to standardize the use of localized + exceptions, largely so the API can handle them more sensibly. +* Blocks created automatically by MediaWiki, such as for configured proxies or + dnsbls, are now indicated as such and use a new i18n message when displayed. +* Added new $wgHTTPImportTimeout setting. Sets timeout for + downloading the XML dump during a transwiki import in seconds. +* Parser limit report is now available in machine-readable format to JavaScript + via mw.config.get('wgPageParseReport'). +* Added $wgSoftBlockRanges, to allow for automatically blocking anonymous edits + from certain IP ranges (e.g. private IPs). +* (T59603) Added new magic word {{PAGELANGUAGE}} which returns the language code + of the page being parsed. === External library changes in 1.29 === @@ -40,6 +55,8 @@ production. ==== Removed and replaced external libraries ==== === Bug fixes in 1.29 === +* (T62604) Core parser functions returning a number now format the number according + to the page content language, not wiki content language. === Action API changes in 1.29 === * Submitting sensitive authentication request parameters to action=clientlogin, @@ -52,6 +69,8 @@ production. using the new 'errorformat', 'errorlang', and 'errorsuselocal' parameters. * API error codes may have changed. Most notably, errors from modules using parameter prefixes (e.g. all query submodules) will no longer be prefixed. +* ApiPageSet-using modules will report the 'invalidreason' using the specified + 'errorformat'. * action=emailuser may return a "Warnings" status, and now returns 'warnings' and 'errors' subelements (as applicable) instead of 'message'. * action=imagerotate returns an 'errors' subelement rather than 'errormessage'. @@ -67,6 +86,8 @@ production. 'stasherrors' rather than a 'stashfailed' text string. * action=watch reports 'errors' and 'warnings' instead of a single 'error', and no longer returns a 'message' on success. +* Added action=validatepassword to validate passwords for the account creation + and password change forms. === Action API internal changes in 1.29 === * New methods were added to ApiBase to handle errors and warnings using i18n @@ -97,6 +118,16 @@ MediaWiki supports over 350 languages. Many localisations are updated regularly. Below only new and removed languages are listed, as well as changes to languages because of Phabricator reports. +* Based as always on linguistic studies on intelligibility and language + knowledge by geography, language fallbacks have been expanded. When a + translation is missing in the user's preferred interface language, the + corresponding translation for the fallback language will be used instead. + English will only be used as last resort when there are no translations. + Some configurations (such as date formats and gender namespaces) have also + been updated when using the fallback language's configuration was inadequate. + The new or reinstated language fallbacks are (after cs ↔ sk in 1.28): + hsb ↔ dsb, io → eo, mdf → ru, pnt → el, roa-tara → it. + ==== No fallback for Ukrainian ==== * (T39314) The fallback from Ukrainian to Russian was removed. The Ukrainian language will now use the default fallback language: English. When a translation @@ -113,7 +144,7 @@ changes to languages because of Phabricator reports. * Xml::escapeJsString() (deprecated in 1.21) was removed. * Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21) were removed. -* Article::getAutosummary() and WikiPage::getAutosummary (deprecated in 1.21) +* Article::getAutosummary() and WikiPage::getAutosummary() (deprecated in 1.21) were removed. * Hooks ArticleViewCustom, EditPageGetDiffText and ShowRawCssJs (deprecated in 1.21) were removed. @@ -121,7 +152,23 @@ changes to languages because of Phabricator reports. * WikiPage::prepareTextForEdit() (deprecated in 1.21) was removed. * WikiPage::getText() (deprecated in 1.21) was removed. * Article::fetchContent() (deprecated in 1.21) was removed. - +* User::getPassword() (deprecated in 1.27) was removed. +* User::getTemporaryPassword() (deprecated in 1.27) was removed. +* User::isPasswordReminderThrottled() (deprecated in 1.27) was removed. +* Class FSRepo (deprecated in 1.19) was removed. +* WebRequest::checkSessionCookie() (deprecated in 1.27) was removed. Use + \MediaWiki\Session\SessionManager::singleton()->getPersistedSessionId() instead. +* Class ImageGallery (deprecated in 1.22) was removed. + Use ImageGalleryBase::factory instead. +* Title::moveNoAuth() (deprecated in 1.25) was removed. Use MovePage class instead. +* Hook UnknownAction (deprecated in 1.19) was actually deprecated (it will now + emit warnings). Create a subclass of Action and add it to $wgActions instead. +* WikiRevision::getText() (deprecated since 1.21) is no longer marked deprecated. +* Linker::getInterwikiLinkAttributes() (deprecated since 1.25) was removed. +* Linker::getInternalLinkAttributes() (deprecated since 1.25) was removed. +* Linker::getInternalLinkAttributesObj() (deprecated since 1.25) was removed. +* Linker::getLinkAttributesInternal() (deprecated since 1.25) was removed. +* RedisConnectionPool::handleException (deprecated since 1.23) was removed. == Compatibility == MediaWiki 1.29 requires PHP 5.5.9 or later. There is experimental support for