Page MenuHomePhabricator

Drop unsupported upgrade patch files and logic
Closed, ResolvedPublic

Description

The RFC (T259771: RFC: Drop support for older database upgrades) has been approved and the patch to implement it has been merged. All these patch files, and associated logic, supporting versions upgrade upto 1.27 can now be removed

  • 1.2
  • 1.3
  • 1.4
  • 1.5
  • 1.6
  • 1.7
  • 1.8
  • 1.9
  • 1.10
  • 1.11
  • 1.12
  • 1.13
  • 1.14
  • 1.15
  • 1.16
  • 1.17
  • 1.18
  • 1.19
  • 1.20
  • 1.21
  • 1.22
  • 1.23
  • 1.24
  • 1.25
  • 1.26
  • 1.27

Additionally, these helper methods will also be dropped without deprecation. They're (all?) protected and are not supposed to be used outside their classes

  • MysqlUpdater::doInterwikiUpdate (1.2) (see T273080)
  • MysqlUpdater::doOldLinksUpdate (1.3)
  • MysqlUpdater::doFixAncientImagelinks (1.3)
  • MysqlUpdater::doWatchlistUpdate (1.4)
  • MysqlUpdater::doSchemaRestructuring (1.5)
  • MysqlUpdater::doNamespaceSize (1.5)
  • MysqlUpdater::doPagelinksUpdate (1.5)
  • MysqlUpdater::doUserUniqueUpdate (1.5)
  • MysqlUpdater::doUserGroupsUpdate (1.5)
  • MysqlUpdater::doWatchlistNull (1.6)
  • MysqlUpdater::doPageRandomUpdate (1.6)
  • MysqlUpdater::doTemplatelinksUpdate (1.6)
  • MysqlUpdater::doBacklinkingIndicesUpdate (1.9)
  • MysqlUpdater::doRestrictionsUpdate (1.10)
  • MysqlUpdater::doCategorylinksIndicesUpdate (1.11)
  • MysqlUpdater::doCategoryPopulation (1.13)
  • MysqlUpdater::doPopulateParentId (1.13)
  • MysqlUpdater::doFilearchiveIndicesUpdate (1.13)
  • MysqlUpdater::doUpdateMimeMinorField (1.16)
  • MysqlUpdater::doClFieldsUpdate (1.17)
  • MysqlUpdater::doUserNewTalkTimestampNotNull (1.18)
  • MysqlUpdater::doIwlinksIndexNonUnique (1.22)
  • MysqlUpdater::doExtendCommentLengths (1.25)
  • SqliteUpdater::sqliteInitialIndexes (1.14)
  • SqliteUpdater::sqliteSetupSearchindex (1.16)
  • PostgresUpdater::convertArchive2
  • PostgresUpdater::checkOiDeleted
  • PostgresUpdater::checkOiNameConstraint
  • PostgresUpdater::addInterwikiType (r81574)
  • PostgresUpdater::tsearchFixes
  • PostgresUpdater::changeFieldPurgeTable (1.23)
    • Not deleted, general helper function.
  • PostgresUpdater::rebuildTextSearch (1.23.9)
  • DatabaseUpdater::doLogUsertextPopulation
  • DatabaseUpdater::doActiveUsersInit
  • DatabaseUpdater::doLogSearchPopulation
  • DatabaseUpdater::doMigrateUserOptions
  • DatabaseUpdater::doCollationUpdate
    • Should not be deleted

Details

