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