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