SubjectRepoBranchLines +/-
mediawiki/coremaster+0 -74
mediawiki/coremaster+11 -12
mediawiki/coremaster+0 -6
mediawiki/coremaster+0 -8
mediawiki/coremaster+0 -20
mediawiki/coremaster+0 -18
mediawiki/coremaster+0 -3
mediawiki/coremaster+0 -318
mediawiki/coremaster+1 -99
mediawiki/coremaster+0 -95
mediawiki/coremaster+0 -53
mediawiki/coremaster+0 -23
mediawiki/coremaster+0 -114
mediawiki/coremaster+0 -210
mediawiki/coremaster+0 -139
mediawiki/coremaster+0 -17
mediawiki/coremaster+0 -316
mediawiki/coremaster+0 -26
mediawiki/coremaster+0 -26
mediawiki/coremaster+0 -25
mediawiki/coremaster+0 -23
mediawiki/coremaster+0 -24
mediawiki/coremaster+0 -26
mediawiki/coremaster+5 -2
mediawiki/coremaster+0 -17
mediawiki/coremaster+0 -14
mediawiki/coremaster+0 -28
mediawiki/coremaster+0 -49
mediawiki/coremaster+0 -68
mediawiki/coremaster+0 -31
mediawiki/coremaster+0 -115
mediawiki/coremaster+0 -18
mediawiki/coremaster+0 -467
mediawiki/coremaster+0 -9
mediawiki/coremaster+0 -343
mediawiki/coremaster+0 -92
mediawiki/coremaster+0 -203
mediawiki/coremaster+0 -10
mediawiki/coremaster+1 -1
mediawiki/coremaster+0 -141
mediawiki/coremaster+0 -100
mediawiki/coremaster+0 -105
mediawiki/coremaster+0 -41
mediawiki/coremaster+0 -90
mediawiki/coremaster+0 -28
mediawiki/coremaster+0 -340
mediawiki/coremaster+0 -50
mediawiki/coremaster+0 -63
mediawiki/coremaster+0 -80
mediawiki/coremaster+0 -39
mediawiki/coremaster+0 -75
mediawiki/coremaster+0 -74
mediawiki/coremaster+5 -141
mediawiki/coremaster+0 -101
mediawiki/coremaster+0 -38
mediawiki/coremaster+0 -61
mediawiki/coremaster+0 -83
mediawiki/coremaster+0 -62
mediawiki/coremaster+0 -239
mediawiki/coremaster+0 -76
mediawiki/coremaster+0 -228
mediawiki/coremaster+0 -193
mediawiki/coremaster+0 -96
mediawiki/coremaster+0 -81
mediawiki/coremaster+0 -77
Show related patches Customize query in gerrit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change 668834 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop pagelinks table creation code

https://gerrit.wikimedia.org/r/668834

Change 668834 merged by jenkins-bot:
[mediawiki/core@master] Drop pagelinks table creation code

https://gerrit.wikimedia.org/r/668834

Ladsgroup updated the task description. (Show Details)

Change 669133 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doUserUniqueUpdate and its sql patch

https://gerrit.wikimedia.org/r/669133

Change 670037 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Postgres: Drop 1.24 upgrade logic

https://gerrit.wikimedia.org/r/670037

Change 669133 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doUserUniqueUpdate and its sql patch

https://gerrit.wikimedia.org/r/669133

Change 670037 merged by jenkins-bot:
[mediawiki/core@master] Postgres: Drop 1.24 upgrade logic

https://gerrit.wikimedia.org/r/670037

Change 670142 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Remove SqliteUpdater::sqliteInitialIndexes and its sql patch

https://gerrit.wikimedia.org/r/670142

Change 670143 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Remove SqliteUpdater::sqliteSetupSearchindex

https://gerrit.wikimedia.org/r/670143

Change 670142 merged by jenkins-bot:
[mediawiki/core@master] Remove SqliteUpdater::sqliteInitialIndexes and its sql patch

https://gerrit.wikimedia.org/r/670142

Change 670324 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doUserGroupsUpdate()

https://gerrit.wikimedia.org/r/670324

Change 670143 merged by jenkins-bot:
[mediawiki/core@master] Remove SqliteUpdater::sqliteSetupSearchindex

https://gerrit.wikimedia.org/r/670143

Change 670324 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doUserGroupsUpdate()

https://gerrit.wikimedia.org/r/670324

Change 670466 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doWatchlistNull() and its related sql file

https://gerrit.wikimedia.org/r/670466

Change 670466 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doWatchlistNull() and its related sql file

https://gerrit.wikimedia.org/r/670466

