Merge "tests: Support passing null to setExpectedException() in compat layer"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 15 Apr 2018 18:48:10 +0000 (18:48 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 15 Apr 2018 18:48:10 +0000 (18:48 +0000)
RELEASE-NOTES-1.31
tests/phan/stubs/wikidiff.php

index 052bc82..0ae6a83 100644 (file)
@@ -84,6 +84,12 @@ production.
   extensions. Pass --with-extensions to enable that feature.
 * (T184791) rc_patrolled now has three states: "0" for unpatrolled,
   "1" for manually patrolled and "2" for autopatrolled actions.
+* Extensions can now set their type to "editor" if they provide an editor
+  or enhance the editing experience.
+* Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces" property
+  in extension.json. See
+  <https://www.mediawiki.org/wiki/Manual:Extension.json/Schema#AutoloadNamespaces>
+  for more details and an example.
 
 === External library changes in 1.31 ===
 
index bd4ed63..02bcd1f 100644 (file)
  */
 function wikidiff2_do_diff( $text1, $text2, $numContextLines, $movedParagraphDetectionCutoff = 0 ) {
 }
+
+/**
+ * @param string $text1
+ * @param string $text2
+ * @param int $numContextLines
+ * @param int $maxMovedLines
+ * @return string
+ */
+function wikidiff2_inline_diff( $text1, $text2, $numContextLines, $maxMovedLines = 25 ) {
+}