User:Daveh/Upgrade 1.38

Notes on upgrading MediaWiki from to 1.35 to 1.38.6.


 * Update config/Extensions.php with the upgrade info array.
 * Update all extensions with uesp-upgrademw.php
 * Copy DarkVector skin from 1.35.
 * Modify DarkVectorTemplate.php at the start to deal with the missing User::isWatched function (merge from the 1.39 branch....the full 1.39 skin doesn't work in 1.38).
 * Set $sfwikiIsDev = true; in config/InitializeSettings.php temporarily to run the update script. The update script doesn't permit unknown parameters anymore (unsure how to fix this).
 * Run the update: php74 ./maintenance/update.php.
 * Run composer in the extensions/CirrusSearch/ and extensions/Elastica directories like:

php74 /usr/local/bin/composer.phar update

Issues

 * Search Index Issue
 * Search index does not appear to be updating (might have been a prior issue).
 * Deprecation Warnings from EmbedVideo
 * Replace EmbedVideo.hooks.php with version from https://gitlab.com/jmnote/EmbedVideo/-/blob/master/EmbedVideo.hooks.php.
 * Class 'Wikimedia\CSS\Parser\Parser' not found from TemplateStyles
 * Run composer in the TemplateStyles extension:

php74 /download/composer.phar update --no-dev