Merge "Add tests for HttpError"
[lhc/web/wiklou.git] / RELEASE-NOTES-1.26
index 6f1120e..af9e9d2 100644 (file)
@@ -42,17 +42,31 @@ changes to languages because of Bugzilla reports.
 * 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().
+  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 ==