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