MediaWiki  master
Deprecated List
Class MediaWiki\Search\SearchWidgets\SimpleSearchResultSetWidget
since 1.31. Use InterwikiSearchResultSetWidget
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 BaseSearchResultSet::next ()
since 1.32; Use self::extractResults() or foreach
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 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
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\Shell\Command::cgroup ( $cgroup)
since 1.36
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 SpecialPage::setListed ( $listed)
since 1.35
Member Skin::getSearchLink ()
since 1.36.
Member Skin::mainPageLink ()
since 1.36
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::getIndicatorsHTML ( $indicators)
since 1.36.
Member SkinTemplate::getPersonalToolsList ()
since 1.35, use SkinTemplate::makePersonalToolsList()
Member SkinTemplate::getNameSpaceKey ()
since 1.35, use Title::getNamespaceKey() instead
Member Skin::subPageSubtitle ( $out)
since 1.36 use Skin::prepareSubtitle instead
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
Class MediaWiki\Hook\AddNewAccountHook

since 1.27. Use LocalUserCreated instead.

Class MediaWiki\Hook\SpecialMuteSubmitHook

since 1.35, used only for instrumentation on Special:Mute

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 BaseTemplate::getFooterIcons ( $option=null)
1.35 read footer icons from template data requested via $this->get('footericons')
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 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 MediaWiki\Permissions\PermissionManager::getGroupsWithPermission ( $role)
since 1.36, use GroupPermissionsLookup instead.
Class MediaWiki\Hook\BaseTemplateAfterPortletHook

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

Class MediaWiki\Hook\BaseTemplateToolboxHook

since 1.35

Class MediaWiki\Hook\SkinTemplateOutputPageBeforeExecHook
since 1.35. See https://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateOutputPageBeforeExec for migration notes.
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::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 WikiPage::doEditUpdates (RevisionRecord $revisionRecord, UserIdentity $user, array $options=[])
since 1.32 (soft), use DerivedPageDataUpdater::doUpdates instead.
Class Page
since 1.35, Use WikiPage or Article instead
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 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. 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 ImagePage::getImageLimitsFromOption (UserIdentity $user, $optionName)
Since 1.35 Use static function MediaFileTrait::getImageLimitsFromOption
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; 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 Article::$mParserOutput
since 1.32
Member MWNamespace::isCapitalized ( $index)
since 1.34
Member MWNamespace::hasGenderDistinction ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isNonincludable ( $index)
since 1.34
Member MWNamespace::getNamespaceContentModel ( $index)
since 1.34
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 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 Parser::$mStripState
since 1.35, use Parser::getStripState()
Member Article::getContentObject ()
since 1.32, use fetchRevisionRecord() instead. Hard since 1.36.
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::getTimestamp ()
since 1.35, use WikiPage::getTimestamp instead
Member CategoryPage::getCategoryViewerClass ()
since 1.35
Member CategoryPage::setCategoryViewerClass ( $class)
since 1.35
Class Page\Hook\RollbackCompleteHook

since 1.36, use PageSaveComplete

Class Page\Hook\WikiPageDeletionUpdatesHook

since 1.32 Use PageDeletionDataUpdates or override ContentHandler::getDeletionDataUpdates instead

