X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.26;h=2b54e0add5574051020763728f426099582abecc;hb=41afa19927da1796510736147cd77616d9e68f60;hp=8a08f0279d8c745b4b606ea91a95293223788456;hpb=fac57b4b9692847c0473efedcff076fab873dbde;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.26 b/RELEASE-NOTES-1.26 index 8a08f0279d..2b54e0add5 100644 --- a/RELEASE-NOTES-1.26 +++ b/RELEASE-NOTES-1.26 @@ -9,10 +9,15 @@ MediaWiki 1.26 is an alpha-quality branch and is not recommended for use in production. === Configuration changes in 1.26 === +* $wgEnableParserCache was deprecated, set $wgParserCacheType to CACHE_NONE + instead if you want to disable the parser cache. === New features in 1.26 === * Change tags can now be hidden in the interface by disabling the associated "tag-" interface message. +* ':' (colon) is now invalid in usernames for new accounts. Existing accounts + are not affected. +* Added a new hook, 'LogException', to log exceptions in nonstandard ways. ==== External libraries ==== @@ -35,21 +40,36 @@ 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 Bugzilla reports. -* BREAKING CHANGE (T91240): Language code "bh" is not valid in ISO 639 and - was removed, so it will no longer alias to "bho". If you used "bh" as your - wiki's $wgLanguageCode, you must update your configuration. === Other changes in 1.26 === * ChangeTags::tagDescription() will return false if the interface message for the tag is disabled. * Added PageHistoryPager::doBatchLookups hook. +* Added ParserCacheSaveComplete to ParserCache * supportsDirectEditing and supportsDirectApiEditing methods added to -ContentHandler, to provide a way for ApiEditPage and EditPage to check -if direct editing of content is allowed. These methods return false, -by default for the ContentHandler base class and true for TextContentHandler -and it's derivative classes (everything in core). For Content types that -do not support direct editing, an alternative mechanism should be provided -for editing, such as action overrides or specific api modules. + ContentHandler, to provide a way for ApiEditPage and EditPage to check + if direct editing of content is allowed. These methods return false, + by default for the ContentHandler base class and true for TextContentHandler + and it's derivative classes (everything in core). For Content types that + do not support direct editing, an alternative mechanism should be provided + for editing, such as action overrides or specific api modules. +* mediaWiki.confirmCloseWindow now returns an object of functions, instead of + one function. The callback can't be called directly any more. The callback + function is replaced with confirmCloseWindow.release(). +* Removed maintenance script deleteImageMemcached.php. +* MWFunction::newObj() was removed (deprecated in 1.25). + ObjectFactory::getObjectFromSpec() should be used instead. +* The parser will no longer randomize the string it uses to mark the place of + items that were stripped during parsing. It will use a fixed string instead. + This causes the parser to re-use the regular expressions it uses to search + and replace markers rather than generate novel expressions on each parse. + Re-using regular expressions will improve performance on HHVM and the + forthcoming PHP 7. The interfaces changes accompanying this change are: + - Parser::getRandomString() and Parser::uniqPrefix() have been deprecated. + - The $uniq_prefix argument for Parser::extractTagsAndParams() and the + $prefix argument for StripState::_construct() are deprecated and their + value is ignored. + == Compatibility ==