Provide command to adjust phpunit.xml for code coverage
[lhc/web/wiklou.git] / RELEASE-NOTES-1.34
1 = MediaWiki 1.34 =
2
3 == MediaWiki 1.34.0-PRERELEASE ==
4
5 THIS IS NOT A RELEASE YET
6
7 MediaWiki 1.34 is an alpha-quality development branch, and is not recommended
8 for use in production.
9
10 == Upgrading notes for 1.34 ==
11 1.34 has several database changes since 1.33, and will not work without schema
12 updates. Note that due to changes to some very large tables like the revision
13 table, the schema update may take quite long (minutes on a medium sized site,
14 many hours on a large site).
15
16 Don't forget to always back up your database before upgrading!
17
18 See the file UPGRADE for more detailed upgrade instructions, including
19 important information when upgrading from versions prior to 1.11.
20
21 Some specific notes for MediaWiki 1.34 upgrades are below:
22
23 * …
24
25 For notes on 1.33.x and older releases, see HISTORY.
26
27 === Configuration changes for system administrators in 1.34 ===
28
29 ==== New configuration ====
30 * $wgAllowExternalReqID (T201409) - This configuration setting controls whether
31 Mediawiki accepts the request ID set by the incoming request via the
32 `X-Request-Id` header. If set to `true`, that value will be used throughout
33 the code as the request identificator. Otherwise, the sent header will be
34 ignored and the request ID will either be taken from Apache's mod_unique
35 module or will be generated by Mediawiki itself (depending on the set-up).
36 * $wgEnableSpecialMute (T218265) - This configuration controls whether
37 Special:Mute is available and whether to include a link to it on emails
38 originating from Special:Email.
39 * editmyuserjsredirect user right – users without this right now cannot edit JS
40 redirects in their userspace unless the target of the redirect is also in
41 their userspace. By default, this right is given to everyone.
42 * (T226733) Add rate limiter to Special:ConfirmEmail.
43
44 ==== Changed configuration ====
45 * $wgUseCdn, $wgCdnServers, $wgCdnServersNoPurge, and $wgCdnMaxAge – These four
46 CDN-related config variables have been renamed from being specific to Squid –
47 they were previously $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and
48 $wgSquidMaxage respectively. This aligns them with the related existing
49 variable $wgCdnMaxageLagged. The previous configuration variable names are
50 deprecated, but will be used as the fall back if they are still set.
51 Note that wgSquidPurgeUseHostHeader has not been renamed, as it is deprecated.
52 * (T27707) File type checks for image uploads have been relaxed to allow files
53 containing some HTML markup in metadata. As a result, the $wgAllowTitlesInSVG
54 setting is no longer applied and is now always true. Note that MSIE 7 may
55 still be able to misinterpret certain malformed PNG files as HTML.
56 * Introduced $wgVerifyMimeTypeIE to allow disabling the MSIE 6/7 file type
57 detection heuristic on upload, which is more conservative than the checks
58 that were changed above.
59 * $wgSkipSkin — Setting this instead of $wgSkipSkins, deprecated in 1.23, is now
60 hard-deprecated.
61 * $wgLocalInterwiki — Setting this instead of $wgLocalInterwikis, deprecated in
62 1.23, is now hard-deprecated.
63 * $wgProfileOnly — Setting this, deprecated in 1.23, is now hard-deprecated.
64 Instead, set the log file in $wgDebugLogGroups['profileoutput'].
65 * $wgProxyList — Setting this to an array with IP addresses in the array keys,
66 which was deprecated in 1.30, no longer works. Instead, $wgProxyList should be
67 an array with IP addresses as the values, or a string path to a file
68 containing one IP address per line.
69 * …
70
71 ==== Removed configuration ====
72 * $wgWikiDiff2MovedParagraphDetectionCutoff — If you still want a custom change
73 size threshold, please specify in php.ini, using the configuration variable
74 wikidiff2.moved_paragraph_detection_cutoff.
75 * $wgDebugPrintHttpHeaders - The default of including HTTP headers in the
76 debug log channel is no longer configurable. The debug log itself remains
77 configurable via $wgDebugLogFile.
78 * $wgMsgCacheExpiry - The MessageCache uses 24 hours as the expiry for values
79 stored in WANObjectCache. This is no longer configurable.
80 * $wgPasswordSalt – This setting, used for migrating exceptionally old, insecure
81 password setups and deprecated since 1.24, is now removed.
82 * $wgDBOracleDRCP - If you must use persistent connections, set DBO_PERSISTENT
83 in the 'flags' field for servers in $wgDBServers (or $wgLBFactoryConf).
84 * $wgMemCachedDebug - Set the cache "debug" field in $wgObjectCaches instead.
85
86 === New user-facing features in 1.34 ===
87 * Special:Mute has been added as a quick way for users to block unwanted emails
88 from other users originating from Special:EmailUser.
89 * (T207577) Special:NewSection has been created as a shortcut to creating a new
90 section on a page. When linked to, its subpage is used as the target
91 ([[Special:NewSection/Test]] redirects to creating a new section in "Test").
92 Otherwise, it displays a basic interface to allow the end user to specify
93 the target manually.
94 * (T220447) Special:Contributions/newbies has been removed for performance and
95 usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead.
96 * Special:NewFiles/newbies has been removed for performance and usefulness
97 reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead.
98
99 === New developer features in 1.34 ===
100 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
101 of headers in private wikis.
102 * Language::formatTimePeriod now supports the new 'avoidhours' option to output
103 strings like "5 days ago" instead of "5 days 13 hours ago".
104 * (T220163) Added SpecialMuteModifyFormFields hook to allow extensions
105 to add fields to Special:Mute.
106 * (T100896) Skin authors can define custom OOUI themes using OOUIThemePaths.
107 See <https://www.mediawiki.org/wiki/OOUI/Themes> for details.
108 * (T229035) The GetUserBlock hook was added. Use this instead of
109 GetBlockedStatus.
110 * ObjectFactory is available as a service. When used as a service, the object
111 specs can now specify needed DI services.
112
113 === External library changes in 1.34 ===
114
115 ==== New external libraries ====
116 * …
117
118 ==== Changed external libraries ====
119 * Updated Mustache from 1.0.0 to v3.0.1.
120 * Updated OOUI from v0.31.3 to v0.34.0.
121 * Updated OOjs from v2.2.2 to v3.0.0.
122 * Updated composer/semver from 1.4.2 to 1.5.0.
123 * Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only).
124 * Updated mediawiki/codesniffer from 25.0.0 to 26.0.0 (dev-only).
125 * Updated cssjanus/cssjanus from 1.2.1 to 1.3.0.
126 * Updated wikimedia/at-ease from 1.2.0 to 2.0.0.
127 * Updated wikimedia/remex-html from 2.0.1 to 2.0.3.
128 * Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only).
129 * Updated wikimedia/object-factory from 1.0.0 to 2.1.0.
130 * Updated wikimedia/timestamp from 2.2.0 to 3.0.0.
131 * Updated wikimedia/xmp-reader from 0.6.2 to 0.6.3.
132 * Updated mediawiki/mediawiki-phan-config from 0.6.0 to 0.6.1 (dev-only).
133 * …
134
135 ==== Removed external libraries ====
136 * The jquery.async module, deprecated in 1.33, was removed.
137 * …
138
139 === Bug fixes in 1.34 ===
140 * (T222529) If a log entry or page revision is recorded in the database with an
141 empty username, attempting to display it will log an error and return a "no
142 username available" to the user instead of silently displaying nothing or
143 invalid links.
144
145 === Action API changes in 1.34 ===
146 * The 'recenteditcount' response property from action=query list=allusers,
147 deprecated in 1.25, has been removed.
148
149 === Action API internal changes in 1.34 ===
150 * …
151
152 === Languages updated in 1.34 ===
153 MediaWiki supports over 350 languages. Many localisations are updated regularly.
154 Below only new and removed languages are listed, as well as changes to languages
155 because of Phabricator reports.
156
157 * (T152908) Added language support for N'Ko (nqo).
158
159 === Breaking changes in 1.34 ===
160 * The global functions wfSuppressWarnings and wfRestoreWarnings, deprecated in
161 1.26, have been removed. Use Wikimedia\AtEase\AtEase::suppressWarnings() and
162 Wikimedia\AtEase\AtEase::restoreWarnings() directly.
163 * Preferences class, deprecated in 1.31, has been removed.
164 * The following parts of code, deprecated in 1.32, were removed in favor of
165 built-in PHP functions:
166 * CryptRand class
167 * CryptRand service
168 * Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
169 * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
170 create a new Language object with a different language code.
171 * MWNamespace::clearCaches() has been removed. So has the $rebuild parameter
172 to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
173 Instead, reset services, such as by calling $this->overrideMwServices() (if
174 your test extends MediaWikiTestCase). Services will generally not pick up
175 configuration changes from after they were created, so you must reset
176 services after any configuration change. Even if your code works now, it is
177 likely to break in future versions as more code is moved to services.
178 * The ill-defined "DatabaseOraclePostInit" hook has been removed.
179 * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have
180 been removed.
181 * ObjectFactory class, deprecated in 1.31, has been removed.
182 * HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
183 * XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
184 * The RedirectSpecialPage::execute method could sometimes return a Title object.
185 This behavior was removed, and the method now matches the parent signature
186 (SpecialPage::execute) which is to return HTML string or void.
187 To obtain the destination title, use RedirectSpecialPage::getRedirect.
188 * The 'recenteditcount' response property from action API action=query
189 list=allusers, deprecated in 1.25, has been removed.
190 * SearchEngine::userNamespaces(), SearchEngine::namespacesAsText(),
191 SearchEngine::create(), SearchEngine::getSearchTypes() and
192 SearchEngine::getNearMatch(), methods deprecated in 1.27, have been removed.
193 * FileRepo::streamFile(), deprecated in 1.26, has been removed.
194 * User::randomPassword() method, deprecated in 1.27, have been removed.
195 * MWNamespace::canTalk(), deprecated in 1.30, have been removed.
196 * Parser class property $mUniqPrefix, deprecated in 1.26, has been removed.
197 * wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been
198 removed.
199 * wfMakeUrlIndexes() function, deprecated in 1.33, have been removed.
200 * Method signatures in WatchedItemQueryServiceExtension have changed from taking
201 User objects to taking UserIdentity objects. Extensions implementing this
202 interface need to be changed accordingly.
203 * User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been
204 removed. Use UserGroupMembership::getGroupPage and ::getLink instead.
205 * User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use
206 UserGroupMembership::getLink() instead.
207 * SavepointPostgres, deprecated in 1.31, has been removed.
208 * OutputPage::enableSectionEditLinks(), OutputPage::sectionEditLinksEnabled(),
209 ParserOptions::getEditSection(), ParserOptions::setEditSection(), and
210 ParserOutput::getEditSectionTokens, ::getTOCEnabled, ::setEditSectionTokens,
211 and ::setTOCEnabled, deprecated in 1.31, have been removed.
212 * EditPage::safeUnicodeInput() and ::safeUnicodeOutput(), deprecated in 1.30,
213 have been removed.
214 * Four methods in OutputPage, deprecated in 1.32, have been removed. You should
215 use OutputPage::showFatalError or throw a FatalError instead. The methods are
216 ::showFileCopyError(), ::showFileRenameError(), ::showFileDeleteError(), and
217 ::showFileNotFoundError().
218 * ApiBase::truncateArray(), deprecated in 1.32, has been removed.
219 * IcuCollation::getICUVersion(), deprecated in 1.32, has been removed. Use PHP's
220 INTL_ICU_VERSION constant directly.
221 * HTMLForm::setSubmitProgressive(), deprecated in 1.32, has been removed.
222 * ResourceLoaderStartUpModules::getStartupModules() and ::getLegacyModules(),
223 both deprecated in 1.32, have been removed.
224 * BaseTemplate::msgHtml() and QuickTemplate::msgHtml(), deprecated in 1.32, have
225 been removed. Use ->msg() or ->getMsg() instead.
226 * WatchAction::getUnwatchToken(), deprecated in 1.32, has been removed. Instead,
227 use WatchAction::getWatchToken() with action 'unwatch' directly.
228 * Language::initEncoding(), ::recodeForEdit(), and recodeInput(), deprecated in
229 1.28, have been removed.
230 * PageArchive::getTextFromRow(), ::listAllPages(), and ::getLastRevisionText(),
231 deprecated in 1.32, have been removed.
232 * OutputPage::getModuleScripts(), ParserOutput::getModuleScripts(), deprecated
233 in 1.33, have been removed.
234 * User::getPasswordValidity(), deprecated in 1.33, has been removed.
235 * ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been
236 removed.
237 * ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed.
238 * JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed.
239 * MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed.
240 * SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed.
241 * The Block typehint only refers to blocks stored in the database. It should be
242 updated to AbstractBlock in cases where any type of block could be expected.
243 * FileRepoStatus, deprecated in 1.25, has been removed.
244 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
245 in 1.27, has been removed.
246 * IP::isValidBlock(), deprecated in 1.30, has been removed.
247 * WikiPage::prepareContentForEdit now doesn't accept an integer for $revision,
248 was deprecated in 1.25.
249 * The jquery.byteLength module, deprecated in 1.31, was removed.
250 Use the mediawiki.String module instead.
251 * mw.language.specialCharacters, deprecated in 1.33, has been removed.
252 Use require( 'mediawiki.language.specialCharacters' ) instead.
253 * EditPage::submit(), deprecated in 1.29, has been removed. Use $this->edit()
254 directly.
255 * HTMLForm::getErrors(), deprecated in 1.28, has been removed. Use
256 getErrorsOrWarnings() instead.
257 * SpecialPage::getTitle(), deprecated in 1.23, has been removed. Use
258 SpecialPage::getPageTitle() instead.
259 * jquery.ui.effect-bounce, jquery.ui.effect-explode, jquery.ui.effect-fold
260 jquery.ui.effect-pulsate, jquery.ui.effect-slide, jquery.ui.effect-transfer,
261 which are no longer used, have now been removed.
262 * SpecialEmailUser::validateTarget(), ::getTarget() without a sender/user
263 specified, deprecated in 1.30, have been removed.
264 * BufferingStatsdDataFactory::getBuffer(), deprecated in 1.30, has been removed.
265 * The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA.
266 * The constants NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14, have been
267 removed. Use NS_FILE and NS_FILE_TALK respectively.
268 * Replacer, DoubleReplacer, HashtableReplacer and RegexlikeReplacer
269 (deprecated in 1.32) have been removed. Closures should be used instead.
270 * OutputPage::addWikiText(), ::addWikiTextWithTitle(), ::addWikiTextTitleTidy(),
271 ::addWikiTextTidy(), ::addWikiTextTitle(), deprecated in 1.32, have been
272 removed.
273 * The $wgUseKeyHeader configuration option and the OutputPage::getKeyHeader()
274 method, deprecated in 1.32, have been removed.
275 * WebInstallerOutput::addWikiText(), deprecated in 1.32, has been removed.
276 * Parser::fetchFile(), deprecated in 1.32, has been removed. Use the method
277 Parser::fetchFileAndTitle() instead.
278 * The global function wfBCP47, deprecated in 1.31, has been removed.
279 * wfCountDown() function, deprecated in 1.31, has been removed. Use
280 \Maintenance::countDown() method instead.
281 * OutputPage::wrapWikiMsg() no longer accepts an options parameter. This was
282 deprecated since 1.20.
283 * Skin::outputPage() no longer accepts a context. This was deprecated in 1.20.
284 * Linker::link() no longer accepts a string for the query array, as was
285 deprecated in 1.20.
286 * PrefixSearch::titleSearch(), deprecated in 1.23, has been removed. Use the
287 SearchEngine::defaultPrefixSearch or ::completionSearch() methods instead.
288 * The UserRights hook, deprecated in 1.26, has been removed. Instead, use the
289 UserGroupsChanged hook.
290 * Skin::getDefaultInstance(), deprecated in 1.27, has been removed. Get the
291 instance from MediaWikiServices instead.
292 * The UserLoadFromSession hook, deprecated in 1.27, has been removed.
293 * The wfResetSessionID global function, deprecated in 1.27, has been removed.
294 Use MediaWiki\Session\SessionManager instead.
295 * The wfGetLBFactory global function, deprecated in 1.27, has been removed.
296 Use MediaWikiServices::getInstance()->getDBLoadBalancerFactory().
297 * The internal method OutputPage->addScriptFile() will no longer silently drop
298 calls that use an invalid path (i.e., something other than an absolute path,
299 protocol-relative URL, or full scheme URL), and will instead pass them to the
300 client where they will likely 404. This usage was deprecated in 1.24.
301 * Database::reportConnectionError, deprecated in 1.32, has been removed.
302 * APIEditBeforeSave hook, deprecated in 1.28, has been removed. Please see
303 EditFilterMergedContent hook for an alternative way to use this feature.
304 * API module methods getDescription(), getParamDescription(), & getExamples(),
305 all deprecated in 1.25 and ignored, have been removed.
306 * The API module method getDescriptionMessage(), deprecated in 1.30, has been
307 removed.
308 * The JavaScript global variable wgLoadScript has been removed. Use
309 mw.util.wikiScript( 'load' ) instead.
310 * ResourceLoader no longer creates the 'mw.legacy' placeholder object. It has
311 been unused since 1.16 and was deprecated in 1.22. To deprecate a property
312 in JavaScript, use mw.log.deprecate() instead.
313 * The 'user.groups' module, deprecated in 1.28, was removed.
314 Use the 'user' module instead.
315 * The ResourceLoaderContext::expandModuleNames method, deprecated in 1.33, was
316 removed. Use ResourceLoader::expandModuleNames instead.
317 * The ability to override User::$mRights has been removed. Use
318 PermissionManager::addTemporaryUserRights() instead.
319 * Previously, when iterating ResultWrapper with foreach() or a similar
320 construct, the range of the index was 1..numRows. This has been fixed to be
321 0..(numRows-1).
322 * The ChangePasswordForm hook, deprecated in 1.27, has been removed. Use the
323 AuthChangeFormFields hook or security levels instead.
324 * WikiMap::getWikiIdFromDomain(), deprecated in 1.33, has been removed.
325 Use WikiMap::getWikiIdFromDbDomain() instead.
326 * The config variables $wgHtml5, $wgJsMimeType, and $wgXhtmlDefaultNamespace,
327 which were deprecated and ignored by core since 1.22, are no longer set to any
328 value, and SkinTemplate no longer emits a 'jsmimetype' key. Any extensions not
329 updated since 2013 to cope with this deprecation may now break.
330 * (T222637) Passing ResourceLoaderModule objects to ResourceLoader::register()
331 or $wgResourceModules is no longer supported.
332 Use the 'class' or 'factory' option of the array format instead.
333 * The parameter $lang of the functions generateTOC and tocList in Linker and
334 DummyLinker must be in type Language when present. Other types are
335 deprecated since 1.33.
336 * The static properties mw.Api.errors and mw.Api.warnings, deprecated in 1.29,
337 have been removed.
338 * ParserOption::getSpeculativeRevIdCallback(), deprecated in 1.28, has been
339 removed.
340 * The UploadVerification hook, deprecated in 1.28, has been removed. Instead,
341 use the UploadVerifyFile hook.
342 * UploadBase:: and UploadFromChunks::stashFileGetKey() and stashSession(),
343 deprecated in 1.28, have been removed. Instead, please use the getFileKey()
344 method on the response from doStashFile().
345 * LBFactory::setDomainPrefix() and LoadBalancer::setDomainPrefix(), deprecated
346 in 1.33, have been removed. Use setLocalDomainPrefix() instead.
347 * IDatabase::implicitGroupby(), deprecated in 1.30, has been removed.
348 * IDatabase::doneWrites(), deprecated in 1.31, has been removed.
349 Use IDatabase::lastDoneWrites() instead.
350 * Database::reportConnectionError(), deprecated in 1.32, has been removed.
351 * LoadBalancer::laggedSlaveUsed(), deprecated in 1.28, has been removed.
352 Use LoadBalancer::laggedReplicaUsed() instead.
353 * Database::getProperty(), deprecated in 1.28, has been removed.
354 * IDatabase::getWikiId(), deprecated in 1.30, has been removed.
355 Use IDatabase::getDomainID() instead.
356 * (T191231) Support for using Oracle or MSSQL as database backends has been
357 dropped.
358 * MessageCache::destroyInstance() has been removed. Instead, call
359 MediaWikiTestCase::resetServices().
360 * SearchResult protected field $searchEngine is removed and no longer
361 initialized after calling SearchResult::initFromTitle().
362 * The UserIsBlockedFrom hook is only called if a block is found first, and
363 should only be used to unblock a blocked user.
364 * …
365
366 === Deprecations in 1.34 ===
367 * The MWNamespace class is deprecated. Use NamespaceInfo.
368 * ExtensionRegistry->load() is deprecated, as it breaks dependency checking.
369 Instead, use ->queue().
370 * User::isBlocked() is deprecated since it does not tell you if the user is
371 blocked from editing a particular page. Use User::getBlock() or
372 PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead.
373 * User::isLocallyBlockedProxy and User::inDnsBlacklist are deprecated and moved
374 to the BlockManager as private helper methods.
375 * User::isDnsBlacklisted is deprecated. Use BlockManager::isDnsBlacklisted
376 instead.
377 * The Config argument to ChangesListSpecialPage::checkStructuredFilterUiEnabled
378 is deprecated. Pass only the User argument.
379 * WatchedItem::getUser is deprecated. Use getUserIdentity.
380 * Passing a Title as the first parameter to the getTimestampById method of
381 RevisionStore is deprecated. Omit it, passing only the remaining parameters.
382 * Title::getPreviousRevisionId and Title::getNextRevisionId are deprecated. Use
383 RevisionLookup::getPreviousRevision and RevisionLookup::getNextRevision.
384 * The Title parameter to RevisionLookup::getPreviousRevision and
385 RevisionLookup::getNextRevision is deprecated and should be omitted.
386 * MWHttpRequest::factory is deprecated. Use HttpRequestFactory.
387 * The Http class is deprecated. For the request, get, and post methods, use
388 HttpRequestFactory. For isValidURI, use MWHttpRequest::isValidURI. For
389 getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a
390 MultiHttpClient directly.
391 * Http::$httpEngine is deprecated and has no replacement. The default 'guzzle'
392 engine will eventually be made the only engine for HTTP requests.
393 * RepoGroup::singleton(), RepoGroup::destroySingleton(),
394 RepoGroup::setSingleton(), wfFindFile(), and wfLocalFile() are all
395 deprecated. Use MediaWikiServices instead.
396 * The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated.
397 Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage.
398 * MWMessagePack class, no longer used, has been deprecated in 1.34.
399 * The Block class is separated into DatabaseBlock (for blocks stored in the
400 database), and SystemBlock (for temporary blocks created by the system).
401 SystemBlock should be used when creating any temporary blocks. Block is
402 a deprecated alias for DatabaseBlock.
403 * Parser::$mConf is deprecated. It will be removed entirely in a later version.
404 Some context can be found at T224165.
405 * Constructing Parser directly is deprecated. Obtain one from ParserFactory.
406 * Title::moveSubpages is deprecated. Use MovePage::moveSubpages or
407 MovePage::moveSubpagesIfAllowed.
408 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
409 * (T62260) Hard deprecate Language::getExtraUserToggles() method.
410 * Language::viewPrevNext function is deprecated, use
411 PrevNextNavigationRenderer::buildPrevNextNavigation instead
412 * User::trackBlockWithCookie and DatabaseBlock::clearCookie are deprecated. Use
413 BlockManager::trackBlockWithCookie and BlockManager::clearCookie instead.
414 * DatabaseBlock::setCookie, DatabaseBlock::getCookieValue,
415 DatabaseBlock::getIdFromCookieValue and AbstractBlock::shouldTrackWithCookie
416 are moved to internal helper methods for BlockManager::trackBlockWithCookie.
417 * ResourceLoaderContext::getConfig and ResourceLoaderContext::getLogger have
418 been deprecated. Inside ResourceLoaderModule subclasses, use the local methods
419 instead. Elsewhere, use the methods from the ResourceLoader class.
420 * The Profiler::setTemplated and Profiler::getTemplated methods have been
421 deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput
422 instead.
423 * The Preprocessor_DOM implementation has been deprecated. It will be
424 removed in a future release. Use the Preprocessor_Hash implementation
425 instead.
426 * Sanitizer::attributeWhitelist() and Sanitizer::setupAttributeWhitelist()
427 have been deprecated; they will be made private in the future.
428 * SearchResult::termMatches() method is deprecated. It was unreliable because
429 only populated by few search engine implementations. Use
430 SqlSearchResult::getTermMatches() if really needed.
431 * SearchResult::getTextSnippet( $terms ) the $terms param is being deprecated
432 and should no longer be passed. Search engine implemenations should be
433 responsible for carrying relevant information needed for highlighting with
434 their own SearchResultSet/SearchResult sub-classes.
435 * SearchResultSet::free() method is deprecated.
436 * SearchEngine::$searchTerms protected field is deprecated. Moved to
437 SearchDatabase.
438 * The use of the $terms param in the ShowSearchHit and ShowSearchHitTitle
439 hooks is highly discouraged as it's only populated by SearchDatabase search
440 engines.
441 * Skin::escapeSearchLink() is deprecated. Use Skin::getSearchLink() or the skin
442 template option 'searchaction' instead.
443 * Skin::getRevisionId() and Skin::isRevisionCurrent() have been deprecated.
444 Use OutputPage::getRevisionId() and OutputPage::isRevisionCurrent() instead.
445 * LoadBalancer::haveIndex() and LoadBalancer::isNonZeroLoad() have
446 been deprecated.
447 * FileBackend::getWikiId() has been deprecated.
448 Use FileBackend::getDomainId() instead.
449 * User::getRights() and User::$mRights have been deprecated. Use
450 PermissionManager::getUserPermissions() instead.
451 * The LocalisationCacheRecache hook no longer allows purging of message blobs
452 to be prevented. Modifying the $purgeBlobs parameter now has no effect.
453 * SVGMetadataExtractor::getMetadata has been deprecated. Instead, you should
454 use SVGReader->getMetadata() directly.
455 * The following public properties on AbstractBlock are deprecated: $mReason,
456 $mTimestamp, $mExpiry, $mHideName. Use the getters/setters instead.
457 * The following public properties on DatabaseBlock are deprecated: $mAuto,
458 $mParentBlockId. To check for an autoblock use DatabaseBlock::getType; to
459 check for the parent ID, use DatabaseBlock::getParentBlockId.
460 * SearchEngine::userHighlightPrefs() is deprecated, simply stop passing
461 $contextlines and $contextchars to the SearchHighlighter methods, they will
462 use proper defaults defined in SearchHighlighter::DEFAULT_CONTEXT_LINES and
463 DEFAULT_CONTEXT_CHARS.
464 * SearchUpdate constructor: passing a string as the title param and or a boolean
465 or a string as the content will produce a deprecation warning.
466 * SearchEngine::getTextFromContent() is deprecated, use getTextForSearchIndex()
467 directly from the Content object.
468 * SearchEngine::textAlreadyUpdatedForIndex() is deprecated, given the
469 deprecation above this method is no longer needed/called and should not be
470 implemented by SearchEngine implementation.
471 * IDatabase::bufferResults() has been deprecated. Use query batching instead.
472 * MessageCache::singleton() is deprecated. Use
473 MediaWikiServices::getMessageCache().
474 * Constructing MovePage directly is deprecated. Use MovePageFactory.
475 * TempFSFile::factory() has been deprecated. Use TempFSFileFactory instead.
476 * wfIsBadImage() is deprecated. Use the BadFileLookup service instead.
477 * Building a new SearchResult is hard-deprecated, always call
478 SearchResult::newFromTitle(). This class is being refactored into an abstract
479 class. If you extend this class please be sure to override all its methods
480 or extend RevisionSearchResult.
481 * Skin::getSkinNameMessages() is deprecated and no longer used.
482
483 === Other changes in 1.34 ===
484 * …
485
486 == Compatibility ==
487 MediaWiki 1.34 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is
488 supported, it is generally advised to use PHP 7.0.13 or later for long term
489 support. It also requires the following PHP extensions:
490
491 * ctype
492 * dom
493 * fileinfo
494 * iconv
495 * json
496 * mbstring
497 * xml
498
499 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
500 but support for them is somewhat less mature.
501
502 The supported versions are:
503
504 * MySQL 5.5.8 or later
505 * PostgreSQL 9.2 or later
506 * SQLite 3.8.0 or later
507
508 == Online documentation ==
509 Documentation for both end-users and site administrators is available on
510 MediaWiki.org, and is covered under the GNU Free Documentation License (except
511 for pages that explicitly state that their contents are in the public domain):
512
513 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
514
515 == Mailing list ==
516 A mailing list is available for MediaWiki user support and discussion:
517
518 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
519
520 A low-traffic announcements-only list is also available:
521
522 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
523
524 It's highly recommended that you sign up for one of these lists if you're
525 going to run a public MediaWiki, so you can be notified of security fixes.
526
527 == IRC help ==
528 There's usually someone online in #mediawiki on irc.freenode.net.