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