Change 671102 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doTemplatelinksUpdate() and its related sql file

https://gerrit.wikimedia.org/r/671102

Change 671105 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doBacklinkingIndicesUpdate() and its related sql file

https://gerrit.wikimedia.org/r/671105

Change 671106 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doRestrictionsUpdate() and its related sql file.

https://gerrit.wikimedia.org/r/671106

Change 671102 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doTemplatelinksUpdate() and its related sql file

https://gerrit.wikimedia.org/r/671102

Change 671105 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doBacklinkingIndicesUpdate() and its related sql file

https://gerrit.wikimedia.org/r/671105

Change 671106 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doRestrictionsUpdate() and its related sql file.

https://gerrit.wikimedia.org/r/671106

Change 671659 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doCategorylinksIndicesUpdate() and its related sql file

https://gerrit.wikimedia.org/r/671659

Change 671660 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doFilearchiveIndicesUpdate() and its related sql file

https://gerrit.wikimedia.org/r/671660

Change 671684 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] RELEASE-NOTES-1.36: Mention that upgrades are from 1.27+ now

https://gerrit.wikimedia.org/r/671684

Change 671659 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doCategorylinksIndicesUpdate() and its related sql file

https://gerrit.wikimedia.org/r/671659

Change 671660 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doFilearchiveIndicesUpdate() and its related sql file

https://gerrit.wikimedia.org/r/671660

Change 671684 merged by jenkins-bot:
[mediawiki/core@master] RELEASE-NOTES-1.36: Mention that upgrades are from 1.27+ now

https://gerrit.wikimedia.org/r/671684

Change 672342 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doUpdateMimeMinorField() and its related sql file

https://gerrit.wikimedia.org/r/672342

Change 672343 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doClFieldsUpdate() and its related sql file

https://gerrit.wikimedia.org/r/672343

Change 672344 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doUserNewTalkTimestampNotNull() and its related sql file

https://gerrit.wikimedia.org/r/672344

Change 672342 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doUpdateMimeMinorField() and its related sql file

https://gerrit.wikimedia.org/r/672342

Change 672343 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doClFieldsUpdate() and its related sql file

https://gerrit.wikimedia.org/r/672343

Change 672344 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doUserNewTalkTimestampNotNull() and its related sql file

https://gerrit.wikimedia.org/r/672344

Change 672885 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doIwlinksIndexNonUnique() and its related sql file

https://gerrit.wikimedia.org/r/672885

Change 672886 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doExtendCommentLengths() and its related sql file

https://gerrit.wikimedia.org/r/672886

Change 672885 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doIwlinksIndexNonUnique() and its related sql file

https://gerrit.wikimedia.org/r/672885

Change 672886 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doExtendCommentLengths() and its related sql file

https://gerrit.wikimedia.org/r/672886

Change 673213 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop convertLinks.php

https://gerrit.wikimedia.org/r/673213

Change 673214 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doNamespaceSize()

https://gerrit.wikimedia.org/r/673214

Change 673215 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop MysqlUpdater::doPageRandomUpdate()

https://gerrit.wikimedia.org/r/673215

Change 673213 merged by jenkins-bot:
[mediawiki/core@master] Drop convertLinks.php

https://gerrit.wikimedia.org/r/673213

Change 673214 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doNamespaceSize()

https://gerrit.wikimedia.org/r/673214

Change 673215 merged by jenkins-bot:
[mediawiki/core@master] Drop MysqlUpdater::doPageRandomUpdate()

https://gerrit.wikimedia.org/r/673215

Change 673384 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop convertUserOptions.php

https://gerrit.wikimedia.org/r/673384

Change 673384 merged by jenkins-bot:
[mediawiki/core@master] Drop convertUserOptions.php

https://gerrit.wikimedia.org/r/673384

Change 673672 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop populating log_search table

https://gerrit.wikimedia.org/r/673672

Change 673673 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop maintenance/populateLogUsertext.php

https://gerrit.wikimedia.org/r/673673

Change 673672 merged by jenkins-bot:
[mediawiki/core@master] Drop populating log_search table

