MediaWiki  master
Deprecated List
Member Revision::getNext ()
since 1.31 (soft), 1.35 (hard), use RevisionLookup::getNextRevision instead
Member Revision::isUnpatrolled ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getRecentChange ( $flags=0)
since 1.31 (soft), 1.35 (hard)
Member Revision::isDeleted ( $field)
since 1.31 (soft), 1.35 (hard)
Member Revision::getVisibility ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getContent ( $audience=self::FOR_PUBLIC, User $user=null)
since 1.31 (soft), 1.35 (hard)
Member Revision::getSerializedData ()
since 1.31 (soft), 1.35 (hard), use BlobStore::getBlob instead.
Member Revision::getContentModel ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getContentFormat ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getContentHandler ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getTimestamp ()
since 1.31 (soft), 1.35 (hard)
Member Revision::isCurrent ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getPrevious ()
since 1.31 (soft), 1.35 (hard)
Member Revision::isMinor ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getRevisionText ( $row, $prefix='old_', $wiki=false)
since 1.32, use RevisionStore::newRevisionFromRow instead.
Member Revision::compressRevisionText (&$text)
since 1.31 (soft), 1.35 (hard)
Member Revision::decompressRevisionText ( $text, $flags)
since 1.31 (soft), 1.35 (hard)
Member Revision::insertOn ( $dbw)
since 1.31 (soft), 1.35 (hard)
Member Revision::base36Sha1 ( $text)
since 1.31 (soft), 1.35 (hard)
Member Revision::newNullRevision ( $dbw, $pageId, $summary, $minor, $user=null)
since 1.31 (soft), 1.35 (hard)
Member Revision::userCan ( $field, User $user=null)
since 1.31 (soft), 1.35 (hard)
Member Revision::getTimestampFromId ( $title, $id, $flags=0)
since 1.35
Member Revision::countByPageId ( $db, $id)
since 1.31 (soft), 1.35 (hard)
Member Revision::countByTitle ( $db, $title)
since 1.31 (soft), 1.35 (hard)
Member Revision::userWasLastToEdit ( $db, $pageId, $userId, $since)
since 1.24 (soft), 1.35 (hard)
Member Revision::setId ( $id)
since 1.31 (soft), 1.35 (hard)
Member Revision::newFromPageId ( $pageId, $revId=0, $flags=0)
since 1.31 together with the class. Hard deprecated since 1.35
Member Revision::newFromArchiveRow ( $row, $overrides=[])
since 1.31 (soft), 1.35 (hard)
Member Revision::newFromRow ( $row)
since 1.31 together with the Revision class. Hard deprecated since 1.35
Member Revision::loadFromPageId ( $db, $pageid, $id=0)
since 1.31, use RevisionStore::getRevisionByPageId() instead. Hard deprecated since 1.35
Member Revision::loadFromTitle ( $db, $title, $id=0)
since 1.31, use RevisionStore::getRevisionByTitle() instead. Hard deprecated in 1.35
Member Revision::loadFromTimestamp ( $db, $title, $timestamp)
since 1.31, use RevisionStore::getRevisionByTimestamp() or RevisionStore::loadRevisionFromTimestamp() instead. Hard deprecated since 1.35
Member Revision::getQueryInfo ( $options=[])
since 1.31 (soft), 1.35 (hard), use RevisionStore::getQueryInfo() instead.
Member Revision::getArchiveQueryInfo ()
since 1.31 (soft), 1.35 (hard), use RevisionStore::getArchiveQueryInfo() instead.
Member Revision::getParentLengths ( $db, array $revIds)
in 1.31, use RevisionStore::getRevisionSizes instead. Hard deprecated since 1.35.
Member Revision::getRevisionRecord ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getId ()
since 1.31 (soft), 1.35 (hard)
Member Revision::newKnownCurrent (IDatabase $db, $pageIdOrTitle, $revId=0)
since 1.31 and hard deprecated since 1.35
Member Revision::setUserIdAndName ( $id, $name)
since 1.31 (soft), 1.35 (hard), please reuse old Revision object
Member Revision::getTextId ()
since 1.31 (soft), 1.35 (hard), use RevisionRecord()->getSlot()->getContentAddress() to get that actual address that can be used with BlobStore::getBlob(); or use RevisionRecord::hasSameContent() to check if two revisions have the same content.
Member Revision::getParentId ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getSize ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getSha1 ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getTitle ()
since 1.31 (soft), 1.35 (hard)
Member Revision::setTitle ( $title)
since 1.31, this is now a noop. Pass the Title to the constructor instead. hard deprecated since 1.35
Member Revision::getPage ()
since 1.31 (soft), 1.35 (hard)
Member Revision::getUser ( $audience=self::FOR_PUBLIC, User $user=null)
since 1.31 (soft), 1.35 (hard)
Member Revision::getUserText ( $audience=self::FOR_PUBLIC, User $user=null)
since 1.31 (soft), 1.35 (hard)
Member Revision::getComment ( $audience=self::FOR_PUBLIC, User $user=null)
since 1.31 (soft), 1.35 (hard)
Class MediaWiki\Hook\SkinTemplateTabActionHook

since 1.35 Use SkinTemplateNavigation__Universal instead

Member BaseTemplate::getAfterPortlet ( $name)
since 1.35 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 Use SkinAfterPortlet instead

Class MediaWiki\Hook\BaseTemplateToolboxHook

since 1.35

Class MediaWiki\Hook\SkinTemplateBuildNavUrlsNav_urlsAfterPermalinkHook

since 1.35. Use SidebarBeforeOutput hook

Class MediaWiki\Hook\SkinTemplateOutputPageBeforeExecHook
since 1.35. See for migration notes.
Class MediaWiki\Hook\SkinTemplatePreventOtherActiveTabsHook

since 1.35 Use SkinTemplateNavigation__Universal instead

Member BaseTemplate::renderAfterPortlet ( $name)
since 1.35 use Skin::getAfterPortlet directly
Class MediaWiki\Hook\SkinTemplateToolboxEndHook

since 1.35

