MediaWiki  master
Deprecated List
Member Parser::$mInputSize
since 1.35
Member Parser::$mHighestExpansionDepth
since 1.35
Member Parser::$mDoubleUnderscores
since 1.35
Member Parser::$mExpensiveFunctionCount
since 1.35
Member Parser::$mShowToc
since 1.35
Member Parser::$mOptions
since 1.35, use Parser::getOptions()
Member Parser::$mTitle
since 1.35, use Parser::getTitle()
Member Parser::$ot
since 1.35
Member Parser::$mRevisionId
since 1.35, use Parser::getRevisionId()
Member Parser::$mRevisionTimestamp
since 1.35, use Parser::getRevisionTimestamp()
Member Parser::$mRevisionUser
since 1.35, use Parser::getRevisionUser()
Member Parser::$mRevisionSize
since 1.35, use Parser::getRevisionSize()
Member Parser::$mGeneratedPPNodeCount
since 1.35, Preprocessor_DOM was removed and this counter is no longer incremented by anything.
Member Parser::$mInParse
since 1.35; this variable should be treated as if it were private.
Member Parser::firstCallInit ()
since 1.35, this initialization is done in the constructor and manual calls to ::firstCallInit() have no effect.
Member Parser::parseExtensionTagAsTopLevelDoc ( $text)
Member Parser::setTitle (Title $t=null)
since 1.37, use setPage() instead.
Member Parser::getTitle ()
since 1.37, use getPage instead.
Member Parser::OutputType ( $x=null)
since 1.35, use getOutputType()/setOutputType()
Member Parser::Options ( $x=null)
since 1.35, use getOptions() / setOptions()
Member Parser::doBlockLevels ( $text, $linestart)
since 1.35, will not be supported in future parsers
Member Parser::replaceLinkHolders (&$text, $options=0)
since 1.34; should not be used outside parser class.
Member Parser::attributeStripCallback (&$text, $frame=false)
since 1.35, internal callback should not have been public
Member Parser::enableOOUI ()
since 1.35, use $parser->getOutput()->setEnableOOUI() instead.
Member DateFormatter::getInstance (Language $lang=null)
since 1.33 use MediaWikiServices::getDateFormatterFactory()
Member WikiPage::doEditContent (Content $content, $summary, $flags=0, $originalRevId=false, Authority $performer=null, $serialFormat=null, $tags=[], $undidRevId=0)
since 1.32, use PageUpdater::saveRevision instead. Note that the new method expects callers to take care of checking EDIT_MINOR against the minoredit right, and to apply the autopatrol right as appropriate. Hard deprecated since 1.37
Member WikiPage::doUserEditContent (Content $content, Authority $performer, $summary, $flags=0, $originalRevId=false, $tags=[], $undidRevId=0)
since 1.36, use PageUpdater::saveRevision instead. Note that the new method expects callers to take care of checking EDIT_MINOR against the minoredit right, and to apply the autopatrol right as appropriate.
Member WikiPage::prepareContentForEdit (Content $content, RevisionRecord $revision=null, UserIdentity $user=null, $serialFormat=null, $useCache=true)
since 1.32, use getDerivedDataUpdater instead.
Member WikiPage::doEditUpdates (RevisionRecord $revisionRecord, UserIdentity $user, array $options=[])
since 1.32 (soft), use DerivedPageDataUpdater::doUpdates instead.
Member WikiPage::isBatchedDelete ( $safetyMargin=0)
since 1.37 Use DeletePage::isBatchedDelete instead.
Member WikiPage::doDeleteArticleReal ( $reason, UserIdentity $deleter, $suppress=false, $u1=null, &$error='', $u2=null, $tags=[], $logsubtype='delete', $immediate=false)
since 1.37 Use DeletePage instead. Calling ::deleteIfAllowed and letting DeletePage handle permission checks is preferred over doing permission checks yourself and then calling ::deleteUnsafe. Note that DeletePage returns a good status with false value in case of scheduled deletion, instead of a status with a warning. Also, the new method doesn't have an $error parameter, since any error is added to the returned Status.
Member WikiPage::doDeleteArticleBatched ( $reason, $suppress, UserIdentity $deleter, $tags, $logsubtype, $immediate=false, $webRequestId=null)
since 1.37 No external caller besides DeletePageJob should use this.
Member WikiPage::doDeleteUpdates ( $id, Content $content=null, RevisionRecord $revRecord=null, UserIdentity $user=null)
since 1.37 With no replacement.
Member WikiPage::getDeletionUpdates ( $rev=null)
since 1.37 With no replacement.
Member PageProps::getInstance ()
since 1.38, use MediaWikiServices::getPageProps() instead
Member TablePager::getBody ()
since 1.24, use getBodyOutput() or getFullOutput() instead
Member ParserOptions::setOptionLegacy ( $name, $value)
since 1.30
Class MediaWiki\Hook\BeforeParserFetchTemplateAndtitleHook

since 1.36; use BeforeParserFetchTemplateRevisionRecordHook

Class MediaWiki\Hook\BeforeParserrenderImageGalleryHook

since 1.35

Class MediaWiki\Hook\InternalParseBeforeSanitizeHook

since 1.35

Class MediaWiki\Hook\ParserGetVariableValueVarCacheHook

since 1.35

Class MediaWiki\Hook\ParserSectionCreateHook

since 1.35

Member MWTidy::tidy ( $text)
since 1.36; use MediaWikiServices::getTidy()->tidy() instead
Member Parser::$mMarkerIndex
since 1.35
Member Parser::$mFirstCall
since 1.35; always false
Member Parser::$mLinkID
since 1.35; use Parser::nextLinkID() / ::setLinkID()
Member Parser::$mIncludeSizes
since 1.35
Member Parser::$mPPNodeCount
since 1.35
Member MediaWiki\Permissions\PermissionManager::getGroupsWithPermission ( $role)
since 1.36, use GroupPermissionsLookup instead.
Class RCFeedEngine
since 1.29 Use FormattedRCFeed instead
Class ResourceLoader\Hook\ResourceLoaderTestModulesHook

since 1.33; use the QUnitTestModule static extension registration attribute instead.

Member ResourceLoaderContext::getConfig ()
since 1.34 Use ResourceLoaderModule::getConfig instead inside module methods. Use ResourceLoader::getConfig elsewhere.
Member ResourceLoaderContext::getLogger ()
since 1.34 Use ResourceLoaderModule::getLogger instead inside module methods. Use ResourceLoader::getLogger elsewhere.
Member ResourceLoaderFileModule::compileLessFile ( $fileName, ResourceLoaderContext $context)
since 1.35 Use compileLessString() instead
Member MediaWiki\Permissions\PermissionManager::getGroupPermissions ( $groups)
since 1.36 Use GroupPermissionsLookup instead
Member MediaWiki\Revision\RevisionStore::getTitle ( $pageId, $revId, $queryFlags=self::READ_NORMAL)
since 1.36, Use RevisionRecord::getPage() instead.
Member MediaWiki\Revision\RevisionStore::userWasLastToEdit (IDatabase $db, $pageId, $userId, $since)
since 1.31; Can possibly be removed, since the self-conflict suppression logic in EditPage that uses this seems conceptually dubious. Revision::userWasLastToEdit had been deprecated since 1.24 (the Revision class was removed entirely in 1.37).
Member RevDelList::reloadFromMaster ()
since 1.37; please use reloadFromPrimary() instead.
Member BaseSearchResultSet::next ()
since 1.32; Use self::extractResults() or foreach
Member ParserOutput::getFlag ( $flag)
Use ::getOutputFlag()
Member ParserOptions::setAllowExternalImages ( $x)
since 1.35; per-parser configuration of image handling via parser options is deprecated. Use site configuration.
Member ParserOptions::setAllowExternalImagesFrom ( $x)
since 1.35; per-parser configuration of image handling via parser options is deprecated. Use site configuration.
Member ParserOptions::setEnableImageWhitelist ( $x)
since 1.35; per-parser configuration of image handling via parser options is deprecated. Use site configuration.
Member ParserOptions::getStubThreshold ()
since 1.37. Stub threshold feature has been removed. See T284917.
Member ParserOptions::setStubThreshold ( $x)
since 1.37. Stub threshold feature has been removed. See T284917.
Member ParserOutput::getCategoryLinks ()
since 1.38, use ::getCategoryNames() instead.
Member ParserOutput::setCategoryLinks ( $cl)
since 1.38, use ::setCategories() instead.
Member ParserOutput::addWarning ( $s)
since 1.38; use ::addWarningMsg() instead
Member ParserOutput::hideNewSection ( $value)
since 1.38 use ::setHideNewSection()
Member ParserOutput::addTrackingCategory ( $msg, PageReference $page)
since 1.38, use Parser::addTrackingCategory or TrackingCategories::addTrackingCategory() instead
Member ParserOutput::setFlag ( $flag)
Use ::setOutputFlag()
Member WikiPage::checkFlags ( $flags)
since 1.32, use exists() instead, or simply omit the EDIT_UPDATE and EDIT_NEW flags. To protect against race conditions, use PageUpdater::grabParentRevision.
Member ParserOutput::setProperty ( $name, $value)
since 1.38, renamed to ::setPageProperty()
Member ParserOutput::getProperty ( $name)
since 1.38, renamed to ::getPageProperty()
Member ParserOutput::unsetProperty ( $name)
since 1.38, renamed to ::unsetPageProperty()
Member ParserOutput::getProperties ()
since 1.38, renamed to ::getPageProperties()
Member ParserOutput::preventClickjacking ( $flag)
since 1.38: use ::setPreventClickjacking() or ::getPreventClickjacking()
Member Sanitizer::escapeIdReferenceList ( $referenceString)
since 1.36. Unused outside this class, will be made private.
Member Sanitizer::hackDocType ()
since 1.36; will be made private or removed in a future release.
Member PasswordFactory::init (Config $config)
since 1.32 Initialize settings using the constructor
Class MediaWiki\Permissions\Hook\UserCanHook

since 1.37 use getUserPermissionsErrors or getUserPermissionsErrorsExpensive instead.

Member MediaWiki\Permissions\PermissionManager::groupHasPermission ( $group, $role)
since 1.36 Use GroupPermissionsLookup instead
Member MWNamespace::getAssociated ( $index)
since 1.34, hard deprecated since 1.37
Member MWGrants::grantsAreValid (array $grants)
since 1.38, use GrantsInfo::grantsAreValid() instead
Member MWGrants::getGrantGroups ( $grantsFilter=null)
since 1.38, use GrantsInfo::getGrantGroups() instead
Member MWGrants::getHiddenGrants ()
since 1.38, use GrantsInfo::getHiddenGrants() instead
Member MWGrants::getGrantsLink ( $grant, $lang=null)
since 1.38, use GrantsLocalization::getGrantsLink() instead
Member MWGrants::getGrantsWikiText ( $grantsFilter, $lang=null)
since 1.38, use GrantsLocalization::getGrantsWikiText() instead
Class MWNamespace
since 1.34, use NamespaceInfo instead
Member MWNamespace::isMovable ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isSubject ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isTalk ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::getTalk ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getSubject ( $index)
since 1.34, hard deprecated since 1.37
Member MWGrants::getGrantRights ( $grants)
since 1.38, use GrantsInfo::getGrantRights() instead
Member MWNamespace::exists ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::equals ( $ns1, $ns2)
since 1.34, hard deprecated since 1.37
Member MWNamespace::subjectEquals ( $ns1, $ns2)