https://gerrit.wikimedia.org/r/673672

Change 673673 merged by jenkins-bot:
[mediawiki/core@master] Drop maintenance/populateLogUsertext.php

https://gerrit.wikimedia.org/r/673673

Change 673837 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop unsupported 1.23 upgrade code and patches from Postgres

https://gerrit.wikimedia.org/r/673837

Change 673839 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop tsearch fixes in postgres

https://gerrit.wikimedia.org/r/673839

Change 673841 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/core@master] Drop rest of unsupported upgrade paths and patches in Postgres

https://gerrit.wikimedia.org/r/673841

Change 673837 merged by jenkins-bot:
[mediawiki/core@master] Drop unsupported 1.23 upgrade code and patches from Postgres

https://gerrit.wikimedia.org/r/673837

Change 673839 merged by jenkins-bot:
[mediawiki/core@master] Drop tsearch fixes in postgres

https://gerrit.wikimedia.org/r/673839

Change 673841 merged by jenkins-bot:
[mediawiki/core@master] Drop rest of unsupported upgrade paths and patches in Postgres

https://gerrit.wikimedia.org/r/673841

Change 675214 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):
[mediawiki/core@master] Drop two 1.13 updates

https://gerrit.wikimedia.org/r/675214

Change 675217 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):
[mediawiki/core@master] Drop doInterwikiUpdate

https://gerrit.wikimedia.org/r/675217

Change 675214 merged by jenkins-bot:
[mediawiki/core@master] Drop two 1.13 updates

https://gerrit.wikimedia.org/r/675214

Change 675217 merged by jenkins-bot:
[mediawiki/core@master] Drop doInterwikiUpdate

https://gerrit.wikimedia.org/r/675217

Change 675275 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):
[mediawiki/core@master] Drop now unused patch-page-page_lang.sql from Sqlite

https://gerrit.wikimedia.org/r/675275

Change 675279 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):
[mediawiki/core@master] Drop doWatchlistUpdate from MysqlUpdater

https://gerrit.wikimedia.org/r/675279

Change 675280 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):
[mediawiki/core@master] Drop DatabaseUpdater::doActiveUsersInit

https://gerrit.wikimedia.org/r/675280

Change 675275 merged by jenkins-bot:
[mediawiki/core@master] Drop now unused patch-page-page_lang.sql from Sqlite

https://gerrit.wikimedia.org/r/675275

Change 675280 merged by jenkins-bot:
[mediawiki/core@master] Drop DatabaseUpdater::doActiveUsersInit

https://gerrit.wikimedia.org/r/675280

Change 675854 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):
[mediawiki/core@master] Drop now unused patch-interwiki.sql

https://gerrit.wikimedia.org/r/675854

Change 675854 merged by jenkins-bot:

[mediawiki/core@master] Drop now unused patch-interwiki.sql

https://gerrit.wikimedia.org/r/675854

Change 676478 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):

[mediawiki/core@master] Drop now unused patch-categorylinks-better-collation.sql

https://gerrit.wikimedia.org/r/676478

Change 676478 merged by jenkins-bot:

[mediawiki/core@master] Drop now unused patch-categorylinks-better-collation.sql

https://gerrit.wikimedia.org/r/676478

Change 676485 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):

[mediawiki/core@master] Drop now unused patch-kill-iwl_prefix.sql

https://gerrit.wikimedia.org/r/676485

Change 676485 merged by jenkins-bot:

[mediawiki/core@master] Drop now unused patch-kill-iwl_prefix.sql

https://gerrit.wikimedia.org/r/676485

Change 676726 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):

[mediawiki/core@master] Bring back the CollationUpdate

https://gerrit.wikimedia.org/r/676726

Change 676726 merged by jenkins-bot:

[mediawiki/core@master] Bring back the CollationUpdate

https://gerrit.wikimedia.org/r/676726

Change 675279 merged by jenkins-bot:

[mediawiki/core@master] Drop doWatchlistUpdate from MysqlUpdater

https://gerrit.wikimedia.org/r/675279