Member ParserOptions::setOptionLegacy ( $name, $value)
since 1.30
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::getUser ()
since 1.36. Use ::getUserIdentity instead.
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 ParserCache::getETag (PageRecord $page, $popts)
since 1.36
Member ParserCache::getKey (PageRecord $page, $popts, $useOutdated=self::USE_ANYTHING)
1.36 Use ::getMetadata and ::makeParserOutputKey methods instead.
Member Parser::setTitle (Title $t=null)
since 1.37, use setPage() instead.
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::getUser ()
since 1.36. Use ::getUserIdentity instead.
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 GroupPermissionsLookup instead
Member MediaWiki\Permissions\PermissionManager::getGroupPermissions ( $groups)
since 1.36 Use GroupPermissionsLookup instead
Member Parser::$mTitle
since 1.35, use Parser::getTitle()
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 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::$mUser
since 1.35, use Parser::getUser()
Member Parser::$mOptions
since 1.35, use Parser::getOptions()
Member SpecialBlock::checkUnblockSelf ( $target, Authority $performer)
since 1.36, hard deprecated since 1.37, use BlockPermissionChecker instead
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::$mInputSize
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 Language::ALL
since 1.34, use LanguageNameUtils::ALL
Member User::incEditCount ()
since 1.37
Member MediaWiki\User\UserIdentityValue::getActorId ( $wikiId=self::LOCAL)
since 1.36, use ActorNormalization::acquireActorId 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
Class UIDGenerator
Since 1.35; use GlobalIdGenerator instead
Class MediaWiki\Hook\BeforeResetNotificationTimestampHook

since 1.37

Member WatchedItem::getLinkTarget ()
since 1.36, use getTarget() instead
Member WebRequest::checkUrlExtension ( $extList=[])
since 1.35
Member Language::AS_AUTONYMS
since 1.34, LanguageNameUtils::AUTONYMS
Member User::changeableGroups ()
since 1.37 Use UserGroupManager::getGroupsChangeableBy instead.
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::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 User::matchEditToken ( $val, $salt='', $request=null, $maxage=null)
since 1.37. Use CsrfTokenSet::matchToken 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::isWatched (PageIdentity $title, $checkRights=self::CHECK_USER_RIGHTS)
since 1.37, use WatchlistManager::isWatched() or WatchlistManager::isWatchedIgnoringRights()
Member User::isTempWatched (PageIdentity $title, $checkRights=self::CHECK_USER_RIGHTS)
since 1.37, use WatchlistManager::isTempWatched() or WatchlistManager::isTempWatchedIgnoringRights()
Member User::addWatch (PageIdentity $title, $checkRights=self::CHECK_USER_RIGHTS, ?string $expiry=null)
since 1.37, use WatchlistManager::addWatch() or WatchlistManager::addWatchIgnoringRights()
Member User::removeWatch (PageIdentity $title, $checkRights=self::CHECK_USER_RIGHTS)
since 1.37, use WatchlistManager::removeWatch() or WatchlistManager::removeWatchIgnoringRights
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 Language::$mMonthGenMsgs
since 1.35, use the MONTH_GENITIVE_MESSAGES constant
Member User::matchEditTokenNoSuffix ( $val, $salt='', $request=null, $maxage=null)
since 1.37. No replacement was provided.
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 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 Language::getMessagesFileName ( $code)
since 1.34, use LanguageNameUtils
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::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::hasVariants ()
since 1.35 use LanguageConverter::hasVariants instead
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
Member Maintenance::setAgentAndTriggers ()
since 1.37 No longer needed.
Class ResetUserTokens
since 1.27, use $wgAuthenticationTokenVersion instead.
Member Language::isKnownLanguageTag ( $tag)
since 1.34, use LanguageNameUtils
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
since 1.35, use the HEBREW_CALENDAR_MONTH_GENITIVE_MESSAGES constant
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 User::getFormerGroups ()
since 1.35 Use UserGroupManager::getUserFormerGroups instead.
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::convertNamespace ( $ns, $variant=null)
since 1.35 use LanguageConverter::convertNamespace instead
Member Title::getOtherPage ()
since 1.34, use NamespaceInfo::getAssociatedPage
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::isWatchable ()
since 1.37, use WatchlistManager::isWatchable 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::$mTextform
since 1.37 directly accessing this member, use the ::getText() method instead. Text form (spaces not underscores) of the main part
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 Title::purgeSquid ()
1.35 Use HtmlCacheUpdater
Member Title::getNotificationTimestamp (User $user)
since 1.35
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.
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 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\PageContentSaveHook

since 1.35 Use MultiContentSave instead

Member MediaWiki\Storage\SqlBlobStore::getLegacyEncodingConversionLang ()
since 1.34 No longer needed
Class MediaWiki\User\Hook\UserLoadFromDatabaseHook

