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