Member Skin::getSkinNames ()
since 1.36. Use SkinFactory::getSkinNames() instead.
Member Skin::getAllowedSkins ()
since 1.36. Use SkinFactory::getAllowedSkins() instead.
Member Skin::getRevisionId ()
since 1.34, use OutputPage::getRevisionId instead
Member Skin::isRevisionCurrent ()
since 1.34, use OutputPage::isRevisionCurrent instead
Member Skin::makeVariablesScript ( $data, $nonce=null)
since 1.36. Use ResourceLoader::makeInlineScript() directly.
Member Skin::setupSkinUserCss (OutputPage $out)
since 1.32 Use getDefaultModules() instead. If using for backwards compatability, the caller is required to throw deprecation warnings if this changes the number of style modules on OutputPage.
Member Skin::getLogo ()
since 1.36, please use ResourceLoaderSkinModule::getAvailableLogos
Member Skin::generateDebugHTML ()
since 1.35. Call MWDebug::getHTMLDebugLog() directly.
Member Skin::subPageSubtitle ( $out)
since 1.36 use Skin::prepareSubtitle instead
Member Skin::getSearchLink ()
since 1.36.
Class MediaWiki\Search\SearchWidgets\SimpleSearchResultSetWidget
since 1.31. Use InterwikiSearchResultSetWidget
Member BaseSearchResultSet::next ()
since 1.32; Use self::extractResults() or foreach
Member BaseSearchResultSet::rewind ()
since 1.32; Use self::extractResults() or foreach
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
Member Revision::newFromTitle (LinkTarget $linkTarget, $id=0, $flags=0)
since 1.31 together with the class. Hard deprecated since 1.35
Class MediaWiki\Search\SearchWidgets\SimpleSearchResultWidget
since 1.31. Use other result widgets.
Member SqlSearchResultSet::termMatches ()
since 1.34
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 $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 MediaWiki\Shell\Command::whitelistPaths (array $paths)
since 1.36 Use allowPath/disallowPath
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 Parser::$mInputSize
since 1.35
Member Parser::$mDoubleUnderscores
since 1.35
Member Parser::$mExpensiveFunctionCount
since 1.35
Member Parser::$mShowToc
since 1.35
Member Parser::$mUser
since 1.35, use Parser::getUser()
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::$mRevisionObject
since 1.35, use Parser::getRevisionObject()
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::$mHighestExpansionDepth
since 1.35
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::Title (Title $x=null)
since 1.35, use getTitle() / setTitle()
Member Parser::OutputType ( $x=null)
since 1.35, use getOutputType()/setOutputType()
Member Parser::Options ( $x=null)
since 1.35, use getOptions() / setOptions()
Member Parser::getUser ()
since 1.36. Use ::getUserIdentity instead.
Member Parser::doBlockLevels ( $text, $linestart)
since 1.35, will not be supported in future parsers
Member Parser::fetchCurrentRevisionOfTitle (Title $title)
since 1.35, use fetchCurrentRevisionRecordOfTitle instead
Member Parser::statelessFetchRevision (Title $title, $parser=false)
since 1.35, use statelessFetchRevisionRecord
Member Parser::fetchTemplate (Title $title)
since 1.35, use Parser::fetchTemplateAndTitle(...)[0]
Class MediaWiki\Hook\ParserFetchTemplateHook

since 1.35

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 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.
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, $revision=null, UserIdentity $user=null, $serialFormat=null, $useCache=true)
since 1.32, use getDerivedDataUpdater instead.
Member WikiPage::doEditUpdates ( $revisionRecord, UserIdentity $user, array $options=[])
since 1.32 (soft), use DerivedPageDataUpdater::doUpdates instead.
Member TablePager::getBody ()
since 1.24, use getBodyOutput() or getFullOutput() instead
Member DateFormatter::getInstance (Language $lang=null)
since 1.33 use MediaWikiServices::getDateFormatterFactory()
Class MediaWiki\Hook\BeforeParserFetchTemplateAndtitleHook

since 1.36

Member MediaWiki\Hook\BeforeParserFetchTemplateAndtitleHook::onBeforeParserFetchTemplateAndtitle ( $parser, $title, &$skip, &$id)
since 1.36; use BeforeParserFetchTemplateRevisionRecordHook
Class MediaWiki\Hook\BeforeParserrenderImageGalleryHook

since 1.35

Class MediaWiki\Hook\InternalParseBeforeSanitizeHook

since 1.35

Member Parser::replaceLinkHolders (&$text, $options=0)
since 1.34; should not be used outside parser class.
Member MediaWiki\Hook\ParserFetchTemplateHook::onParserFetchTemplate ( $parser, $title, $rev, &$text, &$deps)
since 1.35, use BeforeParserFetchTemplateRevisionRecordHook
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::$mStripState
since 1.35, use Parser::getStripState()
Member Parser::$mLinkID
since 1.35; use Parser::nextLinkID() / ::setLinkID()
Member Parser::$mIncludeSizes
since 1.35
Member Parser::$mPPNodeCount
since 1.35
Member Parser::$mGeneratedPPNodeCount
since 1.35, Preprocessor_DOM was removed and this counter is no longer incremented by anything.
Member Revision\RevisionStore::getTitle ( $pageId, $revId, $queryFlags=self::READ_NORMAL)
since 1.36, Use RevisionRecord::getPage() instead.
Member Revision\RevisionFactory::newMutableRevisionFromArray (array $fields, $queryFlags=self::READ_NORMAL, PageIdentity $page=null)
since 1.31, hard deprecated since 1.36' Use a MutableRevisionRecord instead.
Class Revision\Hook\RevisionInsertCompleteHook

since 1.31 Use RevisionRecordInserted hook instead

