Help:Update to MediaWiki 1.37

MediaWiki™ is the software which runs all of the wiki components on Fandom communities. Following the implementation of the Unified Community Platform, all the Fandom and Gamepedia wikis live on the same platform running MediaWiki 1.33. Since 2020 our MediaWiki version hasn't changed, as Fandom focused their efforts on releasing a new design of the user interface, FandomDesktop and FandomMobile, as well as other important functionalities like Interactive Maps. In the meantime, the Wikimedia Foundation (which maintains MediaWiki) was releasing new versions of MediaWiki. Now, it's time to update our UCP again.

This upgrade won't change the design, so our wikis will keep the same look as they have now. Our engineers will make the needed changes to be sure that our admins won't need to do design adjustments. Most of the changes will happen under the hood, meaning they're not user-facing, but they will be important to ensure that everything is still working correctly.

Like we mentioned in previous blog posts about upgrading MediaWiki, this update will bring us new moderation and content features already available for other wikis using MediaWiki and will keep our platform up to date.

See more information about the upgrade process in this blog post.

Changes
The following list contains a summary of the most relevant changes for regular users and visitors. For a detailed list, see the official release notes.

Important notes for admins

 * CSS customizations should work as previously in 1.33. This upgrade hasn't introduced relevant changes in this area and our engineers have applied changes on their own to avoid moving this work to the admins.
 * After upgrading to 1.37, you won't be able to use predefined variables in JS. Use  instead. So instead of , you will have to use.

Security

 * SECURITY:  exposes the existence of hidden users.
 * SECURITY:  allows applying event handler to any CSS selector.
 * SECURITY: Allow blocked users to access.
 * SECURITY: Allow user to only apply protection they have right to do so via.
 * SECURITY: Fix permissions checks in undo actions.
 * SECURITY: Fix permissions check in.
 * SECURITY: Require  right for most actions.

Articles and editing

 * New watchlist feature: with this feature, you can optionally select to watch a page for a limited period of time. Once the watch period has expired, the page will be automatically removed from your watchlist.
 * The form at  has a new dropdown list to support expiry dates for watchlist items (if   is true).
 * Edit page expiry dropdown should keep state after disabling/enabling.
 * The generated table of contents is now a navigation landmark role for assistive technologies.
 * All HTML5 named entities are now accepted in wikitext.
 * Whitelisted the aria-hidden HTML attribute for all elements in wikitext.
 * Allow inserting new sections named '0'.
 * In history merging, pages with a content model that does not support redirects will now be recorded as deleted if no revision is being left in the source page (that's if all revisions of the page have been merged to another).
 * Add a link from a deleted page to that page's logs.

Files

 * The file description page's alternate sizes now include 2048px.
 * MediaWiki now supports JPEG2000 files, to a limited extent.

Special pages

 * For historically Gamepedia wikis:  has been added as a quick way for users to block unwanted emails from other users originating from.
 * has been created as a shortcut to creating a new section on a page. When linked to, its subpage is used as the target ( redirects to creating a new section in "Test"). Otherwise, it displays a basic interface to allow the end user to specify the target manually.
 * has been removed for performance and usefulness reasons. Use  instead.
 * has been removed for performance and usefulness reasons. Use  instead.
 * Fix display of  URL in password reset email.
 * : If a viewer lacks ' ', ignore hidden users.
 * : Show error if a block could not be inserted or found.
 * ,,  , and   have been created as shortcuts for each action.   redirects to  , with  ,  , and   corresponding to    ,  , and   respectively. When linked to, its subpage is used as the target. Otherwise, it displays a basic interface to allow the end user to specify the target manually.
 * Add watchlist clock icon to.
 * Fix bold of watched items on.

Permissions

 * user right - users without this right now cannot edit JS redirects in their userspace unless the target of the redirect is also in their userspace. By default, this right is given to everyone.
 * Prevent blocked users from purging pages.
 * New options that can be requested to the staff in your wikis:
 * - enables the new watchlist expiry feature.
 * - sets the chance of expired watchlist items being purged on each page edit.
 * - is the maximum definite relative duration for watchlist expires.

External libraries

 * Upgrade  from 3.4.1 to 3.6.0
 * Upgrade  from 3.1.0 to 3.3.2.
 * Upgrade  from 2.0.2 to 3.0.0.

Others

 * Don't include null page ids in query list for category dumps.
 * Add Edge to.
 * Make ApiSandbox copyable URL absolute.
 * Add a maintenance script to create bot passwords.
 * Accounts with the 'bot' right no longer have pages automatically added to the watchlist when making API edits, regardless of their preferences. This is to reduce the size of the watchlist data in the database. To add API bot edits to the watchlist, explicitly set the 'watch' option.
 * : fix missing pagetitle
 * Fix path for

Official release notes
For more information about the changes, check the official release notes:
 * 1.33 to 1.34
 * 1.34 to 1.35
 * 1.35 to 1.36
 * 1.36 to 1.37

Further help and feedback
de:Hilfe:Update auf MediaWiki 1.37 es:Ayuda:Actualización a MediaWiki 1.37 fr:Aide:Mise à jour vers MediaWiki 1.37 it:Aiuto:Aggiornamento a MediaWiki 1.37 tr:Yardım:MediaWiki 1.37'ye güncelleme uk:Довідка:Оновлення до MediaWiki 1.37 zh:Help:升级至MediaWiki 1.37