Page MenuHomePhabricator
Authored By
DannyS712
Mar 30 2020, 4:39 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
- base36Sha1
- countByPageId
- countByTitle
- getArchiveQueryInfo
- getParentLengths
- getQueryInfo
- getTimestampFromId
- isUnpatrolled
- loadFromPageId (along with RevisionStore::loadRevisionFromPageId)
- loadFromTimestamp (along with RevisionStore::loadRevisionFromTimestamp)
- loadFromTitle (along with RevisionStore::loadRevisionFromTitle)
- newFromPageId
- newFromRow
- newKnownCurrent
- setTitle
- setUserIdAndName
- userCan
- userCanBitfield
- userWasLastToEdit
* 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
* 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.
Not ready yet:
Revision::getRevisionText

File Metadata

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

Event Timeline