T220656: Drop legacy hard-deprecated code from MediaWiki ahead of MediaWiki 1.34 release || T259108: Drop legacy hard-deprecated code from MediaWiki ahead of MediaWiki 1.36 release
This is a list of potential deprecated code to drop. Not all of it will be dropped before 1.35 (and we'll move entries to a parallel ticket for 1.36). Found by manually looking for hard deprecations; soft-deprecated code isn't listed here (yet?).
- From 1.23
- From 1.25
- From 1.27
- Config: Setting $wgExternalDiffEngine to wikidiff or wikidiff3
- AuthManager migration stuff
- wfSetupSession()(T249082)
- User::setPassword() (T249181)
- User::setInternalPassword()^^^
- User::checkPassword() ^^^
- User::checkTemporaryPassword() ^^^
- User::addNewUserLogEntryAutoCreate() (T241349)
- Calling User::createNew() with any of the params password, newpassword, newpass_time, or password_expires
- Writing to $_SESSION
- From 1.28
- From 1.29
- Message::getFormat()
- Article::doEditContent() – T155696
- Config: Setting $wgDummyLanguageCodes
- EmailUser hook returning a raw HTML string as an error
- Having no manifest_version set in extension.json
- From 1.30
- From 1.31
- CommentStore::newKey() (T241957)
- WikiPage::selectFields() (r577977)
- User::selectFields()(r585334)
- OutputPage::parserOptions() with a non-null ParserOptions (r577986)
- ParserOptions::setWrapOutputClass() without a wrapping class
- Parser::serializeHalfParsedText() [1]
- Parser::unserializeHalfParsedText() [1]
- Parser::isValidHalfParsedText() [1]
- StripState::getSubState() [1]
- StripState::merge() [1]
- Revision::loadFromId() (T242311)
- QuickTemplate:setRef()[2]
- SpecialRecentChanges::filterByCategories() (T241690)
- The SimpleSearchResultWidget class
- The SimpleSearchResultSetWidget class
- Maintenance scripts calling Maintenance::error() with a $die value
- From 1.32
- CommentStore image description migration temporary tables
- ContentHandler::makeParserOptions() [4]
- All public properties of DifferenceEngine
- Config: Setting $wgExternalDiffEngine to wikidiff2
- EditPage::getContextTitle() with no title set
- Constructing a HTMLInfoField with a string for the content when rawrow is set, instead of a FieldLayout
- Using $input for the LogEventsListGetExtraInputs hook
- MagicWord::get() (T242312)
- MagicWord::getVariableIDs() (T242312)
- MagicWord::getSubstIDs() (T242312)
- MagicWord::getCacheTTL() (T242312)
- MagicWord::getDoubleUnderscoreArray() (T242312)
- The ArticleAfterFetchContentObject hook (r577988)
- The ArticleContentViewCustom hook (T241351)
- Calling WikiPage::getDeletionUpdates() without a RevisionRecord or with a Content object
- Calling ResourceLoaderWikiModule::getContentObj() without a ResourceLoader context
- Calling Revision::getRevisionText() on a post-MCR schema database
- Calling RevisionStore::getQueryInfo() for the text table on a post-MCR schema database
- Constructing a BaseSearchResultSet without implementing extractResults
- BaseSearchResultSet::next()
- BaseSearchResultSet::rewind()
- The SearchResultSet class
- Calling SearchResultTrait::setExtensionData() with an array argument
- SearchEngine::replacePrefixes()
- From 1.33
- Calling ApiBase::checkTitleUserPermissions() with a User object for the third parameter (T241354)
- AuthManager::callLegacyAuthPlugin() (T241355)
- DatabaseBlock::isValid() (7276b4effd24)
- Config: Setting $wgSquidPurgeUseHostHeader to false
- OutputPage::parse() (T198214)
- OutputPage::parseInline() (T198214)
- MWTidy::setInstance() (T198214)
- Disabling Tidy in the Parser and Sanitizer (T198214)
- Password::equals() and implementations in InvalidPassword and Argon2Password[3]
- Profiler::profileIn() (T241956)
- Profiler::profileOut() (T241956)
- The FileBasedSiteLookup class (T241356)
- BaseTemplate::msgWiki() and QuickTemplate::msgWiki() (47e41df7efff)
- Config: Setting $wgFixArabicUnicode to false (T241352)
- Config: Setting $wgFixMalayalamUnicode to false (T241353)
- Maintenance scripts calling Maintenance::getArg() without an $argId
- Maintenance scripts calling Maintenance::hasArg() without an $argId
- Title::getUserCaseDBKey() (T202094) - r577954
[1] Removed in https://gerrit.wikimedia.org/r/#/c/mediawiki/core/ /534264/
[2] Removed in https://gerrit.wikimedia.org/r/#/c/mediawiki/core/ /546357/
[3] Removed in https://gerrit.wikimedia.org/r/#/c/mediawiki/core/ /546352/
[4] Removed in https://gerrit.wikimedia.org/r/#/c/mediawiki/core/ /563293/