MediaWiki 1.41
Appearance
This page contains release notes for a legacy version of MediaWiki. |
MediaWiki |
---|
|
Older versions |
Version lifecycle |
MediaWiki 1.41 is a stable, legacy release of MediaWiki. Consult the RELEASE NOTES file for the full list of changes. It was deployed on Wikimedia Foundation wikis through incremental "wmf"-branches between March and October 2023. The 1.41.0 stable release came out on 21 December 2023. Download mediawiki-1.42.4.tar.gz or checkout the REL1_41
branch in Git to follow this release.
MediaWiki 1.41 |
---|
Deployment to Wikimedia sites |
Changes
[edit]Some specific notes for MediaWiki 1.41 upgrades are below:
- (task T178356) MediaWiki now requires browsers to support ES6 for them to receive JavaScript, up from ES5. In practice, this primarily means that users of Internet Explorer 11 (EOL in 2022) will no longer get JavaScript tools.
For notes on 1.40.x and older releases, see HISTORY.
Configuration changes for system administrators in 1.41
[edit]- $wgGroupPermissions: The 'purge' permission is now considered an implicit right that can be rate limited, but not revoked. This has effectively already been the case for a long time, see task T291316.
New configuration
[edit]- $wgPrivilegedGroups – Users belonging in some of the listed groups will be audited more aggressively.
- $wgPageLinksSchemaMigrationStage – This temporary flag lets you control the migration stage for converting the pagelinks database table into normal form.
- $wgExternalLinksDomainGaps – Can be used by large wikis to optimize certain external link queries.
- $wgResourceLoaderEnableSourceMapLinks - Add a SourceMap header to ResourceLoader responses for JavaScript modules (task T47514).
- $wgVirtualDomainsMapping - Mapping of virtual domains to other dbs. It's useful to get connection to the external cluster.
- $wgChronologyProtectorSecret - Secret string for HMAC hashing in ChronologyProtector
- $wgEnableEditRecovery - Whether to enable the client-side Edit Recovery feature, which is not yet stable.
- $wgEditRecoveryExpiry - Number of seconds to keep Edit Recovery data after the edit is stored.
- $wgImplicitRights - A list of implicit rights, in addition to the ones defined by the core. Rights in this list are granted implicitly to all users, but rate limits may apply to them.
- $wgInterwikiLogoOverride - List of interwiki logos overrides.
- $wgSVGNativeRendering - Whether native SVG rendering by the browser agent is allowed
- $wgSVGNativeRenderingSizeLimit - If $wgSVGNativeRendering is set to 'partial', this sets the size limit for an SVG file to be rendered as a PNG instead of directly by the browser.
- $wgUserRegistrationProviders - User registration timestamp provider classes
- $wgUseXssLanguage - Whether to enable the x-xss language code, used to make checking for cross-site scripting (XSS) issues more convenient.
- $wgVirtualDomainsMapping - Maps virtual database domains to actual databases.
- $wgWikidiff2Options - Configuration for Wikidiff2.
- $wgUseLegacyMediaStyles - Temporary flag to re-enable the old thumbnail styles provided by core for the legacy media HTML structure.
Changed configuration
[edit]- $wgAuthManagerAutoConfig – When using this setting to modify the authentication system in MediaWiki, the classes TemporaryPasswordPrimaryAuthenticationProvider, LocalPasswordPrimaryAuthenticationProvider and EmailNotificationSecondaryAuthenticationProvider now require DBLoadBalancerFactory, not DBLoadBalancer, as a service.
- $wgUseFileCache is no longer used for ResourceLoader module caching.
- $wgLBFactoryConf['secret'] has been replaced by $wgChronologyProtectorSecret.
Removed configuration
[edit]- $wgCommentTempTableSchemaMigrationStage – This temporary flag did let you control the migration stage for the temporary comment database table, from revision.
- $wgExternalLinksSchemaMigrationStage – This temporary flag did let you control the migration stage for the externallinks database table.
- $wgParserOutputHooks - This array interacted with ParserOutput::addOutputHook(), which has been deprecated since 1.38 and was removed in this release.
New user-facing features in 1.41
[edit]- Special:RandomPage can now take multiple namespaces in its URL, split by ','.
- The aria-level HTML attribute is now allowed in wikitext by the Sanitizer.
New features for sysadmins in 1.41
[edit]- $wgDBssl can now enabled in the installer when the database type is Postgres or MariaDB/MySQL (task T335828).
- MWHttpRequest will forward 'tracestate' and/or 'traceparent' headers when those are present in the original request and $wgAllowExternalReqID is set to true.
- MultiHttpClient will send X-Request-Id header and additionally will forward 'tracestate' and/or 'traceparent' headers when those are present in the original request and $wgAllowExternalReqID is set to true.
New developer features in 1.41
[edit]- Added ForeignResourcesDir extension.json / skin.json attribute, which should point to the directory holding your foreign-resources.yaml file. See https://www.mediawiki.org/wiki/Foreign_resources for background.
- Added PrivilegedGroups attribute for extension.json / skin.json, which lets you add any new user groups you define to wgPrivilegedGroups (see above).
- Added a .gitmessage commit template. To use it, run: `git config commit.template .gitmessage`
- A new hook, TextSlotDiffRendererTablePrefixHook, has been added to allow extensions to add content within #mw-content-text but after the DifferenceEngineViewHeader or DifferenceEngineShowDiffPage hooks have been run. The new hook is used to add elements within a horizontal display area, where their order can be explicitly set. Examples of uses for this include adding the VisualEditor diff-type switch, and the legend for inline diffs that is displayed if Wikidiff2 is installed.
- validation callbacks for HTMLForm fields can now return Status objects. HTMLForm::validate will convert good Status instances to true and Status instances to a string containing a list with the errors.
- ?action=rollback, if successful, will fire core's postEdit JavaScript hook; for now, we do *not* display a success message to the user via mw.notify(), as the RollbackAction form's success page is already shown
- MultiHttpClient constructor will accept `headers` property which defines a set of headers attached to every request performed by the client.
- New `Wikimedia/Http/TelemetryHeadersInterface` interface that provides a telemetry information which could be attached to HTTP Requests
- Wikimedia/Http/TelemetryHeadersInterface can be passed to MultiHttpClient via 'telemetry' option.
- UserRegistrationLookup adds support for multiple kinds of registration dates Extensions providing support for wiki-farm can use this to provide a global registration date (across all wikis), for example.
- When $wgUseXssLanguage is set to true (enabled by default in DevelopmentSettings.php), ?uselang=x-xss can be used to easily test whether all messages are being escaped correctly.
- Html::noticeBox accepts new optional parameters, 'heading' & 'iconClassName'. 'heading' allows to pass an string as title; 'iconClassName' overwrites the default info icon.
Action API changes in 1.41
[edit]- (task T322944) `Authorization` was added to the default list of headers allowed for cross-origin API requests ($wgAllowedCorsHeaders).
Languages updated in 1.41
[edit]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.
- (task T345807) Added language support for Karekare (kai).
- (task T333765) Removed language support for Akan (Ak).
- (task T332113) Added language support for Northern Hindko (hno).
- (task T333425) Added language support for Iraqi (Mesopotamian) Arabic (acm).
- (task T336919) Added language support for Crimean Tatar (Romania) (crh-ro).
- (task T338416) Added language support for Betawi (bew).
- (task T341545) Added language support for West Coast Bajau (a.k.a. Sama; bdr).
- (task T332118) Namespace translations for Angika (anp) were added
- (task T341942) The autonym of the Buginese language is changed to the Latin-script name "Basa Ugi", and the localization in the language code "bug" is now only in the Latin script. It's possible to add localization in the Lontara script in translatewiki under the code "bug-bugi".
- (task T341943) Main Page name translation was changed from "Leppa Indoë" to "Watangpola". If you manage a wiki in this language, make sure that links to the main page are correctly updated. See https://translatewiki.net/w/i.php?title=Support&oldid=11723654#Change_MediaWiki:Mainpage/bug
See also
[edit]- Exploring the New MediaWiki 1.41 — Blog post about the MediaWiki 1.41 release; published January 4, 2024
Subpages
[edit]- MediaWiki 1.41/Roadmap
- MediaWiki 1.41/wmf.1
- MediaWiki 1.41/wmf.1/Changelog
- MediaWiki 1.41/wmf.10
- MediaWiki 1.41/wmf.10/Changelog
- MediaWiki 1.41/wmf.11
- MediaWiki 1.41/wmf.11/Changelog
- MediaWiki 1.41/wmf.12
- MediaWiki 1.41/wmf.12/Changelog
- MediaWiki 1.41/wmf.13
- MediaWiki 1.41/wmf.13/Changelog
- MediaWiki 1.41/wmf.15
- MediaWiki 1.41/wmf.15/Changelog
- MediaWiki 1.41/wmf.16
- MediaWiki 1.41/wmf.16/Changelog
- MediaWiki 1.41/wmf.17
- MediaWiki 1.41/wmf.17/Changelog
- MediaWiki 1.41/wmf.18
- MediaWiki 1.41/wmf.18/Changelog
- MediaWiki 1.41/wmf.19
- MediaWiki 1.41/wmf.19/Changelog
- MediaWiki 1.41/wmf.2
- MediaWiki 1.41/wmf.2/Changelog
- MediaWiki 1.41/wmf.20
- MediaWiki 1.41/wmf.20/Changelog
- MediaWiki 1.41/wmf.22
- MediaWiki 1.41/wmf.22/Changelog
- MediaWiki 1.41/wmf.23
- MediaWiki 1.41/wmf.23/Changelog
- MediaWiki 1.41/wmf.24
- MediaWiki 1.41/wmf.24/Changelog
- MediaWiki 1.41/wmf.25
- MediaWiki 1.41/wmf.25/Changelog
- MediaWiki 1.41/wmf.26
- MediaWiki 1.41/wmf.26/Changelog
- MediaWiki 1.41/wmf.27
- MediaWiki 1.41/wmf.27/Changelog
- MediaWiki 1.41/wmf.28
- MediaWiki 1.41/wmf.28/Changelog
- MediaWiki 1.41/wmf.29
- MediaWiki 1.41/wmf.29/Changelog
- MediaWiki 1.41/wmf.3
- MediaWiki 1.41/wmf.3/Changelog
- MediaWiki 1.41/wmf.30
- MediaWiki 1.41/wmf.30/Changelog
- MediaWiki 1.41/wmf.4
- MediaWiki 1.41/wmf.4/Changelog
- MediaWiki 1.41/wmf.5
- MediaWiki 1.41/wmf.5/Changelog
- MediaWiki 1.41/wmf.6
- MediaWiki 1.41/wmf.6/Changelog
- MediaWiki 1.41/wmf.7
- MediaWiki 1.41/wmf.7/Changelog
- MediaWiki 1.41/wmf.8
- MediaWiki 1.41/wmf.8/Changelog
- MediaWiki 1.41/wmf.9
- MediaWiki 1.41/wmf.9/Changelog