Mediawiki 1.43: Difference between revisions

From Freephile Wiki
Describe the Linter case as extension related - not core.
No edit summary
Line 7: Line 7:
* The OpenSSL PHP extension is required.
* The OpenSSL PHP extension is required.
* If you use the [[mediawikiwiki:Extension:Linter|Linter extension]] (which helps you to avoid syntax problems in your wikitext) pay special attention: while <code>update.php</code> will handle updates to the Linter database table with two migration scripts, they can take a long time to run. To avoid downtime, you ''can'' run the scripts independent of the code upgrade - but if you want to do that then you must already be running (upgrade first to) v1.42.
* If you use the [[mediawikiwiki:Extension:Linter|Linter extension]] (which helps you to avoid syntax problems in your wikitext) pay special attention: while <code>update.php</code> will handle updates to the Linter database table with two migration scripts, they can take a long time to run. To avoid downtime, you ''can'' run the scripts independent of the code upgrade - but if you want to do that then you must already be running (upgrade first to) v1.42.
== Upgrade notes for 1.40 ==
See ProWiki's write-up at https://www.pro.wiki/articles/mediawiki-140-is-new and the on-wiki [[mediawikiwiki:Release_notes/1.40|Release notes for 1.40]] for full details.
The [[mediawikiwiki:Extension:Renameuser|Renameuser extension]] is now merged into core - so it must be removed if you use it in REL1_39
There are newly bundled extensions: [[mw:Extension:Echo|Echo]], [[mw:Extension:DiscussionTools|DiscussionTools]], [[mw:Extension:Linter|Linter]], [[mw:Extension:LoginNotify|LoginNotify]], and [[mw:Extension:Thanks|Thanks]].
Maintenance scripts are now called through <code>maintenance/run.php</code> e.g. <code>maintenance/run.php update</code> not <code>maintenance/update.php</code>
Configure your webserver to emit the HTTP header <code>X-Content-Type-Options: nosniff</code> for your wiki's <code>/images</code> directory.
=== New user-facing features in 1.40 ===
* [[Special:Search]] can now show thumbnails for results for titles outside <tt>NS_FILE</tt>. This is controlled via the new onSearchResultProvideThumbnail hook.
* A new preference ('search-thumbnail-extra-namespaces') to allow users to control whether to show more thumbnails (per {{wg|ThumbnailNamespaces}})
* ({{PhabT|324910}}) On pages using multi-content revisions, the raw content of a specific slot can be retrieved using the action=raw&slot=<role-name> query  parameters.
* ({{PhabT|313804}}) The preferences page now provides a search bar to find preferences, regardless of the tab on which they appear.


[[Category:MediaWiki]]
[[Category:MediaWiki]]

Revision as of 22:58, 2 January 2025

MediaWiki 1.43 is the new Long-Term Support (LTS) version of MediaWiki. The 1.43.0 stable release was tagged on 21 December 2024.

Karsten Hoffmeyer of ProWiki wrote a good summary about key features and changes. For full details see the Release notes on-wiki or the raw text version in the RELEASE-NOTES-1.43 file in the source code.

Upgrade requirement notes[edit]

  • The OpenSSL PHP extension is required.
  • If you use the Linter extension (which helps you to avoid syntax problems in your wikitext) pay special attention: while update.php will handle updates to the Linter database table with two migration scripts, they can take a long time to run. To avoid downtime, you can run the scripts independent of the code upgrade - but if you want to do that then you must already be running (upgrade first to) v1.42.

Upgrade notes for 1.40[edit]

See ProWiki's write-up at https://www.pro.wiki/articles/mediawiki-140-is-new and the on-wiki Release notes for 1.40 for full details.

The Renameuser extension is now merged into core - so it must be removed if you use it in REL1_39

There are newly bundled extensions: Echo, DiscussionTools, Linter, LoginNotify, and Thanks.

Maintenance scripts are now called through maintenance/run.php e.g. maintenance/run.php update not maintenance/update.php

Configure your webserver to emit the HTTP header X-Content-Type-Options: nosniff for your wiki's /images directory.

New user-facing features in 1.40[edit]

  • Special:Search can now show thumbnails for results for titles outside NS_FILE. This is controlled via the new onSearchResultProvideThumbnail hook.
  • A new preference ('search-thumbnail-extra-namespaces') to allow users to control whether to show more thumbnails (per $wgThumbnailNamespaces)
  • (Template:PhabT) On pages using multi-content revisions, the raw content of a specific slot can be retrieved using the action=raw&slot=<role-name> query parameters.
  • (Template:PhabT) The preferences page now provides a search bar to find preferences, regardless of the tab on which they appear.