Member Revision\RevisionStore::newMutableRevisionFromArray (array $fields, $queryFlags=0, PageIdentity $page=null)
since 1.31, hard deprecated since 1.36'
Member Revision\RevisionStore::loadRevisionFromPageId (IDatabase $db, $pageid, $id=0)
since 1.35 Use RevisionStore::getRevisionByPageId instead.
Member Revision\RevisionStore::loadRevisionFromTitle (IDatabase $db, $title, $id=0)
since 1.35
Member Revision\RevisionStore::loadRevisionFromTimestamp (IDatabase $db, $title, $timestamp)
since 1.35
Member Revision\RevisionStore::listRevisionSizes (IDatabase $db, array $revIds)
since 1.35 use RevisionStore::getRevisionSizes instead.
Member 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 has been deprecated since 1.24.
Class Revision
since 1.31, use RevisionRecord, RevisionStore, and BlobStore instead. Hard deprecated since 1.35
Member Revision::newFromId ( $id, $flags=0)
since 1.31 together with the class. Hard deprecated since 1.35
Member ParserOptions::setCurrentRevisionCallback ( $x)
since 1.35, use setCurrentRevisionRecordCallback
Member Parser::attributeStripCallback (&$text, $frame=false)
since 1.35, internal callback should not have been public
Member Parser::getRevisionObject ()
since 1.35, use getRevisionRecordObject
Member Parser::enableOOUI ()
since 1.35, use $parser->getOutput()->setEnableOOUI() instead.
Member ParserCache::getETag (WikiPage $wikiPage, $popts)
since 1.36
Member ParserCache::getKey (WikiPage $wikiPage, $popts, $useOutdated=self::USE_ANYTHING)
1.36 Use ::getMetadata and ::makeParserOutputKey methods instead.
Member ParserOptions::setOptionLegacy ( $name, $value)
since 1.30
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::setTidy ( $x)
since 1.35; tidy is always enabled so this has no effect
Member ParserOptions::getCurrentRevisionCallback ()
since 1.35, use getCurrentRevisionRecordCallback
Member Skin::mainPageLink ()
since 1.36
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
Member MediaWiki\Permissions\PermissionManager::groupHasPermission ( $group, $role)
since 1.36 Use GroupPermissionLookup instead
Member MediaWiki\Permissions\PermissionManager::getGroupPermissions ( $groups)
since 1.36 Use GroupPermissionLookup instead
Member MediaWiki\Permissions\PermissionManager::getGroupsWithPermission ( $role)
since 1.36, use GroupPermissionLookup 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 Language::AS_AUTONYMS
since 1.34, LanguageNameUtils::AUTONYMS
Member User::groupHasPermission ( $group, $role)
since 1.34, use MediaWikiServices::getInstance()->getPermissionManager() ->groupHasPermission(..) instead
Member User::getAllGroups ()
since 1.35, use UserGroupManager::listAllGroups instead
Member User::getImplicitGroups ()
since 1.35, use UserGroupManager::listAllImplicitGroups() instead
Member User::getGrantName ( $grant)
since 1.36, use MWGrants::grantName instead
Member MediaWiki\User\UserIdentity::getActorId ( $wikiId=self::LOCAL)
since 1.36, use ActorNormalization::findActorId() instead.
Member MediaWiki\User\UserIdentityValue::getActorId ( $wikiId=self::LOCAL)
since 1.36, use ActorNormalization::acquireActorId instead.
Member MediaWiki\User\UserIdentityValue::setActorId (int $actorId)
since 1.36
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
Class UIDGenerator
Since 1.35; use GlobalIdGenerator instead
Member WatchedItem::getUser ()
since 1.34, use getUserIdentity() Hard deprecated since 1.36
Member WebRequest::checkUrlExtension ( $extWhitelist=[])
since 1.35
Member User::getGroupsWithPermission ( $role)
since 1.34, use MediaWikiServices::getInstance()->getPermissionManager() ->getGroupsWithPermission() instead
Member Language::ALL
since 1.34, use LanguageNameUtils::ALL
Member Language::SUPPORTED
since 1.34, use LanguageNameUtils::SUPPORTED
Member Language::$mMagicExtensions
since 1.35, use LocalisationCache with custom language config
Member Language::$dateFormatStrings
since 1.35, must be private
Member Language::$mExtendedSpecialPageAliases
since 1.35, must be protected
Member Language::$transformData
since 1.35, must be private
Member Language::$mLangObjCache
since 1.35, use LanguageFactory
since 1.35, use LanguageFallback::MESSAGES
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 User::getGroups ()
since 1.35 Use UserGroupManager::getUserGroups instead.
Member User::setNewtalk ( $val, $curRev=null)
since 1.35 Use TalkPageNotificationManager::setUserHasNewMessages or TalkPageNotificationManager::removeUserHasNewMessages
Member User::getOption ( $oname, $defaultOverride=null, $ignoreHidden=false)
since 1.35 Use UserOptionsLookup::getOption instead
Member User::getOptions ( $flags=0)
since 1.35 Use UserOptionsLookup::getOptions instead
Member User::getBoolOption ( $oname)
since 1.35 Use UserOptionsLookup::getBoolOption instead
Member User::getIntOption ( $oname, $defaultOverride=0)
since 1.35 Use UserOptionsLookup::getIntOption instead
Member User::setOption ( $oname, $val)
since 1.35 Use UserOptionsManager::setOption instead
Member User::getTokenFromOption ( $oname)
since 1.26 Applications should use the OAuth extension
Member User::listOptionKinds ()
since 1.35 Use UserOptionsManager::listOptionKinds instead
Member User::getOptionKinds (IContextSource $context, $options=null)
since 1.35 Use UserOptionsManager::getOptionKinds instead
Member User::resetOptions ( $resetKinds=[ 'registered', 'registered-multiselect', 'registered-checkmatrix', 'unused'], IContextSource $context=null)
since 1.35 Use UserOptionsManager::resetOptions instead.
Member User::getRights ()
since 1.34, use MediaWikiServices::getInstance()->getPermissionManager() ->getUserPermissions(..) instead
Member Language::$mMonthMsgs
since 1.35, use the MONTH_MESSAGES constant
Member User::getGroupMemberships ()
since 1.35 Use UserGroupManager::getUserGroupMemberships instead
Member User::getEffectiveGroups ( $recache=false)
since 1.35 Use UserGroupManager::getUserEffectiveGroups instead
Member User::getAutomaticGroups ( $recache=false)
since 1.35 Use UserGroupManager::getUserImplicitGroups instead.
Member User::getFormerGroups ()
since 1.35 Use UserGroupManager::getUserFormerGroups instead.
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::clearNotification (&$title, $oldid=0)
since 1.35, hard deprecated since 1.36 Use WatchlistNotificationManager::clearTitleUserNotification() instead.
Member User::getFirstEditTimestamp ()
since 1.36, use a UserEditTracker instead
Member User::getLatestEditTimestamp ()
since 1.36, use a UserEditTracker instead
Member User::getGroupPermissions ( $groups)
since 1.34, use MediaWikiServices::getInstance()->getPermissionManager() ->getGroupPermissions() instead
Member Language::classFromCode ( $code, $fallback=true)
since 1.35, this is an internal method and should not need to be used elsewhere
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::getDefaultVariant ()
since 1.35 use LanguageConverter::getDefaultVariant instead
Member Language::getURLVariant ()
since 1.35 use LanguageConverter::getURLVariant instead
Member Language::findVariantLink (&$link, &$nt, $ignoreOtherCond=false)
since 1.35 use LanguageConverter::findVariantLink instead
Member Language::getExtraHashOptions ()
since 1.35 use LanguageConverter::getExtraHashOptions instead
Member Language::updateConversionTable (LinkTarget $linkTarget)
since 1.35 use LanguageConverter::updateConversionTable instead
Member Language::getParentLanguage ()
since 1.35, use LanguageFactory::getParentLanguage
Member Language::hasVariants ()
since 1.35 use LanguageConverter::hasVariants instead
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::getMessageKeysFor ( $code)
since 1.35, use LocalisationCache directly
Member Language::getConvRuleTitle ()
since 1.35 use LanguageConverter::getConvRuleTitle instead
Class ResetUserTokens
since 1.27, use $wgAuthenticationTokenVersion instead.
Member Language::isValidBuiltInCode ( $code)
since 1.34, use LanguageNameUtils
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
Member Language::$mHebrewCalendarMonthGenMsgs
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::clearCaches ()
since 1.35. Instead, reset all services and set Language::$mLangObjCache = [].
Member Language::isSupportedLanguage ( $code)
since 1.34, use LanguageNameUtils
Member Language::isValidCode ( $code)
since 1.34, use LanguageNameUtils
Member User::getNewMessageRevisionId ()
since 1.35
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
Member Language::commafy ( $number)
in 1.36 use formatNum
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::convertTitle ( $title)
since 1.35 use LanguageConverter::convertTitle
Member Language::convertNamespace ( $ns, $variant=null)
since 1.35 use LanguageConverter::convertNamespace instead
Class MediaWiki\Storage\Hook\PageContentInsertCompleteHook

since 1.35, use PageSaveComplete

