Difference between revisions of "User:Iritscen/WikiFuture"

From OniGalore
Jump to: navigation, search
(+1.31; the death of the 2006 toolbar has been delayed but is still imminent)
(+1.34)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Below are any notable changes that we should look forward to, or watch out for, if upgrading MediaWiki (besides various security fixes). Source: https://www.mediawiki.org/wiki/Release_notes
 
Below are any notable changes that we should look forward to, or watch out for, if upgrading MediaWiki (besides various security fixes). Source: https://www.mediawiki.org/wiki/Release_notes
  
Oldest LTS version of MediaWiki: 1.27 (supported through June 2019). Source: https://www.mediawiki.org/wiki/Version_lifecycle
+
Oldest LTS version of MediaWiki: 1.31 (supported through June 2021). Source: https://www.mediawiki.org/wiki/Version_lifecycle
  
 
Current version on OniGalore: '''{{CURRENTVERSION}}'''
 
Current version on OniGalore: '''{{CURRENTVERSION}}'''
Line 10: Line 10:
  
 
==1.29==
 
==1.29==
:''These are the changes for future versions of 1.29 after 1.29.0. I have checked the release notes through 1.29.2.''
+
:''These are the changes for future versions of 1.29 after 1.29.0. I have checked the release notes through 1.29.3.''
 
*(1.29.1) Vector (the extension) was accidentally included in the 1.29.0 release, but is not bundled from 1.29.1 onward. Since the extension is supposed to have been folded into the skin, I don't think this will affect us, but I'm leaving a note here as a reminder just in case something breaks when we update past 1.29.0.
 
*(1.29.1) Vector (the extension) was accidentally included in the 1.29.0 release, but is not bundled from 1.29.1 onward. Since the extension is supposed to have been folded into the skin, I don't think this will affect us, but I'm leaving a note here as a reminder just in case something breaks when we update past 1.29.0.
 +
*(1.29.2) The CLI installer (maintenance/install.php) learned to detect and include extensions. Pass --with-extensions to enable that feature.
 +
*(1.29.2) Add default edit rate limit of 90 edits/minute for all users.
 +
*(1.29.2) Add 'logid' parameter to Special:Log.
  
 
==1.30==
 
==1.30==
:''I have checked the release notes through 1.30.0.''
+
:''I have checked the release notes through 1.30.2.''
 
*Browsers that don't support Unicode will have their edits rejected.
 
*Browsers that don't support Unicode will have their edits rejected.
 
*Removed 'jquery.mwExtension' module.
 
*Removed 'jquery.mwExtension' module.
Line 25: Line 28:
  
 
==1.31==
 
==1.31==
:''I have checked the release notes through 1.31.0.''
+
:''I have checked the release notes through 1.31.7.''
 
*Note: If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply schema changes, and cannot have downtime to run migrateArchiveText.php and apply patch-drop-ar_text.sql manually, you'll have to apply a default value to the ar_text and ar_flags columns of the archive table or make those columns nullable before upgrading to MediaWiki 1.31. maintenance/archives/patch-nullable-ar_text.sql shows how to do this for MySQL.
 
*Note: If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply schema changes, and cannot have downtime to run migrateArchiveText.php and apply patch-drop-ar_text.sql manually, you'll have to apply a default value to the ar_text and ar_flags columns of the archive table or make those columns nullable before upgrading to MediaWiki 1.31. maintenance/archives/patch-nullable-ar_text.sql shows how to do this for MySQL.
 +
*Update required PHP version to 7.0.13.
 
*Automatic trimming of unnecessary whitespace from wikitext.
 
*Automatic trimming of unnecessary whitespace from wikitext.
 
*Methods that alter ParserOutput directly are deprecated. Callers should use the new stateless $options parameter to ParserOutput::getText() instead.
 
*Methods that alter ParserOutput directly are deprecated. Callers should use the new stateless $options parameter to ParserOutput::getText() instead.
Line 36: Line 40:
 
*Added default edit rate limit of 90 edits/minute for all users.
 