since 1.34, hard deprecated since 1.37

since 1.34

Member MWNamespace::getCanonicalNamespaces ()
since 1.34, hard deprecated since 1.38
Member MWNamespace::getCanonicalName ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::getCanonicalIndex ( $name)
since 1.34, hard deprecated since 1.38
Member MWNamespace::getValidNamespaces ()
since 1.34, hard deprecated since 1.38
Member MWNamespace::hasTalkNamespace ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isContent ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::wantSignatures ( $index)
since 1.34, hard deprecated since 1.37
Member MediaHandler::getMetadata ( $image, $path)
since 1.37 override getSizeAndMetadata() instead
Member Linker::linkKnown ( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
since 1.28, use MediaWiki\Linker\LinkRenderer instead
Member Linker::normaliseSpecialPage (LinkTarget $target)
since 1.35, use LinkRenderer::normalizeTarget()
Member Linker::formatComment ( $comment, $title=null, $local=false, $wikiId=null)
since 1.38 use CommentFormatter
Member Linker::formatLinksInComment ( $comment, $title=null, $local=false, $wikiId=null)
since 1.38 use CommentFormatter
Member Linker::commentBlock ( $comment, $title=null, $local=false, $wikiId=null, $useParentheses=true)
since 1.38 use CommentFormatter
Member Linker::revComment (RevisionRecord $revRecord, $local=false, $isPublic=false, $useParentheses=true)
since 1.38 use CommentFormatter
Member LogFormatter::styleRestricedElement ( $content)
since 1.37, use ::styleRestrictedElement instead
Member ManualLogEntry::setTags ( $tags)
since 1.33 Please use addTags() instead
Member MagicWordArray::getVariableRegex ()
since 1.36 Appears to have no uses.
Member FormatMetadata::flattenArrayContentLang ( $vals, $type='ul', $noHtml=false, $context=false)
since 1.36, appears to have no callers
Member MediaHandler::getImageSize ( $image, $path)
since 1.37, override getSizeAndMetadata instead
Member MWNamespace::isWatchable ( $index)
since 1.34, hard deprecated since 1.37
Member MediaHandler::isMetadataValid ( $image, $metadata)
since 1.37 use isFileMetadataValid
Member MediaTransformOutput::streamFile ( $headers=[])
since 1.26, use streamFileWithStatus
Member MediaWiki\MediaWikiServices::getWatchlistNotificationManager ()
since 1.36 use getWatchlistManager() instead
Member MovePage::__construct (Title $oldTitle, Title $newTitle, ServiceOptions $options=null, ILoadBalancer $loadBalancer=null, NamespaceInfo $nsInfo=null, WatchedItemStoreInterface $watchedItems=null, RepoGroup $repoGroup=null, IContentHandlerFactory $contentHandlerFactory=null, RevisionStore $revisionStore=null, SpamChecker $spamChecker=null, HookContainer $hookContainer=null, WikiPageFactory $wikiPageFactory=null, UserFactory $userFactory=null, UserEditTracker $userEditTracker=null, MovePageFactory $movePageFactory=null, CollationFactory $collationFactory=null, PageUpdaterFactory $pageUpdaterFactory=null)
since 1.34, hard deprecated since 1.37. Use MovePageFactory instead.
Member MovePage::checkPermissions (Authority $performer, $reason)
since 1.36, use ::authorizeMove or ::probablyCanMove instead.
Class MWGrants
since 1.38, use GrantsInfo and GrantsLocalization instead
Member MWGrants::getValidGrants ()
since 1.38, use GrantsInfo::getValidGrants() instead
Member MWGrants::getRightsByGrant ()
since 1.38, use GrantsInfo::getRightsByGrant() instead
Member MWGrants::grantName ( $grant, $lang=null)
since 1.38, use GrantsLocalization::getGrantDescription() instead
Member MWGrants::grantNames (array $grants, $lang=null)
since 1.38, use GrantsLocalization::getGrantDescriptions() instead
Member PageArchive::getArchivedRevisionRecord (int $revId)
since 1.38 Use ArchivedRevisionLookup::getArchivedRevisionRecord
Member CategoryPage::setCategoryViewerClass ( $class)
since 1.35
Class Page\Hook\ArticleDeleteCompleteHook
since 1.37, use PageDeleteCompleteHook instead. The new hook uses more modern typehints and replaces the Content object with a RevisionRecord.
Class Page\Hook\ArticleDeleteHook
since 1.37, use PageDeleteHook instead. The new hook uses more modern typehints and requires callers to add errors to $status, rather than the $error parameter.
Class Page\Hook\RollbackCompleteHook

since 1.36, use PageSaveComplete

Class Page\Hook\WikiPageDeletionUpdatesHook

since 1.32 Use PageDeletionDataUpdates or override ContentHandler::getDeletionDataUpdates instead

Member ImageHistoryList::preventClickjacking ( $enable=true)
since 1.38, use ::setPreventClickjacking() instead
Member ImageHistoryPseudoPager::preventClickjacking ( $enable=true)
since 1.38, use ::setPreventClickjacking()
Member ImagePage::getImageLimitsFromOption (UserIdentity $user, $optionName)
Since 1.35 Use static function MediaFileTrait::getImageLimitsFromOption
Class Page
since 1.35, Use WikiPage or Article instead
Member PageArchive::listRevisions ()
since 1.38 Use ArchivedRevisionLookup::listRevisions
Member PageArchive::getRevisionRecordByTimestamp ( $timestamp)
since 1.38 Use ArchivedRevisionLookup::getRevisionRecordByTimestamp
Member CategoryPage::getCategoryViewerClass ()
since 1.35
Member PageArchive::getPreviousRevisionRecord (string $timestamp)
since 1.38 Use ArchivedRevisionLookup::getPreviousRevisionRecord
Member PageArchive::getLastRevisionId ()
since 1.38 Use ArchivedRevisionLookup::getLastRevisionId
Member PageArchive::isDeleted ()
since 1.38 Use ArchivedRevisionLookup::hasArchivedRevisions
Member PageArchive::undeleteAsUser ( $timestamps, UserIdentity $user, $comment='', $fileVersions=[], $unsuppress=false, $tags=null)
since 1.38, use UndeletePage instead
Member PageArchive::getFileStatus ()
since 1.38 The entrypoints in UndeletePage return a StatusValue
Member PageArchive::getRevisionStatus ()
since 1.38 The entrypoints in UndeletePage return a StatusValue
Member WikiPage::factory (PageIdentity $pageIdentity)
since 1.36, use WikiPageFactory::newFromTitle instead
Member WikiPage::newFromID ( $id, $from='fromdb')
since 1.36, use WikiPageFactory::newFromID instead
Member WikiPage::newFromRow ( $row, $from='fromdb')
since 1.36, use WikiPageFactory::newFromRow instead
Member WikiPage::hasDifferencesOutsideMainSlot (RevisionRecord $a, RevisionRecord $b)
Use only as a stop-gap before refactoring to support MCR.
Member WikiPage::replaceSectionContent ( $sectionId, Content $sectionContent, $sectionTitle='', $edittime=null)
since 1.24, use replaceSectionAtRev instead
Member OutputPage::preventClickjacking ( $enable=true)
since 1.38, use ::setPreventClickjacking( true )
Member MWNamespace::hasSubpages ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::getContentNamespaces ()
since 1.34, hard deprecated since 1.38
Member MWNamespace::getSubjectNamespaces ()
since 1.34, hard deprecated since 1.37
Member MWNamespace::getTalkNamespaces ()
since 1.34, hard deprecated since 1.37
Member MWNamespace::isCapitalized ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::hasGenderDistinction ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isNonincludable ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getNamespaceContentModel ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getRestrictionLevels ( $index, User $user=null)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getCategoryLinkType ( $index)
since 1.34, hard deprecated since 1.37
Member MWTimestamp::getHumanTimestamp (MWTimestamp $relativeTo=null, UserIdentity $user=null, Language $lang=null)
since 1.26 Use Language::getHumanTimestamp directly
Member BaseSearchResultSet::rewind ()
since 1.32; Use self::extractResults() or foreach
Member OutputPage::allowClickjacking ()
since 1.38, use ::setPreventClickjacking( false )
Member OutputPage::formatPermissionsErrorMessage (array $errors, $action=null)
since 1.36. Use ::formatPermissionStatus instead
Member OutputPage::getCSPNonce ()
Since 1.35 use getCSP()->getNonce() instead
Member Article::$mContext
since 1.35, must be private, use getContext
Member Article::$mParserOutput
since 1.32
Member Article::viewRedirect ( $target, $appendSubtitle=true, $forceKnown=false)
since 1.30
Member Article::doDelete ( $reason, $suppress=false, $immediate=false)
since 1.37 Use WikiPage::doDeleteArticleReal if you only need to delete the article. If you also need things to happen with OutputPage, you may want to check the hooks in DeleteAction instead.
Member Article::__get ( $fname)
since 1.35, use Article::getPage() instead
Member Article::__set ( $fname, $fvalue)
since 1.35, use Article::getPage() instead
Member Article::getTimestamp ()
since 1.35, use WikiPage::getTimestamp instead
Member User::isCreatableName ( $name)
since 1.35, use the UserNameUtils service. Hard deprecated since 1.37
Member User::newFromId ( $id)
since 1.36, use a UserFactory instead
Member User::newFromActorId ( $id)
since 1.36, use a UserFactory instead
Member User::newFromIdentity (UserIdentity $identity)
since 1.36, use a UserFactory instead
Member User::newFromAnyId ( $userId, $userName, $actorId, $dbDomain=false)
since 1.36, use a UserFactory instead
Member User::newFromConfirmationCode ( $code, $flags=self::READ_NORMAL)
since 1.36, use a UserFactory instead
Member User::idFromName ( $name, $flags=self::READ_NORMAL)
since 1.37. Use UserIdentityLookup::getUserIdentityByName instead.
Member User::resetIdByNameCache ()
since 1.37.
Member User::isIP ( $name)
since 1.35, use the UserNameUtils service. Hard deprecated since 1.37. Note that UserNameUtils::isIP does not accept IPv6 ranges, while this method does
Member User::isIPRange ()
since 1.35, hard deprecated since 1.36 Use the UserNameUtils service or IPUtils directly
Member User::isValidUserName ( $name)
since 1.35, hard deprecated in 1.36 Use the UserNameUtils service
Member User::isUsableName ( $name)
since 1.35, use the UserNameUtils service. Hard deprecated since 1.37
Member User::newFromName ( $name, $validate='valid')
since 1.36, use a UserFactory instead
Member User::getCanonicalName ( $name, $validate='valid')
since 1.35, use the UserNameUtils service. Hard deprecated since 1.37
Member User::addAutopromoteOnceGroups ( $event)
since 1.35 Use UserGroupManager::addUserToAutopromoteOnceGroups. Hard deprecated since 1.37.
Member User::getDefaultOptions ()
since 1.35 Use UserOptionsLookup::getDefaultOptions instead.
Member User::getDefaultOption ( $opt)
since 1.35 Use UserOptionsLookup::getDefaultOption instead.
Member User::isBlocked ( $fromReplica=true)
since 1.34, use User::getBlock() or Authority:getBlock() or Authority:definitlyCan() or Authority:authorizeRead() or Authority:authorizeWrite() or PermissionManager::isBlockedFrom(), as appropriate.
Member User::isBlockedFrom ( $title, $fromReplica=false)
since 1.33, use MediaWikiServices::getInstance()->getPermissionManager()->isBlockedFrom(..)
Member User::blockedBy ()
since 1.38 Hard deprecated since 1.38.
Member User::blockedFor ()
since 1.35 Use AbstractBlock::getReasonComment instead
Member User::getBlockId ()
since 1.38 Hard deprecated since 1.38.
Member User::setActorId (int $actorId)
since 1.36
Member User::getOption ( $oname, $defaultOverride=null, $ignoreHidden=false)
since 1.35 Use UserOptionsLookup::getOption instead
Member Title::isBigDeletion ()
since 1.37 External callers shouldn't need to know about this.
Member Title::getRestrictions ( $action)
since 1.37, use RestrictionStore::getRestrictions instead
Member Title::getAllRestrictions ()
since 1.37, use RestrictionStore::getAllRestrictions instead
Member Title::getRestrictionExpiry ( $action)
since 1.37, use RestrictionStore::getRestrictionExpiry instead
Member Title::areRestrictionsCascading ()
since 1.37, use RestrictionStore::areRestrictionsCascading instead
Member Title::loadRestrictionsFromRows ( $rows, $oldFashionedRestrictions=null)
since 1.37, use RestrictionStore::loadRestrictionsFromRows instead
Member Title::loadRestrictions ( $oldFashionedRestrictions=null, $flags=0)
since 1.37, no public replacement
Member Title::flushRestrictions ()
since 1.37, now internal
Member Title::isDeleted ()
since 1.36. Use self::getDeletedEditsCount()
Member Title::isDeletedQuick ()
since 1.36, Use self::hasDeletedEdits()
Member Title::getCdnUrls ()
1.35 Use HtmlCacheUpdater
Member Title::purgeSquid ()
1.35 Use HtmlCacheUpdater
Member User::getOptions ( $flags=0)
since 1.35 Use UserOptionsLookup::getOptions instead. Hard deprecated since 1.37.
Member Title::getNotificationTimestamp (User $user)
since 1.35
Member Title::getBacklinkCache ()
since 1.37, use BacklinkCacheFactory::getBacklinkCache()
Member BotPassword::invalidateAllPasswordsForCentralId ( $centralId)
since 1.37
Member BotPassword::removeAllPasswordsForCentralId ( $centralId)
since 1.37
Member CentralIdLookup::factory ( $providerId=null)
since 1.37 Use MediaWikiServices to obtain an instance.
Member CentralIdLookup::factoryNonLocal ()
since 1.37. Use CentralIdLookupFactory::getNonLocalLookup instead.
Class MediaWiki\User\Hook\UserLoadFromDatabaseHook

since 1.37

Member User::GETOPTIONS_EXCLUDE_DEFAULTS
since 1.35 Use UserOptionsLookup::EXCLUDE_DEFAULTS
Member User::$mBlockedby
since 1.35. Instead, use User::getBlock to get the block, then AbstractBlock::getByName to get the blocker's name; or use the GetUserBlock hook to set or unset a block. -1 when the block is unset
Member User::$mHideName
since 1.35. Instead, use User::getBlock to get the block, then AbstractBlock::getHideName to determine whether the block hides the user; or use the GetUserBlock hook to hide or unhide a user.
Member User::$mBlock
since 1.35. Instead, use User::getBlock to get the block; or the GetUserBlock hook to set or unset a block.
Member MediaWiki\User\UserIdentityValue::getActorId ( $wikiId=self::LOCAL)
since 1.36, use ActorNormalization::acquireActorId instead.
Member User::getLatestEditTimestamp ()
since 1.36, use a UserEditTracker instead
Member User::getGroupPermissions ( $groups)
since 1.34, use GroupPermissionsLookup::getGroupPermissions() instead in 1.36+, or PermissionManager::getGroupPermisions() in 1.34 and 1.35
Member User::getGroupsWithPermission ( $role)
since 1.34, use GroupPermissionsLookup::getGroupsWithPermission() instead in 1.36+, or PermissionManager::getGroupsWithPermission() in 1.34 and 1.35
Member User::groupHasPermission ( $group, $role)
since 1.34, use GroupPermissionsLookup::groupHasPermission() instead in 1.36+, or PermissionManager::groupHasPermission() in 1.34 and 1.35
Member User::getAllGroups ()
since 1.35, use UserGroupManager::listAllGroups instead
Member User::getImplicitGroups ()
since 1.35, use UserGroupManager::listAllImplicitGroups() instead
Member User::changeableByGroup ( $group)
since 1.37 Use UserGroupManager::getGroupsChangeableByGroup instead.
Member User::changeableGroups ()
since 1.37 Use UserGroupManager::getGroupsChangeableBy instead.
Member User::incEditCount ()
since 1.37
Member User::isAllowUsertalk ()
since 1.37 Use AbstractBlock::isUsertalkEditAllowed
Member UserGroupMembership::getGroupName ( $group)
since 1.38, use Language::getGroupName or Message::userGroupParams
Member User::getFirstEditTimestamp ()
since 1.36, use a UserEditTracker instead
Class UserNamePrefixSearch
since 1.36, use the MediaWiki\User\UserNamePrefixSearch service
Member UserNamePrefixSearch::search ( $audience, $search, $limit, $offset=0)
since 1.36, use the MediaWiki\User\UserNamePrefixSearch service instead
Member MediaWiki\User\UserSelectQueryBuilder::userIds ( $userIds)
since 1.37, use whereUserIds instead
Member MediaWiki\User\UserSelectQueryBuilder::userNames ( $userNames)
since 1.37, use whereUserNames instead
Member MediaWiki\User\UserSelectQueryBuilder::userNamePrefix (string $prefix)
since 1.37 use whereUserNamePrefix instead
Class UIDGenerator
Since 1.35; use GlobalIdGenerator instead
Member WatchedItem::getLinkTarget ()
since 1.36, use getTarget() instead
Member WebRequest::checkUrlExtension ( $extList=[])
since 1.35
Member Maintenance::setAgentAndTriggers ()
since 1.37 No longer needed.
Class ResetUserTokens
since 1.27, use $wgAuthenticationTokenVersion instead.
Member User::getEffectiveGroups ( $recache=false)
since 1.35 Use UserGroupManager::getUserEffectiveGroups instead. Hard deprecated since 1.37.
Member User::getBoolOption ( $oname)
since 1.35, hard deprecated since 1.37 Use UserOptionsLookup::getBoolOption instead
Member User::getIntOption ( $oname, $defaultOverride=0)
since 1.35, hard deprecated since 1.37 Use UserOptionsLookup::getIntOption instead
Member User::setOption ( $oname, $val)
since 1.35, hard deprecated since 1.38 Use UserOptionsManager::setOption instead
Member User::getTokenFromOption ( $oname)
since 1.26 Applications should use the OAuth extension
Member User::listOptionKinds ()
since 1.35, hard deprecated since 1.37 Use UserOptionsManager::listOptionKinds instead
Member User::getOptionKinds (IContextSource $context, $options=null)
since 1.35, hard deprecated since 1.37 Use UserOptionsManager::getOptionKinds instead
Member User::resetOptions ( $resetKinds=[ 'registered', 'registered-multiselect', 'registered-checkmatrix', 'unused'], IContextSource $context=null)
since 1.35, hard deprecated since 1.37 Use UserOptionsManager::resetOptions instead (Warning: Different argument order).
Member User::getStubThreshold ()
since 1.37. The stub threshold preference support was removed. See T284917
Member User::getRights ()
since 1.34, hard deprecated since 1.37 Use MediaWikiServices::getInstance()->getPermissionManager() ->getUserPermissions(..) instead
Member User::getGroups ()
since 1.35 Use UserGroupManager::getUserGroups instead.
Member User::getGroupMemberships ()
since 1.35 Use UserGroupManager::getUserGroupMemberships instead
Member Title::areRestrictionsLoaded ()
since 1.37, use RestrictionStore::areRestrictionsLoaded instead
Member User::getAutomaticGroups ( $recache=false)
since 1.35 Use UserGroupManager::getUserImplicitGroups instead. Hard deprecated since 1.37.
Member User::getFormerGroups ()
since 1.35 Use UserGroupManager::getUserFormerGroups instead. Hard deprecated since 1.37.
Member User::addGroup ( $group, $expiry=null)
since 1.35 Use UserGroupManager::addUserToGroup instead
Member User::removeGroup ( $group)
since 1.35 Use UserGroupManager::removeUserFromGroup instead.
Member User::isLoggedIn ()
since 1.36; use isRegistered() directly
Member User::isBlockedFromCreateAccount ()
since 1.37. Instead use Authority::authorize* for createaccount permission.
Member User::getEditTokenObject ( $salt='', $request=null)
since 1.37. Use CsrfTokenSet::getToken instead
Member User::getEditToken ( $salt='', $request=null)
since 1.37. Use CsrfTokenSet::getToken instead
Member User::matchEditToken ( $val, $salt='', $request=null, $maxage=null)
since 1.37. Use CsrfTokenSet::matchToken instead
Member User::matchEditTokenNoSuffix ( $val, $salt='', $request=null, $maxage=null)
since 1.37. No replacement was provided.
Member Skin::bottomScripts ()
since 1.37
Member BaseTemplate::getToolbox ()
since 1.35. To add items to the toolbox, use SidebarBeforeOutput hook. To get the toolbox only use $this->data['sidebar']['TOOLBOX'], if you are extending this class.
Member BaseTemplate::getPersonalTools ()
since 1.35 use Skin::getPersonalToolsForMakeListItem
Member BaseTemplate::renderAfterPortlet ( $name)
since 1.35 (emits deprecation warnings since 1.37), use Skin::getAfterPortlet directly
Member BaseTemplate::getAfterPortlet ( $name)
since 1.35 (emits deprecation warnings since 1.37), use Skin::getAfterPortlet directly
Member BaseTemplate::makeLink ( $key, $item, $options=[])
since 1.35 use Skin::makeLink
Member BaseTemplate::makeListItem ( $key, $item, $options=[])
since 1.35 use Skin::makeListItem
Member BaseTemplate::makeSearchInput ( $attrs=[])
since 1.35 use Skin::makeSearchInput
Member BaseTemplate::makeSearchButton ( $mode, $attrs=[])
since 1.35 use Skin::makeSearchButton
Member BaseTemplate::getFooterIcons ( $option=null)
1.35 read footer icons from template data requested via $this->get('footericons')
Class MediaWiki\Hook\BaseTemplateAfterPortletHook

since 1.35 (emits deprecation warnings since 1.37), Use SkinAfterPortlet instead

Class MediaWiki\Hook\SkinGetPoweredByHook

since 1.37

Member MediaWiki\Shell\Command::whitelistPaths (array $paths)
since 1.36 Use allowPath/disallowPath
Member Skin::getCopyrightIcon ()
1.37
Member Skin::getPoweredBy ()
1.37
Member Skin::getSkinStylePath ( $name)
since 1.36, Replace usages with direct path of the resource and then remove the $stylename property.
Member SkinFactory::getSkinNames ()
since 1.37 use getInstalledSkins instead
Member SkinTemplate::getPersonalToolsList ()
since 1.35, hard deprecated since 1.38 Use SkinTemplate::makePersonalToolsList() instead
Member SkinTemplate::getNameSpaceKey ()
since 1.35, use Title::getNamespaceKey() instead
Member SpecialPage::setListed ( $listed)
since 1.35
Member SpecialPage::listed ( $x=null)
since 1.35 Set via subclassing UnlistedSpecialPage, get via isListed()
Member SpecialPage::getLanguageConverter ()
1.36 Inject LanguageConverterFactory and store a ILanguageConverter instance
Member Licenses::getLicenses ()
since 1.31 Use getLines() instead
Member SqlSearchResultSet::termMatches ()
since 1.34
Member BaseSearchResultSet::termMatches ()
since 1.34 (use SqlSearchResult)
Member BaseSearchResultSet::free ()
noop since 1.34
Class MediaWiki\Search\Hook\PrefixSearchBackendHook

since 1.27 Override SearchEngine::completionSearchBackend instead

Class PrefixSearch
Since 1.27, Use SearchEngine::defaultPrefixSearch or SearchEngine::completionSearch
Member SearchEngine::$searchTerms
since 1.34
Member SearchEngine::replacePrefixes ( $query)
since 1.32; should be handled internally by the search engine
Member SearchEngine::userHighlightPrefs ()
in 1.34 use the SearchHighlighter constants directly
Member SearchEngine::getTextFromContent (Title $t, Content $c=null)
since 1.34 use Content::getTextForSearchIndex directly
Member SearchEngine::textAlreadyUpdatedForIndex ()
since 1.34 no longer needed since getTextFromContent is being deprecated
Class MediaWiki\Search\SearchWidgets\SimpleSearchResultSetWidget
since 1.31. Use InterwikiSearchResultSetWidget
Class MediaWiki\Search\SearchWidgets\SimpleSearchResultWidget
since 1.31. Use other result widgets.
Class MediaWiki\Hook\AddNewAccountHook

since 1.27. Use LocalUserCreated instead.

Class StringPrefixSearch

Since 1.27, Use SearchEngine::prefixSearchSubpages or SearchEngine::completionSearch

Class TitlePrefixSearch

Since 1.27, Use SearchEngine::defaultPrefixSearch or SearchEngine::completionSearch

Class MediaWiki\Session\Hook\UserSetCookiesHook

since 1.27 If you're trying to replace core session cookie handling, you want to create a subclass of MediaWiki\Session\CookieSessionProvider instead. Otherwise, you can no longer count on user data being saved to cookies versus some other mechanism.

Member MediaWiki\Session\SessionProvider::setLogger (LoggerInterface $logger)
since 1.37. For extension-defined session providers that were using this method to trigger other work, please override SessionProvider::postInitSetup instead. If your extension was using this to explicitly change the logger of an existing SessionProvider object, please file a report on phabricator
  • there is no non-deprecated way to do this anymore.
Member MediaWiki\Session\SessionProvider::setConfig (Config $config)
since 1.37. For extension-defined session providers that were using this method to trigger other work, please override SessionProvider::postInitSetup instead. If your extension was using this to explicitly change the Config of an existing SessionProvider object, please file a report on phabricator
  • there is no non-deprecated way to do this anymore.
Member MediaWiki\Session\SessionProvider::setManager (SessionManager $manager)
since 1.37. For extension-defined session providers that were using this method to trigger other work, please override SessionProvider::postInitSetup instead. If your extension was using this to explicitly change the SessionManager of an existing SessionProvider object, please file a report on phabricator
  • there is no non-deprecated way to do this anymore.
Member MediaWiki\Session\SessionProvider::setHookContainer ( $hookContainer)
since 1.37. For extension-defined session providers that were using this method to trigger other work, please override SessionProvider::postInitSetup instead. If your extension was using this to explicitly change the HookContainer of an existing SessionProvider object, please file a report on phabricator
  • there is no non-deprecated way to do this anymore.
Member $wgParser
since 1.32, use MediaWikiServices::getInstance()->getParser() instead
Member MediaWiki\Shell\Command::cgroup ( $cgroup)
since 1.36
Member MediaWiki\Shell\Command::restrict (int $restrictions)
since 1.36 Set the options using their separate accessors
Member Title::getOtherPage ()
since 1.34, use NamespaceInfo::getAssociatedPage
Member Title::GAID_FOR_UPDATE
since 1.34, use Title::READ_LATEST instead.
Member Title::$mTextform
since 1.37 directly accessing this member, use the ::getText() method instead. Text form (spaces not underscores) of the main part
Member Title::$mUrlform
since 1.37 directly accessing this member, use the ::getPartialURL() method instead. URL-encoded form of the main part
Member Title::$mDbkeyform
since 1.37 directly accessing this member, use the ::getDBkey() method instead. Main part with underscores
Member Title::$mNamespace
sine 1.37 Avoid directly accessing this member, use the ::getNamespace() method instead Namespace index, i.e. one of the NS_xxxx constants
Member Title::$mInterwiki
since 1.37 Avoid directly accessing this member, use the ::getInterwiki() method instead. Interwiki prefix
Member Title::$mFragment
since 1.37 Avoid directly accessing this member, use the ::getFragment() method instead. Title fragment (i.e. the bit after the #)
Member Title::newFromTitleValue (TitleValue $titleValue, $forceClone='')
since 1.34, use newFromLinkTarget or castFromLinkTarget
Member Title::getSelectFields ()
since 1.36, use PageStore::newSelectQueryBuilder() instead.
Member Title::getTalkPage ()
since 1.34, use getTalkPageIfDefined() or NamespaceInfo::getTalkPage() with NamespaceInfo::canHaveTalkPage(). Note that the new method will throw if asked for the talk page of a section-only link, or of an interwiki link.
Member Title::getSubjectPage ()
since 1.34, use NamespaceInfo::getSubjectPage
Member NamespaceInfo::getRestrictionLevels ( $index, User $user=null)
since 1.34 User PermissionManager::getNamespaceRestrictionLevels instead.
Member Title::getDefaultNamespace ()
since 1.37, no callers, should be removed.
Member Title::getFilteredRestrictionTypes ( $exists=true)
since 1.37, use RestrictionStore::listAllRestrictionTypes instead
Member Title::getRestrictionTypes ()
since 1.37, use RestrictionStore::listApplicableRestrictionTypes instead
Member Title::getTitleProtection ()
since 1.37, use RestrictionStore::getRestrictions() instead
Member Title::deleteTitleProtection ()
since 1.37, do not use (this is only for WikiPage::onArticleCreate)
Member Title::isSemiProtected ( $action='edit')
since 1.37, use RestrictionStore::isSemiProtected instead
Member Title::isProtected ( $action='')
since 1.37, use RestrictionStore::isProtected instead
Member Title::isNamespaceProtected (User $user)
since 1.34, hard-deprecated since 1.37
Member Title::isCascadeProtected ()
since 1.37, use RestrictionStore::isCascadeProtected instead
Member Title::areCascadeProtectionSourcesLoaded ()
since 1.37, use RestrictionStore::areCascadeProtectionSourcesLoaded instead
Member Title::getCascadeProtectionSources ( $getPages=true)
since 1.37, use RestrictionStore::getCascadeProtectionSources instead
Member SpecialVersion::getExtAuthorsFileName ( $extDir)
since 1.35 Use MediaWiki\ExtensionInfo::getAuthorsFileName()
Class MediaWiki\Hook\SpecialMuteSubmitHook

since 1.35, used only for instrumentation on Special:Mute

Member ContribsPager::preventClickjacking ()
since 1.38, use ::setPreventClickjacking() instead
Member SpecialBlock::getTargetAndType (?string $par, WebRequest $request=null)
since 1.36. Use BlockUtils::parseBlockTarget directly instead.
Member SpecialBlock::processForm (array $data, IContextSource $context)
since 1.36, use BlockUserFactory service instead
Member SpecialBlock::parseExpiryInput ( $expiry)
since 1.36, use BlockUser::parseExpiryInput instead
Member SpecialBlock::canBlockEmail (UserIdentity $user)
since 1.36, use BlockPermissionChecker service instead
Member SpecialBlock::checkUnblockSelf ( $target, Authority $performer)
since 1.36, hard deprecated since 1.37, use BlockPermissionChecker instead
Member SpecialMute::isTargetBlacklisted ( $userOption)
since 1.35, use isTargetMuted
Class SpecialResetTokens
since 1.26
Member SpecialUnblock::processUnblock (array $data, IContextSource $context)
since 1.36, use UnblockUser instead
Member Linker::link ( $target, $html=null, $customAttribs=[], $query=[], $options=[])
since 1.28, use MediaWiki\Linker\LinkRenderer instead
Member SpecialVersion::getExtLicenseFileName ( $extDir)
since 1.35 Use MediaWiki\ExtensionInfo::getLicenseFileNames()
Member Status::getErrorsArray ()
since 1.25
Member Status::getWarningsArray ()
since 1.25
Member MediaWiki\Storage\DerivedPageDataUpdater::getPreparedEdit ()
This only exists for B/C, use the getters on DerivedPageDataUpdater directly!
Class MediaWiki\Storage\Hook\PageContentSaveHook

since 1.35 Use MultiContentSave instead

Member MediaWiki\Storage\SqlBlobStore::getLegacyEncodingConversionLang ()
since 1.34 No longer needed
Member MediaWiki\Storage\SqlBlobStore::getTextIdFromAddress ( $address)
since 1.31, so don't assume that all blob addresses refer to a row in the text table. This method should become private once the relevant refactoring in WikiPage is complete.
Member StreamFile::STREAM_HEADLESS
since 1.34
Member StreamFile::STREAM_ALLOW_OB
since 1.34
Member MediaWiki\Tidy\TidyDriverBase::supportsValidate ()
since 1.36, always returns false
Class HTMLCacheUpdate
Since 1.34; Enqueue jobs from HTMLCacheUpdateJob::newForBacklinks instead
Member $wgAllowRequiringEmailForResets
This feature is under development, don't assume this flag's existence or function outside of MediaWiki.
Member $wgParserTestFiles
since 1.30
Member $wgOpenSearchTemplate
since 1.25 Use $wgOpenSearchTemplates['application/x-suggestions+json'] instead
Member $wgEnableOpenSearchSuggest
since 1.35 No longer used
Member $wgAutoloadAttemptLowercase
since 1.35
Member $wgTrackingCategories
since 1.25 Extensions should now register tracking categories using the new extension registration system.
Member $wgUseAjax
(officially) since MediaWiki 1.31 and ignored since 1.32
Member $wgAjaxExportList
(officially) since 1.27; use the API instead
Member $wgShellboxUrl
since 1.37; use $wgShellboxUrls instead
Member CdnCacheUpdate::newFromTitles ( $pages, $urls=[])
Since 1.35 Use HtmlCacheUpdater instead
Member DataUpdate::runUpdates (array $updates)
Since 1.28 Use DeferredUpdates::execute()
Member $wgMaximalPasswordLength
since 1.26, use $wgPasswordPolicy's MaximalPasswordLength.
Member HtmlFileCacheUpdate::newFromTitles ( $pages)
since 1.37 use newFromPages() instead
Member DifferenceEngine::$mOldContent
since 1.32, content slots are now handled by the corresponding SlotDiffRenderer. This property is set to the content of the main slot, but not actually used for the main diff.
Member DifferenceEngine::$mNewContent
since 1.32, content slots are now handled by the corresponding SlotDiffRenderer. This property is set to the content of the main slot, but not actually used for the main diff.
Member DifferenceEngine::getDiffBodyCacheKey ()
since 1.31, use getDiffBodyCacheKeyParams() instead
Member DifferenceEngine::getExtraCacheKeys ()
Member DifferenceEngine::generateContentDiffBody (Content $old, Content $new)
since 1.32, use a SlotDiffRenderer instead.
Member DifferenceEngine::generateTextDiffBody ( $otext, $ntext)
since 1.32, use a TextSlotDiffRenderer instead.
Member DifferenceEngine::textDiff ( $otext, $ntext)
since 1.32, use a TextSlotDiffRenderer instead.
Member DifferenceEngine::setContent (Content $oldContent, Content $newContent)
since 1.32, use setRevisions or ContentHandler::getSlotDiffRenderer.
Class DifferenceEngineSlotDiffRenderer

Class MediaWiki\Edit\PreparedEdit
since 1.32, use DerivedPageDataUpdater instead.
Member $wgUploadStashScalerBaseUrl
since 1.36 Use thumbProxyUrl in $wgLocalFileRepo
Member MessageContent::getNativeData ()
since 1.33 use getMessage() instead.
Member TextContent::getNativeData ()
since 1.33 use getText() instead.
Member ContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member DerivativeContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member IContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member RequestContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
File DBAccessBase.php
since 1.37
Member DBAccessBase::releaseConnection (IDatabase $db)
Since 1.34
Class MediaWiki\Logger\Monolog\LegacyFormatter
since 1.32
Member $wgVersion
since 1.35; use the MW_VERSION constant instead
Member $wgLogoHD
since 1.35. Developers should retrieve this logo (and other variants) using the static function ResourceLoaderSkinModule::getAvailableLogos. $wgLogos should be used instead.
Member MediaWiki\Edit\PreparedEdit::__get ( $name)
since 1.33
Member $wgGalleryOptions
since 1.28
  • showBytes: Show the filesize in bytes in categories
  • showDimensions: Show the dimensions (width x height) in categories
  • mode: Gallery mode
Member $wgEnableSpecialMute
1.34
Member $wgSharedDB
since 1.21 In new code, use the $wiki parameter to LBFactory::getMainLB() to access remote databases. Using LBFactory::getMainLB() allows the shared database to reside on separate servers to the wiki's own database, with suitable configuration of $wgLBFactoryConf.
Member $wgMultiContentRevisionSchemaMigrationStage
Since 1.35, the only accepted value is SCHEMA_COMPAT_NEW. No longer functions as a setting. Will be removed in 1.36. An appropriate combination of SCHEMA_COMPAT_XXX flags.
Member $wgContentHandlerTextFallback
since 1.37
Member $wgParserCacheUseJson
since 1.36
Member $wgSquidPurgeUseHostHeader
since 1.33, will always be true in a future release.
Member $wgDummyLanguageCodes
since 1.29
Member $wgIncludeLegacyJavaScript
since 1.26: Always declare dependencies.
Member $wgAllowImageTag
since 1.35; register an extension tag named
Member $wgMinimalPasswordLength
since 1.26, use $wgPasswordPolicy's MinimalPasswordLength.
Member wfShellExecWithStderr ( $cmd, &$retval=null, $environ=[], $limits=[])
since 1.30 use class MediaWiki\Shell\Shell
Member File::getMetadata ()
since 1.37 use getMetadataArray() or getMetadataItem()
Member File::getImageSize ( $filePath)
since 1.37
Member LocalFile::getMetadata ()
since 1.37 use getMetadataArray() or getMetadataItem()
Class MediaWiki\Hook\LocalFile__getHistoryHook

since 1.37

Member LocalRepo::getMasterDB ()
since 1.37
Member wfIncrStats ( $key, $count=1)
since 1.36 (emits deprecation warnings since 1.37), use MediaWikiServices::getInstance()->getStatsdDataFactory()->updateCount() instead
Member wfReadOnly ()
since 1.38, use ReadOnlyMode::isReadOnly() instead
Member wfReadOnlyReason ()
since 1.38, use ReadOnlyMode::getReason() instead
Member wfClearOutputBuffers ()
since 1.36
Member wfEscapeShellArg (... $args)
since 1.30 use MediaWiki\Shell\Shell::escape()
Member wfShellExec ( $cmd, &$retval=null, $environ=[], $limits=[], $options=[])
since 1.30 use class MediaWiki\Shell\Shell
Member File::getUser ( $type='text')
since 1.37. Use and override ::getUploader instead.
Member wfShellWikiCmd ( $script, array $parameters=[], array $options=[])
since 1.31, use Shell::makeScriptCommand()
Member wfWikiID ()
since 1.35 Use WikiMap::getCurrentWikiId()
Member wfGetLB ( $wiki=false)
since 1.27, hard deprecated since 1.37 Use MediaWikiServices::getInstance()->getDBLoadBalancer() or MediaWikiServices::getInstance()->getDBLoadBalancerFactory() instead.
Member wfFindFile ( $title, $options=[])
since 1.34, use MediaWikiServices
Member wfLocalFile ( $title)
since 1.34, hard deprecated since 1.37, use MediaWikiServices
Member wfGetScriptUrl ()
since 1.35. Use wfScript() to obtain an entry point URL.
Member wfGetCache ( $cacheType)
since 1.32, use ObjectCache::getInstance() instead
Member wfGetMainCache ()
since 1.32, use ObjectCache::getLocalClusterInstance() instead
Member wfCanIPUseHTTPS ( $ip)
since 1.37, always returns true
Class MediaWiki\Hook\EditPageBeforeEditToolbarHook

1.36 Use one of the many other EditPage hooks instead

Class MediaWiki\Hook\MagicWordwgVariableIDsHook

since 1.35, use GetMagicVariableIDsHook instead.

Member ExternalStore::insertToForeignDefault ( $data, $wiki)
1.34 Use insertToDefault() with 'wiki' set
Member MediaWiki\EditPage\IEditObject::AS_CANNOT_USE_CUSTOM_MODEL
since 1.35, meaningless since $wgContentHandlerUseDB has been removed.
Member EditPage::$mArticle
for public usage since 1.30 use EditPage::getArticle()
Member EditPage::$mTitle
for public usage since 1.30 use EditPage::getTitle()
Member MWExceptionHandler::rollbackMasterChangesAndLog (Throwable $e, $catcher=self::CAUGHT_BY_OTHER)
since 1.37; please use rollbackPrimaryChangesAndLog() instead.
Class ExternalStore
1.34 Use ExternalStoreFactory directly instead
Member ExternalStore::getStoreObject ( $proto, array $params=[])
1.34
Member ExternalStore::fetchFromURL ( $url, array $params=[])
1.34
Member ExternalStore::insert ( $url, $data, array $params=[])
1.34
Member ExternalStore::batchFetchFromURLs (array $urls)
1.34
Member ExternalStore::insertToDefault ( $data, array $params=[])
1.34
Member ExternalStore::insertWithFallback (array $tryStores, $data, array $params=[])
1.34
File MessageContent.php
since 1.38.
Member ExternalStoreDB::getSlave ( $cluster)
since 1.34
Member ExternalStoreDB::getMaster ( $cluster)
since 1.37; please use getPrimary() instead.
Member FeedUtils::formatDiffRow ( $title, $oldid, $newid, $timestamp, $comment, $actiontext='')
since 1.38 use formatDiffRow2
Member DBFileJournal::getMasterDB ()
since 1.37
Member LockManagerGroup::getDefault ()
since 1.35, seemingly unused, just call get() and catch any exception instead
Member LockManagerGroup::getAny ()
since 1.35, seemingly unused, just call get() and catch any exception instead
Member ArchivedFile::getUser ( $type='text')
since 1.37. Use ::getUploader instead.
Member ArchivedFile::getRawUser ()
since 1.37. Use ::getUploader with self::RAW audience.
Member ArchivedFile::getRawUserText ()
since 1.37. Use ::getUploader with self::RAW audience.
Member ArchivedFile::getRawDescription ()
since 1.37. Use ::getDescription with self::RAW audience.
Member ApiQueryBase::showHiddenUsersAddBlockInfo ( $showBlockInfo)
since 1.34, use ApiQueryBlockInfoTrait instead
Member ApiBase::PARAM_MAX_CHARS
since 1.35, use StringDef::PARAM_MAX_CHARS instead
Member ApiBase::PARAM_RANGE_ENFORCE
since 1.35
Member ApiBase::PARAM_VALUE_LINKS
since 1.35
Class ApiErrorFormatter_BackCompat

Only for backwards compatibility, do not use

Member ApiPageSet::getTitles ()
since 1.37, use getPages() instead.
Member ApiPageSet::getGoodTitles ()
since 1.37, use getGoodPages() instead.
Member ApiPageSet::getMissingTitles ()
since 1.37, use getMissingPages instead.
Member ApiPageSet::getGoodAndMissingTitles ()
since 1.37, use getGoodAndMissingPages() instead.
Member ApiPageSet::getRedirectTitles ()
since 1.37, use getRedirectTargets instead.
Member ApiPageSet::getSpecialTitles ()
since 1.37, use getSpecialPages() instead.
Member ApiQueryBase::prefixedTitlePartToKey ( $titlePart, $defaultNamespace=NS_MAIN)
sine 1.35, use parsePrefixedTitlePart() instead.
Member ApiBase::PARAM_MAX_BYTES
since 1.35, use StringDef::PARAM_MAX_BYTES instead
Class ApiQueryDeletedrevs
since 1.25
Member ApiStashEdit::parseAndStash (WikiPage $page, Content $content, UserIdentity $user, $summary)
Since 1.34
Member MediaWiki\Auth\AbstractAuthenticationProvider::setLogger (LoggerInterface $logger)
since 1.37. For extension-defined authentication providers that were using this method to trigger other work, please override AbstractAuthenticationProvider::postInitSetup instead. If your extension was using this to explicitly change the logger of an existing AuthenticationProvider object, please file a report on phabricator - there is no non-deprecated way to do this anymore.
Member MediaWiki\Auth\AbstractAuthenticationProvider::setManager (AuthManager $manager)
since 1.37. For extension-defined authentication providers that were using this method to trigger other work, please override AbstractAuthenticationProvider::postInitSetup instead. If your extension was using this to explicitly change the AuthManager of an existing AuthenticationProvider object, please file a report on phabricator - there is no non-deprecated way to do this anymore.
Member MediaWiki\Auth\AbstractAuthenticationProvider::setConfig (Config $config)
since 1.37. For extension-defined authentication providers that were using this method to trigger other work, please override AbstractAuthenticationProvider::postInitSetup instead. If your extension was using this to explicitly change the Config of an existing AuthenticationProvider object, please file a report on phabricator - there is no non-deprecated way to do this anymore.
Member MediaWiki\Auth\AbstractAuthenticationProvider::setHookContainer (HookContainer $hookContainer)
since 1.37. For extension-defined authentication providers that were using this method to trigger other work, please override AbstractAuthenticationProvider::postInitSetup instead. If your extension was using this to explicitly change the HookContainer of an existing AuthenticationProvider object, please file a report on phabricator - there is no non-deprecated way to do this anymore.
Member MediaWiki\Auth\AuthenticationProvider::setManager (AuthManager $manager)
since 1.37. For extension-defined authentication providers that were using this method to trigger other work, please override AbstractAuthenticationProvider::postInitSetup instead. If your extension was using this to explicitly change the AuthManager (or Config, or HookContainer) of an existing AuthenticationProvider object, please file a report on phabricator - there is no non-deprecated way to do this anymore.
Member MediaWiki\Auth\AuthenticationProvider::setConfig (Config $config)
since 1.37. For extension-defined authentication providers that were using this method to trigger other work, please override AbstractAuthenticationProvider::postInitSetup instead. If your extension was using this to explicitly change the AuthManager (or Config, or HookContainer) of an existing AuthenticationProvider object, please file a report on phabricator - there is no non-deprecated way to do this anymore.
Member MediaWiki\Auth\AuthenticationProvider::setHookContainer (HookContainer $hookContainer)
since 1.37. For extension-defined authentication providers that were using this method to trigger other work, please override AbstractAuthenticationProvider::postInitSetup instead. If your extension was using this to explicitly change the AuthManager (or Config, or HookContainer) of an existing AuthenticationProvider object, please file a report on phabricator - there is no non-deprecated way to do this anymore.
Member MediaWiki\Auth\AuthManager::forcePrimaryAuthenticationProviders (array $providers, $why)
For backwards compatibility only
Member ApiBase::PARAM_ALLOW_DUPLICATES
since 1.35, use ParamValidator::PARAM_ALLOW_DUPLICATES instead
Page Hooks

than the method doc comment, because this causes the interface to be deprecated for implementation. Deprecating the method only causes calling to be deprecated, not handling.

should be added to the interface.

Member Action::$page
since 1.35, use getArticle() ?? getWikiPage(). Must be removed.
Class McrRestoreAction
since 1.32
Class McrUndoAction
since 1.32
Member ApiBase::PARAM_DFLT
since 1.35, use ParamValidator::PARAM_DEFAULT instead
Member ApiBase::PARAM_ISMULTI
since 1.35, use ParamValidator::PARAM_ISMULTI instead
Member ApiBase::PARAM_TYPE
since 1.35, use ParamValidator::PARAM_TYPE instead
Member ApiBase::PARAM_MAX
since 1.35, use IntegerDef::PARAM_MAX instead
Member ApiBase::PARAM_MAX2
since 1.35, use IntegerDef::PARAM_MAX2 instead
Member ApiBase::PARAM_MIN
since 1.35, use IntegerDef::PARAM_MIN instead
Member MediaWiki\Block\AbstractBlock::$mTimestamp
since 1.34. Use getTimestamp and setTimestamp instead.
Member ApiBase::PARAM_DEPRECATED
since 1.35, use ParamValidator::PARAM_DEPRECATED instead
Member ApiBase::PARAM_REQUIRED
since 1.35, use ParamValidator::PARAM_REQUIRED instead
Member ApiBase::PARAM_SUBMODULE_MAP
since 1.35, use SubmoduleDef::PARAM_SUBMODULE_MAP instead
Member ApiBase::PARAM_SUBMODULE_PARAM_PREFIX
since 1.35, use SubmoduleDef::PARAM_SUBMODULE_PARAM_PREFIX instead
Member ApiBase::PARAM_ALL
since 1.35, use ParamValidator::PARAM_ALL instead
Member ApiBase::PARAM_EXTRA_NAMESPACES
since 1.35, use NamespaceDef::PARAM_EXTRA_NAMESPACES instead
Member ApiBase::PARAM_SENSITIVE
since 1.35, use ParamValidator::PARAM_SENSITIVE instead
Member ApiBase::PARAM_DEPRECATED_VALUES
since 1.35, use EnumDef::PARAM_DEPRECATED_VALUES instead
Member ApiBase::PARAM_ISMULTI_LIMIT1
since 1.35, use ParamValidator::PARAM_ISMULTI_LIMIT1 instead
Member ApiBase::PARAM_ISMULTI_LIMIT2
since 1.35, use ParamValidator::PARAM_ISMULTI_LIMIT2 instead
Member Content::preSaveTransform (Title $title, User $user, ParserOptions $parserOptions)
since 1.37. Hard-deprecated since 1.37. Use ContentTransformer::preSaveTransform and override ContentHandler::preSaveTransform.
Member RecentChange::getEngine ( $uri, $params=[])
since 1.29 Use RCFeed::factory() instead
Member Collation::singleton ()
1.37 Use MediaWikiServices::getCollationFactory()->getCategoryCollation()
Member Collation::factory ( $collationName)
1.37 Use MediaWikiServices::getCollationFactory()->makeCollation()
Member CommentStore::getStore ()
in 1.31 Use DI to inject a CommentStore instance into your class.
Member ConfigFactory::getDefaultInstance ()
since 1.27, use MediaWikiServices::getInstance()->getConfigFactory() instead.
Member AbstractContent::preSaveTransform (Title $title, User $user, ParserOptions $popts)
since 1.37. Hard-deprecated since 1.37. Use ContentTransformer::preSaveTransform instead. Extensions defining a content model should override ContentHandler::preSaveTransform.
Member AbstractContent::preloadTransform (Title $title, ParserOptions $popts, $params=[])
since 1.37. Hard-deprecated since 1.37. Use ContentTransformer::preloadTransform instead. Extensions defining a content model should override ContentHandler::preloadTransform.
Member AbstractContent::getParserOutput (Title $title, $revId=null, ParserOptions $options=null, $generateHtml=true)
since 1.38. Use ContentRenderer::getParserOutput instead. Extensions defining a content model should override ContentHandler::fillParserOutput.
Member AbstractContent::fillParserOutput (Title $title, $revId, ParserOptions $options, $generateHtml, ParserOutput &$output)
since 1.37. Use ContentHandler::fillParserOutput instead.
Member Content::getNativeData ()
since 1.33 use getText() for TextContent instances. For other content models, use specialized getters.
Member Content::getParserOutput (Title $title, $revId=null, ParserOptions $options=null, $generateHtml=true)
since 1.38. Use ContentRenderer::getParserOutput and override ContentHandler::fillParserOutput.
Member RecentChange::getPerformer ()
since 1.36, hard deprecated since 1.37, use getPerformerIdentity() instead.
Member Content::preloadTransform (Title $title, ParserOptions $parserOptions, $params=[])
since 1.37. Hard-deprecated since 1.37. Use ContentTransformer::preloadTransform and override ContentHandler::preloadTransform.
Member ContentHandler::getContentText (Content $content=null)
since 1.37, use Content::getText() for TextContent instances instead
Member ContentHandler::getDefaultModelFor (Title $title)
since 1.33, use SlotRoleHandler::getDefaultModel() together with SlotRoleRegistry::getRoleHandler().
Member ContentHandler::getForTitle (Title $title)
since 1.35, hard deprecated since 1.37 Use ContentHandlerFactory::getContentHandler( $title->getContentModel() ) instead
Member ContentHandler::getForContent (Content $content)
since 1.35, instead use ContentHandlerFactory::getContentHandler( $content->getModel() ).
Member ContentHandler::getForModelID ( $modelId)
since 1.35, use ContentHandlerFactory::getContentHandler
Member ContentHandler::cleanupHandlersCache ()
since 1.35, hard deprecated since 1.37 Please, use ContentHandlerFactory. Cleanup is not needed
Member ContentHandler::getContentModels ()
since 1.35, use ContentHandlerFactory::getContentModels
Member ContentHandler::getAllContentFormats ()
since 1.35, use ContentHandlerFactory::getAllContentFormats
Member ContentHandler::getSlotDiffRendererInternal (IContextSource $context)
use getSlotDiffRendererWithOptions instead
Member ContentModelChange::checkPermissions ()
since 1.36. Use ::probablyCanChange or ::authorizeChange instead.
Member MediaWiki\Block\DatabaseBlock::purgeExpired ()
since 1.36, hard deprecated since 1.38 Use DatabaseBlockStore::purgeExpiredBlocks instead.
Member MediaWiki\Block\AbstractBlock::$mExpiry
since 1.34. Use getExpiry and setExpiry instead.
Member MediaWiki\Block\AbstractBlock::$mHideName
since 1.34. Use getHideName and setHideName instead.
Member MediaWiki\Block\AbstractBlock::getReason ()
since 1.35. Use getReasonComment instead.
Member MediaWiki\Block\AbstractBlock::getPermissionsError (IContextSource $context)
since 1.35 Use BlockErrorFormatter::getMessage instead, and build the array using Message::getKey and Message::getParams.
Member MediaWiki\Block\DatabaseBlock::$mAuto
since 1.34. Use getType to check whether a block is autoblocking.
Member MediaWiki\Block\DatabaseBlock::$mParentBlockId
since 1.34. Use getParentBlockId instead.
Member MediaWiki\Block\DatabaseBlock::delete ()
since 1.36 Use DatabaseBlockStore::deleteBlock instead.
Member MediaWiki\Block\DatabaseBlock::insert (IDatabase $dbw=null)
since 1.36 Use DatabaseBlockStore::insertBlock instead.
Member MediaWiki\Block\DatabaseBlock::update ()
since 1.36 Use DatabaseBlockStore::updateBlock instead.
Member MediaWiki\Block\DatabaseBlock::getReason ()
since 1.35. Use getReasonComment instead.
Class MediaWiki\Hook\ParserTestTablesHook
No longer invoked by MW 1.36+
Member BacklinkCache::get (PageReference $page)
since 1.37 Use BacklinkCacheFactory::getBacklinkCache() instead
Member BacklinkCache::getLinks ( $table, $startId=false, $endId=false, $max=INF)
in 1.37, use getLinkPages()
Member BacklinkCache::getCascadeProtectedLinks ()
since 1.37, use getCascadeProtectedLinkPages()
Member LinkBatch::__construct (iterable $arr=[], ?LinkCache $linkCache=null, ?TitleFormatter $titleFormatter=null, ?Language $contentLanguage=null, ?GenderCache $genderCache=null, ?ILoadBalancer $loadBalancer=null)
1.35 Use makeLinkBatch of the LinkBatchFactory service instead
Member LinkCache::forUpdate ( $update=null)
Since 1.34. Use PageStore::getPageForLink with IDBAccessObject::READ_LATEST.
Member LinkCache::addGoodLinkObj ( $id, $page, $len=-1, $redir=null, $revision=0, $model=null, $lang=null)
since 1.37, use addGoodLinkObjFromRow() instead. PHPUnit tests must use LinkCacheTestTrait::addGoodLinkObject().
Member LinkCache::addLinkObj ( $page, int $queryFlags=IDBAccessObject::READ_NORMAL)
since 1.37, use PageStore::getPageForLink() instead.
Member Category::getTitle ()
since 1.37, use getPage() instead.
Member ChangesList::getTimestamp ( $rc)
use revDateLink instead.
Member RecentChange::getTitle ()
since 1.37, use getPage() instead.
Member Wikimedia\Rdbms\IDatabase::selectDB ( $db)
Since 1.32 Use selectDomain() instead
Member Wikimedia\Rdbms\IDatabase::getTopologyRootMaster ()
since 1.37; use getTopologyRootPrimary() instead.
Member Wikimedia\Rdbms\IDatabase::fetchObject (IResultWrapper $res)
since 1.37 use IResultWrapper::fetchObject()
Member Wikimedia\Rdbms\IDatabase::fetchRow (IResultWrapper $res)
since 1.37 use IResultWrapper::fetchRow()
Member Wikimedia\Rdbms\IDatabase::numRows ( $res)
since 1.37 use IResultWrapper::numRows()
Member Wikimedia\Rdbms\IDatabase::numFields (IResultWrapper $res)
since 1.37
Member Wikimedia\Rdbms\IDatabase::fieldName (IResultWrapper $res, $n)
since 1.37
Member Wikimedia\Rdbms\IDatabase::freeResult (IResultWrapper $res)
since 1.37 Use IResultWrapper::free()
Member Wikimedia\Rdbms\IDatabase::dataSeek (IResultWrapper $res, $row)
since 1.37 use IResultWrapper::seek()
Member Wikimedia\Rdbms\IDatabase::aggregateValue ( $valuedata, $valuename='value')
Since 1.33
Member Wikimedia\Rdbms\IDatabase::nextSequenceValue ( $seqName)
since 1.30, no longer needed
Member Wikimedia\Rdbms\IDatabase::masterPosWait (DBPrimaryPos $pos, $timeout)
since 1.37; use primaryPosWait() instead.
Member Wikimedia\Rdbms\IDatabase::getMasterPos ()
since 1.37; use getPrimaryPos() instead.
Member Wikimedia\Rdbms\IDatabase::onTransactionIdle (callable $callback, $fname=__METHOD__)
Since 1.32
Member Wikimedia\Rdbms\MysqliResultWrapper::getInternalResult ()
since 1.37 Only exists to support deprecated methods
Member Wikimedia\Rdbms\PostgresResultWrapper::getInternalResult ()
since 1.37 Only exists to support deprecated methods
Member MimeAnalyzer::getTypesForExtension ( $ext)
since 1.35 Use getMimeTypesFromExtension() instead.
Member Language::getConvRuleTitle ()
since 1.35 use LanguageConverter::getConvRuleTitle instead
Member MediaWiki\Languages\LanguageConverterFactory::isTitleConversionDisabled ()
1.36 Should use ::isLinkConversionDisabled() instead
Member Message::title ( $title)
since 1.37. Use ::page instead
Member Message::content ()
since 1.38, MessageContent class is hard-deprecated.
Member FileBackend::getWikiId ()
Since 1.34 Use getDomainId()
Member FileJournal::factory (array $config, $backend)
since 1.35, only FileBackendGroup should need to create FileJournals
Member TempFSFile::factory ( $prefix, $extension='', $tmpDirectory=null)
since 1.34, use TempFSFileFactory directly
Member MimeAnalyzer::getExtensionsForType ( $mime)
since 1.35 Use getExtensionsFromMimeType() instead.
Member MimeAnalyzer::guessTypesForExtension ( $ext)
since 1.35 Use getMimeTypeFromExtensionOrNull() instead.
Member Wikimedia\Rdbms\ResultWrapper::unwrap ( $res)
since 1.37
Class IExpiringStore
1.35
Member Wikimedia\Rdbms\Database::assertIsWritableMaster ()
since 1.37; please use assertIsWritablePrimary() instead.
Member Wikimedia\Rdbms\DatabaseMysqlBase::fieldType ( $res, $n)
since 1.37
Member Wikimedia\Rdbms\DatabaseMysqlBase::mysqlFieldType ( $res, $n)
since 1.37
Member Wikimedia\Rdbms\DatabasePostgres::remappedTableName ( $name)
since 1.37. Reserved identifiers should be quoted where necessary
Member Wikimedia\Rdbms\DatabasePostgres::fieldType ( $res, $index)
since 1.37
Member Wikimedia\Rdbms\ILoadBalancer::pendingMasterChangeCallers ()
since 1.37; please use pendingPrimaryChangeCallers() instead.
Member Wikimedia\Rdbms\ILoadBalancer::approveMasterChanges (array $options, $fname=__METHOD__, $owner=null)
since 1.37; please use approvePrimaryChanges() instead.
Member Wikimedia\Rdbms\ILoadBalancer::beginMasterChanges ( $fname=__METHOD__, $owner=null)
since 1.37; please use beginPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILoadBalancer::commitMasterChanges ( $fname=__METHOD__, $owner=null)
since 1.37; please use commitPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILoadBalancer::runMasterTransactionIdleCallbacks ( $fname=__METHOD__, $owner=null)
since 1.37; please use runPrimaryTransactionIdleCallbacks() instead.
Member Wikimedia\Rdbms\ILoadBalancer::runMasterTransactionListenerCallbacks ( $fname=__METHOD__, $owner=null)
since 1.37; please use runPrimaryTransactionListenerCallbacks() instead.
Member Wikimedia\Rdbms\ILoadBalancer::rollbackMasterChanges ( $fname=__METHOD__, $owner=null)
since 1.37; please use rollbackPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILoadBalancer::flushMasterSnapshots ( $fname=__METHOD__, $owner=null)
since 1.37; please use flushPrimarySnapshots() instead.
Member Wikimedia\Rdbms\ILoadBalancer::hasMasterConnection ()
since 1.37; please use hasPrimaryConnection() instead.
Member Wikimedia\Rdbms\ILoadBalancer::hasMasterChanges ()
since 1.37; please use hasPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILoadBalancer::lastMasterChangeTimestamp ()
since 1.37; please use lastPrimaryChangeTimestamp() instead.
Member Wikimedia\Rdbms\ILoadBalancer::hasOrMadeRecentMasterChanges ( $age=null)
since 1.37; please use hasOrMadeRecentPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILoadBalancer::finalizeMasterChanges ( $fname=__METHOD__, $owner=null)
since 1.37 Use finalizePrimaryChanges() instead.
Member Wikimedia\Rdbms\ILoadBalancer::forEachOpenMasterConnection ( $callback, array $params=[])
since 1.37; please use forEachOpenPrimaryConnection() instead.
Member Wikimedia\Rdbms\ILoadBalancer::waitForMasterPos (IDatabase $conn, $pos=false, $timeout=10)
since 1.37; please use waitForPrimaryPos() instead.
Member Wikimedia\Rdbms\LoadBalancer::openConnection ( $i, $domain=false, $flags=0)
Since 1.34 Use getConnection() instead
Member Wikimedia\Rdbms\LoadBalancer::haveIndex ( $i)
Since 1.34
Member Wikimedia\Rdbms\LoadBalancer::isNonZeroLoad ( $i)
Since 1.34
Member Wikimedia\Rdbms\LoadBalancer::safeGetLag (IDatabase $conn)
Since 1.34 Use IDatabase::getLag() instead
Member MediaWiki\Linker\LinkRenderer::setStubThreshold ( $threshold)
since 1.37. Stub threshold feature was removed. See T284917
Member MediaWiki\Linker\LinkRenderer::getStubThreshold ()
since 1.37. Stub threshold feature was removed. See T284917
Member MediaWiki\Linker\LinkRendererFactory::createForUser (UserIdentity $user)
since 1.37. LinkRenderer does not depend on the user any longer, so calling ::create is sufficient.
Member Wikimedia\Rdbms\SqliteResultWrapper::getInternalResult ()
since 1.37 Only exists to support deprecated methods
Class Wikimedia\Rdbms\NextSequenceValue
since 1.30, only exists for backwards compatibility
Member DB_MASTER
since 1.36, Use DB_PRIMARY instead
Member Language::getMessageKeysFor ( $code)
since 1.35, use LocalisationCache directly
Member Wikimedia\Rdbms\ILBFactory::beginMasterChanges ( $fname=__METHOD__)
since 1.37 Use beginPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILBFactory::commitMasterChanges ( $fname=__METHOD__, array $options=[])
since 1.37; please use commitPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILBFactory::rollbackMasterChanges ( $fname=__METHOD__)
since 1.37; please use rollbackPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILBFactory::hasMasterChanges ()
since 1.37; please use hasPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILBFactory::hasOrMadeRecentMasterChanges ( $age=null)
since 1.37; please use hasOrMadeRecentPrimaryChanges() instead.
Member Wikimedia\Rdbms\ILoadBalancer::DB_MASTER
since 1.36, Use DB_PRIMARY instead
Member Wikimedia\Rdbms\ILoadBalancer::getMasterPos ()
since 1.37 Use getPrimaryPos() instead.
Class MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook
Does not support enumerating all valid prefixes; for testing purposes (re)set $wgInterwikiCache instead.
Member WikiRevision::$config
since 1.31, along with self::downloadSource()
Member WikiRevision::setModel ( $model)
since 1.35, use setContent instead.
Member WikiRevision::setFormat ( $format)
since 1.35, use setContent instead.
Member WikiRevision::setText ( $text)
since 1.35, use setContent instead.
Member WikiRevision::getContentHandler ()
since 1.35, use getContent
Member WikiRevision::getModel ()
since 1.35, use getContent
Member WikiRevision::getFormat ()
since 1.35, use getContent
Member WikiRevision::importOldRevision ()
in 1.31. Use OldRevisionImporter::import
Member WikiRevision::importUpload ()
in 1.31. Use UploadRevisionImporter::import
Member WikiRevision::downloadSource ()
in 1.31. No replacement
Member DatabaseUpdater::ifNoActorTable ( $func,... $params)
since 1.35, use ifTableNotExists() instead
Member WikiRevision::$fileIsTemp
1.29 use Wikirevision::isTempSrc() First written to in 43d5d3b682cc1733ad01a837d11af4a402d57e6a Actually introduced in 52cd34acf590e5be946b7885ffdc13a157c1c6cf
Member JobQueue::getWiki ()
1.33 (hard deprecated since 1.37)
Member JobQueueDB::getMasterDB ()
since 1.37
Member JobQueueGroup::$instances
1.37
Member JobQueueGroup::singleton ( $domain=false)
1.37 Use JobQueueGroupFactory::makeJobQueueGroup
Member JobQueueGroup::destroySingletons ()
1.37
Member JobRunner::setLogger (LoggerInterface $logger)
since 1.35. Rely on the logger passed in the constructor.
Member EnqueueJob::newFromJobsByWiki (array $jobsByWiki)
Since 1.33; use newFromJobsByDomain()
Member JobSpecification::getTitle ()
since 1.37.
Member Language::AS_AUTONYMS
since 1.34, LanguageNameUtils::AUTONYMS
Member Language::ALL
since 1.34, use LanguageNameUtils::ALL
Member Language::SUPPORTED
since 1.34, use LanguageNameUtils::SUPPORTED
Member Http::post ( $url, array $options=[], $caller=__METHOD__)
since 1.34, use HttpRequestFactory::post()
Class MediaWiki\Hook\ProtectionForm__buildFormHook

since 1.36, use ProtectionFormAddFormFields

Member Hooks::register ( $name, $callback)
since 1.35. use HookContainer::register() instead
Member Hooks::clear ( $name)
since 1.35. Instead of using Hooks::register() and Hooks::clear(), use HookContainer::scopedRegister() instead to register a temporary hook
Member Hooks::isRegistered ( $name)
since 1.35. use HookContainer::isRegistered() instead
Member Hooks::getHandlers ( $name)
since 1.35
Member Hooks::run ( $event, array $args=[], $deprecatedVersion=null)
since 1.35 Use HookContainer::run() instead
Member Hooks::runWithoutAbort ( $event, array $args=[], $deprecatedVersion=null)
since 1.35 Use HookContainer::run() with 'abortable' option instead
Class Http

since 1.34

Member Http::$httpEngine
since 1.34, just use the default engine
Member Http::request ( $method, $url, array $options=[], $caller=__METHOD__)
since 1.34, use HttpRequestFactory::request()
Member Http::get ( $url, array $options=[], $caller=__METHOD__)
since 1.34, use HttpRequestFactory::get()
Member Language::$mMagicExtensions
since 1.35, use LocalisationCache with custom language config
Member Http::userAgent ()
since 1.34, use HttpRequestFactory::getUserAgent()
Member Http::isValidURI ( $uri)
since 1.34, use MWHttpRequest::isValidURI
Member Http::getProxy ()
since 1.34, use $wgHTTPProxy directly
Member Http::createMultiClient (array $options=[])
since 1.34, use MediaWikiServices::getHttpRequestFactory()->createMultiClient()
Member MWHttpRequest::factory ( $url, array $options=null, $caller=__METHOD__)
since 1.34, use HttpRequestFactory instead
Member ImportableUploadRevisionImporter::downloadSource (ImportableUploadRevision $wikiRevision)
DO NOT CALL ME. This method was introduced when factoring (Importable)UploadRevisionImporter out of WikiRevision. It only has 1 use by the deprecated downloadSource method in WikiRevision. Do not use this in new code, it will be made private soon.
Member WikiRevision::$model
since 1.35, use getContent
Member WikiRevision::$format
since 1.35, use getContent
Member WikiRevision::$text
since 1.35, use getContent
Member WikiRevision::$content
since 1.35, use getContent
Member Language::getDefaultVariant ()
since 1.35 use LanguageConverter::getDefaultVariant instead
Member Language::getConverter ()
since 1.35 Use MediaWikiServices::getInstance()->getLanguageConverterFactory() ->getLanguageConverter( $language ) instead
Member Language::autoConvert ( $text, $variant=false)
since 1.35 use LanguageConverter::autoConvert
Member Language::autoConvertToAllVariants ( $text)
since 1.35 use LanguageConverter::autoConvertToAllVariants
Member Language::convert ( $text)
since 1.35 use LanguageConverter::convert
Member Language::convertNamespace ( $ns, $variant=null)
since 1.35 use LanguageConverter::convertNamespace instead
Member Language::hasVariants ()
since 1.35 use LanguageConverter::hasVariants instead
Member Language::hasVariant ( $variant)
since 1.35 use LanguageConverter::hasVariant instead
Member Language::convertHtml ( $text)
since 1.35 use LanguageConverter::convertHtml instead
Member Language::convertCategoryKey ( $key)
since 1.35 use LanguageConverter::convertCategoryKey instead
Member Language::getVariants ()
since 1.35 use LanguageConverter::getVariants instead
Member Language::getPreferredVariant ()
since 1.35 use LanguageConverter::getPreferredVariant instead
Member Language::commafy ( $number)
in 1.36 use formatNum
Member Language::getURLVariant ()
since 1.35 use LanguageConverter::getURLVariant instead
Member Language::getExtraHashOptions ()
since 1.35 use LanguageConverter::getExtraHashOptions instead
Member Language::getParentLanguage ()
since 1.35, use LanguageFactory::getParentLanguage
Member Language::getFileName ( $prefix, $code, $suffix='.php')
since 1.34, use LanguageNameUtils
Member Language::getMessagesFileName ( $code)
since 1.34, use LanguageNameUtils
Member Language::getJsonMessagesFileName ( $code)
since 1.34, use LanguageNameUtils
Member Language::getFallbackFor ( $code)
since 1.35, use LanguageFallback::getFirst
Member Language::getFallbacksFor ( $code, $mode=LanguageFallback::MESSAGES)
since 1.35, use LanguageFallback::getAll
Member Language::getFallbacksIncludingSiteLanguage ( $code)
since 1.35, use LanguageFallback::getAllIncludingSiteLanguage
Member Language::getMessagesFor ( $code)
since 1.35, use LocalisationCache directly
Member Language::getMessageFor ( $key, $code)
since 1.35, use LocalisationCache directly
Member Language::$mHebrewCalendarMonthGenMsgs
since 1.35, use the HEBREW_CALENDAR_MONTH_GENITIVE_MESSAGES constant
Member Language::$dateFormatStrings
since 1.35, must be private
Member Language::$mExtendedSpecialPageAliases
since 1.35, must be protected
Member Language::MESSAGES_FALLBACKS
since 1.35, use LanguageFallback::MESSAGES
Member Language::STRICT_FALLBACKS
since 1.35, use LanguageFallback::STRICT
Member Language::$mWeekdayMsgs
since 1.35, use the WEEKDAY_MESSAGES constant
Member Language::$mWeekdayAbbrevMsgs
since 1.35, use the WEEKDAY_ABBREVIATED_MESSAGES constant
Member Language::$mMonthMsgs
since 1.35, use the MONTH_MESSAGES constant
Member Language::$mMonthGenMsgs
since 1.35, use the MONTH_GENITIVE_MESSAGES constant
Member Language::$mMonthAbbrevMsgs
since 1.35, use the MONTH_ABBREVIATED_MESSAGES constant
Member Language::$mIranianCalendarMonthMsgs
since 1.35, use the IRANIAN_CALENDAR_MONTHS_MESSAGES constant
Member Language::$mHebrewCalendarMonthMsgs
since 1.35, use the HEBREW_CALENDAR_MONTHS_MESSAGES constant
Page Hooks
to the interface doc comment. The interface doc comment is a better place for
Member Language::$mHijriCalendarMonthMsgs
since 1.35, use the HIJRI_CALENDAR_MONTH_MESSAGES constant
Member Language::$durationIntervals
since 1.35, use the DURATION_INTERVALS constant
Member Language::factory ( $code)
since 1.35, use LanguageFactory
Member Language::isSupportedLanguage ( $code)
since 1.34, use LanguageNameUtils
Member Language::isValidCode ( $code)
since 1.34, use LanguageNameUtils
Member Language::isValidBuiltInCode ( $code)
since 1.34, use LanguageNameUtils
Member Language::isKnownLanguageTag ( $tag)
since 1.34, use LanguageNameUtils
Member Language::getLocalisationCache ()
since 1.34, use MediaWikiServices
Member Language::fetchLanguageNames ( $inLanguage=LanguageNameUtils::AUTONYMS, $include='mw')
since 1.34, use LanguageNameUtils::getLanguageNames
Member Language::fetchLanguageName ( $code, $inLanguage=LanguageNameUtils::AUTONYMS, $include=LanguageNameUtils::ALL)
since 1.34, use LanguageNameUtils::getLanguageName