Member SpecialBlock::checkUnblockSelf ( $target, Authority $performer)
since 1.36, 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 SpecialVersion::getExtAuthorsFileName ( $extDir)
since 1.35 Use MediaWiki\ExtensionInfo::getAuthorsFileName()
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\ArticleEditUpdatesDeleteFromRecentchangesHook

since 1.35 Use RecentChange_save or similar instead

Class MediaWiki\Storage\Hook\ArticleEditUpdatesHook

since 1.35 Use RevisionDataUpdates instead

Member SpecialBlock::canBlockEmail (UserIdentity $user)
since 1.36, use BlockPermissionChecker service instead
Class MediaWiki\Storage\Hook\PageContentSaveCompleteHook

since 1.35, use PageSaveComplete

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 StubUserLang::findVariantLink (&$link, &$nt, $ignoreOtherCond=false)
since 1.35
Member MediaWiki\Tidy\TidyDriverBase::supportsValidate ()
since 1.36, always returns false
Member NamespaceInfo::getRestrictionLevels ( $index, User $user=null)
since 1.34 User PermissionManager::getNamespaceRestrictionLevels instead.
Member TitleValue::$namespace
in 1.31. This class is immutable. Use the getter for access.
Member TitleValue::$dbkey
in 1.31. This class is immutable. Use the getter for access.
Member SpecialPage::listed ( $x=null)
since 1.35 Set via subclassing UnlistedSpecialPage, get via isListed()
Member Skin::privacyLink ()
since 1.36, use self::footerLink();
Member Skin::aboutLink ()
since 1.36, use self::footerLink();
Member Skin::disclaimerLink ()
since 1.36, use self::footerLink();
Member Skin::getSkinStylePath ( $name)
since 1.36, Replace usages with direct path of the resource and then remove the $stylename property.
Member Skin::makeUrl ( $name, $urlaction='')
since 1.36. Use Title methods directly.
Member Skin::makeNSUrl ( $name, $urlaction='', $namespace=NS_MAIN)
since 1.35, no longer used
Member Skin::getIndicatorsHTML ( $indicators)
since 1.36.
Member SkinTemplate::getPersonalToolsList ()
since 1.35, use SkinTemplate::makePersonalToolsList()
Member SkinTemplate::makeArticleUrlDetails ( $name, $urlaction='')
since 1.35, no longer used
Member SkinTemplate::getNameSpaceKey ()
since 1.35, use Title::getNamespaceKey() instead
Member SpecialPage::setListed ( $listed)
since 1.35
Member TitleValue::$fragment
in 1.31. This class is immutable. Use the getter for access.
Member SpecialPage::getLanguageConverter ()
1.36 Inject LanguageConverterFactory and store a ILanguageConverter instance
Member Licenses::getLicenses ()
since 1.31 Use getLines() instead
Class MediaWiki\Hook\AddNewAccountHook

since 1.27. Use LocalUserCreated instead.

Class MediaWiki\Hook\SpecialMuteSubmitHook

since 1.35, used only for instrumentation on Special:Mute

Class MediaWiki\Hook\UndeleteShowRevisionHook

since 1.35

Member ContribsPager::tryToCreateValidRevision ( $row, $title=null)
since 1.35
Member SpecialBlock::getTargetAndType (?string $par, WebRequest $request=null)
since 1.36. Use BlockUtils::parseBlockTarget directly instead.
Member SpecialBlock::validateTarget ( $value, User $user)
since 1.36, use BlockUtils service instead (note: service does not call BlockPermissionChecker::checkBlockPermissions)
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 User::isUsableName ( $name)
since 1.35, use the UserNameUtils service
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 User::newFromName ( $name, $validate='valid')
since 1.36, use a UserFactory instead
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::isIP ( $name)
since 1.35, use the UserNameUtils service Note that UserNameUtils::isIP does not accept IPv6 ranges, while this method does
Member User::isIPRange ()
since 1.35, use the UserNameUtils service or IPUtils directly
Member User::isValidUserName ( $name)
since 1.35, use the UserNameUtils service
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::isCreatableName ( $name)
since 1.35, use the UserNameUtils service
Member User::getCanonicalName ( $name, $validate='valid')
since 1.35, use the UserNameUtils service
Member User::addAutopromoteOnceGroups ( $event)
since 1.35 Use UserGroupManager::addUserToAutopromoteOnceGroups
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 PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead.
Member User::isBlockedFrom ( $title, $fromReplica=false)
since 1.33, use MediaWikiServices::getInstance()->getPermissionManager()->isBlockedFrom(..)
Member User::blockedFor ()
since 1.35 Use AbstractBlock::getReasonComment instead
Member User::setActorId (int $actorId)
since 1.36
Member User::getNewtalk ()
since 1.35 Use TalkPageNotificationManager::userHasNewMessages instead
Member User::getNewMessageLinks ()
since 1.35
Member Title::purgeSquid ()
1.35 Use HtmlCacheUpdater
Member TitleValue::$interwiki
in 1.31. This class is immutable. Use the getter for access.
since 1.34, use Title::READ_LATEST instead.
Member Title::newFromTitleValue (TitleValue $titleValue, $forceClone='')
since 1.34, use newFromLinkTarget or castFromLinkTarget
Member Title::nameOf ( $id)
since 1.36, use Title::newFromID( $id )->getPrefixedDBkey() 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 Title::getOtherPage ()
since 1.34, use NamespaceInfo::getAssociatedPage
Member Title::isNamespaceProtected (User $user)
since 1.34 Don't use this function in new code.
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 WikiPage::replaceSectionContent ( $sectionId, Content $sectionContent, $sectionTitle='', $edittime=null)
since 1.24, use replaceSectionAtRev instead
Member Title::getPreviousRevisionID ( $revId, $flags=0)
since 1.34, use RevisionLookup::getPreviousRevision
Member Title::getNextRevisionID ( $revId, $flags=0)
since 1.34, use RevisionLookup::getNextRevision
Member Title::getFirstRevision ( $flags=0)
since 1.35. Use RevisionLookup::getFirstRevision instead.
Member Title::getEarliestRevTime ( $flags=0)
since 1.35. Use RevisionLookup::getFirstRevision instead.
Member Title::countAuthorsBetween ( $old, $new, $limit, $options=[])
since 1.35 Use RevisionStore::countAuthorsBetween instead.
Member Title::getNotificationTimestamp (User $user)
since 1.35
Member UploadBase::stashFile (User $user=null)
since 1.28 Use tryStashFile() instead
Member UploadFromChunks::stashFile (User $user=null)
since 1.28 Use tryStashFile() instead
Class MediaWiki\User\Hook\UserRequiresHTTPSHook

since 1.35

Class MediaWiki\User\Hook\UserRetrieveNewTalksHook

since 1.35

