X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.26;h=2b54e0add5574051020763728f426099582abecc;hb=cf08f986af0a1cfa092f46f5c772c610fb52dce4;hp=588dc5614be496b4acbaccae590bbaa43cb0c05d;hpb=8a7e518da017e9345f86851e7c141276f5aa2693;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.26 b/RELEASE-NOTES-1.26 index 588dc5614b..2b54e0add5 100644 --- a/RELEASE-NOTES-1.26 +++ b/RELEASE-NOTES-1.26 @@ -9,12 +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 ==== @@ -44,16 +47,29 @@ changes to languages because of Bugzilla reports. * 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(). + 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 ==