MediaWiki 1.41 update

From Support Wiki
Jump to navigation Jump to search

wiki.gg is updating from MediaWiki version 1.39 to version 1.41 in June 2024.

Timeline

The update began on June 19 and should end during the week of June 23 at latest.

  1. We will temporarily pause creating, closing, and releasing wikis, and pause processing requests for extension and configuration changes.
  2. Commons Wiki will be updated.
  3. Official Terraria Wiki (due to its size) will be updated, including all its translations.
  4. All released wikis will be updated a few at a time, including all their translations, with some of the most-active wikis prioritized.
  5. All onboarding wikis will be updated a few at a time.

Shortly before an update starts on a wiki, we will set the wiki to read-only mode for the duration of the update. For most wikis, this will take 5–15 minutes, but larger wikis will take longer (our largest wikis can expect 1–2 hours of downtime).

The update will be considered complete when all wikis are running MediaWiki 1.41. At that point, we will resume creating, closing, and releasing wikis, and resume processing requests for extension and configuration changes.

Updates

  • June 22, only Warcraft remains to be upgraded.

Changes

The following list displays most of the changes and improvements that will come with the update, but it is not exhaustive.

Additionally, to expedite the update, some changes will be rolled out in the weeks after the update. These changes have been marked as "coming after 1.41".

JavaScript changes

  • ES6 can now be used in gadgets by specifying the option requiresES6 (e.g. * myGadget[ResourceLoader|requiresES6]|myGadget.js).
    • ES6 cannot be used in Common.js or other site JS yet. This will arrive with the 1.43 update.
  • jquery.tipsy has been removed.
  • jquery.cookie has been deprecated. Please switch to mediawiki.cookie instead.
  • Gadgets can be conditionally loaded based on namespace or content model.
  • Coming after 1.41: Gadgets will be able to be conditionally loaded based on categories.

CSS changes

  • mediawiki.ui has been deprecated. Gadgets may need to be updated.
  • Text for collapsible toggles now uses the .mw-collapsible-toggle-default .mw-collapsible-text selector; this will need to be styled on your wiki.
  • CSS variables, grid, and flex no longer display errors in the code editor.
  • Already live: The netbar now has a CSS variable associated with its height: --wikigg-header-height. Please incorporate this into your stylesheets instead of hardcoding 35px.
  • Coming after 1.41: We'll be taking a look at improving response times when updating theme CSS.

Content changes

  • JSON pages now use tabs instead of spaces for indentation. We will run a bot through the entire platform to perform the switch.
  • Local system messages load with saner priority now. For example, if you have an en override and no en-gb override, en-gb users will see the en version.
  • SVGs now load directly and are rendered by the browser, instead of showing a server-generated PNG render of the SVG.
  • aria-label is now an allowed HTML attribute.
  • Extension:VariablesLua is now enabled by default.
  • Coming after 1.41: Reliability of cross-wiki Lua, JS, and CSS requests will be significantly improved.

DOM changes

  • Some areas of the wiki (notably Special:CreateAccount and Special:UserLogin) now use MediaWiki's shiny new UI component library, Codex. These new components may need to be styled on your wiki.
  • PortableInfobox changes:
    • Images now link to file pages by default, instead of linking directly to the uploaded file.
    • Collapsible sections can now be collapsed on mobile.
    • Already live: Images can now be presented in horizontal groups.
  • Coming after 1.41: Handling of redlinks to user pages will be improved. Previously, in some scenarios, extensions were prevented from acting on user links.
  • Coming after 1.41: Image thumbnail HTML and default styling will be changed.
  • Coming after 1.41: Plain images (not thumbnails) will be wrapped in a <span> element.
  • Coming after 1.41: Sidebar CSS will be updated to use a .vector-legacy-sidebar class. This may require some selectors to be changed.
  • Coming after 1.41: #contentSub element's contents will be wrapped in an extra div.

Account & user changes

  • The minimum password length is now 8 characters.
  • The character = is no longer allowed in new usernames.
  • Some user rights have been renamed and new global staff groups have been added.
  • A new CAPTCHA system is in place that doesn't require solving math problems.
  • The "widget editor" group is no longer available to admins by default. If you require this right, please contact staff and explain your use case.

UX improvements

  • You can now search for specific preferences in Special:Preferences.
  • Source maps are now available for loaded CSS and JS (helpful in browser developer tools).
  • Special:MovePage now has a list of suggested reasons, similar to Special:Delete. You can edit this list on your wiki at MediaWiki:Movepage-reason-dropdown.
  • Anonymous users will now see "Sign up to edit" alongside "View source".
  • Diffs between page revisions can be now viewed inline instead of side-by-side. This may need to be styled on your wiki.
  • The wikitext editor now features a drag handle for vertical resizing.
  • Extension:TwoColConflict is now enabled by default, which should improve the edit conflict resolution experience.
  • Extension:TemplateSandbox is now enabled by default.
  • Extension:CharInsert is now enabled by default.
  • Extension:AdvancedSearch is now enabled by default. The user interface introduced by this extension can be disabled in Special:Preferences.
  • Extension:Thanks is now enabled by default.
  • Coming after 1.41: The bug with search suggestions not showing on Chromium-based browsers for Android while using certain virtual keyboards will be resolved.
  • Coming after 1.41: Cross-wiki notifications on live wikis (not onboarding) will display correctly.

Performance changes

  • Diffs between page revisions should be processed faster.
  • We are continuing our background work on improving server performance. We have no ETAs on any specific improvements, but this work will be ongoing.
  • Coming after 1.41: DPL performance when rendering results with a template should improve.

Admin tools

  • There is now a rate limit on purging pages. This was previously intended, but due to a bug in MediaWiki the limits were not enforced.
  • Extension:SearchDigest is now enabled by default.

SEO

  • Wikis now inform Google that they contain a search field, and what that search field looks like. We hope that this will lead to Google embedding a wiki's search in their result displays at least some of the time.

Other extension changes

See also