since 1.35 Use UserOptionsLookup::EXCLUDE_DEFAULTS
Member LinksUpdate::setRevision (Revision $revision)
since 1.35, use setRevisionRecord
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 $wgUseAjax
(officially) since MediaWiki 1.31 and ignored since 1.32
Member $wgAjaxExportList
(officially) since 1.27; use the API instead
Member $wgAjaxEditStash
Since 1.36; disabling this feature will be removed in the next release.
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 $wgParserCacheUseJson
since 1.36
Member CdnCacheUpdate::newFromTitles ( $titles, $urls=[])
Since 1.35 Use HtmlCacheUpdater instead
Member DataUpdate::runUpdates (array $updates)
Since 1.28 Use DeferredUpdates::execute()
Class HTMLCacheUpdate
Since 1.34; Enqueue jobs from HTMLCacheUpdateJob::newForBacklinks instead
Member $wgShowDBErrorBacktrace
and nonfunctional since 1.32: set $wgShowExceptionDetails instead.
Member LinksUpdate::getRevision ()
since 1.35, use getRevisionRecord
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\Diff\Hook\DiffRevisionToolsHook

since 1.35

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 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)
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 $wgUploadStashScalerBaseUrl
since 1.36 Use thumbProxyUrl in $wgLocalFileRepo
Class MediaWiki\Diff\Hook\DiffViewHeaderHook

since 1.35, use DifferenceEngineViewHeader

Member $wgEnableSpecialMute
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 $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 $wgTrackingCategories
since 1.25 Extensions should now register tracking categories using the new extension registration system.
Member $wgAllowImageTag
since 1.35; register an extension tag named
Member $wgMinimalPasswordLength
since 1.26, use $wgPasswordPolicy's MinimalPasswordLength.
Member $wgMaximalPasswordLength
since 1.26, use $wgPasswordPolicy's MaximalPasswordLength.
Member $wgAllowRequiringEmailForResets
This feature is under development, don't assume this flag's existence or function outside of MediaWiki.
Member $wgShowSQLErrors
and nonfunctional since 1.32: set $wgShowExceptionDetails and/or $wgShowHostnames instead.
Member wfEscapeShellArg (... $args)
since 1.30 use MediaWiki\Shell\Shell::escape()
Member LocalFile::recordUpload2 ( $oldver, $comment, $pageText, $props=false, $timestamp=false, $user=null, $tags=[], $createNullRevision=true, $revert=false)
since 1.35 (hard deprecated since 1.36)
Member RepoGroup::singleton ()
since 1.34, use MediaWikiServices::getRepoGroup
Member RepoGroup::destroySingleton ()
since 1.34, use MediaWikiTestCase::overrideMwServices() or similar. This will cause bugs if you don't reset all other services that depend on this one at the same time.
Member RepoGroup::setSingleton ( $instance)
since 1.34, use MediaWikiTestCase::setService, this can mess up state of other tests
Member wfAppendToArrayIfNotDefault ( $key, $value, $default, &$changed)
since 1.36
Member wfDebugMem ( $exact=false)
since 1.36
Member wfIncrStats ( $key, $count=1)
since 1.36, use MediaWikiServices::getInstance()->getStatsdDataFactory()->updateCount() instead
Member wfConfiguredReadOnlyReason ()
since 1.36
Member wfClearOutputBuffers ()
since 1.36
Member wfAcceptToPrefs ( $accept, $def=' */*')
since 1.36
Member wfNegotiateType ( $cprefs, $sprefs)
since 1.36
Member LockManagerGroup::getAny ()
since 1.35, seemingly unused, just call get() and catch any exception instead
Member wfShellExec ( $cmd, &$retval=null, $environ=[], $limits=[], $options=[])
since 1.30 use class MediaWiki\Shell\Shell
Member wfShellExecWithStderr ( $cmd, &$retval=null, $environ=[], $limits=[])
since 1.30 use class MediaWiki\Shell\Shell
Member wfShellWikiCmd ( $script, array $parameters=[], array $options=[])
since 1.31, use Shell::makeScriptCommand()
Member wfDiff ( $before, $after, $params='-u')
since 1.25, use DiffEngine/UnifiedDiffFormatter directly
Member wfGetPrecompiledData ( $name)
since 1.36
Member wfWikiID ()
since 1.35 Use WikiMap::getCurrentWikiId()
Member wfGetLB ( $wiki=false)
since 1.27, use MediaWikiServices::getInstance()->getDBLoadBalancer() or MediaWikiServices::getInstance()->getDBLoadBalancerFactory() instead.
Member wfFindFile ( $title, $options=[])
since 1.34, use MediaWikiServices
Member wfLocalFile ( $title)
since 1.34, 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 ExternalStore::fetchFromURL ( $url, array $params=[])
Class MediaWiki\Edit\PreparedEdit
since 1.32, use DerivedPageDataUpdater instead.
Member MediaWiki\Edit\PreparedEdit::__get ( $name)
since 1.33
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 EditPage::$mBaseRevision
since 1.35
Member EditPage::getBaseRevision ()
since 1.35, use ::getExpectedParentRevision
Member EditPage::matchSpamRegex ( $text)
since 1.35, use the new SpamChecker service
Member EditPage::matchSummarySpamRegex ( $text)
since 1.35, use the new SpamChecker service
Class ExternalStore
1.34 Use ExternalStoreFactory directly instead
Member ExternalStore::getStoreObject ( $proto, array $params=[])
Member MediaWiki\Content\Hook\SecondaryDataUpdatesHook::onSecondaryDataUpdates ( $title, $oldContent, $recursive, $parserOutput, &$updates)
since 1.32 Use RevisionDataUpdates or override ContentHandler::getSecondaryDataUpdates instead.
Member ExternalStore::insert ( $url, $data, array $params=[])
Member ExternalStore::batchFetchFromURLs (array $urls)
Member ExternalStore::insertToDefault ( $data, array $params=[])
Member ExternalStore::insertWithFallback (array $tryStores, $data, array $params=[])
Member ExternalStore::insertToForeignDefault ( $data, $wiki)
1.34 Use insertToDefault() with 'wiki' set
Member ExternalStoreDB::getSlave ( $cluster)
since 1.34
Member FileBackendGroup::singleton ()
since 1.35, inject the service instead
Member FileBackendGroup::destroySingleton ()
since 1.35, test framework should reset services between tests instead
Member LockManagerGroup::singleton ( $domain=false)
since 1.34, use LockManagerGroupFactory
Member LockManagerGroup::destroySingletons ()
since 1.34, use resetServiceForTesting() on LockManagerGroupFactory
Member LockManagerGroup::getDefault ()
since 1.35, seemingly unused, just call get() and catch any exception instead
Member ApiQueryUsers::getTokenFunctions ()
since 1.24
Member ApiQueryInfo::getMoveToken (User $user)
since 1.24
Member ApiQueryInfo::getBlockToken (User $user)
since 1.24
Member ApiQueryInfo::getUnblockToken (User $user)
since 1.24
Member ApiQueryInfo::getEmailToken (User $user)
since 1.24
Member ApiQueryInfo::getImportToken (User $user)
since 1.24
Member ApiQueryInfo::getWatchToken (User $user)
since 1.24
Member ApiQueryInfo::getOptionsToken (User $user)
since 1.24
Member ApiQueryRecentChanges::getTokenFunctions ()
since 1.24
Member ApiQueryRecentChanges::getPatrolToken (User $user, $rc=null)
since 1.24
Member ApiQueryRevisions::getTokenFunctions ()
since 1.24
Member ApiQueryRevisions::getRollbackToken (User $user)
since 1.24
Member ApiQueryInfo::getProtectToken (User $user)
since 1.24
Member ApiQueryUsers::getUserrightsToken (User $actingUser, $targetUser)
since 1.24
Member ApiStashEdit::parseAndStash (WikiPage $page, Content $content, User $user, $summary)
Since 1.34
Class ApiTokens

