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