Release notes/1.34

= MediaWiki 1.34 =

MediaWiki 1.34.4
This is a maintenance release of the Mediawiki 1.34 branch.

Changes since MediaWiki 1.34.3

 * Fixed issue relating to backporting of changes for T260485.

MediaWiki 1.34.3
This is a security and maintenance release of the MediaWiki 1.34 branch.

Changes since MediaWiki 1.34.2

 * In the web installer, use secure session cookies.
 * Make public.
 * Split patch-drop-user-fields.sql into patch per table.
 * Split patch-drop-comment-fields.sql into patch per table.
 * Undeprecate.
 * Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We recommend this be set to true on pure HTTPS wikis.
 * Added $wgCookieSameSite, which allows login cookies to be sent with SameSite=None. This is required for cross-site CentralAuth autologin after Chrome 84.
 * Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to SameSite=None cookies for browsers which implemented an incompatible draft version of the specification.
 * shell: Expand documentation in firejail.profile.
 * Give the "remember me" checkbox a specific CSS class so skins like Minerva can only hide that checkbox.
 * rdbms: improve DBConnRef domain selection exception message.
 * phpunit: Acknowledge known dberror from SpecialPageFatalTest.
 * Cleanup up excess commit call in LocalRepoTest.
 * Fix runBatchedQuery.php for no result from select.
 * Add Edge to MediaWiki:Clearyourcache.
 * reassignEdits: Update script to use for anon users.
 * GlobalFunctions: Use php_uname instead of posix_uname.
 * Use IPset in.
 * Add application/font-sfnt to MimeMap for ttf files.
 * shell: Make ->restrict( RESTRICT_NONE ) actually work.
 * Fixes shell edge-cases in Windows.
 * Add.
 * User: Fix pingLimiter to use makeGlobalKey for global rate limits.
 * (, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence of hidden users.
 * (, CVE-2020-25827) SECURITY: : add user-global rate limit type.
 * User: enforce pingLimiter expiry time.
 * don't include null page ids in query list for category dumps.
 * Sanitizer: Truncate IDs to a reasonable length.
 * Fix failure of rebuildLocalisationCache.php due to a ResourceLoader hook.
 * Explicitly wrap some XML calls in libxml_disable_entity_loader.
 * Set EnableJavaScriptTest to true in includes/DevelopmentSettings.php.
 * (, CVE-2020-25813) SECURITY: SpecialUserrights: If a viewer lacks `hideuser`, ignore hidden users.
 * (, CVE-2020-25812) SECURITY: Unescaped message used in HTML on Special:Contributions.
 * (, CVE-2020-25815) SECURITY: Unescaped message used in HTML within LogEventsList.
 * (, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking firejail's --output functionality.
 * (, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and 'style' attribute.
 * (, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in mw.message( ... ).parse.
 * (, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct database.
 * (, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.

MediaWiki 1.34.2
This is a security and maintenance release of the MediaWiki 1.34 branch.

Changes since MediaWiki 1.34.1

 * PasswordReset performance improvements.
 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
 * Work around change in SimpleXMLElement behavior introduced in PHP 7.3.17.
 * Let $wgResourceLoaderMaxQueryLength=-1 fallback to default.
 * Remove some rotten and out of date documentation.
 * Improvements to some older SQLite update patches.
 * Minor fixes to extension.schema.v2.json and extension.schema.v1.json.
 * cleanupUsersWithNoId.php: Handle missing fields.
 * Set rc_patrolled to 2 for autopatrolled changes in rebuildrecentchanges.php.
 * Update the change_tag table in rebuildrecentchanges.php.
 * Password Reset Updates.
 * Per-user concurrency in SpecialContributions can now be limited by setting $wgPoolCounterConf['SpecialContributions'] appropriately.
 * SECURITY: img_auth.php may leak private extension images into the public cache.

MediaWiki 1.34.1
This is a security and maintenance release of the MediaWiki 1.34 branch.

Changes since MediaWiki 1.34.0

 * User: better error message when getActorId fails.
 * Don't redefine MW_ENTRY_POINT in thumb.php if already defined.
 * User: Allow newSystemUser to create over anonymous actors.
 * Fix NewPagesPager "hide registered users" option.
 * mediawiki.language: Rename languageData back to languageNames.
 * Use proper SemVer comparison in CheckComposerLockUpToDate.
 * Add the MW_VERSION constant, global $wgVersion is soft deprecated.
 * Fix error when initialising updateCollation.php.
 * Update comment about PHP versions supported by The PHP Group.
 * Fix output of.
 * Add check for page existence to view.php maintenance script.
 * Fix fetching login token from action=query&meta=tokens on private wikis.
 * SECURITY: Fix HTML escaping in.
 * SECURITY: User content can redirect the logout button to different URL.
 * SECURITY: jquery.makeCollapsible allows applying event handler to any CSS selector.

Changes since MediaWiki 1.34.0-rc.1

 * $wgDiffEngine – This configuration can be used to specify which difference engine to use. MediaWiki continues to default to automatically choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is usable.
 * SqlBlobStore no longer needs Language object.
 * WikiExporter: Remove unnecessary check for SCHEMA_COMPAT_WRITE_OLD flag.
 * Set MCR migration stage to SCHEMA_COMPAT_NEW.
 * Make sure DBLoadBalancerFactory service is not disabled.
 * Fix support for HTTP/2 in MultiHttpClient.
 * LocalisationCache: Don't instantiate ResourceLoader.
 * Stop calling deprecated Redis delete functions.
 * Mark options as requiring parameters in addSite.php.
 * Mimic CURLOPT_POST in GuzzleHttpRequest.
 * Replace deprecated lSize with lLen in Redis code.
 * SECURITY: Do not allow user scripts on Special:PasswordReset.
 * ApiEditPage: Test for bad redirect targets.
 * rdbms: Log debug message traces as 'exception.trace' instead of 'trace'.
 * media: Log and fail gracefully on invalid EXIF coordinates.
 * NewPagesPager: Fix namespace query conditions.
 * Tests for an old PHP bug in parse_url.

Changes since MediaWiki 1.34.0-rc.0

 * rdbms: Restore debug toolbar "Queries" feature.
 * The ProfilerOutputDb class, 'profiling' table, and profileinfo.php entry point had been deprecated.
 * localisation: Add debug message for backend of MessageCache.
 * session: Add debug message for the used store class.
 * Fix example Kask configuration in RESTBagOStuff class comment.
 * Don't apply styling for Special:Contributions on other pages.
 * Upgrade mediawiki-codesniffer from 26.0.0 to 28.0.0 (dev-only).
 * The "jquery.ui.*" and "jquery.effects.*" modules are now deprecated as aliases for the "jquery.ui" module.
 * Deprecate setting to null.
 * Supporting commits for T235392 were also backported to prevent divergence from master (MediaWiki 1.35).
 * The 'jquery.tabIndex' module is deprecated.
 * Fix docs for hooks.
 * Parser: Hard deprecate getConverterLanguage.
 * A number of public methods of Parser were exposed only for historical reasons and have been deprecated: doMagicLinks, doDoubleUnderscore, doHeadings, doAllQuotes, replaceExternalLinks, replaceInternalLinks, replaceInternalLinks2, getVariableValue, initialiseVariables, formatHeadings, testPst, testPreprocess, testSrvus, areSubpagesAllowed, maybeDoSubpageLink, splitWhitespace, createAssocArgs, armorLinks, makeKnownLinkHolder, getImageParams, parseLinkParameter, stripAltText, replaceLinkHolders, replaceLinkHoldersText, armorLinks, makeKnownLinkHolder, getImageParams, parseLinkParameter, stripAltText.
 * $wgServer must now always be set in LocalSettings.php. This is most likely the case already for any wiki installed after 1.18. The autodetection system was informally deprecated since 1.18 and vulnerable to cache poisoning attacks. Older wikis may need to update their LocalSettings.php file.
 * Hard deprecate $wgSysopEmailBans.
 * Fix for hook in DifferenceEngine.php.
 * Do not insert page titles into querycache.qc_value.
 * ParamValidator has been flagged as unstable.
 * Hard deprecate.

Upgrading notes for 1.34
1.34 has several database changes since 1.33, and will not work without schema updates. Note that due to changes to some very large tables like the revision table, the schema update may take quite long (minutes on a medium sized site, many hours on a large site).

Don't forget to always back up your database before upgrading!

See the file UPGRADE for more detailed upgrade instructions, including important information when upgrading from versions prior to 1.11.

Some specific notes for MediaWiki 1.34 upgrades are below:


 * MediaWiki now requires PHP 7.2.9 or above.
 * MediaWiki no longer supports HHVM.

For notes on 1.33.x and older releases, see HISTORY.

Configuration changes for system administrators in 1.34
In an effort to enforce best practices for passwords, MediaWiki will now warn users, and suggest that they change their password, if it is in the list of 100,000 commonly used passwords that are considered bad passwords. If you want to disable this for your users, please add the following to your local settings:

$wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false;

New configuration

 * - This configuration setting controls whether Mediawiki accepts the request ID set by the incoming request via the `X-Request-Id` header. If set to `true`, that value will be used throughout the code as the request identificator. Otherwise, the sent header will be ignored and the request ID will either be taken from Apache's mod_unique module or will be generated by Mediawiki itself (depending on the set-up).
 * - This configuration controls whether Special:Mute is available and whether to include a link to it on emails originating from Special:Email.
 * editmyuserjsredirect user right – users without this right now cannot edit JS redirects in their userspace unless the target of the redirect is also in their userspace. By default, this right is given to everyone.
 * Add rate limiter to Special:ConfirmEmail.

Changed configuration

 * ,, , and – These four CDN-related config variables have been renamed from being specific to Squid – they were previously $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and $wgSquidMaxage respectively. This aligns them with the related existing variable . The previous configuration variable names are deprecated, but will be used as the fall back if they are still set. Note that  has not been renamed, as it is deprecated.
 * File type checks for image uploads have been relaxed to allow files containing some HTML markup in metadata. As a result, the $wgAllowTitlesInSVG setting is no longer applied and is now always true. Note that MSIE 7 may still be able to misinterpret certain malformed PNG files as HTML.
 * Introduced to allow disabling the MSIE 6/7 file type detection heuristic on upload, which is more conservative than the checks that were changed above.
 * — Setting this to a string value of 'wikidiff', 'wikidiff2', or 'wikidiff3' will no longer work. This legacy behaviour was deprecated in MediaWiki 1.27, 1.32, and 1.27, respectively.
 * — Setting this instead of, deprecated in 1.23, is now hard-deprecated.
 * — Setting this instead of, deprecated in 1.23, is now hard-deprecated.
 * — Setting this, deprecated in 1.23, is now hard-deprecated. Instead, set the log file in.
 * — Setting this to an array with IP addresses in the array keys, which was deprecated in 1.30, no longer works. Instead, $wgProxyList should be an array with IP addresses as the values, or a string path to a file containing one IP address per line.
 * and are now enabled by default.
 * – This configuration can be used to specify which difference engine to use. MediaWiki continues to default to automatically choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is usable.

Removed configuration

 * – If you still want a custom change size threshold, please specify in php.ini, using the configuration variable wikidiff2.moved_paragraph_detection_cutoff.
 * - This experimental setting, deprecated in 1.33, is now removed.
 * - The default of including HTTP headers in the debug log channel is no longer configurable. The debug log itself remains configurable via $wgDebugLogFile.
 * — The MessageCache uses 24 hours as the expiry for values stored in WANObjectCache. This is no longer configurable.
 * – This setting, used for migrating exceptionally old, insecure password setups and deprecated since 1.24, is now removed.
 * — If you must use persistent connections, set DBO_PERSISTENT in the 'flags' field for servers in $wgDBServers (or $wgLBFactoryConf).
 * — Set the cache "debug" field in $wgObjectCaches instead.
 * has been removed. Extension code for MediaWiki 1.31+ finding it unset should treat it as being SCHEMA_COMPAT_NEW.

New user-facing features in 1.34

 * Special:Mute has been added as a quick way for users to block unwanted emails from other users originating from Special:EmailUser.
 * Special:NewSection has been created as a shortcut to creating a new section on a page. When linked to, its subpage is used as the target (Special:NewSection/Test redirects to creating a new section in "Test"). Otherwise, it displays a basic interface to allow the end user to specify the target manually.
 * Special:Contributions/newbies has been removed for performance and usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead.
 * Special:NewFiles/newbies has been removed for performance and usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead.

New developer features in 1.34

 * The hook was added to img_auth.php to allow modification of headers in private wikis.
 * now supports the new 'avoidhours' option to output strings like "5 days ago" instead of "5 days 13 hours ago".
 * Added hook to allow extensions to add fields to Special:Mute.
 * Skin authors can define custom OOUI themes using OOUIThemePaths. See https://www.mediawiki.org/wiki/OOUI/Themes for details.
 * The hook was added. Use this instead of GetBlockedStatus.
 * ObjectFactory is available as a service. When used as a service, the object specs can now specify needed DI services.
 * Special pages can now be specified as an ObjectFactory spec, allowing the construction of special pages that require services to be injected in their constructor.
 * API modules can now be specified as an ObjectFactory spec, allowing the construction of modules that require services to be injected in their constructor.
 * The function signature of has changed. It now expects definitions of additional filter fields as array rather than string.

Changed external libraries

 * Updated Mustache from 1.0.0 to v3.0.1.
 * Updated OOUI from v0.31.3 to v0.34.0.
 * Updated OOjs from v2.2.2 to v3.0.0.
 * Updated composer/semver from 1.4.2 to 1.5.0.
 * Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only).
 * Updated mediawiki/codesniffer from 25.0.0 to 26.0.0 (dev-only).
 * Updated cssjanus/cssjanus from 1.2.1 to 1.3.0.
 * Updated wikimedia/at-ease from 1.2.0 to 2.0.0.
 * Updated wikimedia/remex-html from 2.0.1 to 2.1.0.
 * Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only).
 * Updated wikimedia/object-factory from 1.0.0 to 2.1.0.
 * Updated wikimedia/timestamp from 2.2.0 to 3.0.0.
 * Updated wikimedia/xmp-reader from 0.6.2 to 0.6.3.
 * Updated mediawiki/mediawiki-phan-config from 0.6.0 to 0.6.1 (dev-only).
 * Updated wikimedia/avro from 1.8.0 to 1.9.0 (dev-only).

Removed external libraries

 * The jquery.async module, deprecated in 1.33, was removed.

Bug fixes in 1.34

 * If a log entry or page revision is recorded in the database with an empty username, attempting to display it will log an error and return a "no username available" to the user instead of silently displaying nothing or invalid links.

Action API changes in 1.34

 * The 'recenteditcount' response property from action=query list=allusers, deprecated in 1.25, has been removed.
 * action=query list=filearchive, list=alldeletedrevisions and prop=deletedrevisions no longer require the 'deletedhistory' user right.
 * In the response to queries that use 'prop=imageinfo', entries for non-existing files (indicated by the 'filemissing' field) now omit the following fields, since they are meaningless in this context: 'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width', 'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment', 'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime', 'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata', 'mime', 'mediadtype', 'bitdepth'. Clients that process these fields should first check if 'filemissing' is set. Fields that are supported even if the file is missing include: 'canonicaltitle', 'archivename' (deleted files only), 'descriptionurl', 'descriptionshorturl'.
 * The 'blockexpiry' result property in list=users and list=allusers will now be returned in the same format used by the rest of the API: ISO 8601 for expiring blocks, and "infinite" for non-expiring blocks.

Action API internal changes in 1.34

 * The exception thrown in has been changed from an MWException to an UnexpectedValueException, thrown by ObjectFactory.   now also throws InvalidArgumentExceptions when ObjectFactory is presented with an invalid spec or incorrectly constructed objects.
 * Added ApiQueryBlockInfoTrait.

Languages updated in 1.34
MediaWiki supports over 350 languages. Many localisations are updated regularly. Below only new and removed languages are listed, as well as changes to languages because of Phabricator reports.


 * Added language support for N'Ko (nqo).

Breaking changes in 1.34

 * The global functions wfSuppressWarnings and wfRestoreWarnings, deprecated in 1.26, have been removed. Use Wikimedia\AtEase\ and Wikimedia\AtEase\ directly.
 * Preferences class, deprecated in 1.31, has been removed.
 * The following parts of code, deprecated in 1.32, were removed in favor of built-in PHP functions:
 * CryptRand class
 * CryptRand service
 * Functions of the MWCryptRand class: singleton, wasStrong and generate.
 * Various Special Page PHP Classes were renamed (mostly casing changes):
 * SpecialAncientpages => SpecialAncientPages
 * SpecialConfirmemail => SpecialConfirmEmail
 * SpecialDeadendpages => SpecialDeadendPages
 * SpecialFewestrevisions => SpecialFewestRevisions
 * SpecialListredirects => SpecialListRedirects
 * SpecialLonelypages => SpecialLonelyPages
 * SpecialLongpages => SpecialLongPages
 * SpecialMIMEsearch => SpecialMIMESearch
 * SpecialMostcategories => SpecialMostCategories
 * SpecialMostinterwikis => SpecialMostInterwikis
 * SpecialMostlinked => SpecialMostLinked
 * SpecialMostlinkedcategories => SpecialMostLinkedCategories
 * SpecialMostlinkedtemplates => SpecialMostLinkedTemplates
 * SpecialMostrevisions => SpecialMostRevisions
 * SpecialNewimages => SpecialNewFiles
 * SpecialShortpages => SpecialShortPages
 * SpecialUncategorizedcategories => SpecialUncategorizedCategories
 * SpecialUncategorizedimages => SpecialUncategorizedImages
 * SpecialUncategorizedpages => SpecialUncategorizedPages
 * SpecialUncategorizedtemplates => SpecialUncategorizedTemplates
 * SpecialUnusedcategories => SpecialUnusedCategories
 * SpecialUnusedimages => SpecialUnusedImages
 * SpecialUnusedtemplates => SpecialUnusedTemplates
 * SpecialUnwatchedpages => SpecialUnwatchedPages
 * SpecialWantedcategories => SpecialWantedCategories
 * SpecialWantedtemplates => SpecialWantedTemplates
 * SpecialWithoutinterwiki => SpecialWithoutInterwiki
 * , deprecated in 1.32, was removed. Use to create a new Language object with a different language code.
 * has been removed. So has the $rebuild parameter to, which was deprecated since 1.31.  Instead, reset services, such as by calling $this->overrideMwServices (if your test extends MediaWikiTestCase). Services will generally not pick up configuration changes from after they were created, so you must reset services after any configuration change. Even if your code works now, it is likely to break in future versions as more code is moved to services.
 * The ill-defined "DatabaseOraclePostInit" hook has been removed.
 * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have been removed.
 * ObjectFactory class, deprecated in 1.31, has been removed.
 * HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
 * XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
 * The method could sometimes return a Title object.  This behavior was removed, and the method now matches the parent signature  which is to return HTML string or void.  To obtain the destination title, use.
 * The 'recenteditcount' response property from action API action=query list=allusers, deprecated in 1.25, has been removed.
 * ,, , and , methods deprecated in 1.27, have been removed.
 * , deprecated in 1.26, has been removed.
 * method, deprecated in 1.27, have been removed.
 * , deprecated in 1.30, have been removed.
 * Parser class property $mUniqPrefix, deprecated in 1.26, has been removed.
 * wfArrayFilter and wfArrayFilterByKey, deprecated in 1.32, have been removed.
 * wfMakeUrlIndexes function, deprecated in 1.33, have been removed.
 * Method signatures in WatchedItemQueryServiceExtension have changed from taking User objects to taking UserIdentity objects. Extensions implementing this interface need to be changed accordingly.
 * and, deprecated in 1.29, have been removed. Use and  instead.
 * , deprecated in 1.29, has been removed. Use instead.
 * SavepointPostgres, deprecated in 1.31, has been removed.
 * ,, , , and , , , and , deprecated in 1.31, have been removed.
 * and, deprecated in 1.30, have been removed.
 * Four methods in OutputPage, deprecated in 1.32, have been removed. You should use or throw a FatalError instead. The methods are, , , and.
 * , deprecated in 1.32, has been removed.
 * , deprecated in 1.32, has been removed. Use PHP's INTL_ICU_VERSION constant directly.
 * , deprecated in 1.32, has been removed.
 * and, both deprecated in 1.32, have been removed.
 * and, deprecated in 1.32, have been removed. Use ->msg or ->getMsg instead.
 * , deprecated in 1.32, has been removed. Instead, use with action 'unwatch' directly.
 * ,, and recodeInput, deprecated in 1.28, have been removed.
 * ,, and , deprecated in 1.32, have been removed.
 * ,, deprecated in 1.33, have been removed.
 * , deprecated in 1.33, has been removed.
 * , deprecated in 1.33, has been removed.
 * , deprecated in 1.33, has been removed.
 * , deprecated in 1.33, has been removed.
 * , deprecated in 1.32, has been removed.
 * , deprecated in 1.32, has been removed.
 * The Block typehint only refers to blocks stored in the database. It should be updated to AbstractBlock in cases where any type of block could be expected.
 * FileRepoStatus, deprecated in 1.25, has been removed.
 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation in 1.27, has been removed.
 * , deprecated in 1.30, has been removed.
 * now doesn't accept an integer for $revision, was deprecated in 1.25.
 * The jquery.byteLength module, deprecated in 1.31, was removed. Use the mediawiki.String module instead.
 * mw.language.specialCharacters, deprecated in 1.33, has been removed. Use require( 'mediawiki.language.specialCharacters' ) instead.
 * The jquery.colorUtil module was removed. Use jquery.color instead.
 * The jquery.checkboxShiftClick module was removed. The functionality is provided by mediawiki.page.ready instead.
 * The 'jquery.accessKeyLabel' module has been removed. This jQuery plugin now ships as part of the 'mediawiki.util' module bundle.
 * , deprecated in 1.29, has been removed. Use $this->edit directly.
 * , deprecated in 1.28, has been removed. Use getErrorsOrWarnings instead.
 * , deprecated in 1.23, has been removed. Use instead.
 * jquery.ui.effect-bounce, jquery.ui.effect-explode, jquery.ui.effect-fold jquery.ui.effect-pulsate, jquery.ui.effect-slide, jquery.ui.effect-transfer, which are no longer used, have now been removed.
 * , without a sender/user specified, deprecated in 1.30, have been removed.
 * , deprecated in 1.30, has been removed.
 * The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA.
 * The constants NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14, have been removed. Use NS_FILE and NS_FILE_TALK respectively.
 * Replacer, DoubleReplacer, HashtableReplacer and RegexlikeReplacer (deprecated in 1.32) have been removed. Closures should be used instead.
 * ,, , , , deprecated in 1.32, have been removed.
 * The $wgUseKeyHeader configuration option and the method, deprecated in 1.32, have been removed.
 * , deprecated in 1.32, has been removed.
 * , deprecated in 1.32, has been removed. Use the method instead.
 * The global function wfBCP47, deprecated in 1.31, has been removed.
 * wfCountDown function, deprecated in 1.31, has been removed. Use \ method instead.
 * no longer accepts an options parameter. This was deprecated since 1.20.
 * no longer accepts a context. This was deprecated in 1.20.
 * no longer accepts a string for the query array, as was deprecated in 1.20.
 * , deprecated in 1.23, has been removed. Use the or  methods instead.
 * The hook, deprecated in 1.26, has been removed. Instead, use the  hook.
 * , deprecated in 1.27, has been removed. Get the instance from MediaWikiServices instead.
 * The hook, deprecated in 1.27, has been removed.
 * The wfResetSessionID global function, deprecated in 1.27, has been removed. Use MediaWiki\Session\SessionManager instead.
 * The wfGetLBFactory global function, deprecated in 1.27, has been removed. Use ->getDBLoadBalancerFactory.
 * The internal method OutputPage->addScriptFile will no longer silently drop calls that use an invalid path (i.e., something other than an absolute path, protocol-relative URL, or full scheme URL), and will instead pass them to the client where they will likely 404. This usage was deprecated in 1.24.
 * , deprecated in 1.32, has been removed.
 * hook, deprecated in 1.28, has been removed. Please see hook for an alternative way to use this feature.
 * API module methods getDescription, getParamDescription, & getExamples, all deprecated in 1.25 and ignored, have been removed.
 * The API module method getDescriptionMessage, deprecated in 1.30, has been removed.
 * The JavaScript global variable wgLoadScript has been removed. Use mw.util.wikiScript( 'load' ) instead.
 * ResourceLoader no longer creates the 'mw.legacy' placeholder object. It has been unused since 1.16 and was deprecated in 1.22. To deprecate a property in JavaScript, use mw.log.deprecate instead.
 * The 'user.groups' module, deprecated in 1.28, was removed. Use the 'user' module instead.
 * The method, deprecated in 1.33, was removed. Use  instead.
 * The ability to override has been removed. Use  instead.
 * Previously, when iterating ResultWrapper with foreach or a similar construct, the range of the index was 1..numRows. This has been fixed to be 0..(numRows-1).
 * The hook, deprecated in 1.27, has been removed. Use the  hook or security levels instead.
 * , deprecated in 1.33, has been removed. Use  instead.
 * The config variables $wgHtml5, $wgJsMimeType, and $wgXhtmlDefaultNamespace, which were deprecated and ignored by core since 1.22, are no longer set to any value, and SkinTemplate no longer emits a 'jsmimetype' key. Any extensions not updated since 2013 to cope with this deprecation may now break.
 * Passing ResourceLoaderModule objects to or $wgResourceModules is no longer supported.  Use the 'class' or 'factory' option of the array format instead.
 * The parameter $lang of the functions generateTOC and tocList in Linker and DummyLinker must be in type Language when present. Other types are deprecated since 1.33.
 * The static properties mw.Api.errors and mw.Api.warnings, deprecated in 1.29, have been removed.
 * , deprecated in 1.28, has been removed.
 * The hook, deprecated in 1.28, has been removed. Instead, use the  hook.
 * UploadBase:: and and stashSession, deprecated in 1.28, have been removed. Instead, please use the getFileKey method on the response from doStashFile.
 * and, deprecated in 1.33, have been removed. Use setLocalDomainPrefix instead.
 * , deprecated in 1.30, has been removed.
 * , deprecated in 1.31, has been removed. Use  instead.
 * , deprecated in 1.32, has been removed.
 * , deprecated in 1.28, has been removed. Use  instead.
 * , deprecated in 1.28, has been removed.
 * , deprecated in 1.30, has been removed. Use  instead.
 * Support for using Oracle or MSSQL as database backends has been dropped.
 * has been removed. Instead, call.
 * SearchResult protected field $searchEngine is removed and no longer initialized after calling.
 * The hook is only called if a block is found first, and should only be used to unblock a blocked user.
 * Parameters for index.php from PATH_INFO, such as the title, are no longer written to $_GET.
 * The selectFields methods on classes LocalFile, ArchivedFile, OldLocalFile, DatabaseBlock, and RecentChange, deprecated in 1.31, have been removed. Use the corresponding getQueryInfo methods instead.
 * The following methods on Revision, deprecated since 1.31, have been removed. Use  or  instead.
 * , deprecated in 1.27 has been removed.
 * The and  functions, deprecated since 1.28, have been removed.
 * has been removed (without prior deprecation, for practical reasons). Use MediaWikiServices instead to get a LocalisationCache.
 * , deprecated in 1.27 has been removed.
 * The and  functions, deprecated since 1.28, have been removed.
 * has been removed (without prior deprecation, for practical reasons). Use MediaWikiServices instead to get a LocalisationCache.
 * , deprecated in 1.27 has been removed.
 * The and  functions, deprecated since 1.28, have been removed.
 * has been removed (without prior deprecation, for practical reasons). Use MediaWikiServices instead to get a LocalisationCache.
 * has been removed (without prior deprecation, for practical reasons). Use MediaWikiServices instead to get a LocalisationCache.

Deprecations in 1.34
$wgGroupPermissions['sysop']['blockemail'] = true;
 * The MWNamespace class is deprecated. Use NamespaceInfo.
 * ExtensionRegistry->load is deprecated, as it breaks dependency checking. Instead, use ->queue.
 * is deprecated since it does not tell you if the user is blocked from editing a particular page. Use or  or  instead.
 * and are deprecated and moved to the BlockManager as private helper methods.
 * is deprecated. Use instead.
 * The Config argument to is deprecated. Pass only the User argument.
 * is deprecated. Use getUserIdentity.
 * Passing a Title as the first parameter to the getTimestampById method of RevisionStore is deprecated. Omit it, passing only the remaining parameters.
 * and are deprecated. Use  and.
 * The Title parameter to and  is deprecated and should be omitted.
 * is deprecated. Use HttpRequestFactory.
 * The Http class is deprecated. For the request, get, and post methods, use HttpRequestFactory. For isValidURI, use . For getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a MultiHttpClient directly.
 * is deprecated and has no replacement. The default 'guzzle' engine will eventually be made the only engine for HTTP requests.
 * ,, , wfFindFile, and wfLocalFile are all deprecated. Use MediaWikiServices instead.
 * The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated. Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage.
 * MWMessagePack class, no longer used, has been deprecated in 1.34.
 * The Block class is separated into DatabaseBlock (for blocks stored in the database), and SystemBlock (for temporary blocks created by the system). SystemBlock should be used when creating any temporary blocks. Block is a deprecated alias for DatabaseBlock.
 * is deprecated. It will be removed entirely in a later version. Some context can be found at T224165.
 * Constructing Parser directly is deprecated. Obtain one from ParserFactory.
 * is deprecated. Use or.
 * The MWNamespace class is deprecated. Use.
 * Hard deprecate method.
 * function is deprecated, use instead
 * and are deprecated. Use  and  instead.
 * ,, and  are moved to internal helper methods for.
 * and have been deprecated. Inside ResourceLoaderModule subclasses, use the local methods instead. Elsewhere, use the methods from the ResourceLoader class.
 * The and  methods have been deprecated. Use  and  instead.
 * The Preprocessor_DOM implementation has been deprecated. It will be removed in a future release.  Use the Preprocessor_Hash implementation instead.
 * and have been deprecated; they will be made private in the future.
 * method is deprecated. It was unreliable because only populated by few search engine implementations. Use if really needed.
 * ( $terms ) the $terms param is being deprecated and should no longer be passed. Search engine implemenations should be responsible for carrying relevant information needed for highlighting with their own SearchResultSet/SearchResult sub-classes.
 * method is deprecated.
 * protected field is deprecated. Moved to SearchDatabase.
 * The use of the $terms param in the ShowSearchHit and hooks is highly discouraged as it's only populated by SearchDatabase search engines.
 * is deprecated. Use or the skin template option 'searchaction' instead.
 * and have been deprecated. Use  and  instead.
 * and have been deprecated.
 * has been deprecated. Use instead.
 * and have been deprecated. Use  instead.
 * The hook no longer allows purging of message blobs to be prevented. Modifying the $purgeBlobs parameter now has no effect.
 * has been deprecated. Instead, you should use SVGReader->getMetadata directly.
 * The following public properties on AbstractBlock are deprecated: $mReason, $mTimestamp, $mExpiry, $mHideName. Use the getters/setters instead.
 * The following public properties on DatabaseBlock are deprecated: $mAuto, $mParentBlockId. To check for an autoblock use ; to check for the parent ID, use.
 * is deprecated, simply stop passing $contextlines and $contextchars to the SearchHighlighter methods, they will use proper defaults defined in _CONTEXT_LINES and DEFAULT_CONTEXT_CHARS.
 * SearchUpdate constructor: passing a string as the title param and or a boolean or a string as the content will produce a deprecation warning.
 * is deprecated, use getTextForSearchIndex directly from the Content object.
 * is deprecated, given the deprecation above this method is no longer needed/called and should not be implemented by SearchEngine implementation.
 * has been deprecated. Use query batching instead.
 * is deprecated. Use.
 * is deprecated. Use instead.
 * is deprecated. Use instead.
 * Constructing MovePage directly is deprecated. Use MovePageFactory.
 * has been deprecated. Use TempFSFileFactory instead.
 * wfIsBadImage is deprecated. Use the BadFileLookup service instead.
 * Building a new SearchResult is hard-deprecated, always call . This class is being refactored into an abstract class. If you extend this class please be sure to override all its methods or extend RevisionSearchResult.
 * is deprecated and no longer used.
 * The mediawiki.RegExp module is deprecated; use mw.util.escapeRegExp instead.
 * Specifying a SpecialPage object for the list of special pages (either through the SpecialPage_ hook or by adding to $wgSpecialPages) is now deprecated.
 * , getWarningBox and getErrorBox are deprecated. Use or  instead.
 * Use of ActorMigration with 'ar_user', 'img_user', 'oi_user', 'fa_user', 'rc_user', 'log_user', and 'ipb_by' is deprecated. Queries should be adjusted to use the corresponding actor fields directly. Note that use with 'rev_user' is *not* deprecated at this time.
 * Specifying both the class and factory parameters for is now deprecated. The ObjectFactory spec should be used instead.
 * The hook is deprecated. Use GetUserBlock instead, and add a system block that hides the user.
 * The hook is deprecated. Use GetUserBlock instead, to add or remove a block.
 * $wgContentHandlerUseDB is deprecated and should always be true.
 * and are now deprecated. Use  and  respectively instead.
 * Global variable $wgSysopEmailBans is deprecated; to allow sysops to ban users from sending emails, use
 * is deprecated. Use ApiQueryBlockInfoTrait instead.
 * PasswordReset is now a service, its direct instantiation is deprecated.
 * RESTBagOStuff users should specify either "JSON" or "PHP" serialization type.
 * The global function wfIsHHVM is deprecated and will now always return false regardless of the runtime environment. This is part of the continuing work to remove HHVM support from MediaWiki, which started in MediaWiki 1.31.
 * is deprecated. Use MediaWikiServices instead.
 * The following Language methods are deprecated: isSupportedLanguage, isValidCode, isValidBuiltInCode, isKnownLanguageTag, fetchLanguageNames, fetchLanguageName, getFileName, getMessagesFileName, getJsonMessagesFileName. Use the new LanguageNameUtils class instead. (Note that fetchLanguageName(s) are called getLanguageName(s) in the new class.)

Other changes in 1.34

 * Added option to specify "Various authors" as author in extension credits using "..." as the only author name. If the "author" array contains more than one entry and "..." is one of the entries in the array, "..." will be parsed as "others" (version-poweredby-others i18n message) like previously.

Compatibility
MediaWiki 1.34 requires PHP 7.2.9 or later (including PHP 7.3). The following PHP extensions also need to be installed and enabled:


 * ctype
 * dom
 * fileinfo
 * iconv
 * json
 * mbstring
 * xml

As stated earlier, MediaWiki 1.34 no longer supports HHVM.

MediaWiki recommends using the MySQL or MariaDB database management system. MediaWiki can also use PostgreSQL or SQLite databases, but support for them may be limited because many MediaWiki users choose MySQL or MariaDB.

The supported versions are:


 * MySQL 5.5.8 or later
 * PostgreSQL 9.2 or later
 * SQLite 3.8.0 or later

Online documentation
Documentation for both end-users and site administrators is available on MediaWiki.org, and is covered under the GNU Free Documentation License (except for pages that explicitly state that their contents are in the public domain): https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation

Mailing list
A mailing list is available for MediaWiki user support and discussion: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l A low-traffic announcements-only list is also available: https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce It's highly recommended that you sign up for one of these lists if you're going to run a public MediaWiki, so you can be notified of security fixes.

IRC help
There's usually someone online in #mediawiki on irc.freenode.net.