since 1.24

Member MediaWiki\Auth\AuthManager::singleton ()
since 1.35, hard deprecated since 1.36 Use MediaWikiServices::getInstance()->getAuthManager() instead.
Member MediaWiki\Auth\AuthManager::forcePrimaryAuthenticationProviders (array $providers, $why)
For backwards compatibility only
Class Autopromote
since 1.35 Use UserGroupManager instead.
Member Autopromote::getAutopromoteGroups (User $user)
since 1.35 (hard deprecated since 1.36). Use UserGroupManager::getUserAutopromoteGroups.
Member Autopromote::getAutopromoteOnceGroups (User $user, $event)
since 1.35 (hard deprecated since 1.36). Use UserGroupManager::getUserAutopromoteOnceGroups.
Member MediaWiki\Block\AbstractBlock::$mReason
since 1.34. Use getReasonComment and setReason instead. Internally, use $reason.
Member MediaWiki\Block\AbstractBlock::$mTimestamp
since 1.34. Use getTimestamp and setTimestamp instead.
Member MediaWiki\Block\AbstractBlock::$mExpiry
since 1.34. Use getExpiry and setExpiry instead.
Member ApiBase::explodeMultiValue ( $value, $limit)
since 1.35, use ParamValidator::explodeMultiValue() 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 MediaWiki\Hook\HistoryRevisionToolsHook

since 1.35

Class McrRestoreAction
since 1.32
Class McrUndoAction
since 1.32
Member ActorMigration::getExistingActorId (IDatabase $db, UserIdentity $user)
since 1.36. Use ActorStore::findActorId instead.
Member ActorMigration::getNewActorId (IDatabase $dbw, UserIdentity $user)
since 1.36. Use ActorStore::acquireActorId instead.
Module Old constants for ::getAllowedParams() arrays

since 1.35, use the equivalent ParamValidator or TypeDef constants instead.

since 1.35
since 1.35
Member MediaWiki\Block\AbstractBlock::$mHideName
since 1.34. Use getHideName and setHideName instead.
Member ApiBase::parseMultiValue ( $valueName, $value, $allowMultiple, $allowedValues, $allSpecifier=null, $limit1=null, $limit2=null)
since 1.35, no replacement
Member ApiBase::validateLimit ( $name, &$value, $min, $max, $botMax=null, $enforceLimits=false)
since 1.35, use $this->getMain()->getParamValidator()->validateValue() instead.
Member ApiBase::validateTimestamp ( $value, $encParamName)
since 1.35, use $this->getMain()->getParamValidator()->validateValue() instead.
Class ApiErrorFormatter_BackCompat

Only for backwards compatibility, do not use

Member ApiQueryBase::prefixedTitlePartToKey ( $titlePart, $defaultNamespace=NS_MAIN)
sine 1.35, use parsePrefixedTitlePart() instead.
Member ApiQueryBase::showHiddenUsersAddBlockInfo ( $showBlockInfo)
since 1.34, use ApiQueryBlockInfoTrait instead
Class ApiQueryDeletedrevs
since 1.25
Member ApiQueryInfo::getTokenFunctions ()
since 1.24
Member ApiQueryInfo::resetTokenCache ()
since 1.24
Member ApiQueryInfo::getEditToken (User $user)
since 1.24
Member ApiQueryInfo::getDeleteToken (User $user)
since 1.24
Member Content::getSecondaryDataUpdates (Title $title, Content $old=null, $recursive=true, ParserOutput $parserOutput=null)
since 1.32, call and override ContentHandler::getSecondaryDataUpdates instead.
since 1.35 use Wikimedia\IPUtils::RE_IP_RANGE instead
since 1.35 use Wikimedia\IPUtils::RE_IPV6_WORD instead
since 1.35 use Wikimedia\IPUtils::RE_IPV6_PREFIX instead
Member RE_IPV6_ADD
since 1.35 use Wikimedia\IPUtils::RE_IPV6_ADD instead
since 1.35 use Wikimedia\IPUtils::RE_IPV6_RANGE instead
Member RE_IPV6_GAP
since 1.35 use Wikimedia\IPUtils::RE_IPV6_GAP instead
since 1.35 use Wikimedia\IPUtils::RE_IPV6_V4_PREFIX instead
since 1.35 use Wikimedia\IPUtils::RE_IP_ADDRESS_STRING instead
Class IP
since 1.35
Member ConfigFactory::getDefaultInstance ()
since 1.27, use MediaWikiServices::getInstance()->getConfigFactory() instead.
Member Content::getNativeData ()
since 1.33 use getText() for TextContent instances. For other content models, use specialized getters.
since 1.35 use Wikimedia\IPUtils::RE_IP_PREFIX instead
Member Content::getDeletionUpdates (WikiPage $page, ParserOutput $parserOutput=null)
since 1.32, call and override ContentHandler::getDeletionUpdates instead.
Member ContentHandler::getDefaultModelFor (Title $title)
since 1.33, use SlotRoleHandler::getDefaultModel() together with SlotRoleRegistry::getRoleHandler().
Member ContentHandler::getForTitle (Title $title)
since 1.35, instead use ContentHandlerFactory::getContentHandler( $title->getContentModel() ).
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 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.
Class MediaWiki\Content\Hook\SecondaryDataUpdatesHook

since 1.32 Use RevisionDataUpdates or override ContentHandler::getSecondaryDataUpdates instead.

