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