since 1.37

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
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 TitleValue::$fragment
in 1.31. This class is immutable. Use the getter for access.
Member TitleValue::$interwiki
in 1.31. This class is immutable. Use the getter for access.
Member Title::GAID_FOR_UPDATE
since 1.34, use Title::READ_LATEST instead.
Member User::getIntOption ( $oname, $defaultOverride=0)
since 1.35 Use UserOptionsLookup::getIntOption instead
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 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::blockedFor ()
since 1.35 Use AbstractBlock::getReasonComment instead
Member User::setActorId (int $actorId)
since 1.36
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. Hard deprecated since 1.37.
Member User::getBoolOption ( $oname)
since 1.35 Use UserOptionsLookup::getBoolOption instead
Member User::getCanonicalName ( $name, $validate='valid')
since 1.35, use the UserNameUtils service. Hard deprecated since 1.37
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, 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::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 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::newFromIdentity (UserIdentity $identity)
since 1.36, use a UserFactory instead
Class MediaWiki\User\Hook\UserLoadOptionsHook

since 1.37 use LoadUserOptionsHook instead.

Class MediaWiki\User\Hook\UserResetAllOptionsHook

since 1.37. This hook was not used and no replacement is provided

Class MediaWiki\User\Hook\UserSaveOptionsHook

since 1.37 use SaveUserOptionsHook instead.

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 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 MWNamespace::getTalkNamespaces ()
since 1.34
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::isCreatableName ( $name)
since 1.35, use the UserNameUtils service. Hard deprecated since 1.37
Member $wgParserCacheUseJson
since 1.36
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
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
File DBAccessBase.php
since 1.37
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 $wgIncludejQueryMigrate
since 1.36
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 $wgParserTestFiles
since 1.30
Member $wgOpenSearchTemplate
since 1.25 Use $wgOpenSearchTemplates['application/x-suggestions+json'] instead
Member ContentHandler::getContentModels ()
since 1.35, use ContentHandlerFactory::getContentModels
Member IP_ADDRESS_STRING
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.
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 $wgEnableOpenSearchSuggest
since 1.35 No longer used
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 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 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()
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
Member MediaWiki\Edit\PreparedEdit::__get ( $name)
since 1.33
Member ExternalStoreDB::getSlave ( $cluster)
since 1.34
Member FileBackendGroup::singleton ()
since 1.35, hard deprecated since 1.37 inject the service instead
Member FileBackendGroup::destroySingleton ()
since 1.35, hard deprecated since 1.37 test framework should reset services between tests instead
Member DBFileJournal::getMasterDB ()
since 1.37
Member LockManagerGroup::singleton ( $domain=false)
since 1.34, hard deprecated since 1.37, use LockManagerGroupFactory
Member LockManagerGroup::destroySingletons ()
since 1.34, hard deprecated since 1.37 Use resetServiceForTesting() on LockManagerGroupFactory
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 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 $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 $wgAjaxEditStash
Since 1.36; disabling this feature will be removed in the next release.
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()
Class HTMLCacheUpdate
Since 1.34; Enqueue jobs from HTMLCacheUpdateJob::newForBacklinks instead
Member HtmlFileCacheUpdate::newFromTitles ( $pages)
since 1.37 use newFromPages() instead
Member RE_IPV6_V4_PREFIX
since 1.35 use Wikimedia\IPUtils::RE_IPV6_V4_PREFIX instead
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 ApiQueryInfo::getImportToken (User $user)
since 1.24
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 ApiQueryInfo::getProtectToken (User $user)
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 ApiQueryBase::showHiddenUsersAddBlockInfo ( $showBlockInfo)
since 1.34, use ApiQueryBlockInfoTrait instead
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 ApiQueryUsers::getTokenFunctions ()
since 1.24
Member ApiQueryUsers::getUserrightsToken (User $actingUser, $targetUser)
since 1.24
Member ApiStashEdit::parseAndStash (WikiPage $page, Content $content, UserIdentity $user, $summary)
Since 1.34
Member ApiBase::PARAM_RANGE_ENFORCE
since 1.35
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 WatchAction::doWatchOrUnwatch ( $watch, PageIdentity $pageIdentity, Authority $performer, string $expiry=null)
since 1.37, use WatchlistManager:setWatch() instead.
Member WatchAction::doWatch (PageIdentity $pageIdentity, Authority $performer, $checkRights=User::CHECK_USER_RIGHTS, ?string $expiry=null)
since 1.37, use WatchlistManager:addWatch() instead.
Member WatchAction::doUnwatch (PageIdentity $pageIdentity, Authority $performer)
since 1.37, use WatchlistManager:removeWatch() instead.
Member WatchAction::getWatchToken (PageIdentity $page, User $user, $action='watch')
since 1.37, use CsrfTokenSet::getToken
Module Old constants for ::getAllowedParams() arrays

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