Member MediaWiki\Block\DatabaseBlock::chooseBlock (array $blocks, array $ipChain)
since 1.35 No longer needed in core, since the introduction of CompositeBlock (T206163)
Member MediaWiki\Block\AbstractBlock::getReason ()
since 1.35. Use getReasonComment instead.
Member MediaWiki\Block\AbstractBlock::parseTarget ( $target)
since 1.36. Use BlockUtils service 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.
Member MediaWiki\Block\DatabaseBlock::purgeExpired ()
since 1.36 Use DatabaseBlockStore::purgeExpiredBlocks instead.
Member wfGetMainCache ()
since 1.32, use ObjectCache::getLocalClusterInstance() instead
Class ICacheHelper
since 1.36
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::singleton ()
since 1.28, use MediaWikiServices instead
Member LinkCache::forUpdate ( $update=null)
Since 1.34
Member MessageCache::singleton ()
in 1.34 inject an instance of this class instead of using global state
Member ChangesList::getTimestamp ( $rc)
use revDateLink instead.
Member RecentChange::getPerformer ()
since 1.36, use getPerformerIdentity() instead.
Member RecentChange::getEngine ( $uri, $params=[])
since 1.29 Use RCFeed::factory() instead
Member CommentStore::getStore ()
in 1.31 Use DI to inject a CommentStore instance into your class.
since 1.35 use Wikimedia\IPUtils::RE_IP_BYTE instead
Member RE_IP_ADD
since 1.35 use Wikimedia\IPUtils::RE_IP_ADD instead
Member Article::getLatest ()
since 1.35, use WikiPage::getLatest instead
Member Article::doPurge ()
since 1.35, use WikiPage::doPurge instead
Member Article::doViewUpdates (User $user, $oldid=0)
since 1.35, use WikiPage::doViewUpdates instead
Member Article::exists ()
since 1.35, use WikiPage::exists instead
Member Article::followRedirect ()
since 1.35, use WikiPage::followRedirect instead
Member Article::getAutoDeleteReason (&$hasHistory)
since 1.35, use WikiPage::getAutoDeleteReason instead
Member Article::getCategories ()
since 1.35, use WikiPage::getCategories instead
Member Article::getContentHandler ()
since 1.35, use WikiPage::getContentHandler instead
Member Article::getContentModel ()
since 1.35, use WikiPage::getContentModel instead
Member Article::getContributors ()
since 1.35, use WikiPage::getContributors instead
Member Article::getDeletionUpdates (Content $content=null)
since 1.35, use WikiPage::getDeletionUpdates instead
Member Article::getHiddenCategories ()
since 1.35, use WikiPage::getHiddenCategories instead
Member Article::getId ()
since 1.35, use WikiPage::getId instead
Member Article::doEditUpdates (Revision $revision, User $user, array $options=[])
since 1.35, use PageUpdater::doUpdates instead.
Member Article::getLinksTimestamp ()
since 1.35, use WikiPage::getLinksTimestamp instead
Member Article::getMinorEdit ()
since 1.35, use WikiPage::getMinorEdit instead
Member Article::getOldestRevision ()
since 1.35, use RevisionStore::getFirstRevision
Member Article::getRedirectTarget ()
since 1.35, use WikiPage::getRedirectTarget instead
Member Article::getRedirectURL ( $rt)
since 1.35, use WikiPage::getRedirectURL instead
Member Article::getRevision ()
since 1.35
Member Article::getTimestamp ()
since 1.35, use WikiPage::getTimestamp instead
Member Article::getTouched ()
since 1.35, use WikiPage::getTouched instead
Member Article::getUndoContent (Revision $undo, Revision $undoafter=null)
since 1.35
Member Article::hasViewableContent ()
since 1.35, use WikiPage::hasViewableContent instead
Member Article::insertOn ( $dbw, $pageId=null)
since 1.35, use WikiPage::insertOn instead
Member OutputPage::getCSPNonce ()
Since 1.35 use getCSP()->getNonce() instead
Member Linker::normaliseSpecialPage (LinkTarget $target)
since 1.35, use LinkRenderer::normalizeTarget()
Member LogEntry::getPerformer ()
since 1.36 use ::getPerformerIdentity 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 MediaTransformOutput::streamFile ( $headers=[])
since 1.26, use streamFileWithStatus
Member MediaWiki::triggerJobs ()
Since 1.34
Member MovePage::checkPermissions (Authority $performer, $reason)
since 1.36, use ::authorizeMove or ::probablyCanMove instead.
Class MWNamespace
since 1.34, use NamespaceInfo instead
Member MWTimestamp::getHumanTimestamp (MWTimestamp $relativeTo=null, UserIdentity $user=null, Language $lang=null)
since 1.26 Use Language::getHumanTimestamp directly
Member OutputPage::formatPermissionsErrorMessage (array $errors, $action=null)
since 1.36. Use ::formatPermissionStatus instead
Member Article::insertRedirect ()
since 1.35, use WikiPage::insertRedirect instead
Member Article::$mContext
since 1.35, must be private, use getContext
Member Article::$mParserOutput
since 1.32
Member Article::getContentObject ()
since 1.32, use fetchRevisionRecord() instead. Hard since 1.36.
Member Article::getRevisionFetched ()
since 1.35
Member Article::viewRedirect ( $target, $appendSubtitle=true, $forceKnown=false)
since 1.30
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::checkFlags ( $flags)
since 1.35, use WikiPage::exists() instead, or simply omit the EDIT_UPDATE and EDIT_NEW flags. To protect against race conditions, use PageUpdater::grabParentRevision.
Member Article::checkTouched ()
since 1.35, use WikiPage::checkTouched instead
Member Article::clearPreparedEdit ()
since 1.35, use WikiPage::clearPreparedEdit instead
Member Article::doDeleteUpdates ( $id, Content $content=null, $revision=null, User $user=null)
since 1.35, use WikiPage::doDeleteUpdates instead
Class Page
since 1.35, Use WikiPage or Article instead
Member Article::doRollback ( $fromP, $summary, $token, $bot, &$resultDetails, User $user=null)
since 1.35
Member Article::commitRollback ( $fromP, $summary, $bot, &$resultDetails, User $guser=null)
since 1.35
Member Article::generateReason (&$hasHistory)
since 1.35, use WikiPage::getAutoDeleteReason instead
Member CategoryPage::getCategoryViewerClass ()
since 1.35
Member CategoryPage::setCategoryViewerClass ( $class)
since 1.35
Class Page\Hook\ArticleRevisionUndeletedHook

since 1.35. Use RevisionUndeleted instead.

Class Page\Hook\ArticleRollbackCompleteHook

since 1.35. Use PageSaveComplete instead.

Class Page\Hook\NewRevisionFromEditCompleteHook

since 1.35, use the RevisionFromEditComplete hook instead

Class Page\Hook\RollbackCompleteHook

since 1.36, use PageSaveComplete

Class Page\Hook\WikiPageDeletionUpdatesHook

since 1.32 Use PageDeletionDataUpdates or override ContentHandler::getDeletionDataUpdates instead

