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