*Added default edit rate limit of 90 edits/minute for all users.
 
*Make $wgEmailConfirmToEdit only affect edit actions.
 
*Make $wgEmailConfirmToEdit only affect edit actions.
 +
*Various PHP 7.2 and 7.3 compatibility fixes.
 +
*Completion search no longer changes the search query.
 +
*Rate-limit and prevent blocked users from changing email.
 +
*Cache redirects from Special:Redirect.
 +
*Add the MW_VERSION constant; global $wgVersion is soft deprecated.
  
==Upcoming==
+
==1.32==
*'''Warning: MW developers are [[mw:Editor|currently planning]] to remove support for the 2006 editing toolbar soon'''. This is the one we're currently using! This change will break [[XEB]], and the editing UX doesn't get any better with the 2010 toolbar (it gets even worse with the 2017 wikitext beta...), so we need to think carefully before upgrading. The classic 2006 toolbar may become available as a third-party gadget, but will it be customizable or would we have to rewrite our own toolbar from scratch?
+
:''I have checked the release notes through 1.32.6.''
 +
*'''Our current "bulletin board style toolbar", known as "the 2006 wikitext editor", has been removed, and instead sysadmins will be required to choose one (or more) of the several extensions available for this purpose if they need the functionality. The MediaWiki "tarball" releases include the replacement extension for this, the WikiEditor extension.'''
 +
*New variable $wgJpegQuality for setting the quality of JPEG thumbnails. The default is 80, which matches the quality of JPEG thumbnails previously generated by ImageMagick. The quality of JPEG thumbnails generated by GD was previously 95, but now uses the $wgJpegQuality setting as well.
 +
*A new user group, 'interface-admin', is added for controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs' by default.
 +
 
 +
==1.33==
 +
:''I have checked the release notes through 1.33.3.''
 +
*<code><nowiki>__EXPECTUNUSEDCATEGORY__</nowiki></code> on a category page causes the category to be hidden on [[Special:UnusedCategories]]. Can this be used on Category:Contents?
 +
 
 +
==1.34==
 +
:''I have checked the release notes through 1.34.1.''
 +
*Special:Mute has been added as a quick way for users to block unwanted emails from other users originating from Special:EmailUser.
 +
*Special:NewSection has been created as a shortcut to creating a new section on a page.
 +
*$wgServer must now always be set in LocalSettings.php. This is most likely the case already for any wiki installed after 1.18. Older wikis may need to update their LocalSettings.php file.
 +
*$wgDiffEngine can be used to specify which difference engine to use. MediaWiki continues to default to automatically choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is usable.
 +
*Add the MW_VERSION constant; global $wgVersion is soft deprecated.
  
 
[[Category:Userspace]]
 
[[Category:Userspace]]

Latest revision as of 02:07, 27 March 2020

Below are any notable changes that we should look forward to, or watch out for, if upgrading MediaWiki (besides various security fixes). Source: https://www.mediawiki.org/wiki/Release_notes

Oldest LTS version of MediaWiki: 1.31 (supported through June 2021). Source: https://www.mediawiki.org/wiki/Version_lifecycle

Current version on OniGalore: 1.29.0

You can browse each version of the MW code here: https://phabricator.wikimedia.org/source/mediawiki/branches/master/

1.29

These are the changes for future versions of 1.29 after 1.29.0. I have checked the release notes through 1.29.3.
  • (1.29.1) Vector (the extension) was accidentally included in the 1.29.0 release, but is not bundled from 1.29.1 onward. Since the extension is supposed to have been folded into the skin, I don't think this will affect us, but I'm leaving a note here as a reminder just in case something breaks when we update past 1.29.0.
  • (1.29.2) The CLI installer (maintenance/install.php) learned to detect and include extensions. Pass --with-extensions to enable that feature.
  • (1.29.2) Add default edit rate limit of 90 edits/minute for all users.
  • (1.29.2) Add 'logid' parameter to Special:Log.

1.30

