X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=c765fc138666a17c38c2805cd65d4477baf3714d;hb=11278f848deb3bae3b653aa741915873e43aa766;hp=cc75699620b4b009dc6c233f305ad69f7b36189b;hpb=03c6bf40f104bc8af1b79a9a194b96ca5980ecf8;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index cc75699620..c765fc1386 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -40,6 +40,8 @@ production. * The $wgPasswordSenderName setting, ignored since 1.23 by MediaWiki and almost all extensions, is no longer set at all. Instead, you can modify the system message `emailsender`. +* A new configuration setting, $wgRawHtmlMessages, is added, for listing + messages which are displayed as raw HTML. === New features in 1.32 === * (T112474) Generalized the ResourceLoader mechanism for overriding modules @@ -71,6 +73,15 @@ production. additional links to the subtitle of a history page. * The 'GetLinkColours' hook now receives an additional $title parameter, the Title object of the page being parsed, on which the links will be shown. +* (T194731) DifferenceEngine supports multiple slots. Added SlotDiffRenderer to + render diffs between two Content objects, and DifferenceEngine::setRevisions() + to render diffs between two custom (potentially multi-content) revisions. + Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots. +* Added a temporary action=mcrundo to the web UI, as the normal undo logic + can't yet handle MCR and deadlines are forcing is to put off fixing that. + This action should be considered deprecated and should not be used directly. +* Extensions overriding ContentHandler::getUndoContent() will need to be + updated for the changed method signature. === External library changes in 1.32 === * … @@ -132,6 +143,18 @@ production. * action=query&prop=deletedrevisions, action=query&list=allrevisions, and action=query&list=alldeletedrevisions are changed similarly to &prop=revisions (see the three previous items). +* (T174032) action=compare now supports multi-content revisions. + * It has a 'slots' parameter to select diffing of individual slots. The + default behavior is to return one combined diff. + * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat', + 'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters + are deprecated. Specify the new 'fromslots' and 'toslots' to identify which + slots have text supplied and the corresponding templated parameters for + each slot. + * The behavior of 'fromsection' and 'tosection' of extracting one section's + content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}' + instead expand the given text as if for a section edit. This effectively + declines T183823 in favor of T185723. === Action API internal changes in 1.32 === * Added 'ApiParseMakeOutputPage' hook. @@ -255,10 +278,10 @@ because of Phabricator reports. a no-op function since 1.30. * SpecialPageFactory::resetList() is a no-op. Call overrideMwServices() instead. +* MediaWiki no longer supports a StartProfiler.php file. + Define $wgProfiler via LocalSettings.php instead. === Deprecations in 1.32 === -* Use of a StartProfiler.php file is deprecated in favour of placing - configuration in LocalSettings.php. * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit button is already marked as progressive. * Skin::setupSkinUserCss() is deprecated. Adding of modules to load @@ -343,12 +366,20 @@ because of Phabricator reports. Set $wgShowExceptionDetails and/or $wgShowHostnames instead. * The $wgShowDBErrorBacktrace global is deprecated and nonfunctional. Set $wgShowExceptionDetails instead. -* Public access to the DifferenceEngine properties mOldid, mNewid, mOldPage, - mNewPage, mOldContent, mNewContent, mRevisionsLoaded, mTextLoaded and - mCacheHit is deprecated. Use getOldid() / getNewid() for the first two, - do your own lookup for page/content. mNewRev / mOldRev remains public. +* Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev, + mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded, + mTextLoaded and mCacheHit is deprecated. Use getOldid() / getNewid() / + getOldRevision() / getNewRevision() for the first four (note that the + revision ones return a RevisionRecord, not a Revision), do your own lookup + for page/content. * The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2 just enable the PHP extension, and it will be autodetected. +* (T194731) DifferenceEngine properties mOldContent and mNewContent and methods + setContent(), generateContentDiffBody(), generateTextDiffBody() and textDiff() + are deprecated. To interact with a single slot, use a SlotDiffRenderer (and + subclass it to customize diff rendering); to diff custom (e.g. unsaved) + content, use setRevisions(). Subclassing DifferenceEngine should only be done + to customize page-level diff properties (such as the navigation header). * The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated. * All MagicWord static methods are now deprecated. Use the MagicWordFactory methods instead. @@ -363,6 +394,10 @@ because of Phabricator reports. * All SpecialPageFactory static methods are deprecated. Instead, call the methods on a SpecialPageFactory instance, which may be obtained from MediaWikiServices. +* mw.user.stickyRandomId was renamed to the more explicit + mw.user.getPageviewToken to better capture its function. +* Passing Revision objects to ContentHandler::getUndoContent() is deprecated, + Content object should be passed instead. === Other changes in 1.32 === * (T198811) The following tables have had their UNIQUE indexes turned into