First, uses need to be removed
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T11968 Reduce use of global and public variables | |||
Open | None | T159283 Deprecate non-configuration globals | |||
Open | DannyS712 | T159299 Deprecate and remove $wgUser | |||
Resolved | DannyS712 | T267861 [GOAL] Emit deprecation warnings reading from $wgUser | |||
Open | DannyS712 | T243708 Mediawiki core needs uses of global $wgUser removed | |||
Resolved | DannyS712 | T246284 Hard deprecate the Revision class | |||
Resolved | DannyS712 | T249393 Deprecate methods returning Revision objects | |||
Resolved | DannyS712 | T254952 PageUpdater: set DeprecatablePropertyArray to hard deprecate Revision |
Event Timeline
Change 604175 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Jade@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604174 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/CentralNotice@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604179 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604181 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Translate@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604183 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Flow@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604185 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Echo@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604186 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/FlaggedRevs@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604187 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/ORES@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604175 merged by jenkins-bot:
[mediawiki/extensions/Jade@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604174 merged by jenkins-bot:
[mediawiki/extensions/CentralNotice@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604186 merged by jenkins-bot:
[mediawiki/extensions/FlaggedRevs@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604185 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604193 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Thanks@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604196 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/CirrusSearch@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604179 merged by jenkins-bot:
[mediawiki/core@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604197 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Remove use of the Revision object returned in WikiPage::doEditContent (2)
Change 604207 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] RevisionStoreDbTestBase: Reduce use of Revision from WikiPage::doEditContent
Change 604196 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604197 merged by jenkins-bot:
[mediawiki/core@master] Remove use of the Revision object returned in WikiPage::doEditContent (2)
Change 604193 merged by jenkins-bot:
[mediawiki/extensions/Thanks@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604225 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] McrRevisionStoreDbTest: Don't create a Revision object
Change 604207 merged by jenkins-bot:
[mediawiki/core@master] RevisionStoreDbTestBase: Reduce use of Revision from WikiPage::doEditContent
Change 604225 merged by jenkins-bot:
[mediawiki/core@master] McrRevisionStoreDbTest: Don't create a Revision object
Change 604187 merged by jenkins-bot:
[mediawiki/extensions/ORES@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 606019 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Jade@master] TestStorageHelper::makeEdit - return RevisionRecord, not Revision
Change 606019 merged by jenkins-bot:
[mediawiki/extensions/Jade@master] TestStorageHelper::makeEdit - return RevisionRecord, not Revision
Change 604181 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 604183 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Remove use of the Revision object returned in WikiPage::doEditContent
Change 607912 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Flow@master] TalkpageManager::ensureFlowRevision - don't document returning Revisions
All deployed uses should be removed (or for extensions that support prior versions, shouldn't be accessed in production code). I may have missed one or two, but at worst that would trigger logspam. Sending a patch to hard deprecate now
Change 607914 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] PageUpdater: set DeprecatablePropertyArray to hard deprecate Revision
Once the hard deprecation is merged, will leave a note on the train blocker about the potential log spam
Change 607914 merged by jenkins-bot:
[mediawiki/core@master] PageUpdater: set DeprecatablePropertyArray to hard deprecate Revision
Change 607912 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] TalkpageManager::ensureFlowRevision - don't document returning Revisions
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Flow/ /607912