Member ImagePage::getImageLimitsFromOption ( $user, $optionName)
Since 1.35 Use static function MediaFileTrait::getImageLimitsFromOption
Member Article::updateRestrictions ( $limit=[], $reason='', &$cascade=0, $expiry=[])
since 1.35, use WikiPage::updateRestrictions
Member PageArchive::getRevision ( $timestamp)
since 1.32 (soft), 1.35 (hard) Use getArchivedRevisionRecord() instead if a revision id is available
Member PageArchive::getArchivedRevision ( $revId)
since 1.35, use getArchivedRevisionRecord instead
Member PageArchive::getPreviousRevision ( $timestamp)
since 1.35, use getPreviousRevisionRecord
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::getOldestRevision ()
since 1.35 Use RevisionStore::getFirstRevision for the corresponding title instead.
Member WikiPage::getRevision ()
since 1.35
Member WikiPage::updateIfNewerOn ( $dbw, $revision)
since 1.24 (soft), 1.35 (hard), use updateRevisionOn instead
Member WikiPage::hasDifferencesOutsideMainSlot ( $a, $b)
Use only as a stop-gap before refactoring to support MCR.
Member WikiPage::getUndoContent (Revision $undo, Revision $undoafter)
since 1.35, use ContentHandler::getUndoContent instead
Member Article::protectDescriptionLog (array $limit, array $expiry)
since 1.35, use WikiPage::protectDescriptionLog instead
Member Article::insertRedirectEntry (Title $rt, $oldLatest=null)
since 1.35, use WikiPage::insertRedirectEntry instead
Member Article::isCountable ( $editInfo=false)
since 1.35, use WikiPage::isCountable instead
Member Article::isRedirect ()
since 1.35, use WikiPage::isRedirect instead
Member Article::loadFromRow ( $data, $from)
since 1.35, use WikiPage::loadFromRow instead
Member Article::loadPageData ( $from='fromdb')
since 1.35, use WikiPage::loadPageData instead
Member Article::lockAndGetLatest ()
since 1.35, use WikiPage::lockAndGetLatest instead
Member Article::makeParserOptions ( $context)
since 1.35, use WikiPage::makeParserOptions instead
Member Article::pageDataFromId ( $dbr, $id, $options=[])
since 1.35, use WikiPage::pageDataFromId instead
Member Article::pageDataFromTitle ( $dbr, $title, $options=[])
since 1.35, use WikiPage::pageDataFromTitle instead
Member Article::prepareContentForEdit (Content $content, $revision=null, User $user=null, $serialFormat=null, $useCache=true)
since 1.35 with PreparedEdit. use
Member Article::protectDescription (array $limit, array $expiry)
since 1.35, use WikiPage::protectDescription instead
Member Linker::linkKnown ( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
since 1.28, use MediaWiki\Linker\LinkRenderer instead
Member Article::replaceSectionAtRev ( $sectionId, Content $sectionContent, $sectionTitle='', $baseRevId=null)
since 1.35, use WikiPage::replaceSectionAtRev instead
Member Article::replaceSectionContent ( $sectionId, Content $sectionContent, $sectionTitle='', $edittime=null)
since 1.35, use WikiPage::replaceSectionAtRev instead
Member Article::setTimestamp ( $ts)
since 1.35, use WikiPage::setTimestamp instead
Member Article::shouldCheckParserCache (ParserOptions $parserOptions, $oldId)
since 1.35, use ParserOutputAccess instead
Member Article::supportsSections ()
since 1.35, use WikiPage::supportsSections instead
Member Article::triggerOpportunisticLinksUpdate (ParserOutput $parserOutput)
since 1.35, use WikiPage::triggerOpportunisticLinksUpdate instead
Member Article::updateCategoryCounts (array $added, array $deleted, $id=0)
since 1.35, use WikiPage::updateCategoryCounts instead
Member Article::updateIfNewerOn ( $dbw, $revision)
since 1.35
Member Article::updateRedirectOn ( $dbw, $redirectTitle, $lastRevIsRedirect=null)
since 1.35, use WikiPage::updateRedirectOn instead
Member Article::updateRevisionOn ( $dbw, $revision, $lastRevision=null, $lastRevIsRedirect=null)
since 1.35, use WikiPage::updateRevisionOn instead
Member Article::doUpdateRestrictions (array $limit, array $expiry, &$cascade, $reason, User $user)
since 1.35, use WikiPage::doUpdateRestrictions instead
Member WikiRevision::setText ( $text)
since 1.35, use setContent instead.
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 WikiRevision::$fileIsTemp
1.29 use Wikirevision::isTempSrc() First written to in 43d5d3b682cc1733ad01a837d11af4a402d57e6a Actually introduced in 52cd34acf590e5be946b7885ffdc13a157c1c6cf
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 Http::getProxy ()
since 1.34, use $wgHTTPProxy directly
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 MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook::onInterwikiLoadPrefix ( $prefix, &$iwData)
Does not support enumerating all valid prefixes; for testing purposes (re)set $wgInterwikiCache instead.
Member JobQueue::getWiki ()
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 Hooks::isRegistered ( $name)
since 1.35. use HookContainer::isRegistered() instead
Member wfGetRusage ()
since 1.35
Class MediaWiki\Hook\BeforeHttpsRedirectHook

since 1.35

Class MediaWiki\Hook\CanIPUseHTTPSHook

since 1.35

Member MediaWiki\Hook\CanIPUseHTTPSHook::onCanIPUseHTTPS ( $ip, &$canDo)
since 1.35 This feature will be removed. All clients should use HTTPS.
Class MediaWiki\Hook\MagicWordwgVariableIDsHook

since 1.35, use GetMagicVariableIDsHook instead.

Class MediaWiki\Hook\ParserTestTablesHook
No longer invoked by MW 1.36+
Class MediaWiki\Hook\ProtectionForm__buildFormHook

since 1.36, use ProtectionFormAddFormFields

Class MediaWiki\Hook\TitleMoveCompleteHook

since 1.35, use the PageMoveComplete hook instead

Class MediaWiki\Hook\TitleMoveCompletingHook

since 1.35, use the PageMoveCompleting hook instead

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 MediaWiki\Languages\LanguageConverterFactory::isTitleConversionDisabled ()
1.36 Should use ::isLinkConversionDisabled() 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
Member Html::infoBox ( $rawHtml, $icon, $alt, $class='')
since 1.36
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 Http::post ( $url, array $options=[], $caller=__METHOD__)
since 1.34, use HttpRequestFactory::post()
Member Http::userAgent ()
since 1.34, use HttpRequestFactory::getUserAgent()
Member Http::isValidURI ( $uri)
since 1.34, use MWHttpRequest::isValidURI
Class Wikimedia\Rdbms\NextSequenceValue
since 1.30, only exists for backwards compatibility
Member Wikimedia\Rdbms\IDatabase::onTransactionIdle (callable $callback, $fname=__METHOD__)
Since 1.32
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 Linker::link ( $target, $html=null, $customAttribs=[], $query=[], $options=[])
since 1.28, use MediaWiki\Linker\LinkRenderer instead
Class IExpiringStore
Member Message::$format
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 MimeAnalyzer::getTypesForExtension ( $ext)
since 1.35 Use getMimeTypesFromExtension() instead.
Member BagOStuff::$debugMode
since 1.36 – unused
Member BagOStuff::setDebug ( $enabled)
since 1.36, always true
Page Hooks
to the interface doc comment. The interface doc comment is a better place for
Member Wikimedia\Rdbms\IDatabase::aggregateValue ( $valuedata, $valuename='value')
Since 1.33
Member Wikimedia\Rdbms\IDatabase::selectDB ( $db)
Since 1.32 Use selectDomain() instead
Member Wikimedia\Rdbms\IDatabase::nextSequenceValue ( $seqName)
since 1.30, no longer needed