I have checked the release notes through 1.30.2.
  • Browsers that don't support Unicode will have their edits rejected.
  • Removed 'jquery.mwExtension' module.
  • mw.user.bucket (deprecated in 1.23) was removed.
  • Added ability for users to prohibit other users from sending them emails with Special:Emailuser. Can be enabled by setting $wgEnableUserEmailBlacklist to true.
  • Edit summaries, block reasons, and other "comments" are now stored in a separate database table.
  • Added JS config values wgDiffOldId/wgDiffNewId to the output of diff pages.
  • Added ability to search for contributions within an IP range at Special:Contributions.
  • $wgOOUIEditPage was removed, as it is now the default. This was an opt-out variable for the new, "pretty" buttons and checkboxes at the bottom of the edit form, not anything to do with the toolbar.

1.31

I have checked the release notes through 1.31.7.
  • Note: If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply schema changes, and cannot have downtime to run migrateArchiveText.php and apply patch-drop-ar_text.sql manually, you'll have to apply a default value to the ar_text and ar_flags columns of the archive table or make those columns nullable before upgrading to MediaWiki 1.31. maintenance/archives/patch-nullable-ar_text.sql shows how to do this for MySQL.
  • Update required PHP version to 7.0.13.
  • Automatic trimming of unnecessary whitespace from wikitext.
  • Methods that alter ParserOutput directly are deprecated. Callers should use the new stateless $options parameter to ParserOutput::getText() instead.
  • The global function wfOutputHandler() was removed; use its replacement MediaWiki\OutputHandler::handle() instead.
  • The following variables and methods in EditPage, deprecated in MediaWiki 1.30, were removed: $isCssJsSubpage, $isCssSubpage, $isJsSubpage, $isWrongCaseCssJsPage.
  • The mw.page JavaScript singleton, deprecated in 1.30, was removed.
  • Added support for .json user subpages in addition to .css and .js, intended for saving configuration options.
  • The 'comma' value for $wgArticleCountMethod is no longer supported for performance reasons, and installations with this setting will now work as if it was configured with 'any'. Note that we are currently using the 'comma' option, but it appears that 'any' will return the same result, as it counts all pages that are not redirects.
  • Added default edit rate limit of 90 edits/minute for all users.
  • Make $wgEmailConfirmToEdit only affect edit actions.
  • Various PHP 7.2 and 7.3 compatibility fixes.
  • Completion search no longer changes the search query.
  • Rate-limit and prevent blocked users from changing email.
  • Cache redirects from Special:Redirect.
  • Add the MW_VERSION constant; global $wgVersion is soft deprecated.

1.32

I have checked the release notes through 1.32.6.
  • Our current "bulletin board style toolbar", known as "the 2006 wikitext editor", has been removed, and instead sysadmins will be required to choose one (or more) of the several extensions available for this purpose if they need the functionality. The MediaWiki "tarball" releases include the replacement extension for this, the WikiEditor extension.
  • New variable $wgJpegQuality for setting the quality of JPEG thumbnails. The default is 80, which matches the quality of JPEG thumbnails previously generated by ImageMagick. The quality of JPEG thumbnails generated by GD was previously 95, but now uses the $wgJpegQuality setting as well.
  • A new user group, 'interface-admin', is added for controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs' by default.

1.33

I have checked the release notes through 1.33.3.
  • __EXPECTUNUSEDCATEGORY__ on a category page causes the category to be hidden on Special:UnusedCategories. Can this be used on Category:Contents?

1.34

I have checked the release notes through 1.34.1.
  • Special:Mute has been added as a quick way for users to block unwanted emails from other users originating from Special:EmailUser.
  • Special:NewSection has been created as a shortcut to creating a new section on a page.
  • $wgServer must now always be set in LocalSettings.php. This is most likely the case already for any wiki installed after 1.18. Older wikis may need to update their LocalSettings.php file.
  • $wgDiffEngine can be used to specify which difference engine to use. MediaWiki continues to default to automatically choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is usable.
  • Add the MW_VERSION constant; global $wgVersion is soft deprecated.