Class ApiTokens

since 1.24

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 RecentChange::getEngine ( $uri, $params=[])
since 1.29 Use RCFeed::factory() instead
Member MediaWiki\Block\DatabaseBlock::isWhitelistedFromAutoblocks ( $ip)
since 1.36; use DatabaseBlock::isExemptedFromAutoblocks()
Member MediaWiki\Block\DatabaseBlock::getReason ()
since 1.35. Use getReasonComment instead.
Member MediaWiki\Block\DatabaseBlock::purgeExpired ()
since 1.36 Use DatabaseBlockStore::purgeExpiredBlocks instead.
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, hard deprecated since 1.37 Use MediaWikiServices::getLinkCache instead
Member LinkCache::forUpdate ( $update=null)
Since 1.34
Member MessageCache::singleton ()
in 1.34, hard depreacted in 1.37 Inject an instance of this class instead of using global state
Member ChangesList::getTimestamp ( $rc)
use revDateLink instead.
Member RecentChange::getTitle ()
since 1.37, use getPage() instead.
Member RecentChange::getPerformer ()
since 1.36, hard deprecated since 1.37, use getPerformerIdentity() instead.
Member MediaWiki\Block\DatabaseBlock::update ()
since 1.36 Use DatabaseBlockStore::updateBlock instead.
Member CommentStore::getStore ()
in 1.31 Use DI to inject a CommentStore instance into your class.
Member RE_IP_BYTE
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 RE_IP_PREFIX
since 1.35 use Wikimedia\IPUtils::RE_IP_PREFIX instead
Member RE_IP_RANGE
since 1.35 use Wikimedia\IPUtils::RE_IP_RANGE instead
Member RE_IPV6_WORD
since 1.35 use Wikimedia\IPUtils::RE_IPV6_WORD instead
Member RE_IPV6_PREFIX
since 1.35 use Wikimedia\IPUtils::RE_IPV6_PREFIX instead
Member RE_IPV6_ADD
since 1.35 use Wikimedia\IPUtils::RE_IPV6_ADD instead
Member RE_IPV6_RANGE
since 1.35 use Wikimedia\IPUtils::RE_IPV6_RANGE instead
Member RE_IPV6_GAP
since 1.35 use Wikimedia\IPUtils::RE_IPV6_GAP instead
Member MediaWiki\Block\AbstractBlock::$mHideName
since 1.34. Use getHideName and setHideName instead.
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 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 ArchivedFile::getRawUserText ()
since 1.37. Use ::getUploader with self::RAW audience.
Member MediaWiki\Block\AbstractBlock::getReason ()
since 1.35. Use getReasonComment instead.
Member MediaWiki\Block\AbstractBlock::getTargetAndType ()
since 1.37, use getTargetName() and getTargetUserIdentity() together with getType()
Member MediaWiki\Block\AbstractBlock::getTarget ()
since 1.37, use getTargetName() and getTargetUserIdentity() together with getType()
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 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 Wikimedia\Rdbms\ResultWrapper::unwrap ( $res)
since 1.37
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 Wikimedia\Rdbms\IDatabase::nextSequenceValue ( $seqName)
since 1.30, no longer needed
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\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::selectDB ( $db)
Since 1.32 Use selectDomain() instead
Member MWNamespace::getCanonicalNamespaces ()
since 1.34
Member MWNamespace::isMovable ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isSubject ( $index)
since 1.34
Member MWNamespace::isTalk ( $index)
since 1.34
Member MWNamespace::getTalk ( $index)
since 1.34
Member MWNamespace::getSubject ( $index)
since 1.34
Member MWNamespace::getAssociated ( $index)
since 1.34
Member MWNamespace::exists ( $index)
since 1.34
Member MWNamespace::equals ( $ns1, $ns2)
since 1.34
Member MWNamespace::subjectEquals ( $ns1, $ns2)

