2022-03-15 01:47:30 +00:00
|
|
|
|
= MediaWiki 1.39 =
|
|
|
|
|
|
|
|
|
|
|
|
== MediaWiki 1.39.0-PRERELEASE ==
|
|
|
|
|
|
|
|
|
|
|
|
THIS IS NOT A RELEASE YET
|
|
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.39 is an alpha-quality development branch, and is not recommended
|
|
|
|
|
|
for use in production.
|
|
|
|
|
|
|
|
|
|
|
|
== Upgrading notes for 1.39 ==
|
|
|
|
|
|
Don't forget to always back up your database before upgrading!
|
|
|
|
|
|
|
|
|
|
|
|
See the file UPGRADE for more detailed per-version upgrade instructions from the
|
2022-03-15 15:53:03 +00:00
|
|
|
|
oldest supported upgrading version, MediaWiki 1.31.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
|
|
|
|
|
|
Some specific notes for MediaWiki 1.39 upgrades are below:
|
2022-07-27 16:21:45 +00:00
|
|
|
|
* (T278139) Drop PHP 7.3 support in MediaWiki 1.39; require 7.4.3 or higher.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
For notes on 1.38.x and older releases, see HISTORY.
|
|
|
|
|
|
|
|
|
|
|
|
=== Configuration changes for system administrators in 1.39 ===
|
2022-03-26 16:58:11 +00:00
|
|
|
|
* The default serialization method for file meta-data has been changed to JSON.
|
|
|
|
|
|
You can revert it to PHP by setting the 'useJsonMetadata' property to false in
|
|
|
|
|
|
$wgLocalFileRepo.
|
2022-05-26 04:25:59 +00:00
|
|
|
|
* The DBO_SSL flag in $wgDBservers and $wgLBFactoryConf has been deprecated in
|
|
|
|
|
|
favour of a boolean "ssl" parameter.
|
2022-07-21 03:35:01 +00:00
|
|
|
|
* $wgMangleFlashPolicy is deprecated and is no longer functional. Users who are
|
|
|
|
|
|
somehow still using Flash as a browser extension will be exposed to CSRF
|
|
|
|
|
|
vulnerabilities.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== New configuration ====
|
2022-02-28 03:05:58 +00:00
|
|
|
|
* $wgAutoCreateTempUser – configures automatic user creation on page save.
|
2022-01-30 19:15:13 +00:00
|
|
|
|
* $wgCopyUploadAllowOnWikiDomainConfig – Configures if administrators can use
|
|
|
|
|
|
the MediaWiki:Copyupload-allowed-domains system message to define which
|
|
|
|
|
|
domains can be used with the upload-by-url tool.
|
2022-05-24 13:50:02 +00:00
|
|
|
|
* $wgLBFactoryConf['configCallback'] can be set to a callback function that
|
|
|
|
|
|
returns an array with keys to update in $wgLBFactoryConf. This can be used
|
|
|
|
|
|
to update the database configuration on the fly, e.g. to take replica hosts
|
|
|
|
|
|
out of rotation.
|
2022-08-08 03:50:57 +00:00
|
|
|
|
* $wgCdnMatchParameterOrder can be set to false if MediaWiki is behind a CDN
|
|
|
|
|
|
that re-orders query parameters. This will make the code that matches request
|
|
|
|
|
|
URLs to canonical CDN URLs insensitive to parameter order.
|
2022-08-04 16:53:33 +00:00
|
|
|
|
* $wgMultiShardSiteStats – split site_stats across multiple rows.
|
|
|
|
|
|
Only useful for very large, heavily edited wikis. (T306589)
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Changed configuration ====
|
2022-05-23 20:09:36 +00:00
|
|
|
|
* $wgInvalidUsernameCharacters now contains the char '>',
|
|
|
|
|
|
reserved delimiter for external user names.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Removed configuration ====
|
2022-04-12 19:19:32 +00:00
|
|
|
|
* $wgMultiContentRevisionSchemaMigrationStage - Migration is over, was
|
|
|
|
|
|
deprecated since 1.35.
|
2022-04-29 16:06:35 +00:00
|
|
|
|
* $wgWikiFarmSiteDetector – experimental setting removed without replacement.
|
|
|
|
|
|
Use the MW_WIKI_NAME environment variable to specifiy the name of the site
|
|
|
|
|
|
to load configuration for. Using the WIKI_NAME environment variable for this
|
|
|
|
|
|
purpose is deprecated.
|
2022-05-09 15:51:35 +00:00
|
|
|
|
* $wgParserCacheUseJson - the ParserCache now always uses JSON serialization.
|
|
|
|
|
|
Reading old non-JSON cache entries is still supported. The setting had been
|
|
|
|
|
|
deprecated since 1.36.
|
2022-05-03 01:27:36 +00:00
|
|
|
|
* $wgAllowJavaUploads - To allow uploads of JAR files, remove application/java
|
|
|
|
|
|
from $wgMimeTypeExclusions.
|
2022-04-11 21:32:11 +00:00
|
|
|
|
* $wgMaxRedirects has been removed. This feature never worked as intended,
|
|
|
|
|
|
see T296430.
|
2022-05-18 09:44:49 +00:00
|
|
|
|
* $wgElementTiming has been removed. This feature was experimental,
|
|
|
|
|
|
and disabled by default.
|
2022-05-19 07:34:20 +00:00
|
|
|
|
* $wgPriorityHints and $wgPriorityHintsRatio have been removed.
|
|
|
|
|
|
This feature was experimental, and disabled by default.
|
2022-05-20 16:25:36 +00:00
|
|
|
|
* $wgActorTableSchemaMigrationStage has been removed. Migration is over.
|
2022-05-24 03:48:03 +00:00
|
|
|
|
* In $wgObjectCaches, globalKeyLB and localKeyLB are no longer supported.
|
2022-05-16 09:26:30 +00:00
|
|
|
|
* $wgLegacySchemaConversion - This global configuration has been
|
|
|
|
|
|
removed because it was unused.
|
2022-05-16 12:35:39 +00:00
|
|
|
|
* $wgInterwikiPrefixDisplayTypes - This global configuration has been
|
|
|
|
|
|
removed because it was unused.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== New user-facing features in 1.39 ===
|
2022-04-11 01:39:33 +00:00
|
|
|
|
* Optional automatic user creation on page save ($wgAutoCreateTempUser)
|
2022-04-18 22:25:01 +00:00
|
|
|
|
* Administrators now have the option to delete/undelete the associated "Talk"
|
|
|
|
|
|
page when they are (un)deleting a given page. `deletetalk` and `undeletetalk`
|
|
|
|
|
|
options were added to the 'delete' and 'undelete' action APIs in MW 1.38.
|
2022-05-13 21:10:28 +00:00
|
|
|
|
* `{{=}}` is now a wikitext built-in magic word, expanding to `=`. This is
|
|
|
|
|
|
conventionally used as an escape mechanism to allow the use of `=` in
|
|
|
|
|
|
unnamed template arguments. Defining [[Template:=]] to expand to something
|
|
|
|
|
|
other than `=` has been deprecated since 1.36, with affected pages put into
|
|
|
|
|
|
a special tracking category for migration.
|
2021-05-31 15:00:27 +00:00
|
|
|
|
* (T284020) Bot passwords are now supported when using the REST API.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== New developer features in 1.39 ===
|
2022-08-14 15:49:20 +00:00
|
|
|
|
* JsonValidateSaveHook has been added to allow extensions to set additional
|
|
|
|
|
|
pre-save validations for specific JSON pages (T313254)
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== External library changes in 1.39 ===
|
|
|
|
|
|
|
|
|
|
|
|
==== New external libraries ====
|
2022-08-17 17:41:30 +00:00
|
|
|
|
* Added Codex v0.1.0-alpha.10. This replaces the now deprecated wvui library.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
===== New development-only external libraries =====
|
2022-04-26 21:19:53 +00:00
|
|
|
|
* Updated QUnit from 2.18.0 to 2.18.2.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Changed external libraries ====
|
2022-08-17 19:55:53 +00:00
|
|
|
|
* Updated OOUI from v0.43.2 to v0.44.3.
|
2022-04-12 22:24:40 +00:00
|
|
|
|
* Updated composer/semver from 3.2.6 to 3.3.2.
|
2022-07-28 18:40:03 +00:00
|
|
|
|
* Updated vue/compat from 3.2.23 to 3.2.37.
|
2022-04-25 14:20:43 +00:00
|
|
|
|
* Updated wikimedia/minify from 2.2.6 to 2.3.0.
|
2022-06-05 17:11:44 +00:00
|
|
|
|
* Updated wikimedia/ip-set from 3.0.0 to 3.1.0.
|
2022-07-10 02:26:14 +00:00
|
|
|
|
* Updated wikimedia/xmp-reader from 0.8.1 to 0.8.3.
|
2022-06-26 18:40:33 +00:00
|
|
|
|
* Updated wikimedia/timestamp from 3.0.0 to 4.0.0.
|
2022-06-26 18:30:25 +00:00
|
|
|
|
* Updated symfony/polyfill-php73 from 1.25.0 to 1.26.0.
|
|
|
|
|
|
* Updated symfony/polyfill-php80 from 1.25.0 to 1.26.0.
|
|
|
|
|
|
* Updated symfony/yaml from 5.4.3 to 5.4.10.
|
2022-07-08 22:31:49 +00:00
|
|
|
|
* Updated wikimedia/base-convert from 2.0.1 to 2.0.2.
|
2022-07-08 22:35:30 +00:00
|
|
|
|
* Updated wikimedia/php-session-serializer from 2.0.0 to 2.0.1.
|
2022-07-29 04:51:26 +00:00
|
|
|
|
* Updated wikimedia/running-stat from 1.2.1 to 2.1.0.
|
2022-07-24 16:28:00 +00:00
|
|
|
|
* Updated wikimedia/scoped-callback from 3.0.0 to 4.0.0.
|
|
|
|
|
|
* Updated wikimedia/services from 2.0.1 to 3.0.0.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
===== Changed development-only external libraries =====
|
2022-04-12 22:24:40 +00:00
|
|
|
|
* Updated composer/spdx-licenses from 1.5.5 to 1.5.6.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Removed external libraries ====
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Bug fixes in 1.39 ===
|
2022-07-31 04:40:04 +00:00
|
|
|
|
* (T314013) $wgExtraNamespaces no longer overrides canonical namespace names
|
|
|
|
|
|
specified in extension.json files. While this setting can still be used to
|
|
|
|
|
|
rename extension-defined namespaces, system administrators may need to run
|
|
|
|
|
|
namespaceDupes.php after upgrading.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Action API changes in 1.39 ===
|
2022-04-19 21:28:02 +00:00
|
|
|
|
* New `undeletetalk` parameter on action=undelete that allows you to restore
|
|
|
|
|
|
all revisions of the associated talk page.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
2022-03-15 02:28:38 +00:00
|
|
|
|
=== Action API internal changes in 1.39 ===
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Languages updated in 1.39 ===
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
2022-07-31 12:40:33 +00:00
|
|
|
|
* Actual localization was added for several languages, which were already
|
|
|
|
|
|
in Names.php and even used for a Wikipedia:
|
|
|
|
|
|
** (T313200) Added language support for Rundi (Kirundi, rn).
|
|
|
|
|
|
** (T310976) Added language support for Tumbuka (ChiTumbuka, tum).
|
|
|
|
|
|
** (T314270) Added language support for Kanuri (kr).
|
2022-07-18 07:11:27 +00:00
|
|
|
|
* (T313199) Added language support for Sylheti (syl).
|
2022-07-16 10:16:43 +00:00
|
|
|
|
* (T311975) Added language support for Ghanaian Pidgin (gpe).
|
2022-04-28 09:23:42 +00:00
|
|
|
|
* (T307080) Added language support for Okinawan (ryu).
|
2022-05-09 06:37:58 +00:00
|
|
|
|
* (T307887) Added language support for Mooré (mos).
|
2022-05-23 09:48:39 +00:00
|
|
|
|
* (T308813) Added language support for Nigerian Pidgin (pcm).
|
2022-06-02 07:58:38 +00:00
|
|
|
|
* (T309763) Added language support for Tai Nüa (tdd).
|
2022-06-04 11:58:58 +00:00
|
|
|
|
* (T310040) Added language support for Fante (fat).
|
2022-06-23 09:23:44 +00:00
|
|
|
|
* (T311034) Added language support for Campidanese Sardinian (sro).
|
2022-08-17 06:32:49 +00:00
|
|
|
|
* (T315406) Fix the autonym of the Iñupiaq language to "Iñupiatun".
|
2022-03-29 09:45:11 +00:00
|
|
|
|
* (T304920) In Swahili, The "Media" namespace is now "Media", as in English,
|
|
|
|
|
|
and the "File" namespace is now "Faili". The old name of the "File" namespace
|
|
|
|
|
|
was "Picha", and it's kept for backwards compatibility. If you manage a wiki
|
|
|
|
|
|
in Swahili, and you use "Faili:" as a namespace anywhere in wikitext, and
|
|
|
|
|
|
you mean to use it as "Media:", these need to be replaced to "Media:".
|
2022-06-09 09:25:38 +00:00
|
|
|
|
* (T309866) Some namespace translations were updated for Kyrgyz (ky). The old
|
|
|
|
|
|
ones are retained as aliases for backwards compatibility.
|
2018-10-16 18:34:08 +00:00
|
|
|
|
* (T117845) Started the renaming of the language codes for Serbian from sr-ec
|
|
|
|
|
|
and sr-el to sr-cyrl and sr-latn.
|
|
|
|
|
|
* …
|
2022-03-15 01:47:30 +00:00
|
|
|
|
|
|
|
|
|
|
=== Breaking changes in 1.39 ===
|
2022-04-20 02:17:02 +00:00
|
|
|
|
* Basic non-JavaScript (Grade C) support has been dropped for Internet Explorer
|
|
|
|
|
|
9-10, Firefox 27-38, and Android 4.3-4.4.
|
2022-03-15 17:05:49 +00:00
|
|
|
|
* The following methods, deprecated since 1.37, have been removed from IDatabase
|
|
|
|
|
|
- ::fetchObject()
|
|
|
|
|
|
- ::fetchRow()
|
|
|
|
|
|
- ::numRows()
|
|
|
|
|
|
- ::freeResult()
|
2022-03-25 21:42:44 +00:00
|
|
|
|
* Title::getDefaultNamespace(), deprecated since 1.37, has been removed.
|
2022-03-27 18:59:39 +00:00
|
|
|
|
* The DBPrimaryPos class alias 'DBMasterPos' has been removed.
|
2022-04-13 22:03:34 +00:00
|
|
|
|
* The global function wfGetLB(), deprecated since 1.27, has been removed.
|
2022-03-22 18:30:21 +00:00
|
|
|
|
* Passing a db to BlockRestrictionStore::loadByBlockId() is no longer supported.
|
|
|
|
|
|
BlockRestrictionStoreFactory should be used to fetch a correct
|
|
|
|
|
|
BlockRestrictionStore instead. This was deprecated since 1.38.
|
2022-03-27 18:37:33 +00:00
|
|
|
|
* The global function wfGetCache(), deprecated since 1.32, has been removed. You
|
|
|
|
|
|
can use ObjectCache::getInstance() instead.
|
|
|
|
|
|
* The global function wfGetMainCache(), deprecated since 1.32, has been removed.
|
|
|
|
|
|
You can use ObjectCache::getLocalClusterInstance() instead.
|
2022-04-16 12:37:53 +00:00
|
|
|
|
* MovePage::__construct() now requires that all parameters be passed. The
|
|
|
|
|
|
fallback to MediaWikiServices emitted deprecation notices since 1.37.
|
2022-05-18 21:25:07 +00:00
|
|
|
|
* WikiPage::doEditContent(), deprecated since 1.32, was removed.
|
2022-06-03 23:45:17 +00:00
|
|
|
|
* WikiPage::prepareContentForEdit() now requires a UserIdentity parameter to be
|
|
|
|
|
|
provided. Not providing one has been deprecated since 1.37.
|
2022-03-25 00:06:08 +00:00
|
|
|
|
* EventRelayerKafka, deprecated in 1.38, was removed.
|
|
|
|
|
|
* MediaWiki\Logger\Monolog\KafkaHandler, deprecated in 1.38, was removed.
|
2022-03-30 19:30:23 +00:00
|
|
|
|
* The "trace" option of SectionProfiler, deprecated in 1.38, was removed.
|
2022-03-29 16:11:05 +00:00
|
|
|
|
* The global function wfWikiID(), deprecated since 1.35, has been removed.
|
2022-03-18 00:55:52 +00:00
|
|
|
|
* Database::wasKnownStatementRollbackError() was removed. Subclasses should
|
|
|
|
|
|
override isKnownStatementRollbackError() instead.
|
2022-03-18 01:05:08 +00:00
|
|
|
|
* Database::wasQueryTimeoutError() was removed. Subclasses should
|
|
|
|
|
|
override isQueryTimeoutError() instead.
|
2022-04-25 08:47:27 +00:00
|
|
|
|
* Database::buildSuperlative() has been removed without deprecation.
|
2022-04-14 12:45:06 +00:00
|
|
|
|
* The following methods, deprecated in 1.37, have been removed:
|
|
|
|
|
|
- Linker::setStubThreshold(), ::getStubThreshold().
|
|
|
|
|
|
- LinkRendererFactory::createForUser().
|
|
|
|
|
|
- ParserOptions::getStubThreshold(), ::setStubThreshold().
|
2022-03-24 05:30:04 +00:00
|
|
|
|
* Changes to ResourceLoader modules:
|
|
|
|
|
|
- The mediawiki.viewport module, deprecated in 1.37 has been
|
|
|
|
|
|
removed. Use IntersectionObserver instead.
|
2022-03-29 09:45:11 +00:00
|
|
|
|
* If you manage a wiki in Swahili, and you use "Faili:" as a namespace anywhere,
|
|
|
|
|
|
and you mean to use it as "Media:", replace it with "Media:". See T304920.
|
2022-03-21 15:23:36 +00:00
|
|
|
|
* Changes to skins:
|
2022-04-13 16:35:42 +00:00
|
|
|
|
- Skin::getCopyrightIcon(), ::getPoweredBy(), deprecated in 1.37 have been
|
|
|
|
|
|
removed.
|
2022-04-06 15:36:26 +00:00
|
|
|
|
- Skin::bottomScripts soft deprecated in 1.37, was hard deprecated.
|
|
|
|
|
|
Skins using SkinTemplate must set bodyOnly as a skin option and
|
|
|
|
|
|
remove lines of code generating html, body and head elements.
|
2022-03-31 23:22:49 +00:00
|
|
|
|
- Skin::makeSearchButton and Skin::makeSearchInput were deprecated in 1.38.
|
|
|
|
|
|
Use SkinTemplate methods with the same name or Skin::getTemplateData
|
|
|
|
|
|
instead.
|
2022-01-21 17:32:49 +00:00
|
|
|
|
- Styles for the HTML classes `warningbox`, `errorbox` and `successbox` have
|
|
|
|
|
|
been removed in favor of Html class methods.
|
2022-03-21 15:23:36 +00:00
|
|
|
|
- The feature `legacy` used inside ResourceLoaderSkinModule,
|
|
|
|
|
|
deprecated in 1.37, will no longer ship any styles.
|
2022-04-05 13:51:34 +00:00
|
|
|
|
- Skin::getSkinStylePath, deprecated since 1.36, has been removed.
|
2022-04-05 14:51:26 +00:00
|
|
|
|
- Skin::getPortletData has been made private.
|
2022-04-13 16:29:02 +00:00
|
|
|
|
- SkinTemplate::getPersonalToolsList(), deprecated in 1.35 has been
|
|
|
|
|
|
removed.
|
2022-06-27 18:14:02 +00:00
|
|
|
|
- The following SkinTemplate template data, deprecated in 1.37,
|
|
|
|
|
|
have been removed:
|
|
|
|
|
|
- poweredbyico
|
|
|
|
|
|
- copyrightico
|
|
|
|
|
|
- The following hooks, deprecated in 1.37, have been removed:
|
|
|
|
|
|
- SkinGetPoweredBy: SkinGetPoweredByHook
|
2022-07-05 16:55:48 +00:00
|
|
|
|
- The following hooks are deprecated and replaced with
|
|
|
|
|
|
SkinTemplateNavigation::Universal:
|
|
|
|
|
|
- SkinTemplateNavigation::SpecialPage
|
|
|
|
|
|
- SkinTemplateNavigation
|
2022-08-11 10:47:24 +00:00
|
|
|
|
- The mediawiki.skinning.content.externallinks module, which was
|
|
|
|
|
|
deprecated in 1.36 has been removed. Skins that still rely on it
|
|
|
|
|
|
will lose the icon styling of external links by type.
|
2022-04-29 16:06:35 +00:00
|
|
|
|
* Experimental wiki farm support: Automatic detection of the requested site
|
|
|
|
|
|
within a wiki farm based on the requested domain has been removed.
|
2022-06-24 09:35:28 +00:00
|
|
|
|
Use the MW_WIKI_NAME environment variable to specify the name of the site
|
2022-04-29 16:06:35 +00:00
|
|
|
|
to load configuration for. Using the WIKI_NAME environment variable for this
|
|
|
|
|
|
purpose is deprecated. This is only relevant if you have been using
|
|
|
|
|
|
$wgWikiFarmSettingsDirectory to load wiki farm config.
|
2022-01-28 19:33:21 +00:00
|
|
|
|
* MWExceptionHandler::installHandler was marked @internal and had required
|
|
|
|
|
|
arguments added. This method is intended for use in bootstrap code and is
|
|
|
|
|
|
unused in known extensions.
|
|
|
|
|
|
* MWException::useOutputPage was made private without deprecation.
|
|
|
|
|
|
This method was apparently only public for testing and is unused in known
|
|
|
|
|
|
extensions.
|
2022-05-01 14:40:37 +00:00
|
|
|
|
* Calling getId() on a User or UserIdentityValue from the wrong wiki, deprecated
|
|
|
|
|
|
since 1.36, now throws an exception.
|
2022-03-24 14:18:07 +00:00
|
|
|
|
* The following methods have been removed from ExtensionRegistry without
|
|
|
|
|
|
deprecation and without replacement. They had been introduced in 1.35 for use
|
|
|
|
|
|
in the testing framework, and were not in use by any known extension:
|
|
|
|
|
|
- exportAutoloadClassesAndNamespaces
|
|
|
|
|
|
- exportTestAutoloadClassesAndNamespaces
|
2022-03-15 15:37:22 +00:00
|
|
|
|
* The MWNamespace class, deprecated since 1.34, has been removed. Use the
|
|
|
|
|
|
NamespaceInfo service instead.
|
2022-05-28 14:03:39 +00:00
|
|
|
|
* The UnknownContent and UnknownContentHandler class aliases have been removed,
|
|
|
|
|
|
use FallbackContent and FallbackContentHandler instead.
|
2022-04-28 14:04:07 +00:00
|
|
|
|
* IResultWrapper::next() now returns void, to match the Iterator interface that
|
|
|
|
|
|
it implements. fetchObject() has the same behavior as next() used to.
|
2022-05-18 13:47:57 +00:00
|
|
|
|
* In HTMLForm HTMLAutoCompleteSelectFields, the parameters 'autocomplete' and
|
|
|
|
|
|
'autocomplete-messages', which were deprecated in MediaWiki 1.29, were
|
|
|
|
|
|
removed. Instead, use 'autocomplete-data' and 'autocomplete-data-messages'.
|
2019-12-30 06:58:16 +00:00
|
|
|
|
* The global $wgParser, deprecated in 1.32, was removed. Use
|
|
|
|
|
|
MediaWikiServices::getInstance()->getParser() instead.
|
2022-04-22 05:47:40 +00:00
|
|
|
|
* ParserOutput::setText will now set the ParserOutput's text to null if
|
|
|
|
|
|
given null. Previously it did nothing if given null.
|
|
|
|
|
|
* The default value for the first argument to the ParserOutput constructor
|
|
|
|
|
|
is now null instead of ''.
|
2022-05-03 03:42:12 +00:00
|
|
|
|
* IDatabase::lockTables() and IDatabase::unlockTables(), deprecated since 1.38,
|
|
|
|
|
|
have been removed.
|
2022-05-15 21:24:37 +00:00
|
|
|
|
* The $context parameter to `new HTMLForm( … )` and `HTMLForm::factory( … )`
|
|
|
|
|
|
is now required.
|
2022-05-28 14:25:10 +00:00
|
|
|
|
* The class alias for revision related classes in namespace MediaWiki\Storage
|
|
|
|
|
|
has been removed. Classes are IncompleteRevisionException,
|
|
|
|
|
|
MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
|
|
|
|
|
|
RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
|
|
|
|
|
|
RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
|
|
|
|
|
|
SuppressedDataException.
|
2022-06-16 21:28:24 +00:00
|
|
|
|
* Calling getBy() on an AbstractBlock from the wrong wiki, deprecated since
|
|
|
|
|
|
1.38, now throws an exception.
|
2022-04-16 19:02:02 +00:00
|
|
|
|
* Passing a MediaWiki\Linker\LinkTarget to EditPage::makeTemplatesOnThisPageList
|
|
|
|
|
|
or TemplatesOnThisPageFormatter::format is no longer supported,
|
|
|
|
|
|
a MediaWiki\Page\PageIdentity is required.
|
2022-05-28 14:05:41 +00:00
|
|
|
|
* The deprecated class alias FakeConverter has been removed, use
|
|
|
|
|
|
TrivialLanguageConverter instead.
|
2022-05-28 13:58:05 +00:00
|
|
|
|
* The deprecated ApiQueryContributions class alias has been removed, use
|
|
|
|
|
|
ApiQueryUserContribs instead.
|
2022-06-01 19:21:44 +00:00
|
|
|
|
* The deprecated MediaWiki\Special\SpecialPageFactory class alias has been
|
|
|
|
|
|
removed, use MediaWiki\SpecialPage\SpecialPageFactory instead.
|
2022-06-02 16:58:48 +00:00
|
|
|
|
* The following skin modules, deprecated in 1.37, have been removed:
|
|
|
|
|
|
- mediawiki.skinning.elements
|
|
|
|
|
|
- mediawiki.skinning.content
|
|
|
|
|
|
- mediawiki.toc.styles
|
|
|
|
|
|
- mediawiki.legacy.config
|
|
|
|
|
|
- mediawiki.legacy.shared
|
|
|
|
|
|
- mediawiki.legacy.commonPrint
|
2022-06-22 01:01:48 +00:00
|
|
|
|
* FileModule::compileLessFile(), deprecated since 1.35, has been removed. Use
|
|
|
|
|
|
::compileLessString() instead.
|
2022-06-16 15:36:36 +00:00
|
|
|
|
* LogFormatter::styleRestricedElement(), deprecated since 1.37, has been
|
|
|
|
|
|
removed. Use ::styleRestrictedElement() instead.
|
2022-06-16 16:41:49 +00:00
|
|
|
|
* Title::isNamespaceProtected(), deprecated in 1.34, has been removed.
|
2022-06-16 17:12:02 +00:00
|
|
|
|
* ApiStashEdit::parseAndStash(), deprecated in 1.34, has been removed.
|
2022-06-16 18:14:42 +00:00
|
|
|
|
* LinkCache::forUpdate(), deprecated in 1.34, has been removed.
|
|
|
|
|
|
* Passing null instead of a NamespaceInfo instance to LinkCache::__construct()
|
|
|
|
|
|
is not supported anymore. It is recommended to request an instance from the
|
|
|
|
|
|
service container.
|
2022-06-17 07:35:15 +00:00
|
|
|
|
* ApiQueryBase::showHiddenUsersAddBlockInfo(), deprecated in 1.34, has been
|
|
|
|
|
|
removed. Use ApiQueryBlockInfoTrait instead.
|
2022-06-17 18:30:55 +00:00
|
|
|
|
* ApiQueryBase::prefixedTitlePartToKey(), deprecated in 1.35, has been removed.
|
|
|
|
|
|
Use ::parsePrefixedTitlePart() instead.
|
2022-06-17 07:40:28 +00:00
|
|
|
|
* ExternalStoreDB::getSlave(), deprecated in 1.34, has been removed. Use
|
|
|
|
|
|
ExternalStoreDB::getReplica() instead.
|
2022-06-17 10:24:26 +00:00
|
|
|
|
* ChangesListSpecialPage::checkStructuredFilterUiEnabled() and
|
|
|
|
|
|
SpecialWatchlist::checkStructuredFilterUiEnabled() now support UserIdentity
|
|
|
|
|
|
as the only argument. Passing Config argument was deprecated in 1.34.
|
2022-06-17 19:16:20 +00:00
|
|
|
|
* DatabaseUpdater::ifNoActorTable(), deprecated in 1.35, has been removed. Use
|
|
|
|
|
|
::ifTableNotExists() instead.
|
2022-06-17 21:46:29 +00:00
|
|
|
|
* MediaWiki\Revision\RevisionStoreFactory::getRevisionStore was documented
|
|
|
|
|
|
to allow passing bool true as a dbDomain, this is no longer possible,
|
|
|
|
|
|
because that is an invalid value for a dbDomain.
|
2022-06-18 08:24:00 +00:00
|
|
|
|
* LinkHolderArray::__construct() had its signature changed. The class was marked
|
|
|
|
|
|
internal in 1.35.
|
2022-06-19 15:45:08 +00:00
|
|
|
|
* SpecialMute::isTargetBlacklisted(), deprecated in 1.35, has been removed. Use
|
|
|
|
|
|
::isTargetMuted() instead.
|
2022-06-20 10:07:16 +00:00
|
|
|
|
* WebRequest::checkUrlExtension(), deprecated in 1.35, has been removed.
|
2022-06-20 10:12:09 +00:00
|
|
|
|
* ContentHandler::cleanupHandlersCache(), deprecated in 1.35, has been removed.
|
2022-06-20 10:42:33 +00:00
|
|
|
|
* SpecialVersion::getExtAuthorsFileName, deprecated in 1.35, has been removed.
|
|
|
|
|
|
Use MediaWiki\ExtensionInfo::getAuthorsFileName.
|
|
|
|
|
|
* SpecialVersion::getExtLicenseFileName, deprecated in 1.35, has been removed.
|
|
|
|
|
|
Use MediaWiki\ExtensionInfo::getLicenseFileNames.
|
2022-06-20 16:51:33 +00:00
|
|
|
|
* CategoryPage::getCategoryViewerClass and ::setCategoryViewerClass, deprecated
|
|
|
|
|
|
in 1.35, have been removed.
|
2022-06-21 17:40:39 +00:00
|
|
|
|
* SqlBlobStore::getLegacyEncodingConversionLang(), deprecated in 1.34, has been
|
|
|
|
|
|
removed.
|
2022-06-25 17:41:16 +00:00
|
|
|
|
* wfCanIPUseHTTPS(), deprecated in 1.37, has been removed.
|
2022-07-07 18:33:01 +00:00
|
|
|
|
* wfGetScriptUrl(), deprecated in 1.35, has been removed.
|
2022-06-27 09:56:39 +00:00
|
|
|
|
* The following methods of Database class, are no longer stable to override:
|
|
|
|
|
|
- ::implicitOrderby()
|
|
|
|
|
|
- ::selectSQLText()
|
|
|
|
|
|
- ::bitNot()
|
|
|
|
|
|
- ::bitAnd()
|
|
|
|
|
|
- ::bitOr()
|
|
|
|
|
|
- ::buildConcat()
|
|
|
|
|
|
- ::buildGreatest()
|
|
|
|
|
|
- ::buildLeast()
|
|
|
|
|
|
- ::buildSubstring()
|
|
|
|
|
|
- ::buildStringCast()
|
|
|
|
|
|
- ::buildIntegerCast()
|
|
|
|
|
|
- ::tableName()
|
|
|
|
|
|
- ::addIdentifierQuotes()
|
|
|
|
|
|
- ::buildLike()
|
|
|
|
|
|
- ::limitResult()
|
|
|
|
|
|
- ::unionSupportsOrderAndLimit()
|
|
|
|
|
|
- ::unionQueries()
|
|
|
|
|
|
- ::conditional()
|
|
|
|
|
|
- ::strreplace()
|
|
|
|
|
|
- ::timestamp()
|
|
|
|
|
|
- ::getInfinity()
|
|
|
|
|
|
- ::setTableAliases()
|
|
|
|
|
|
- ::setIndexAliases()
|
2022-06-27 10:18:09 +00:00
|
|
|
|
- ::buildGroupConcatField()
|
2022-07-06 12:37:07 +00:00
|
|
|
|
* SpecialUnblock::processUnblock(), deprecated in 1.36, has been removed. Use
|
|
|
|
|
|
UnblockUser instead.
|
2022-07-07 18:44:13 +00:00
|
|
|
|
* wfLocalFile() and wfFindFile(), deprecated in 1.34, have been removed.
|
2022-07-12 19:06:54 +00:00
|
|
|
|
* Maintenance script resetUserTokens.php, deprecated in 1.27, has been removed.
|
2022-07-29 13:25:17 +00:00
|
|
|
|
* These methods in Database have been removed without deprecation as they are
|
|
|
|
|
|
not used outside core. Users should override corresponding methods in
|
2022-07-29 14:44:07 +00:00
|
|
|
|
SQLPlatform instead:
|
|
|
|
|
|
- Database::doInsert -> SQLPlatform::insertSqlText
|
|
|
|
|
|
- Database::doDropTable -> SQLPlatform::dropTableSqlText
|
|
|
|
|
|
- Database::doRollback -> SQLPlatform::rollbackSqlText
|
|
|
|
|
|
- Database::doSavepoint -> SQLPlatform::savepointSqlText
|
|
|
|
|
|
- Database::doReleaseSavepoint -> SQLPlatform::releaseSavepointSqlText
|
|
|
|
|
|
- Database::doRollbackToSavepoint -> SQLPlatform::rollbackToSavepointSqlText
|
2022-07-29 13:34:58 +00:00
|
|
|
|
* The following protected methods of Database class have been removed without
|
|
|
|
|
|
deprecation as they are not used outside core. Users should call
|
|
|
|
|
|
corresponding methods in SQLPlatform:
|
|
|
|
|
|
- Database::makeInsertLists -> SQLPlatform::makeInsertLists
|
|
|
|
|
|
- Database::isFlagInOptions -> SQLPlatform::isFlagInOptions
|
|
|
|
|
|
- Database::normalizeOptions -> SQLPlatform::normalizeOptions
|
|
|
|
|
|
- Database::fieldNameWithAlias -> SQLPlatform::fieldNameWithAlias
|
|
|
|
|
|
- Database::isTransactableQuery -> SQLPlatform::isTransactableQuery
|
2022-07-31 04:40:04 +00:00
|
|
|
|
* $wgCanonicalNamespaceNames no longer includes custom namespaces defined using
|
|
|
|
|
|
$wgExtraNamespaces. Extensions should use the NamespaceInfo service instead
|
|
|
|
|
|
of accessing this configuration setting directly.
|
2022-08-12 17:09:39 +00:00
|
|
|
|
* The following hook, deprecated in 1.35, has been removed:
|
|
|
|
|
|
- ParserGetVariableValueVarCache: ParserGetVariableValueVarCacheHook
|
2022-08-12 17:13:20 +00:00
|
|
|
|
* The $variableCache parameter to the ParserGetVariableValueSwitch hook is
|
|
|
|
|
|
no longer used; non-standard use of this parameter has been deprecated since
|
|
|
|
|
|
1.35.
|
2022-08-08 11:02:04 +00:00
|
|
|
|
* These methods have been moved from IDatabase to IMaintainableDatabase:
|
|
|
|
|
|
- IDatabase::fieldExists -> IMaintainableDatabase::fieldExists
|
|
|
|
|
|
- IDatabase::indexExists -> IMaintainableDatabase::indexExists
|
|
|
|
|
|
- IDatabase::tableExists -> IMaintainableDatabase::tableExists
|
2022-08-08 09:51:01 +00:00
|
|
|
|
* DBConnRef doesn't accept live connection in constructor anymore.
|
|
|
|
|
|
Only parameters for getting connection should be provided.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Deprecations in 1.39 ===
|
2021-09-27 22:00:35 +00:00
|
|
|
|
* PageProps::getInstance(), deprecated since 1.38, emits deprecations warnings.
|
2022-04-13 21:50:03 +00:00
|
|
|
|
* The global function wfGetDB() has been deprecated. Use
|
2022-05-23 15:47:11 +00:00
|
|
|
|
LoadBalancer::getConnection() instead.
|
2021-11-13 15:54:54 +00:00
|
|
|
|
* SpecialRedirectWithAction::__construct without SearchEngineFactory argument
|
|
|
|
|
|
is hard deprecated.
|
2022-04-14 16:03:35 +00:00
|
|
|
|
* Use of the SiteStatsUpdate constructor has been deprecated in favor of
|
|
|
|
|
|
the ::factory() method.
|
2021-05-24 13:40:37 +00:00
|
|
|
|
* AuthManager::checkAccountCreatePermissions has been deprecated. Use
|
|
|
|
|
|
AuthManager::authorizeCreateAccount or AuthManager::probablyCanCreateAccount
|
|
|
|
|
|
instead.
|
2022-04-25 11:25:54 +00:00
|
|
|
|
* Title::getSelectFields() has been deprecated in favor of
|
|
|
|
|
|
PageStore::newSelectQueryBuilder()
|
2022-05-06 17:56:46 +00:00
|
|
|
|
* Title::newFromTitleValue(), deprecated since in 1.34, now emits deprecation
|
|
|
|
|
|
warnings. Use ::newFromLinkTarget() instead.
|
2022-03-24 14:18:07 +00:00
|
|
|
|
* ExtensionRegistry::readFromQueue() has been marked @internal. Extensions
|
|
|
|
|
|
should use ExtensionProcessor instead.
|
|
|
|
|
|
* Processor::getExtraAutoloaderPaths() and
|
|
|
|
|
|
ExtensionProcessor::getExtraAutoloaderPaths() have been deprecated, use get
|
|
|
|
|
|
getExtractedAutoloadInfo() instead.
|
2022-04-04 19:41:23 +00:00
|
|
|
|
* The following global functions are deprecated in favor of the listed UrlUtils
|
|
|
|
|
|
methods.
|
|
|
|
|
|
- wfExpandUrl -> UrlUtils::expand
|
|
|
|
|
|
- wfGetServerUrl -> UrlUtils::getServer
|
|
|
|
|
|
- wfAssembleUrl -> UrlUtils::assemble
|
|
|
|
|
|
- wfRemoveDotSegments -> UrlUtils::removeDotSegments
|
|
|
|
|
|
- wfUrlProtocols -> UrlUtils::validProtocols
|
|
|
|
|
|
- wfUrlProtocolsWithoutProtRel -> UrlUtils::validAbsoluteProtocols
|
|
|
|
|
|
- wfParseUrl -> UrlUtils::parse
|
|
|
|
|
|
- wfExpandIRI -> UrlUtils::expandIRI
|
|
|
|
|
|
- wfMatchesDomainList -> UrlUtils::matchesDomainList
|
|
|
|
|
|
These methods are exact replacements except that
|
|
|
|
|
|
1) they return null instead of false or empty string on error (where
|
|
|
|
|
|
applicable);
|
|
|
|
|
|
2) UrlUtils::validProtocols does not take a parameter (documentation said not
|
|
|
|
|
|
to pass one to wfUrlProtocols anyway);
|
|
|
|
|
|
3) they use type hints (don't try passing null instead of string, etc.).
|
2022-04-12 02:16:29 +00:00
|
|
|
|
* MaintainableDBConnRef is deprecated, use DBConnRef instead.
|
2022-02-21 16:28:35 +00:00
|
|
|
|
* Loading DefaultSettings.php is deprecated. To get default values of main
|
|
|
|
|
|
config settings, use MainConfigSchema::listDefaultValues() or
|
|
|
|
|
|
MainConfigSchema::getDefaultValue().
|
2022-04-11 21:32:11 +00:00
|
|
|
|
* AbstractContent::getRedirectChain() and
|
|
|
|
|
|
AbstractContent::getUltimateRedirectTarget() are now emitting deprecation
|
|
|
|
|
|
warnings (T296430).
|
2022-06-13 17:52:33 +00:00
|
|
|
|
* (T244138) QueryPage::getSQL() is deprecated. Instead QueryPage::getQueryInfo()
|
2022-06-24 09:35:28 +00:00
|
|
|
|
should be overridden.
|
2022-05-20 16:15:47 +00:00
|
|
|
|
* Calling new JobRunner() directly without $serviceOptions now emits
|
|
|
|
|
|
deprecation warnings. Use MediaWikiServices::getInstance()->getJobRunner()
|
|
|
|
|
|
instead.
|
2022-04-11 21:32:11 +00:00
|
|
|
|
* Passing an array of targets to Article::getRedirectHeaderHtml() is
|
|
|
|
|
|
deprecated. Supply a single redirect target instead (T296430).
|
2022-05-16 16:37:03 +00:00
|
|
|
|
* The following Less mediawiki.mixins have been deprecated:
|
|
|
|
|
|
- .animation()
|
|
|
|
|
|
- .animation-delay()
|
|
|
|
|
|
- .transform-rotate()
|
2022-04-19 08:04:41 +00:00
|
|
|
|
* Skin::getAction is deprecated. Use IContextSource::getActionName instead.
|
2022-04-26 03:54:59 +00:00
|
|
|
|
* ILBFactory::forEachLB() is deprecated. Use ::getAllLBs().
|
|
|
|
|
|
* LoadBalancer::forEachOpenConnection() and ::forEachOpenPrimaryConnection()
|
|
|
|
|
|
are deprecated without replacement.
|
2022-05-06 09:09:56 +00:00
|
|
|
|
* The following classes were moved from the root namespace to the
|
|
|
|
|
|
MediaWiki\ResourceLoader namespace, the old names becoming deprecated aliases:
|
|
|
|
|
|
ResourceLoader, MessageBlobStore, VueComponentParser.
|
|
|
|
|
|
* The following classes had the "ResourceLoader" prefix stripped while being
|
|
|
|
|
|
moved to the MediaWiki\ResourceLoader namespace, the old names becoming
|
|
|
|
|
|
deprecated aliases: DerivativeResourceLoaderContext,
|
|
|
|
|
|
ResourceLoaderCircularDependencyError, ResourceLoaderClientHtml,
|
|
|
|
|
|
ResourceLoaderCodexModule, ResourceLoaderContext, ResourceLoaderFileModule,
|
|
|
|
|
|
ResourceLoaderFilePath, ResourceLoaderForeignApiModule, ResourceLoaderImage,
|
|
|
|
|
|
ResourceLoaderImageModule, ResourceLoaderLanguageDataModule,
|
|
|
|
|
|
ResourceLoaderLessVarFileModule, ResourceLoaderModule,
|
|
|
|
|
|
ResourceLoaderMwUrlModule, ResourceLoaderOOUIFileModule,
|
|
|
|
|
|
ResourceLoaderOOUIIconPackModule, ResourceLoaderOOUIImageModule,
|
|
|
|
|
|
ResourceLoaderOOUIModule, ResourceLoaderSiteModule,
|
|
|
|
|
|
ResourceLoaderSiteStylesModule, ResourceLoaderSkinModule,
|
|
|
|
|
|
ResourceLoaderStartUpModule, ResourceLoaderUserModule,
|
|
|
|
|
|
ResourceLoaderUserOptionsModule, ResourceLoaderUserStylesModule,
|
|
|
|
|
|
ResourceLoaderWikiModule.
|
2022-04-25 07:43:53 +00:00
|
|
|
|
* The following methods in WikiRevision and their interfaces
|
|
|
|
|
|
ImportableUploadRevision and ImportableOldRevision are deprecated:
|
|
|
|
|
|
- ::getUserObj() → ::getUser()
|
|
|
|
|
|
- ::setUserObj() → ::setUsername()
|
|
|
|
|
|
- ::setUserIP() → ::setUsername()
|
2022-05-26 01:05:10 +00:00
|
|
|
|
* ObjectCache::addBusyCallback() is deprecated and non-functional.
|
2022-06-19 11:45:57 +00:00
|
|
|
|
* MWTimestamp::getHumanTimestamp(), deprecated in 1.26, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-06-19 12:16:29 +00:00
|
|
|
|
* Article::viewRedirect(), deprecated in 1.30, now emits deprecation warnings.
|
2022-06-20 03:48:44 +00:00
|
|
|
|
* Parser::getFreshParser() is deprecated, use ParserFactory::getInstance().
|
2022-08-04 15:30:12 +00:00
|
|
|
|
* CoreParserFunctions::mwnamespace() is deprecated and emits deprecation
|
|
|
|
|
|
warnings, use CoreParserFunctions::namespace() instead.
|
2022-08-12 17:22:23 +00:00
|
|
|
|
* Registering magic variables whose names include a colon is deprecated.
|
2022-06-21 20:40:11 +00:00
|
|
|
|
* User::blockedFor(), deprecated in 1.35, now emits deprecation warnings.
|
2022-06-22 12:14:41 +00:00
|
|
|
|
* Access to previously public properties AbstractBlock::$mExpiry,
|
|
|
|
|
|
AbstractBlock::$mHideName, AbstractBlock::$mTimestamp, DatabaseBlock::$mAuto,
|
|
|
|
|
|
and DatabaseBlock::$mParentBlockId, deprecated in 1.34, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-06-23 12:47:34 +00:00
|
|
|
|
* Access to previously public properties User::$mBlock, User::$mBlockedby, and
|
|
|
|
|
|
User::$mHideName, deprecated in 1.35, now emits deprecation warnings.
|
2022-06-24 16:48:31 +00:00
|
|
|
|
* JobQueueGroup::singleton() and ::destroySingletons(), deprecated in 1.37, now
|
2022-06-25 18:12:21 +00:00
|
|
|
|
emit deprecation warnings.
|
|
|
|
|
|
* Title::getNotificationTimestamp(), deprecated in 1.35, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-06-28 19:21:51 +00:00
|
|
|
|
* Global functions wfReadOnly and wfReadOnlyReason, deprecated in 1.38, now
|
|
|
|
|
|
emit deprecation warnings.
|
2022-07-05 18:33:51 +00:00
|
|
|
|
* Overriding or calling DifferenceEngine::getDiffBodyCacheKey(), deprecated in
|
|
|
|
|
|
1.31, now emits deprecation warnings.
|
2022-07-05 18:52:04 +00:00
|
|
|
|
* Access to previously public property WikiRevision::$fileIsTemp, deprecated in
|
|
|
|
|
|
1.29, now emits deprecation warnings.
|
2022-07-07 18:38:55 +00:00
|
|
|
|
* wfQueriesMustScale() has been deprecated and emits deprecation warnings.
|
2022-07-04 12:03:09 +00:00
|
|
|
|
* ContextSource::getStats(), RequestContext::getStats(), and
|
|
|
|
|
|
DerivativeContext::getStats(), deprecated in 1.27, now emit deprecation
|
|
|
|
|
|
warnings.
|
2022-06-27 10:15:36 +00:00
|
|
|
|
* ManualLogEntry::setTags(), deprecated in 1.33, now emits deprecation warnings.
|
2022-07-06 10:28:01 +00:00
|
|
|
|
* WikiRevision::downloadSource(), deprecated in 1.31, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-07-06 12:14:17 +00:00
|
|
|
|
* DifferenceEngine::textDiff(), deprecated in 1.32, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-07-06 12:49:36 +00:00
|
|
|
|
* FormatMetadata::flattenArrayContentLang(), deprecated in 1.36, now emits
|
|
|
|
|
|
deprecation warnings.
|
2022-07-09 07:52:25 +00:00
|
|
|
|
* SkinTemplate::getNameSpaceKey(), deprecated in 1.35, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-07-10 15:41:11 +00:00
|
|
|
|
* EnqueueJob::newFromJobsByWiki(), deprecated in 1.33, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-07-11 15:00:23 +00:00
|
|
|
|
* The following methods of the MWGrants class, all deprecated since 1.38,
|
|
|
|
|
|
are now emitting deprecation warnings:
|
|
|
|
|
|
- getValidGrants
|
|
|
|
|
|
- getRightsByGrant
|
|
|
|
|
|
- grantName
|
|
|
|
|
|
- grantNames
|
|
|
|
|
|
- getGrantRights
|
|
|
|
|
|
- grantsAreValid
|
|
|
|
|
|
- getGrantGroups
|
|
|
|
|
|
- getHiddenGrants
|
|
|
|
|
|
- getGrantsLink
|
|
|
|
|
|
- getGrantsWikiText
|
2022-07-10 15:44:13 +00:00
|
|
|
|
* DataUpdate::runUpdates(), deprecated in 1.28, now emits deprecation warnings.
|
2022-07-10 15:52:23 +00:00
|
|
|
|
* CdnCacheUpdate::newFromTitles(), deprecated in 1.35, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-07-11 08:24:37 +00:00
|
|
|
|
* Instantiating HTMLCacheUpdate class, deprecated in 1.34, now emits deprecation
|
|
|
|
|
|
warnings.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
2022-03-15 02:28:38 +00:00
|
|
|
|
=== Other changes in 1.39 ===
|
2022-07-09 16:42:16 +00:00
|
|
|
|
* Dynamic default values are now applied before extension registration callbacks
|
|
|
|
|
|
are run. This way, extensions have a complete view of config variables, with
|
|
|
|
|
|
all defaults applied. For example, when the default value of X used to be
|
|
|
|
|
|
static but becomes dynamic, and an extension reads the value of X in the
|
|
|
|
|
|
registration callback, it will now continue to function as expected. In some
|
|
|
|
|
|
cases however, this may cause an undesired change in behavior: if the dynamic
|
|
|
|
|
|
default of setting X depends on the value of setting Y, and an extension
|
|
|
|
|
|
changes Y, the changed value of Y will no longer affect the value of X.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
== Compatibility ==
|
|
|
|
|
|
|
2022-07-27 16:21:45 +00:00
|
|
|
|
MediaWiki 1.39 requires PHP 7.4.3 or later and the following PHP extensions:
|
2022-03-15 01:47:30 +00:00
|
|
|
|
|
|
|
|
|
|
* ctype
|
|
|
|
|
|
* dom
|
|
|
|
|
|
* fileinfo
|
|
|
|
|
|
* iconv
|
|
|
|
|
|
* intl
|
|
|
|
|
|
* json
|
|
|
|
|
|
* mbstring
|
|
|
|
|
|
* xml
|
|
|
|
|
|
|
2022-05-15 23:00:38 +00:00
|
|
|
|
MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
|
|
|
|
|
|
be used instead, but support for them is somewhat less mature.
|
2022-03-15 01:47:30 +00:00
|
|
|
|
|
|
|
|
|
|
The supported versions are:
|
|
|
|
|
|
|
2022-05-03 20:08:10 +00:00
|
|
|
|
* MariaDB 10.3 or higher
|
|
|
|
|
|
* MySQL 5.7.0 or higher
|
2022-08-03 12:39:36 +00:00
|
|
|
|
* PostgreSQL 10 or later
|
2022-03-15 01:47:30 +00:00
|
|
|
|
* 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.libera.chat.
|