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