2024-04-08 23:37:54 +00:00
|
|
|
|
= MediaWiki 1.43 =
|
|
|
|
|
|
|
|
|
|
|
|
== MediaWiki 1.43.0-PRERELEASE ==
|
|
|
|
|
|
|
|
|
|
|
|
THIS IS NOT A RELEASE YET
|
|
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.43 is an alpha-quality development branch, and is not recommended
|
|
|
|
|
|
for use in production.
|
|
|
|
|
|
|
|
|
|
|
|
== Upgrading notes for 1.43 ==
|
|
|
|
|
|
Don't forget to always back up your database before upgrading!
|
|
|
|
|
|
|
|
|
|
|
|
See the file UPGRADE for more detailed per-version upgrade instructions from the
|
|
|
|
|
|
oldest supported upgrading version, MediaWiki 1.35.
|
|
|
|
|
|
|
|
|
|
|
|
Some specific notes for MediaWiki 1.43 upgrades are below:
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
For notes on 1.42.x and older releases, see HISTORY.
|
|
|
|
|
|
|
|
|
|
|
|
=== Configuration changes for system administrators in 1.43 ===
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== New configuration ====
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Changed configuration ====
|
|
|
|
|
|
|
2024-04-25 16:57:53 +00:00
|
|
|
|
* wgPageLinksSchemaMigrationStage – (T299947) This temporary setting, which
|
|
|
|
|
|
controls the database schema migration for the page links table, is now set
|
|
|
|
|
|
by default to write to both old and new data and read from the new data.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Removed configuration ====
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== New user-facing features in 1.43 ===
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== New features for sysadmins in 1.43 ===
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== New developer features in 1.43 ===
|
|
|
|
|
|
|
2024-04-02 23:32:58 +00:00
|
|
|
|
* StatusValue class gained new method getMessages(): MessageSpecifier[],
|
|
|
|
|
|
allowing the errors to be inspected and displayed more easily, for example:
|
|
|
|
|
|
foreach ( $status->getMessages() as $msg ) {
|
|
|
|
|
|
if ( $msg->getKey() !== 'ignored-message' ) {
|
|
|
|
|
|
$this->getOutput()->addWikiMsg( $msg );
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-04-08 23:37:54 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== External library changes in 1.43 ===
|
|
|
|
|
|
|
|
|
|
|
|
==== New external libraries ====
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
===== New development-only external libraries =====
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Changed external libraries ====
|
2024-04-17 20:39:01 +00:00
|
|
|
|
* Updated codex, codex-design-tokens and codex-icons
|
2024-04-30 20:13:14 +00:00
|
|
|
|
from v1.3.6 to v1.5.0.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
===== Changed development-only external libraries =====
|
|
|
|
|
|
|
2024-04-09 23:56:33 +00:00
|
|
|
|
* Upgraded eslint-config-wikimedia from 0.26.0 to 0.27.0.
|
2024-05-03 13:58:40 +00:00
|
|
|
|
* Updated seld/jsonlint from 1.10.1 to 1.10.2.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Removed external libraries ====
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Bug fixes in 1.43 ===
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Action API changes in 1.43 ===
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Action API internal changes in 1.43 ===
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Languages updated in 1.43 ===
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
2023-09-08 12:14:44 +00:00
|
|
|
|
* (T290657) Added language support for Levantine Arabic (apc).
|
2024-04-08 23:37:54 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Breaking changes in 1.43 ===
|
|
|
|
|
|
|
2024-04-03 18:49:04 +00:00
|
|
|
|
* ErrorPageError public properties 'msg' and 'title' may now contain
|
|
|
|
|
|
any MessageSpecifier object, not just Message.
|
2024-04-15 07:39:20 +00:00
|
|
|
|
* Reset button functionality suppressReset() and $mShowReset from HTMLForm
|
|
|
|
|
|
was removed without replacement.
|
2024-04-21 19:03:24 +00:00
|
|
|
|
* UserGroupMembership::getGroupName(), deprecated in 1.38, and
|
|
|
|
|
|
UserGroupMembership::getGroupMemberName(), deprecated in 1.40, have
|
|
|
|
|
|
been removed.
|
2024-04-23 14:48:24 +00:00
|
|
|
|
* SerializedValueContainer::isUnified(), deprecated in 1.42, has been
|
|
|
|
|
|
removed.
|
2024-04-21 19:05:20 +00:00
|
|
|
|
* Parser::getFreshParser(), deprecated in 1.39, has been removed.
|
2024-04-21 20:19:26 +00:00
|
|
|
|
* ConfigFactory::getDefaultInstance(), deprecated since 1.27, has been
|
|
|
|
|
|
removed.
|
2024-04-30 16:16:20 +00:00
|
|
|
|
* IReadableDatabase::getReplicaPos() has been removed without deprecation
|
|
|
|
|
|
as it's not used anywhere.
|
2024-04-30 16:24:08 +00:00
|
|
|
|
* ILoadBalancer::laggedReplicaUsed() has been moved to ILoadBalancerForOwner::
|
|
|
|
|
|
effectively making it internal.
|
2023-12-14 16:48:29 +00:00
|
|
|
|
* Overriding MWException::getHTML(), ::getText(), ::getPageTitle(), and
|
|
|
|
|
|
::reportHTML() in order to display custom exception messages is no
|
|
|
|
|
|
longer supported.
|
2024-04-30 17:28:57 +00:00
|
|
|
|
* TablePager::getBody(), final and deprecated since 1.24, has been removed.
|
|
|
|
|
|
Use ::getBodyOutput() or ::getFullOutput() instead.
|
2024-04-30 17:25:48 +00:00
|
|
|
|
* ImportableUploadRevisionImporter::downloadSource(), deprecated in 1.31, is now
|
|
|
|
|
|
private. Its only known external caller was removed in 1.40.
|
2024-04-21 20:16:40 +00:00
|
|
|
|
* The following methods in the User class have been removed:
|
|
|
|
|
|
* Deprecated in 1.33:
|
|
|
|
|
|
* User::isBlockedFrom()
|
|
|
|
|
|
* Deprecated in 1.34:
|
|
|
|
|
|
* User::isBlocked()
|
|
|
|
|
|
* Deprecated in 1.35:
|
|
|
|
|
|
* User::addGroup()
|
|
|
|
|
|
* User::getAllGroups()
|
|
|
|
|
|
* User::getGroups()
|
|
|
|
|
|
* User::getGroupMemberships()
|
|
|
|
|
|
* User::getImplicitGroups()
|
|
|
|
|
|
* User::getOption()
|
|
|
|
|
|
* User::removeGroup()
|
|
|
|
|
|
* Deprecated in 1.37:
|
|
|
|
|
|
* User::isBlockedFromCreateAccount()
|
2024-05-03 11:32:38 +00:00
|
|
|
|
* BotPassword::invalidateAllPasswordsForCentralId() and
|
|
|
|
|
|
BotPassword::removeAllPasswordsForCentralId(), deprecated in 1.37,
|
|
|
|
|
|
have been removed.
|
2024-05-03 18:00:29 +00:00
|
|
|
|
* Title::getBrokenLinksFrom(), deprecated in 1.42, has been removed.
|
2024-05-03 18:07:49 +00:00
|
|
|
|
* The $type parameter to Skin::getCopyright(), deprecated in 1.40, has been
|
|
|
|
|
|
removed.
|
2024-05-03 18:09:00 +00:00
|
|
|
|
* Skin::footerLink(), deprecated in 1.40, has been removed.
|
2024-05-03 18:09:00 +00:00
|
|
|
|
* Skin::getAction(), deprecated in 1.39, has been removed.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Deprecations in 1.43 ===
|
|
|
|
|
|
|
2024-04-02 23:32:58 +00:00
|
|
|
|
* The methods StatusValue::getErrors() and StatusValue::getErrorsByType(),
|
|
|
|
|
|
as well as Status::getErrorsArray() and Status::getWarningsArray(), have
|
|
|
|
|
|
been deprecated in favor of new method StatusValue::getMessages().
|
2024-04-16 14:07:10 +00:00
|
|
|
|
* SearchEngineConfig::getConfig() has been deprecated, use DI with
|
|
|
|
|
|
ServiceOptions to inject the required options.
|
2024-04-06 09:35:21 +00:00
|
|
|
|
* Using the "post" source in parameter declarations returned from
|
|
|
|
|
|
Handler::getParamSettings() is deprecated, use "body" instead.
|
2024-04-11 19:10:20 +00:00
|
|
|
|
* IMaintainableDatabase::textFieldSize() is now deprecated.
|
2024-04-05 17:09:25 +00:00
|
|
|
|
* ISQLPlatform::tableNamesN() is now deprecated.
|
2024-04-05 17:10:50 +00:00
|
|
|
|
* The implementation in SQLPlatform of ISQLPlatform::tableNames(), deprecated in
|
|
|
|
|
|
MediaWiki 1.39, now emits deprecation warnings.
|
2023-08-19 02:45:46 +00:00
|
|
|
|
* The following methods, previously deprecated, now emit deprecation warnings:
|
|
|
|
|
|
- ContentHandler::getDefaultModelFor(), deprecated since 1.33
|
|
|
|
|
|
- ContentHandler::getAllContentFormats(), deprecated since 1.35
|
|
|
|
|
|
- ContentHandler::getContentModels(), deprecated since 1.35
|
|
|
|
|
|
- ContentHandler::getForContent(), deprecated since 1.35
|
|
|
|
|
|
- ContentHandler::getForModelID(), deprecated since 1.35
|
|
|
|
|
|
- ContentHandler::getContentText(), deprecated since 1.37
|
2024-04-25 22:10:06 +00:00
|
|
|
|
* OutputPage::showFatalError() is deprecated, use showErrorPage() instead.
|
2024-04-17 12:47:05 +00:00
|
|
|
|
* LoadBalancer::getConnectionRef(), deprecated since 1.39, now emits deprecation
|
|
|
|
|
|
warnings. Use ::getConnection() instead.
|
2024-04-28 20:08:51 +00:00
|
|
|
|
* IDatabase::lockForUpdate is deprecated, use
|
|
|
|
|
|
SelectQueryBuilder::acquireRowLocks instead.
|
2024-04-23 16:43:29 +00:00
|
|
|
|
* User::isBlockedGlobally(), deprecated since 1.40, now emits deprecation
|
|
|
|
|
|
warnings.
|
|
|
|
|
|
* User::isBlockedFromEmailuser() and User::canSendEmail(), deprecated since
|
|
|
|
|
|
1.41, now emit deprecation warnings.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Other changes in 1.43 ===
|
|
|
|
|
|
|
2024-02-17 00:35:09 +00:00
|
|
|
|
* Class aliases to support the old PHPUnit 4 style un-namespaced `PHPUnit_`
|
|
|
|
|
|
classes (such as PHPUnit_Framework_Error) have been removed.
|
2024-03-04 19:58:48 +00:00
|
|
|
|
* [Temporary accounts] If $wgAutoCreateTempUser is enabled, then MediaWiki
|
|
|
|
|
|
will create a temporary account and log the user in for unsuccessful edit
|
|
|
|
|
|
attempts and null edits, in addition to edits that change content. This is
|
|
|
|
|
|
a change from the previous paradigm, where temporary accounts were created
|
|
|
|
|
|
only for successful edits. This change is done to support better logging
|
|
|
|
|
|
support and moderation, to ensure that hooks run in a pre-save context have
|
|
|
|
|
|
a user object to associate log entries and other actions with.
|
2022-09-24 21:16:43 +00:00
|
|
|
|
* Several entries have been removed from the default list of interwikis used
|
|
|
|
|
|
when installing new wikis. This does not affect existing wikis.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
== Compatibility ==
|
|
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.43 requires PHP 8.1.0 or later and the following PHP extensions:
|
|
|
|
|
|
|
|
|
|
|
|
* ctype
|
|
|
|
|
|
* dom
|
|
|
|
|
|
* fileinfo
|
|
|
|
|
|
* iconv
|
|
|
|
|
|
* intl
|
|
|
|
|
|
* json
|
|
|
|
|
|
* mbstring
|
|
|
|
|
|
* xml
|
|
|
|
|
|
|
|
|
|
|
|
MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
|
|
|
|
|
|
be used instead, but support for them is somewhat less mature.
|
|
|
|
|
|
|
|
|
|
|
|
The supported versions are:
|
|
|
|
|
|
|
|
|
|
|
|
* MariaDB 10.3 or higher
|
|
|
|
|
|
* MySQL 5.7.0 or higher
|
|
|
|
|
|
* PostgreSQL 10 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/postorius/lists/mediawiki-l.lists.wikimedia.org/>
|
|
|
|
|
|
|
|
|
|
|
|
A low-traffic announcements-only list is also available:
|
|
|
|
|
|
|
|
|
|
|
|
<https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/>
|
|
|
|
|
|
|
|
|
|
|
|
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.
|