UESPWiki:Wiki Upgrades/Wiki Upgrade 1.31

The UESPWiki – Your source for The Elder Scrolls since 1995

Notes on upgrading MediaWiki from 1.30 to 1.31.16.

Notes[edit]

  • CentOS Yum
  • yum software updates/installations may fail now that CentOS 7 is EOL.
  • Run the following to update the yum repo configs:
    sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
    sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
    sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
  • Skins
  • Both UespMonoBook and UespVector had changes needed in the paths to the normal MonoBook and Vector skins.
  • UespMonoBook had a rewrite of the UespMonoBookTemplate.php file in order to match the changes made to the MonoBook template.
  • Github Repo Updates
  • The following repos have been updated in accordance with this update:
  • Html tidy/linter
  • The linter has been changed in this update and is now more strict.
(T185753) MediaWiki now defaults to using RemexHtml to tidy up user input, rather than being off by default. If you wish to disable HTML tidying entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true.

Release Notes[edit]

  • ElasticSearch -- MediaWiki 1.31.x - 1.32.x require Elasticsearch 5.5.x - 5.6.x. Currently running 5.3.3 on search1.
  • $wgForceHTTPS -- Set to true in config.
  • $wgTidyConfig -- Now defaults to true/enabled.
  • Actor Schema -- Most wikis can set $wgActorTableSchemaMigrationStage to MIGRATION_NEW and run maintenance/migrateActors.php. This should happen automatically when you run update.php.
  • Revision Deprecation -- Revision class was deprecated in favor of RevisionStore, BlobStore, and RevisionRecord and its subclasses.
  • DO_MAINTENANCE -- Constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be used instead.

Files to Modify[edit]

Files from previous upgrade have been moved to UespCustomCode in order to avoid changing anything in the main wiki code. Uses runkit7 to override php functions.

References[edit]