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