X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.30;h=5772798a3cd860df8f03e8f2d1422da8c60ef38b;hb=559e3a4c5cff9b5eb1244342e8c86b440cb6a39d;hp=b24a08d8b109fc6375bb3ab3bc04dca44519ec91;hpb=bb30f8de1dd31edb2308c10e06ee75d78c6c4828;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.30 b/RELEASE-NOTES-1.30 index b24a08d8b1..5772798a3c 100644 --- a/RELEASE-NOTES-1.30 +++ b/RELEASE-NOTES-1.30 @@ -17,6 +17,17 @@ production. This is intended for extensions that want control over the instantiation of their jobs, to allow for proper dependency injection. +* $wgResourceModules may now specify callback functions as an alternative + to plain class names, using the 'factory' key in the module description + array. This allows dependency injection to be used for ResourceLoader modules. +* $wgExceptionHooks has been removed. +* $wgShellLocale is now applied for all requests. wfInitShellLocale() is + deprecated and a no-op, as it is no longer needed. +* WikiPage::getParserOutput() will now throw an exception if passed + ParserOptions would pollute the parser cache. Callers should use + WikiPage::makeParserOptions() to create the ParserOptions object and only + change options that affect the parser cache key. +* (T45547) $wgUsePigLatinVariant added (off by default). === New features in 1.30 === * (T37247) Output from Parser::parse() will now be wrapped in a div with @@ -24,9 +35,16 @@ production. ParserOptions::setWrapOutputClass(). * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software- specific tags to be added by users. -* File storage backends that supports headers (eg. Swift) now store an - X-Content-Dimensions header for originals that contain the media's dimensions - as page ranges keyed by dimensions. +* Added a 'ParserOptionsRegister' hook to allow extensions to register + additional parser options. +* (T45547) Included Pig Latin, a language game in English, as a + LanguageConverter variant. This allows English-speaking developers + to develop and test LanguageConverter more easily. Pig Latin can be + enabled by setting $wgUsePigLatinVariant to true. + +=== Languages updated in 1.30 === + +* Support for kbp (Kabɩyɛ / Kabiyè) was added. === External library changes in 1.30 === @@ -34,13 +52,15 @@ production. * … ==== New external libraries ==== -* … +* The class \TestingAccessWrapper has been moved to the external library + wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper. ==== Removed and replaced external libraries ==== * … === Bug fixes in 1.30 === -* … +* (T151633) Ordered list items use now Devanagari digits in Nepalese + (thanks to Sfic) === Action API changes in 1.30 === * (T37247) action=parse output will be wrapped in a div with @@ -48,9 +68,21 @@ production. the new 'wrapoutputclass' parameter. * When errorformat is not 'bc', abort reasons from action=login will be formatted as specified by the error formatter parameters. +* action=compare can now handle arbitrary text, deleted revisions, and + returning users and edit comments. +* (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto', + 'rvexpandtemplates', 'rvgeneratexml', 'rvparse', and 'rvprop=parsetree' + parameters to prop=revisions are deprecated, as are the similarly named + parameters to prop=deletedrevisions, list=allrevisions, and + list=alldeletedrevisions. Use action=compare, action=parse, or + action=expandtemplates instead. === Action API internal changes in 1.30 === -* … +* ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are + deprecated. The existing message should be split between "apihelp-*-summary" + and "apihelp-*-extended-description". +* (T123931) Individual values of multi-valued parameters can now be marked as + deprecated. === Languages updated in 1.30 === MediaWiki supports over 350 languages. Many localisations are updated @@ -59,6 +91,11 @@ changes to languages because of Phabricator reports. * … +==== Pig Latin added ==== +* (T45547) Added Pig Latin, a made-up English variant (en-x-piglatin), + for easier variant development and testing. Disabled by default. It can be + enabled by setting $wgUsePigLatinVariant to true. + === Other changes in 1.30 === * The use of an associative array for $wgProxyList, where the IP address is in the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]). @@ -68,9 +105,29 @@ changes to languages because of Phabricator reports. deprecated. There are no known callers. * File::getStreamHeaders() was deprecated. * MediaHandler::getStreamHeaders() was deprecated. +* Title::canTalk() was deprecated, the new Title::canHaveTalkPage() should be + used instead. +* MWNamespace::canTalk() was deprecated, the new MWNamespace::hasTalkNamespace() + should be used instead. * The ExtractThumbParameters hook (deprecated in 1.21) was removed. * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both deprecated in 1.24) were removed. +* wfMemcKey() and wfGlobalCacheKey() were deprecated. BagOStuff::makeKey() and + BagOStuff::makeGlobalKey() should be used instead. +* (T146304) Preprocessor handling of LanguageConverter markup has been improved. + As a result of the new uniform handling, '-{' may need to be escaped + (for example, as '-{') where it occurs inside template arguments + or wikilinks. +* (T163966) Page moves are now counted as edits for the purposes of + autopromotion, i.e., they increment the user_editcount field in the database. +* Two new hooks, LogEventsListLineEnding and NewPagesLineEnding were added for + manipulating Special:Log and Special:NewPages lines. +* The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData, + PageHistoryLineEnding, ContributionsLineEnding and DeletedContributionsLineEnding + hooks have an additional parameter, for manipulating HTML data attributes of + RC/history lines. EnhancedChangesListModifyBlockLineData can do that via the + $data['attribs'] subarray. +* (T130632) The OutputPage::enableTOC() method was removed. == Compatibility == MediaWiki 1.30 requires PHP 5.5.9 or later. There is experimental support for