Exploring the MediaWiki 1.43 LTS Release: Key Features and Changes

News updated on December 24, 2024 by Karsten Hoffmeyer

Exploring the MediaWiki 1.43 LTS Release: Key Features and Changes

December 2024 brought an essential milestone for wiki platforms with MediaWiki's 1.43 LTS release. While version numbers often come and go, this update stands out by offering extended support through December 2027 as a Long-Term Support release – crucial for organizations building their knowledge bases for the long haul.

From enhanced security features and more competent template handling to improved multilingual support and accessibility updates, version 1.43 brings practical changes that matter in day-to-day wiki operations. Whether managing documentation for a small team or running a knowledge base for a company or wiki community, these improvements make wiki management more efficient.

Ready to explore what's new? Jump to any section in the table of contents below to learn more about the features that interest you most!

Main MediaWiki 1.43 Improvements

New Tools and Features

Summary:
MediaWiki 1.43 introduces powerful tools like enhanced password reset security, smarter template cleanup, and better namespace management with “Special:NamespaceInfo”. These updates streamline workflows, improve security, and enhance user experience.

Why this matters:
These tools make it easier for wiki users and admins to manage content effectively, saving time and reducing the risk of errors, especially for large or complex wikis.

Strengthened Security for Password Resets in MediaWiki

MediaWiki now offers an extra layer of protection for password resets. Users can require a username and email address to trigger password reset emails in their preferences. This dual-verification approach reduces the risk of spam, username enumeration attacks, and unwanted resets. It’s a simple yet effective way to enhance security, particularly for wikis concerned with privacy or targeted attacks.

New “Special:TalkPage” – A Smarter Way to Link Discussion Pages

Linking to discussion pages became a whole lot easier. MediaWiki’s new “Special:TalkPage” utility makes namespace navigation effortless for everyone. This intelligent redirector seamlessly routes users to the correct discussion page, no matter the originating namespace.

For example, visiting “Special:TalkPage/PageName” redirects you to “Talk:PageName”, while “Special:TalkPage/Project:PageName” takes you to “Project_talk:PageName”. This simple feature solves a surprisingly tricky problem behind the scenes.

The real magic of “Special:TalkPage” lies in its benefits for template creators and tool developers. Previously, implementing logic to determine if a namespace had an associated talk page, and what its name would be, required considerable effort. Now, just point to “Special:TalkPage” with the target title, and MediaWiki does the heavy lifting.

Smarter Template Cleanup with New Magic Word

MediaWiki has made template maintenance easier and more efficient with the new __EXPECTUNUSEDTEMPLATE__ magic word, implemented as a behavior switch. This magic word allows editors to exclude specific templates from the list of unused templates on “Special:UnusedTemplates”, cutting down on noise and spotlighting genuinely abandoned templates.

This feature is ideal for template sandboxes, test cases in documentation, and substitution-only templates that aren’t directly used.

By adding __EXPECTUNUSEDTEMPLATE__ to a template, wiki gardeners can keep the list clean, making it easier to identify and manage unused templates. This enhancement streamlines workflows and improves tools for content curation while honoring valid use cases for templates.

Introducing “Special:NamespaceInfo” for Better Namespace Management

MediaWiki has rolled out “Special:NamespaceInfo”, a new special page designed to simplify namespace management. This page provides an organized table displaying essential details, including:

  • Namespace IDs and canonical names
  • Custom local names specific to your wiki
  • Descriptions of each namespace's purpose and characteristics
  • Configuration details like subpage support

This new special page is a handy reference for administrators and users. It centralizes information that you previously could only find by sifting through documentation or special pages.

“Special:NamespaceInfo” enhances site management tools, making technical details more accessible and manageable for everyone.

Temporary Accounts: Expanded Creation and Edit Insights

When the creation of temporary accounts on page save is turned on with configuration parameter $wgAutoCreateTempUser (disabled by default since it is still considered a beta feature), MediaWiki now creates temporary accounts for all edit attempts, including unsuccessful and null edits rather than just for successful edits.

For administrators, this means more complete logs and deeper insights into the edit patterns, even when no content changes occur. This change will significantly boost MediaWiki’s moderation capabilities and the understanding of its contributors. For more insights, have a look at the temporary accounts project page.

New Category Sorting Option on Pages

MediaWiki has introduced a new feature designed to give wiki communities more control over category sorting and better accommodate their diverse organizational needs. Wikis organize and display categories on pages in different ways, some treat categories as unordered sets, while others require a specific order. Until now, there hasn’t been a built-in solution to support both approaches.

This new feature allows wikis to customize how categories are sorted on pages, making it easier to adapt category organization to their preferences. Controlled by the $wgSortedCategories configuration parameter (defaulting to false and currently considered experimental), the feature enables the option to enforce alphabetical sorting of categories.

Improved Multilingual Support

Summary:
With features like the {{USERLANGUAGE}} magic word and smarter text direction handling, MediaWiki 1.43 simplifies multilingual content delivery, offering greater personalization and performance for diverse wiki communities.

