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