Page MenuHomePhabricator
Authored By
DannyS712
Apr 3 2020, 9:53 PM
Size
3 KB
Referenced Files
None
Subscribers
None
Ready:
* The following methods previously accepted an optional user parameter. Not passing a user was hard deprecated in 1.35. Support for not passing a user has now been removed:
- constructing a FileDeleteForm
- constructing a LocalFileDeleteBatch (the constructor signature changed to support requiring a user, and the entire old signature now removed)
- ArchivedFile::userCan
- FileDeleteForm::doDelete
- LocalFile::userCan
- LogEventsList::userCan
- LogEventsList::userCanBitfield
- LogEventsList::userCanViewLogType
- LogPage::addEntry
- PatrolLog::record
- Revision::newNullRevision (note however, that the entire class is soft deprecated, and RevisionStore::newNullRevision should be used instead)
- Title::getNotificationTimestamp
- WikiPage::insertProtectNullRevision
* The following functions all accept an optional audience parameter and an optional user parameter. If the audience is FOR_THIS_USER and no user is passed, they fallback to $wgUser. Not passing a user when one is needed is deprecated
- LogEventsList::getExcludeClause
- Revision::getComment
- Revision::getUser
- Revision::getUserText
- WikiPage::getComment
- WikiPage::getCreator
- WikiPage::getUser
- WikiPage::getUserText
* The old SpecialPageFactory (the one in SpecialPageFactory_deprecated.php, not the one at MediaWiki\SpecialPage\SpecialPageFactory), which made use of $wgUser and was previously deprecated, have been removed entirely
* The Revision class was soft deprecated entirely 1.31. Some of its methods were individually hard deprecated, and have been removed
- tracked at P10770 / T247143
- RevisionStore::loadRevisionFromPageId
- RevisionStore::loadRevisionFromTimestamp
- RevisionStore::loadRevisionFromTitle
* The following methods have been removed entirely:
- ApiTestCase::doLogin
- Article::doDeleteArticle
- Article::doDeleteArticleReal
- Article::getComment
- Article::getCreator
- Article::getUser
- Article::getUserText
- Article::insertProtectNullRevision
- LocalFile::delete
- LocalFile::deleteOld
- PageArchive::undelete
- RecentChange::markPatrolled
- Title::getUserPermissionsErrors
- Title::quickUserCan
- Title::userCan
- WebRequest::getLimitOffset
- WikiPage::doDeleteArticle
* The following hooks, soft deprecated in 1.24 and hard deprecated in 1.35, have been removed
- APIQueryInfoTokens
- APIQueryRecentChangesTokens
- APIQueryRevisionsTokens
- APIQueryUsersTokens
- ApiTokensGetTokenTypes
* The RevisionInsertComplete hook, soft deprecated in 1.31 and hard deprecated in 1.35, was also removed.
* LogEventsList::typeAction previously accepted an optional right parameter, and checked if the context user ($wgUser) had that right. Passing a right was hard deprecated in 1.35, and support for checking against a right has now been removed.
* WikiPage::doDeleteArticleReal previously accepted an optional user as its fifth parameter, and fell back to $wgUser if not user was provided. The signature changed to have the user as the second parameter, and the old signature was hard deprecated in 1.35. Support for the old signature has now been removed.
Not ready yet:

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8369034
Default Alt Text
raw.txt (3 KB)

Event Timeline