User:Iritscen/WikiFuture: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(ton of notable changes in 1.22)
(updated notes for 1.39, 1.40 and added 1.41)
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
''Last updated when our current installation was at version 1.19.2.''
Below are any notable changes that we should look forward to, or watch out for, if upgrading MediaWiki (as well as significant security fixes). [[mw:Release notes|(Source)]]


Below are any notable changes that we should look forward to, or watch out for, if upgrading MediaWiki.
Oldest maintained LTS version of MediaWiki: 1.39 (supported through November 2025).<br>
Latest LTS version of MediaWiki: 1.39 (supported through November 2025). [[mw:Version lifecycle|(Source)]]


==Future 1.19 versions==
Current version on OniGalore: '''{{CURRENTVERSION}}'''
No notable feature changes, but security fixes are available up to 1.19.15.


==1.20==
You can browse each version of the MW code [https://phabricator.wikimedia.org/source/mediawiki/branches/master/ HERE].
*1.20 has several database changes since 1.19, and will not work without schema updates.
*Minimum PHP version is now 5.3.2, minimum SQL version is now MySQL 5.0.2, PostgreSQL 8.3, SQLite 3.3.7.
*Improved diff view (but we have already back-ported this into our Vector.css).
*New special page Special:MostInterwikis.
*Live preview functionality has been improved.
*"Show" options on Special:RecentChanges and Special:RecentChangesLinked are now remembered between successive clicks.
*Sanitizer::fixDeprecatedAttributes should convert "align" attribute to margin or float instead of text-align (for non-table-cells).
*Removed white border around thumbnails in galleries.
*Section edit and TOC hide/show links are excluded from selection and copy/paste on supporting browsers.
*Allow importing pages as subpage.
*Allow PAGESINCATEGORY to distinguish between 'all', 'pages', 'files' and 'subcats'.
*Option on Special:Prefixindex and Special:Allpages to not show redirects.
*The user right 'upload_by_url' is no longer given to sysops by default. This only affects installations which have $wgAllowCopyUploads set to true.


==1.21==
{{TOCnonum}}
*1.21 has several database changes since 1.20, and will not work without schema updates.
*Same requirements as above.
*BREAKING CHANGE: Filenames of maintenance scripts were standardized into lowerCamelCase format, and made more explicit.
*The username field is not pre-filled when creating an account.
*removeUnusedAccounts.php maintenance script now ignores newuser log when determining whether an account is used (there's a removeUnusedAccounts script?!).
*In the sidebar of Vector, CologneBlue, Monobook, and Monobook-based skins, the heading levels have been changed from (variously per skin) <nowiki><h4></nowiki>, <nowiki><h5></nowiki> or <nowiki><h6></nowiki> to only <nowiki><h3></nowiki>s, with a <nowiki><h2></nowiki> hidden heading above them. If you are styling or scripting the headings in a custom way, this change will require updates to your site's CSS or JS.
*Update filename field on Upload page after having sanitized it.
*Diffs while editing an old revision should again diff against the current revision.
*SpecialDoubleRedirect should support interwiki redirects.
*fixDoubleRedirects.php should support interwiki redirects.
*SpecialBrokenRedirect should not list interwiki redirects.
*Hide rollback link if a user is the only contributor of the page.
*The HTML5 <mark> tag has been whitelisted (this is for highlighting text).
*$wgVectorUseSimpleSearch is now enabled by default.


==1.22==
==1.39==
*1.22 has several database changes since 1.21, and will not work without schema updates.
:''I have checked the release notes through 1.39.6.''
*Same requirements as above.
*We are currently on the latest version of 1.39.
*Code specific to the Math extension was marked as deprecated.
*The collapsibleNav feature from the Vector extension has been moved to the Vector skin in core.
*Methods Title::userCanEditCssSubpage and Title::userCanEditJsSubpage, deprecated since 1.19, have been removed.
*MediaWiki will now flash a confirmation message upon successfully editing a page.
*A new Special:Redirect page was added, providing lookup by revision ID, user ID, or file name. The old Special:Filepath page was reimplemented to redirect through Special:Redirect.
*Event namespace used by jquery.makeCollapsible has been changed from 'mw-collapse' to 'mw-collapsible' for consistency with the module name.
*Converted the table of contents on wiki pages from <table> to <div> and adjusted skin CSS accordingly. The CSS was carefully crafted to be backwards-compatible in all reasonable cases (uses of the <nowiki>__TOC__</nowiki> magic word, the #toc CSS id and the .toc CSS class). However, particularly bad abuse of the id or the class can possibly break.
*Broken files tracking category removed from pages if an image with that name is uploaded.
*portal-url, currentevents-url and helppage have been removed from the default Sidebar.
*The 'edit' right no longer allows for editing a user's own CSS and JS.
*New rights 'editmyusercss', 'editmyuserjs', 'viewmywatchlist', 'editmywatchlist', 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' restrict actions that were formerly allowed by default. They have been added to the default for $wgGroupPermissions['*'].
*The 'editprotected' right no longer allows bypassing of all page protection restrictions. Any group using it for this purpose will now need to have all the individual rights listed in $wgRestrictionTypes for the same effect.
*Special:ListFiles can now show old versions of files. Additionally Special:AllMyUploads was introduced so the user can get a list of all things they have ever uploaded, even if it was subsequently overriden.
*Add a mode parameter to <nowiki><gallery></nowiki> tag with potential options of "traditional", "nolines", "packed", "packed-overlay", or "packed-hover".
*<wbr> can now be used inside WikiText.
*Special:PrefixIndex now lets you strip the searched prefix from the displayed titles. Given a list of articles named Bug1, Bug2, you can now transclude the list of bug numbers using: <nowiki>{{Special:PrefixIndex/Bug|stripprefix=1}}</nowiki>. The special page form received a new checkbox matching that option.
*New user rights have been added to increase granularity in rights management for extensions such as OAuth:
:*editmyusercss controls whether a user may edit their own CSS subpages.
:*editmyuserjs controls whether a user may edit their own JS subpages.
:*viewmywatchlist controls whether a user may view their watchlist.
:*editmywatchlist controls whether a user may edit their watchlist.
:*viewmyprivateinfo controls whether a user may access their private information (e.g. registered email address, real name).
:*editmyprivateinfo controls whether a user may change their private information.
:*editmyoptions controls whether a user may change their preferences.
*The lists of templates used on the page and hidden categories it is a member of, shown below the edit form, are now collapsible (and collapsed by default).
*<nowiki>{{ROOTPAGENAME}}</nowiki> introduced, contains the name of the topmost page without namespace.
*New versions of login (Special:UserLogin) and create account (Special:UserLogin/signup) forms using the "vform" compact vertical form layout. These forms use new messages that assume a "Help logging in" link, see https://www.mediawiki.org/wiki/Manual:Page_customizations; https://www.mediawiki.org/wiki/Account_creation_user_experience/Strings lists the message key changes.
*EditWarning: A warning is shown when an editor leaves the edit form without saving (enabled by default, users can opt-out via the 'useeditwarning' preference). This feature was moved from the Vector extension, and is now part of core for all skins. Take care when upgrading that you don't use an older version of the Vector extension as this feature may conflict.
*wikibits: Drop support for mwCustomEditButtons. It defaults to an empty array and emits mw.log.warn when accessed.
*Legacy skins Simple, MySkin, Chick, Standard and Nostalgia were all removed.


===Latest:1.22.4===
==1.40==
*Various security updates
:''I have checked the release notes through 1.40.2.''
*Reintroduced a link to help pages in the default sidebar, that any sysop can customize by editing MediaWiki:Sidebar locally. The link now points to a mediawiki.org page which is guaranteed to exist. Nothing needs to be done on your end, but remember to adjust MediaWiki:Sidebar for the needs of your wikis. Everyone can help with the shared documentation by translating: https://www.mediawiki.org/wiki/Special:Translate/agg-Help_pages .
*'''Requires PHP 7.4.3+ and the PHP extensions ctype, dom, fileinfo, iconv, intl, json, mbstring, xml.'''
*Corrected a regression in 1.22 which introduced red links on the login page. If you previously installed 1.22.x and have created a local page to make the red link blue, write its title as in MediaWiki:helplogin-url if you didn't already. Otherwise, you don't need to do anything, but you can translate the help page at https://www.mediawiki.org/wiki/Help:Logging_in .
*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)
*The preferences page now provides a search bar to find preferences, regardless of the tab on which they appear.
*$wgPasswordPolicies – This setting, which controls what makes for a valid password for wiki accounts, has been adjusted to raise the minimal password length from 1 to 8 characters. The initial limit of 1 has been in place since MediaWiki 1.26. If you wish to allow shorter passwords, you can over-ride it in your LocalSettings following the guidance on MediaWiki.org.
*You should configure your webserver to return the http header 'X-Content-Type-Options: nosniff' for the /images directory. This will instruct browsers to not apply content sniffing when accessing the files. MediaWiki before 1.40 shipped with a content sniffer which disallowed potentially dangerous files at upload time, but this protection has now been removed in favor of this 'X-Content-Type-Options: nosniff' header and the installer will return a warning when it is not in place.
*Maintenance scripts should now be executed using maintenance/run.php, e.g. maintenance/run.php update not maintenance/update.php as before.
*Five extensions have now been bundled with MediaWiki:
**The [[mw:Extension:DiscussionTools|DiscussionTools]] extension, which provides a forum-like editing experience for wikitext-based discussion pages. This is the dreaded new "forum-like" experience for talk pages that I don't think any of us will want. It seems like it will be on by default so we'll have to change $wgDiscussionToolsEnable to false. Hopefully it doesn't do anything to mess with talk pages immediately upon install.
**The [[mw:Extension:Echo|Echo]] extension, which provides a system of user notifications.
**The [[mw:Extension:Linter|Linter]] extension, which warns about use of deprecated wikitext.
**The [[mw:Extension:LoginNotify|LoginNotify]] extension, which warns users about failed attempted logins.
**The [[mw:Extension:Thanks|Thanks]] extension, which lets users thank editors for edits.
*The Renameuser extension has been moved to MediaWiki core. It is now possible to rename users without installing an extension. The extension had already been bundled with MediaWiki since 1.18.
 
==1.41==
*'''Requires PHP 7.4.3+ and the PHP extensions ctype, dom, fileinfo, iconv, intl, json, mbstring, xml.'''
*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.
*Some interesting new configuration variables:
**$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.


[[Category:Userspace]]
[[Category:Userspace]]

Latest revision as of 02:43, 7 January 2024

Below are any notable changes that we should look forward to, or watch out for, if upgrading MediaWiki (as well as significant security fixes). (Source)

Oldest maintained LTS version of MediaWiki: 1.39 (supported through November 2025).
Latest LTS version of MediaWiki: 1.39 (supported through November 2025). (Source)

Current version on OniGalore: 1.39.6

You can browse each version of the MW code HERE.

1.39

I have checked the release notes through 1.39.6.
  • We are currently on the latest version of 1.39.

1.40

I have checked the release notes through 1.40.2.
  • Requires PHP 7.4.3+ and the PHP extensions ctype, dom, fileinfo, iconv, intl, json, mbstring, xml.
  • 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)
  • The preferences page now provides a search bar to find preferences, regardless of the tab on which they appear.
  • $wgPasswordPolicies – This setting, which controls what makes for a valid password for wiki accounts, has been adjusted to raise the minimal password length from 1 to 8 characters. The initial limit of 1 has been in place since MediaWiki 1.26. If you wish to allow shorter passwords, you can over-ride it in your LocalSettings following the guidance on MediaWiki.org.
  • You should configure your webserver to return the http header 'X-Content-Type-Options: nosniff' for the /images directory. This will instruct browsers to not apply content sniffing when accessing the files. MediaWiki before 1.40 shipped with a content sniffer which disallowed potentially dangerous files at upload time, but this protection has now been removed in favor of this 'X-Content-Type-Options: nosniff' header and the installer will return a warning when it is not in place.
  • Maintenance scripts should now be executed using maintenance/run.php, e.g. maintenance/run.php update not maintenance/update.php as before.
  • Five extensions have now been bundled with MediaWiki:
    • The DiscussionTools extension, which provides a forum-like editing experience for wikitext-based discussion pages. This is the dreaded new "forum-like" experience for talk pages that I don't think any of us will want. It seems like it will be on by default so we'll have to change $wgDiscussionToolsEnable to false. Hopefully it doesn't do anything to mess with talk pages immediately upon install.
    • The Echo extension, which provides a system of user notifications.
    • The Linter extension, which warns about use of deprecated wikitext.
    • The LoginNotify extension, which warns users about failed attempted logins.
    • The Thanks extension, which lets users thank editors for edits.
  • The Renameuser extension has been moved to MediaWiki core. It is now possible to rename users without installing an extension. The extension had already been bundled with MediaWiki since 1.18.

1.41

  • Requires PHP 7.4.3+ and the PHP extensions ctype, dom, fileinfo, iconv, intl, json, mbstring, xml.
  • 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.
  • Some interesting new configuration variables:
    • $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.