Why this matters:
For wikis serving multilingual audiences, these updates improve the user experience by tailoring content to individual language preferences and ensuring smooth, accessible navigation across languages.

Enhancing Multilingual Wikis with New Magic Word

For multilingual wikis, delivering content tailored to each user’s language preference can significantly enhance the user experience. MediaWiki’s new configuration option, $wgParserEnableUserLanguage (turned off by default), empowers wikis by allowing the {{USERLANGUAGE}} magic word, implemented as a variable, to adapt dynamically based on the user’s preferred language.

This flexibility is a game-changer for wikis serving various language wiki communities, making it easier to provide personalized, accessible content. By default, the magic word reflects the page’s language, but enabling the new setting ensures that content aligns with individual user preferences.

However, this personalization comes with a trade-off: enabling the feature increases the burden on performance. Wikis focused on performance, likely large with a lot of traffic, may stick to the default setting, while those prioritizing a customized experience can adopt the feature with care.

Smarter Language Direction Handling in MediaWiki

MediaWiki continues to improve in multilingual support, and the introduction of two new parser functions, {{#dir}} and {{#bcp47}}, takes this even further by simplifying language direction and code management while improving performance.

  • {{#dir}} parser function: It intuitively detects text direction based on language or script codes. For example:
    • {{#dir:en}} outputs "ltr," while {{#dir:ar}} outputs "rtl".
    • It also handles script codes like {{#dir:Arab}} and complex cases like {{#dir:und-arab}} seamlessly, outputting "rtl" when appropriate.
  • {{#bcp47}} parser function: IT standardizes language code handling with full compliance to the so-called BCP47 standard, essential for multilingual wikis. For instance:
    • {{#bcp47:sr-ec}} transforms the input to "sr-Cyrl," indicating Serbian in Cyrillic script.
    • {{#bcp47:zh-yue}} simplifies the input to "yue", identifying Cantonese specifically.

These parser functions replace template-based solutions, significantly reducing server load, streamlining maintenance, and boosting overall performance.

By automating these processes, MediaWiki empowers editors to focus on creating content rather than managing technical complexities. Now, you can migrate or replace your templates using this new feature.

Enhanced Accessibility and Usability

Summary:
Accessibility improvements in MediaWiki 1.43 include refined color schemes, better image handling, and an updated search page for modern browsing. Usability enhancements, such as more apparent page protection indicators, further enhance user experience.

Why this matters:
These enhancements make wikis easier to use for everyone, including those with visual impairments or other accessibility needs, ensuring a more inclusive and enjoyable browsing experience.

Accessibility Boost with Enhanced Color Schemes

MediaWiki has introduced thoughtful updates to enhance accessibility and text readability, creating a more consistent and intuitive user experience. These updates introduce a range of improvements to improve functionality and aesthetics, ensuring better usability across all viewing modes and skins, including those without dark mode support. The key highlights include:

  • Enhanced Byte-Change Visibility in Diff Views: Updated background colors for byte-change numbers make reading and interpreting values easier, ensuring clarity across all themes and skins.
  • Refined Link Colors for Accessibility: Adjustments to text colors for links—covering states such as visited, hover, and active—improve contrast and readability, enhancing navigation across light and dark modes.
  • Refreshed Visual Design System: A harmonized color palette brings greater consistency and readability to the software, with improvements such as better contrast for dark-mode links, refined quiet button designs for a more streamlined appearance, clear differentiation for visited link states, and distinctive system message backgrounds to draw attention to essential notices.

These updates enhance the user experience by improving readability and accessibility and creating consistency across MediaWiki.

Improved Image Handling: WebP, Captions, and More Formats

MediaWiki fully supports WebP image metadata, extracting XMP and EXIF data alongside traditional formats. Wikis using the external images feature get support for modern formats like AVIF, SVG, and WebP, enhancing compatibility with web-optimized visuals. Additionally, captions retain intentional spacing, offering editors greater precision and control over their presentation.

Search Page Updated for a Modern Experience

MediaWiki’s search page got an upgrade. Further improvements may follow, switching from a table layout to a sleek CSS flexbox design. This isn’t just about aesthetics, it’s a big win for accessibility and usability. Screen readers now navigate search results more naturally, keyboard navigation feels smoother, and the page is far more responsive on mobile devices.

Clearer Visibility of Page Protection Status

The page protection status will be easier to identify in MediaWiki, thanks to a new feature controlled by the $wgEnableProtectionIndicators configuration parameter (disabled by default). This enhancement introduces visual protection indicators, such as lock icons at the top of protected pages, giving users a quick and intuitive clue about a page's protection.

  • Flexible Implementation: The lock icon can be customized based on page content, allowing wikis to display protection uniquely.
  • Customizable Styling: With a predictable ID system, wiki administrators can modify the icon's appearance via their “MediaWiki:Common.css” page, maintaining each wiki's visual identity.
  • Configurable Help Link: By default, the icon links to MediaWiki’s protection help page, but wikis can customize this link to align with their own policies using simple configurations.

Improved Headings for Better Accessibility

MediaWiki has updated its HTML for wikitext headings, improving navigation for screen reader users and aligning with modern web standards. A new configuration parameter, $wgParserEnableLegacyHeadingDOM, lets administrators enable the updated markup. Legacy behavior remains the default, but this will be changed in future releases. Skins must explicitly support the new structure to ensure compatibility.

Previously, screen readers read out interface elements like edit links as part of headings, creating cluttered navigation. The new markup eliminates these issues, offering cleaner, more accessible browsing.

Updates Affecting Technical Teams

MediaWiki 1.43 introduces only a few operational adjustments for those managing MediaWiki systems. System administrators should review the configuration updates outlined in the RELEASE NOTES to ensure their installations run smoothly.

This release also brings notable improvements for the development community. Software engineers and extension developers will benefit from the improved API and expanded evelopment tools that enhance their ability to create custom solutions. These updates support the development of more efficient and adaptable extensions, resulting in better-performing MediaWiki sites. For a detailed breakdown of all technical modifications, developers should reference the sections on new developer features, breaking changes, and deprecations within the RELEASE NOTES.

Upgrade Planning and Compatibility Insights

Before upgrading to MediaWiki 1.43, check your upgrade path, system requirements, and compatibility:

Essential Information for MediaWiki Upgrades

Upgrade Path Facts

  • Direct upgrade from MediaWiki 1.34 or earlier versions is not supported.
  • Upgrade to MediaWiki 1.35 before transitioning to MediaWiki 1.43 to prevent data loss.
  • MediaWiki 1.35 is the oldest version compatible with a direct upgrade to MediaWiki 1.43.

PHP Requirements

  • MediaWiki 1.43 maintains its minimum PHP requirement of version 8.1.x, continuing the shift introduced in MediaWiki 1.42 from the PHP 7.4.3 support seen in MediaWiki 1.35.
  • PHP 8.2.x and 8.3.x are also supported by MediaWiki 1.43. PHP 8.4.x is not.
  • The OpenSSL PHP extension must be installed on your system.

Upgrading from MediaWiki 1.39

If you’re using MediaWiki 1.39, it’s time to start thinking about your next move. Sure, support for 1.39 doesn’t end until December 2025, but that doesn’t mean you should put off your upgrade until the last minute. Moving to MediaWiki 1.43 now is the smart choice—and here’s why.

Why Make the Move to 1.43?

Beyond the latest security, performance and stability improvements, upgrading now means you'll also get all the features added in versions 1.40 through 1.42. Curious about what's in each version? We've covered all the highlights in our previous blog posts about MediaWiki 1.40, MediaWiki 1.41, and MediaWiki 1.42. Plus, you won't have to rush when support ends in December 2025. It's better to handle any hiccups now rather than under pressure later.

Check Your Extensions and Skins First

Before you upgrade, examine the extensions and skins you’re using closely. The bundled extensions and skins with MediaWiki will work fine in 1.43, but custom or third-party extensions and skins might not be ready. If you’ve built specific functionality around those, it’s vital to double-check their compatibility before upgrading.

Special Note: If you are using the Linter extension, take extra care when upgrading to 1.43. This release makes major changes to how the Linter extension stores its data in the database, so be sure to review the RELEASE NOTES for details to avoid any surprises during the upgrade.

Running an Older Version?

Don’t wait if you’re on a version older than 1.39. The need to upgrade is even more urgent. Old versions can open your wiki to security vulnerabilities and compatibility problems with newer tools and systems. 1.43 is the way to go if you want a system that’s reliable, secure, and ready for whatever comes next.

Start Planning Now

As always, we strongly recommend thoroughly testing the upgrade process in a staging environment before deploying it to production to identify and resolve potential issues with the software.

For comprehensive assistance on handling MediaWiki, check out our upgrade guide. It contains detailed instructions for installation and configuration.

Conclusion

Having spent time with MediaWiki 1.43, it's clear this isn't just another version bump. For wiki administrators who've wrestled with multilingual content issues or struggled to make their sites more accessible, this update delivers real solutions. The community's fingerprints are all over these improvements – from the way language direction handling has been simplified to the smart new protection indicators that even new users intuitively understand.

Sure, upgrading requires careful planning – especially if you're running custom extensions or coming from a pre-1.35 version. However, with three years of long-term support and a wealth of new features that address real-world challenges, version 1.43 is an upgrade worth making. Start evaluating your environment today to take advantage of the advancements that can make your platform more efficient, accessible, and secure. Whether you're managing documents for a small team or running a community platform with thousands of users, this release proves that MediaWiki is evolving to serve you.

MediaWiki hosting

Create your wiki instantly via ProWiki. Never worry about upgrades again. Get started immediately via the free trial, or contact us to migrate your existing wiki.

Participate

Comment and share on LinkedIn

Comment and retweet on Twitter

Comment and boost on Mastodon

Comment and upvote on Reddit

Like and repost on Bluesky

Comment and clap on Medium