Project:Wiki/Updates/1.30.1

Testing

 * Use wikitest site as staging area.
 * Update PHP to latest stable release.
 * Update base to MediaWiki 1.30.1.

Update high-level checklist

 * 1) Commit notification of planned downtime to infra-status site.
 * 2) * Add planned outage details under "Maintenance and outage notices" section of infra-status.
 * 3) Mark wiki as read-only during data migration and upgrade
 * 4) Take a data snapshot of the current wiki and move it to the new database cluster.
 * 5) Backup current htdocs, copy wiki images to wikitest, then copy wikitest htdocs to wiki.
 * 6) Bring puppet and wiki repositories up to latest revisions.
 * 7) Update plugins via composer:
 * 8) * Run
 * 9) * Run to update the schema
 * 10) Manual plugin updates:
 * 11) * Page forms (formerly Semantic forms)
 * 12) *# The old  Has default form::form-name  Syntax has been replaced by  . The following pages need updated by hand: - Done!
 * 13) *#* Category:Election
 * 14) *#* Category:Gentoo Infrastructure Servers
 * 15) *#* Category:Gentoo Staffing Needs
 * 16) *#* Category:Gentoo Developers
 * 17) *#* Category:Gentoo Projects
 * 18) When satisfied, release read-only or do a rollback.

Post update checklist
Upon success update:


 * 1) Reevaluate Login and Notifications on small screens.
 * 2) Flow extension seems fragile.
 * 3) * Evaluate if Flow can be enabled on more pages after experimenting more with Flow extension updates.
 * 4) * Flow has a nasty habit of hard-encoding the wiki id (which defaults to "DBSchema-DBPrefix") into its data. This means changes to the schema name or prefix is not possible if Flow data is to be preserved.
 * 5) Merge wiki accounts that have been on the todo list. - Done!

Rollback checklist
In the event of issues with the update, here are procedures to follow:


 * 1) Halt edits via marking thee database read-only.
 * 2) Move target back to old database.
 * 3) Move old script files back.
 * 4) Revert puppet changes and wiki repository checkouts.
 * 5) Update infra-status site with details.
 * 6) Resume edits.