Fix error in various deprecated selectFields() methods
[lhc/web/wiklou.git] / RELEASE-NOTES-1.31
1 == MediaWiki 1.31 ==
2
3 THIS IS NOT A RELEASE YET!
4
5 === Changes since MediaWiki 1.31.0 ===
6 * (T197229) Bundle Nuke extension, it was accidentally omitted.
7 * (T193995) Fix undefined patchPath() method call in parser tests.
8 * (T198687) Fix various selectFields methods to use the string 'NULL', not null.
9
10 === Changes since MediaWiki 1.31.0-rc.2 ===
11 * (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader.
12 * (T196092) Hide MySQL binary/utf-8 charset option in the installer.
13 * (T196185) Don't allow setting $wgDBmysql5 in the installer.
14 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
15 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
16 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete hook.
17 * (T196672) The mtime of extension.json files is now able to be zero
18 * (T180403) Validate $length in padleft/padright parser functions.
19 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
20
21 === Changes since MediaWiki 1.31.0-rc.0 ===
22 * (T33223) Drop archive.ar_text and ar_flags.
23 * Add default edit rate limit of 90 edits/minute for all users.
24 * (T187645) Use codepoint as tiebreaker when getting first-letters in
25 IcuCollation.
26 * (T191947) Don't shell during the installer if shelling out is disabled.
27 * (T194319) Improve duplicate config setting exception as part of extension
28 registration.
29 * (T195211) Don't require trailing slash in PSR-4 autoloader directory.
30 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
31 * Do not incorrectly hide namespace input field in the installer.
32 * (T186456) Refactor checks looking for PEAR maik libraries to be clearer.
33
34 === Important pre-upgrade notes for 1.31 ===
35 * If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply
36 schema changes, and cannot have downtime to run migrateArchiveText.php and
37 apply patch-drop-ar_text.sql manually, you'll have to apply a default value
38 to the ar_text and ar_flags columns of the archive table or make those
39 columns nullable before upgrading to MediaWiki 1.31.
40 maintenance/archives/patch-nullable-ar_text.sql shows how to do this for MySQL.
41
42 === Configuration changes in 1.31 ===
43 * $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
44 a future version. The API is now considered to be stable, secure and
45 essential.
46 * $wgUsejQueryThree was removed, as it is now the default. This was documented
47 as a temporary variable during the migration period, deprecated since 1.29.
48 * $wgLogoHD has been updated to support svg images and uses $wgLogo where
49 possible for fallback images such as png.
50 * (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does not
51 have the right to mark things patrolled.
52 * Wikis that contain imported revisions or CentralAuth global blocks should run
53 maintenance/cleanupUsersWithNoId.php.
54 * The configuration settings $wgResourceLoaderMinifierStatementsOnOwnLine and
55 $wgResourceLoaderMinifierMaxLineLength, deprecated since 1.27, were removed.
56 * (T180921) $wgReferrerPolicy now supports having fallbacks for browsers that
57 are not using the latest version of the Referrer Policy specification.
58 * $wgFragmentMode is now set to [ 'legacy', 'html5' ] by default. This is a
59 first step of migration to human-readable section IDs that will later result
60 in 'html5' being the default mode.
61 * CACHE_ACCEL now only supports APC(u) or WinCache. XCache support was removed
62 as upstream is inactive and has no plans to move to PHP 7.
63 * The old CategorizedRecentChanges feature, including its related configuration
64 option $wgAllowCategorizedRecentChanges, has been removed.
65 * (T188472) The 'comma' value for $wgArticleCountMethod is no longer supported
66 for performance reasons, and installations with this setting will now work as
67 if it was configured with 'any'.
68 * (T185753) MediaWiki now defaults to using RemexHtml to tidy up user input,
69 rather than being off by default. If you wish to disable HTML tidying
70 entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated
71 Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true.
72 * $wgLogAutopatrol now defaults to false instead of true.
73 * $wgValidateAllHtml was removed and will be ignored.
74 * $wgScriptExtension, deprecated and ignored since 1.25, was removed. See the
75 1.25 release notes for more information.
76 * $wgUseAjax is now marked as deprecated, just like the deprecated AJAX
77 framework that it enables. Some extensions mistakenly used this to check
78 whether any AJAX functionality at all should be enabled, further making this
79 problematic to retain.
80 * $wgDBmysql5 is now deprecated, and will be removed in a future version. It
81 has been marked as experimental ever since it was introduced.
82
83 === New features in 1.31 ===
84 * (T76554) User sub-pages named ….json are now protected in the same way that
85 ….js and ….css pages are, so that configuration options can safely be placed
86 there.
87 * Wikimedia\Rdbms\IDatabase->select() and similar methods now support joins
88 with parentheses for grouping.
89 * As a first pass in standardizing dialog boxes across the MediaWiki product,
90 Html class now provides helper methods for messageBox, successBox, errorBox
91 and warningBox generation.
92 * (T9240) Imports will now record unknown (and, optionally, known) usernames in
93 a format like "iw>Example".
94 * (T20209) Linker (used on history pages, log pages, and so on) will display
95 usernames formed like "iw>Example" as interwiki links, as if by wikitext like
96 [[iw:User:Example|iw>Example]].
97 * (T111605) The 'ImportHandleUnknownUser' hook allows extensions to auto-create
98 users during an import.
99 * Added a hook, ParserOutputPostCacheTransform, to allow extensions to affect
100 the ParserOutput::getText() post-cache transformations.
101 * Added a hook, UploadForm:getInitialPageText, to allow extensions to alter the
102 initial page text for file uploads.
103 * (T181651) The info page for File pages now displays the file's base-16 SHA1
104 hash value in the table of basic information.
105 * Style tags with a 'data-mw-deduplicate' attribute will be deduplicated as a
106 ParserOutput::getText() post-cache transformation. This may be disabled by
107 passing 'deduplicateStyles' => false to that method.
108 * The identity of the logged-in or IP "actor" for logged actions is being moved
109 into a new actor table, with the rows in tables such as revision and logging
110 referring to the actor ID instead of storing the user ID and name/IP in
111 every row.
112 * This is currently gated by $wgActorTableSchemaMigrationStage. Most wikis
113 can set this to MIGRATION_NEW and run maintenance/migrateActors.php as
114 soon as any necessary extensions are updated.
115 * Most code accessing rows for logged actions from the database should use
116 the relevant getQueryInfo() methods to get the information needed to build
117 the SQL query. The ActorMigration class may also be used to get feature
118 -flagged information needed to access actor-related fields during the
119 migration period.
120 * Added Wikimedia\Rdbms\IDatabase::cancelAtomic(), to roll back an atomic
121 section without having to roll back the whole transaction.
122 * Wikimedia\Rdbms\IDatabase::doAtomicSection(), non-native ::insertSelect(),
123 and non-MySQL ::replace() and ::upsert() no longer roll back the whole
124 transaction on failure.
125 * (T189785) Added a monthly heartbeat ping to the pingback feature.
126 * The CLI installer (maintenance/install.php) learned to detect and include
127 extensions. Pass --with-extensions to enable that feature.
128 * (T184791) rc_patrolled now has three states: "0" for unpatrolled,
129 "1" for manually patrolled and "2" for autopatrolled actions.
130 * Extensions can now set their type to "editor" if they provide an editor or
131 enhance the editing experience.
132 * Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces"
133 property in extension.json. See the documentation at
134 <https://mediawiki.org/wiki/Manual:Extension.json/Schema#AutoloadNamespaces>
135 for more details and an example.
136 * (T19099) Tabs which link to pages that don't exist (like those to uncreated
137 discussion pages) now have a tooltip to indicate state, not just colour.
138
139 === External library changes in 1.31 ===
140 * pear/mail, pear/mail_mime and pear/mail_mime-decode have been moved from
141 suggested to required. These packages now must be installed via composer
142 and not via PEAR itself.
143
144 ==== Upgraded external libraries ====
145 * Updated jquery.chosen from v0.9.14 to v1.8.2.
146 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
147 * Updated nikic/php-parser from 2.1.0 to 3.1.3 (development dependency).
148 * Updated wikimedia/ip-set from 1.1.0 to 1.2.0.
149 * Updated wikimedia/relpath from 2.0.0 to 2.1.1.
150 * Updated wikimedia/running-stat from 1.1.0 to 1.2.0.
151 * Updated wikimedia/wrappedstring from 2.2.0 to 2.3.0.
152 * Updated mediawiki/at-ease from 1.1.0 to 1.2.0.
153 * Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.6.
154 * Updated wikimedia/remex-html from 1.0.2 to 1.0.3.
155 * Updated wikimedia/html-formatter from 1.0.1 to 1.0.2.
156
157 ==== New external libraries ====
158 * Added wikimedia/object-factory 1.0.0
159
160 ==== Removed and replaced external libraries ====
161 * (T17845) The deprecated 'jquery.badge' module was removed.
162 * The deprecated 'jquery.autoEllipsis' module was removed. Use the CSS
163 text-overflow property instead.
164 * The deprecated 'jquery.placeholder' module was removed.
165 * The deprecated 'jquery.appear' module was removed. Use the
166 'mediawiki.viewport' module instead.
167 * mediawiki/at-ease was replaced with wikimedia/at-ease.
168
169 === Bug fixes in 1.31 ===
170 * (T90902) Non-breaking space in header ID breaks anchor.
171 * (T189375) CSSMin now allows quoted urls in `url()` syntax to start with a
172 space.
173 * (T2087, T10897, T87753, T174639) Whitespace created by category and language
174 links is now stripped rather than leaving blank lines in odd places.
175 * (T3780) Uploads with UTF-8 names now work on PHP7.1+ on Windows servers.
176 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
177
178 === Action API changes in 1.31 ===
179 * (T185058) The 'name' value to tgprop for action=query&list=tags has been
180 removed. It has never made a difference in the output, the name was always
181 returned regardless.
182 * The 'watch' and 'unwatch' parameters for action=move have been removed. They
183 were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use
184 'watchlist' instead.
185
186 === Action API internal changes in 1.31 ===
187 * ApiBase::getProfileDBTime, deprecated since 1.25, was removed.
188 * ApiBase::getModuleProfileName, deprecated since 1.25, was removed.
189 * ApiBase::getProfileTime, deprecated since 1.25, was removed.
190
191 === Languages updated in 1.31 ===
192 MediaWiki supports over 350 languages. Many localisations are updated
193 regularly. Below only new and removed languages are listed, as well as
194 changes to languages because of Phabricator reports.
195
196 * (T180052) Mirandese (mwl) now supports gendered NS_USER/NS_USER_TALK.
197 * (T182305) New language support: Nyungar (nys).
198 * (T186359) New language support: Siberian Tatar [cебертатар] (sty).
199 * (T186635) New language support: Guianan Creole (gcr).
200 * (T186647) New language support: Kumyk [къумукъ] (kum).
201 * (T187750) New language support: Spanish formal address (es-formal).
202 * (T187824) New language support: Hungarian formal address (hu-formal).
203 * (T189127) New language support: Gorontalo (gor).
204
205 === Breaking changes in 1.31 ===
206 * MessageBlobStore::insertMessageBlob(), deprecated in 1.27, was removed.
207 * The OutputPage class constructor now requires a context parameter.
208 Instantiating without context was deprecated in 1.18.
209 * The mw.page JavaScript singleton, deprecated in 1.30, was removed.
210 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
211 related WikiPage::PURGE_* constants, deprecated in 1.29, were removed.
212 * The Article::selectFields(), ::onArticleCreate(), ::onArticleDelete(), and
213 ::onArticleEdit() methods, deprecated in 1.24, were removed.
214 * Installer::locateExecutable() and ::locateExecutableInDefaultPaths() were
215 removed. Use ExecutableFinder::findInDefaultPaths() instead.
216 * The deprecated MW_DIFF_VERSION constant was removed.
217 DifferenceEngine::MW_DIFF_VERSION should be used instead.
218 * Due to significant refactoring, method ContribsPager::getUserCond() that had
219 no access restriction has been removed.
220 * The Block class will no longer accept usable-but-missing usernames for
221 'byText' or ->setBlocker(). Callers should either ensure the blocker exists
222 locally or use a new interwiki-format username like "iw>Example".
223 * The following methods and constants from the WatchedItem class, which were
224 deprecated in 1.27, have been removed:
225 * WatchedItem::getTitle()
226 * WatchedItem::fromUserTitle()
227 * WatchedItem::addWatch()
228 * WatchedItem::removeWatch()
229 * WatchedItem::isWatched()
230 * WatchedItem::duplicateEntries()
231 * WatchedItem::IGNORE_USER_RIGHTS
232 * WatchedItem::CHECK_USER_RIGHTS
233 * WatchedItem::DEPRECATED_USAGE_TIMESTAMP
234 * The $statementsOnOwnLine parameter of JavaScriptMinifier::minify was removed.
235 $wgResourceLoaderMinifierStatementsOnOwnLine, the corresponding configuration
236 variable, has been deprecated since 1.27 and was removed as well.
237 * The $maxLineLength parameter of JavaScriptMinifier::minify was removed.
238 $wgResourceLoaderMinifierMaxLineLength, the corresponding configuration
239 variable, has been deprecated since 1.27 and was removed as well.
240 * The HtmlFormatter class, deprecated in 1.27, was removed. The namespaced
241 HtmlFormatter\HtmlFormatter class should be used instead.
242 * The driver 'mysql' for MySQL, deprecated in MediaWiki 1.30, has been removed.
243 The driver has been deprecated since PHP 5.5 and was removed in PHP 7.0. The
244 default driver for MySQL has been 'mysqli' since MediaWiki 1.22.
245 * The following properties of PreparedEdit were deprecated in 1.21 and have
246 been removed:
247 * PreparedEdit->newText
248 * PreparedEdit->oldText
249 * PreparedEdit->pst
250 * ParserOutput objects which are generated using a non-default value for
251 ParserOptions::setWrapOutputClass() can no longer be added to the parser
252 cache.
253 * The following deprecated methods from the OutputPage class have been removed:
254 * OutputPage::addExtensionStyle(); deprecated in 1.27
255 * OutputPage::getExtStyle(); deprecated in 1.27
256 * OutputPage::setETag(); deprecated in 1.28 (obsolete no-op)
257 * OutputPage::setSquidMaxage(); deprecated in 1.27
258 * OutputPage::readOnlyPage(); deprecated in 1.25
259 * OutputPage::rateLimited(); deprecated in 1.25
260 * Additionally, the protected OutputPage::$mExtStyles array, only accessed
261 through the above and with no known uses, was removed.
262 * The no-op method Skin::showIPinHeader(), deprecated in 1.27, was removed.
263 * The following variables and methods in EditPage, deprecated in MediaWiki 1.30,
264 were removed:
265 * $isCssJsSubpage — use ::isUserConfigPage()
266 * $isCssSubpage — use ::isUserCssConfigPage()
267 * $isJsSubpage — use ::isUserJsConfigPage()
268 * $isWrongCaseCssJsPage – use ::isWrongCaseUserConfigPage()
269 * ::getSummaryInput() – use ::getSummaryInputWidget()
270 * ::getSummaryInputOOUI() – use ::getSummaryInputWidget()
271 * ::getCheckboxes() – use ::getCheckboxesWidget() or
272 ::getCheckboxesDefinition()
273 * ::getCheckboxesOOUI() – use ::getCheckboxesWidget() or
274 ::getCheckboxesDefinition()
275 * ResourceLoaderModule::getPosition(), deprecated in 1.29, has been removed.
276 * In User, the cookie-related methods which were wrappers for the functions on
277 the response object, and were deprecated in 1.27, have been removed:
278 * ::setCookie()
279 * ::clearCookie()
280 * ::setExtendedLoginCookie()
281 Note that User::setCookies() remains, and is not deprecated.
282 * Also in User, some auth-related methods which were deprecated in 1.27 have
283 been removed:
284 * ::getEditTokenTimestamp() – use MediaWiki\Session\Token::getTimestamp()
285 * ::getPasswordFactory() – create a PasswordFactory directly
286 * ::passwordChangeInputAttribs()
287 * The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have
288 been removed.
289 * SpecialPageFactory::getList(), deprecated in 1.24, has been removed. You can
290 use ::getNames() instead.
291 * OpenSearch::getOpenSearchTemplate(), deprecated in 1.25, has been removed. You
292 can use ApiOpenSearch::getOpenSearchTemplate() instead.
293 * The global function wfBaseConvert, deprecated in 1.27, has been removed. Use
294 Wikimedia\base_convert() directly.
295 * Calling Database::begin() explicitly during an implicit transaction or when
296 DBO_TRX is set results in an exception. Calling Database::commit() explicitly
297 for an implicit transaction also results in an exception. Previously these
298 were logged as errors. The startAtomic() and endAtomic() methods, or
299 AtomicSectionUpdate should be used instead.
300 * The global function wfOutputHandler() was removed, use the its replacement
301 MediaWiki\OutputHandler::handle() instead. The global function was only
302 sometimes defined. Its replacement is always available via the autoloader.
303 * ChangeTags::listExtensionActivatedTags and ::listExtensionDefinedTags,
304 deprecated in 1.28, have been removed. Use ::listSoftwareActivatedTags() and
305 ::listSoftwareDefinedTags() instead.
306 * Title::getTitleInvalidRegex(), deprecated in 1.25, has been removed. You can
307 use MediaWikiTitleCodec::getTitleInvalidRegex() instead.
308 * HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25, have been removed.
309 * The ProfileSection class, deprecated in 1.25 and unused, has been removed.
310 * The ResourceLoaderGetLessVars hook, deprecated in 1.30, has been removed. Use
311 ResourceLoaderModule::getLessVars() to expose local variables instead of
312 global ones.
313 * As part of work to modernise user-generated content clean-up, a config option
314 and some methods related to HTML validity were removed without deprecation.
315 The public methods MWTidy::checkErrors() and the path through which it was
316 called, TidyDriverBase::validate(), are removed, as are the testing methods
317 MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument().
318 The $wgValidateAllHtml configuration option is removed and will be ignored.
319 * Execution of external programs using MediaWiki\Shell\Command now applies
320 the RESTRICT_DEFAULT Firejail restriction by default.
321 * The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods,
322 deprecated in 1.26, were removed.
323 * The deprecated 'mediawiki.widgets.CategorySelector' module alias was removed.
324 Use the 'mediawiki.widgets.CategoryMultiselectWidget' module directly.
325
326 === Deprecations in 1.31 ===
327 * The Revision class was deprecated in favor of RevisionStore, BlobStore, and
328 RevisionRecord and its subclasses.
329 * The global function wfBCP47 is deprecated in favour of LanguageCode::bcp47.
330 * The global function wfCountDown is now deprecated in favor of
331 Maintenance::countDown.
332 * Several methods for returning lists of fields to select from the database
333 have been deprecated in favor of similar methods that also return the tables
334 to select from and the join conditions for those tables.
335 * Block::selectFields() → Block::getQueryInfo()
336 * RecentChange::selectFields() → RecentChange::getQueryInfo()
337 * ArchivedFile::selectFields() → ArchivedFile::getQueryInfo()
338 * LocalFile::selectFields() → LocalFile::getQueryInfo()
339 * LocalFile::getCacheFields() with a prefix no longer works
340 * LocalFile::getLazyCacheFields() with a prefix no longer works
341 * OldLocalFile::selectFields() → OldLocalFile::getQueryInfo()
342 * RecentChange::selectFields() → RecentChange::getQueryInfo()
343 * Revision::userJoinCond() → Revision::getQueryInfo( [ 'user' ] )
344 * Revision::selectUserFields() → Revision::getQueryInfo( [ 'user' ] )
345 * Revision::pageJoinCond() → Revision::getQueryInfo( [ 'page' ] )
346 * Revision::selectPageFields() → Revision::getQueryInfo( [ 'page' ] )
347 * Revision::selectTextFields() → Revision::getQueryInfo( [ 'text' ] )
348 * Revision::selectFields() → Revision::getQueryInfo()
349 * Revision::selectArchiveFields() → Revision::getArchiveQueryInfo()
350 * User::selectFields() → User::getQueryInfo()
351 * WikiPage::selectFields() → WikiPage::getQueryInfo()
352 * Revision::setUserIdAndName() was deprecated.
353 * Access to TitleValue class properties was deprecated, the relevant getters
354 should be used instead.
355 * DifferenceEngine::getDiffBodyCacheKey() is deprecated. Subclasses should
356 override DifferenceEngine::getDiffBodyCacheKeyParams() instead.
357 * Use of Maintenance::error( $err, $die ) to exit script was deprecated. Use
358 Maintenance::fatalError() instead.
359 * Passing a ParserOptions object to OutputPage::parserOptions() is deprecated.
360 * The RevisionInsertComplete hook is now deprecated; use instead the hook
361 RevisionRecordInserted. RevisionInsertComplete is still called, but the second
362 and third parameter will always be null. Hard deprecation is scheduled for 1.32.
363 * The following methods that get and set ParserOutput state are deprecated.
364 Callers should use the new stateless $options parameter to
365 ParserOutput::getText() instead.
366 * ParserOptions::getEditSection()
367 * ParserOptions::setEditSection()
368 * ParserOutput::getEditSectionTokens()
369 * ParserOutput::setEditSectionTokens()
370 * ParserOutput::getTOCEnabled()
371 * ParserOutput::setTOCEnabled()
372 * OutputPage::enableSectionEditLinks()
373 * OutputPage::sectionEditLinksEnabled()
374 * The public ParserOutput state fields $mTOCEnabled and $mEditSectionTokens
375 are also deprecated.
376 * License::getLicenses has been deprecated; use License::getLines instead.
377 * QuickTemplate::setRef() was deprecated in favour of QuickTemplate::set().
378 Setting template variables by reference allowed violating the principle of
379 data being immutable once added to the skin template. In practice, this method
380 was not being used for that. Rather, setRef() existed as memory optimisation
381 for PHP 4.
382 * QuickTemplate::setTranslator() and MediaWikiI18N::set() were deprecated in
383 favour of Skin::msg() parameters.
384 * MediaWikiI18N::translate() was deprecated in favour of Skin::msg() or
385 wfMessage().
386 * Passing false to ParserOptions::setWrapOutputClass() is deprecated. Use the
387 'unwrap' transform to ParserOutput::getText() instead.
388 * \ObjectFactory (no namespace) is deprecated, the namespaced class
389 \Wikimedia\ObjectFactory from the wikimedia/object-factory library should be
390 used instead.
391 * CommentStore::newKey is deprecated. Instead, get an instance from
392 MediaWikiServices.
393 * The following CommentStore methods have had their signatures changed to
394 introduce a $key parameter, usage of the methods on instances retrieved from
395 CommentStore::newKey will remain unchanged but deprecated:
396 * CommentStore::getFields
397 * CommentStore::getJoin
398 * CommentStore::getComment
399 * CommentStore::getCommentLegacy
400 * CommentStore::insert
401 * CommentStore::insertWithTemplate
402 * The following methods in Title have been renamed, and the old ones are
403 deprecated:
404 * Title::getSkinFromCssJsSubpage – use ::getSkinFromConfigSubpage
405 * Title::isCssOrJsPage – use ::isSiteConfigPage
406 * Title::isCssJsSubpage – use ::isUserConfigPage
407 * Title::isCssSubpage – use ::isUserCssConfigPage
408 * Title::isJsSubpage – use ::isUserJsConfigPage
409 * The following methods related to caching of half-parsed HTML were deprecated:
410 * Parser::serializeHalfParsedText()
411 * Parser::unserializeHalfParsedText()
412 * Parser::isValidHalfParsedText()
413 * StripState::getSubState()
414 * StripState::merge()
415 * The DeferredStringifier class is deprecated, use Message::listParam() instead.
416 * The type string for the parameter $lang of DateFormatter::getInstance is
417 deprecated.
418 * Wikimedia\Rdbms\SavepointPostgres is deprecated.
419 * The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be
420 used instead.
421 * The function wfShellWikiCmd() has been deprecated, use
422 MediaWiki\Shell::makeScriptCommand().
423 * In the future, the hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend'
424 will be allowed to provide any HTMLForm object rather than PreferencesForm.
425
426 === Other changes in 1.31 ===
427 * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.
428 * Browser support for Opera 12 and older was dropped entirely. Opera 15+
429 continues at Grade A.
430 * Multi-content-revision capability was introduced into the storage layer. See
431 <https://mediawiki.org/wiki/Requests_for_comment/Multi-Content_Revisions>.
432 * The "free" CSS class is now only applied to unbracketed URLs in wikitext.
433 Links written using square brackets will get the class "text" not "free".
434 * RFC 157418: Whitespace is trimmed from wikitext headings, wikitext list items,
435 wikitext table captions, wikitext table headings, wikitext table cells. HTML
436 headings, HTML list items, HTML table captions, HTML table headings, HTML
437 table cells will not have this trimming behavior.
438
439 == Compatibility ==
440 MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
441 supported, it is generally advised to use PHP 7.0.0 or later for long term
442 support.
443
444 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
445 but support for them is somewhat less mature. There is experimental support for
446 Oracle and Microsoft SQL Server.
447
448 The supported versions are:
449
450 * MySQL 5.5.8 or later
451 * PostgreSQL 9.2 or later
452 * SQLite 3.3.7 or later
453 * Oracle 9.0.1 or later
454 * Microsoft SQL Server 2005 (9.00.1399)
455
456 == Upgrading ==
457 1.31 has several database changes since 1.30, and will not work without schema
458 updates. Note that due to changes to some very large tables like the revision
459 table, the schema update may take quite long (minutes on a medium sized site,
460 many hours on a large site).
461
462 Don't forget to always back up your database before upgrading!
463
464 See the file UPGRADE for more detailed upgrade instructions, including
465 important information when upgrading from versions prior to 1.11.
466
467 For notes on 1.30.x and older releases, see HISTORY.
468
469 == Online documentation ==
470 Documentation for both end-users and site administrators is available on
471 MediaWiki.org, and is covered under the GNU Free Documentation License (except
472 for pages that explicitly state that their contents are in the public domain):
473
474 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
475
476 == Mailing list ==
477 A mailing list is available for MediaWiki user support and discussion:
478
479 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
480
481 A low-traffic announcements-only list is also available:
482
483 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
484
485 It's highly recommended that you sign up for one of these lists if you're
486 going to run a public MediaWiki, so you can be notified of security fixes.
487
488 == IRC help ==
489 There's usually someone online in #mediawiki on irc.freenode.net.