since 1.34, hard deprecated since 1.37

since 1.34

Class MWNamespace
since 1.34, use NamespaceInfo instead
Member MWNamespace::getCanonicalName ( $index)
since 1.34
Member MWNamespace::getCanonicalIndex ( $name)
since 1.34
Member MWNamespace::getValidNamespaces ()
since 1.34
Member MWNamespace::hasTalkNamespace ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isContent ( $index)
since 1.34
Member MWNamespace::wantSignatures ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isWatchable ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::hasSubpages ( $index)
since 1.34
Member MWNamespace::getContentNamespaces ()
since 1.34
Member MWNamespace::getSubjectNamespaces ()
since 1.34
Member LogFormatter::styleRestricedElement ( $content)
since 1.37, use ::styleRestrictedElement instead
Member Wikimedia\Rdbms\ILoadBalancer::DB_MASTER
since 1.36, Use DB_PRIMARY 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 Linker::link ( $target, $html=null, $customAttribs=[], $query=[], $options=[])
since 1.28, use MediaWiki\Linker\LinkRenderer 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 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 MediaHandler::getMetadata ( $image, $path)
since 1.37 override getSizeAndMetadata() instead
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::checkPermissions (Authority $performer, $reason)
since 1.36, use ::authorizeMove or ::probablyCanMove instead.
Member Hooks::getHandlers ( $name)
since 1.35
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.

Class MediaWiki\Hook\ParserTestTablesHook
No longer invoked by MW 1.36+
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 wfGetScriptUrl ()
since 1.35. Use wfScript() to obtain an entry point URL.
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 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
Member Http::getProxy ()
since 1.34, use $wgHTTPProxy directly
Member wfIncrStats ( $key, $count=1)
since 1.36 (emits deprecation warnings since 1.37), use MediaWikiServices::getInstance()->getStatsdDataFactory()->updateCount() instead
Member ArchivedFile::getRawDescription ()
since 1.37. Use ::getDescription with self::RAW audience.
Member File::getUser ( $type='text')
since 1.37. Use and override ::getUploader instead.
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 RepoGroup::singleton ()
since 1.34, hard deprecated since 1.37 Use MediaWikiServices::getRepoGroup instead
Member RepoGroup::destroySingleton ()
since 1.34, hard deprecated since 1.37 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, hard deprecated since 1.37 Use MediaWikiTestCase::setService, this can mess up state of other tests
Member Http::createMultiClient (array $options=[])
since 1.34, use MediaWikiServices::getHttpRequestFactory()->createMultiClient()
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 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 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 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 MediaWiki\Languages\LanguageConverterFactory::isTitleConversionDisabled ()
1.36 Should use ::isLinkConversionDisabled() instead
Member Message::$format
Member Message::title ( $title)
since 1.37. Use ::page instead
Member JobQueueDB::getMasterDB ()
since 1.37
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
Class IExpiringStore
1.35
Member WikiRevision::setText ( $text)
since 1.35, use setContent instead.
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.
Page Hooks
to the interface doc comment. The interface doc comment is a better place for
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
Class MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook
Does not support enumerating all valid prefixes; for testing purposes (re)set $wgInterwikiCache instead.
Member JobQueue::getWiki ()
1.33 (hard deprecated since 1.37)