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