MediaWiki REL1_38
Deprecated List
Member $wgAjaxUploadDestCheck
since MediaWiki 1.38 and ignored
Member $wgAllowImageTag
since 1.35; register an extension tag named
Member $wgAllowRequiringEmailForResets
This feature is under development, don't assume this flag's existence or function outside of MediaWiki.
Member $wgAutoloadAttemptLowercase
since 1.35
Member $wgContentHandlerTextFallback
since 1.37
Member $wgDummyLanguageCodes
since 1.29
Member $wgEnableOpenSearchSuggest
since 1.35 No longer used
Member $wgEnableSpecialMute
since 1.34
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 $wgIncludeLegacyJavaScript
since 1.26: Always declare dependencies.
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 $wgMaximalPasswordLength
since 1.26, use $wgPasswordPolicy's MaximalPasswordLength.
Member $wgMinimalPasswordLength
since 1.26, use $wgPasswordPolicy's MinimalPasswordLength.
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 $wgOpenSearchTemplate
since 1.25 Use $wgOpenSearchTemplates['application/x-suggestions+json'] instead
Member $wgParser
since 1.32, use MediaWikiServices::getInstance()->getParser() instead
Member $wgParserCacheUseJson
since 1.36
Member $wgParserOutputHooks
since 1.38; should be done with extensionData and the OutputPageParserOutputHook (T292321).
Member $wgParserTestFiles
since 1.30
Member $wgRCEngines
since 1.38 Set 'class' directly in $wgRCFeeds.
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 $wgShellboxUrl
since 1.37; use $wgShellboxUrls instead
Member $wgSquidPurgeUseHostHeader
since 1.33, will always be true in a future release.
Member $wgTrackingCategories
since 1.25 Extensions should now register tracking categories using the new extension registration system.
Member $wgUploadStashScalerBaseUrl
since 1.36 Use thumbProxyUrl in $wgLocalFileRepo
Member $wgUser
since 1.35, use an available context source when possible, or, as a backup, RequestContext::getMain()
Member $wgVersion
since 1.35; use the MW_VERSION constant instead
Member AbstractContent::fillParserOutput (Title $title, $revId, ParserOptions $options, $generateHtml, ParserOutput &$output)
since 1.38. Hard-deprecated since 1.38. Use ContentHandler::fillParserOutput instead.
Member AbstractContent::getParserOutput (Title $title, $revId=null, ParserOptions $options=null, $generateHtml=true)
since 1.38. Hard-deprecated since 1.38. Use ContentRenderer::getParserOutput instead. Extensions defining a content model should override ContentHandler::fillParserOutput.
Member AbstractContent::getRedirectChain ()
since 1.38 Support for $wgMaxRedirect will be removed soon so this will go away with it. See T296430.
Member AbstractContent::getUltimateRedirectTarget ()
since 1.38 Support for $wgMaxRedirect will be removed soon so this will go away with it. See T296430.
Member AbstractContent::preloadTransform (Title $title, ParserOptions $popts, $params=[])
since 1.37. Hard-deprecated since 1.37. Use ContentTransformer::preloadTransform instead. Extensions defining a content model should override ContentHandler::preloadTransform.
Member AbstractContent::prepareSave (WikiPage $page, $flags, $parentRevId, User $user)
since 1.38. Hard-deprecated since 1.38. Use ContentHandler::validateSave instead.
Member AbstractContent::preSaveTransform (Title $title, User $user, ParserOptions $popts)
since 1.37. Hard-deprecated since 1.37. Use ContentTransformer::preSaveTransform instead. Extensions defining a content model should override ContentHandler::preSaveTransform.
Member Action::$page
since 1.35, use getArticle() ?? getWikiPage(). Must be removed.
Member Action::exists (string $name)
since 1.38 use (bool)ActionFactory::getAction()
Member ApiBase::PARAM_ALL
since 1.35, use ParamValidator::PARAM_ALL instead
Member ApiBase::PARAM_ALLOW_DUPLICATES
since 1.35, use ParamValidator::PARAM_ALLOW_DUPLICATES instead
Member ApiBase::PARAM_DEPRECATED
since 1.35, use ParamValidator::PARAM_DEPRECATED instead
Member ApiBase::PARAM_DEPRECATED_VALUES
since 1.35, use EnumDef::PARAM_DEPRECATED_VALUES instead
Member ApiBase::PARAM_DFLT
since 1.35, use ParamValidator::PARAM_DEFAULT instead
Member ApiBase::PARAM_EXTRA_NAMESPACES
since 1.35, use NamespaceDef::PARAM_EXTRA_NAMESPACES instead
Member ApiBase::PARAM_ISMULTI
since 1.35, use ParamValidator::PARAM_ISMULTI instead
Member ApiBase::PARAM_ISMULTI_LIMIT1
since 1.35, use ParamValidator::PARAM_ISMULTI_LIMIT1 instead
Member ApiBase::PARAM_ISMULTI_LIMIT2
since 1.35, use ParamValidator::PARAM_ISMULTI_LIMIT2 instead
Member ApiBase::PARAM_MAX
since 1.35, use IntegerDef::PARAM_MAX instead
Member ApiBase::PARAM_MAX2
since 1.35, use IntegerDef::PARAM_MAX2 instead
Member ApiBase::PARAM_MAX_BYTES
since 1.35, use StringDef::PARAM_MAX_BYTES instead
Member ApiBase::PARAM_MAX_CHARS
since 1.35, use StringDef::PARAM_MAX_CHARS instead
Member ApiBase::PARAM_MIN
since 1.35, use IntegerDef::PARAM_MIN instead
Member ApiBase::PARAM_RANGE_ENFORCE
since 1.35
Member ApiBase::PARAM_REQUIRED
since 1.35, use ParamValidator::PARAM_REQUIRED instead
Member ApiBase::PARAM_SENSITIVE
since 1.35, use ParamValidator::PARAM_SENSITIVE instead
Member ApiBase::PARAM_SUBMODULE_MAP
since 1.35, use SubmoduleDef::PARAM_SUBMODULE_MAP instead
Member ApiBase::PARAM_SUBMODULE_PARAM_PREFIX
since 1.35, use SubmoduleDef::PARAM_SUBMODULE_PARAM_PREFIX instead
Member ApiBase::PARAM_TYPE
since 1.35, use ParamValidator::PARAM_TYPE instead
Member ApiBase::PARAM_VALUE_LINKS
since 1.35
Class ApiErrorFormatter_BackCompat

Only for backwards compatibility, do not use

Member ApiPageSet::getGoodAndMissingTitles ()
since 1.37, use getGoodAndMissingPages() instead.
Member ApiPageSet::getGoodTitles ()
since 1.37, use getGoodPages() instead.
Member ApiPageSet::getMissingTitles ()
since 1.37, use getMissingPages instead.
Member ApiPageSet::getRedirectTitles ()
since 1.37, use getRedirectTargets instead.
Member ApiPageSet::getSpecialTitles ()
since 1.37, use getSpecialPages() instead.
Member ApiPageSet::getTitles ()
since 1.37, use getPages() instead.
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 ApiStashEdit::parseAndStash (WikiPage $page, Content $content, UserIdentity $user, $summary)
Since 1.34, hard deprecated since 1.38
Member Article::$mContext
since 1.35, must be private, use getContext
Member Article::$mParserOutput
since 1.32
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::doDelete ( $reason, $suppress=false, $immediate=false)
since 1.37, hard deprecated since 1.38. Use WikiPage::doDeleteArticleReal if you only need to delete the article. If you also need things to happen with OutputPage, you may want to check the hooks in DeleteAction instead.
Member Article::getTimestamp ()
since 1.35, use WikiPage::getTimestamp instead
Member Article::viewRedirect ( $target, $appendSubtitle=true, $forceKnown=false)
since 1.30
Member BacklinkCache::get (PageReference $page)
since 1.37 Use BacklinkCacheFactory::getBacklinkCache() instead
Member BacklinkCache::getCascadeProtectedLinks ()
since 1.37, use getCascadeProtectedLinkPages()
Member BacklinkCache::getLinks ( $table, $startId=false, $endId=false, $max=INF)
in 1.37, use getLinkPages()
Member BagOStuff::clearLastError ()
Since 1.38
Member BagOStuff::decr ( $key, $value=1, $flags=0)
Since 1.38
Member BagOStuff::incr ( $key, $value=1, $flags=0)
Since 1.38
Member BaseSearchResultSet::free ()
noop since 1.34
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 BaseTemplate::getAfterPortlet ( $name)
since 1.35 (emits deprecation warnings since 1.37), use Skin::getAfterPortlet directly
Member BaseTemplate::getFooterIcons ( $option=null)
since 1.35 read footer icons from template data requested via $this->get('footericons')
Member BaseTemplate::getPersonalTools ()
since 1.35 use Skin::getPersonalToolsForMakeListItem
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::makeLink ( $key, $item, $options=[])
since 1.35 use Skin::makeLink
Member BaseTemplate::makeListItem ( $key, $item, $options=[])
since 1.35 use Skin::makeListItem
Member BaseTemplate::makeSearchButton ( $mode, $attrs=[])
since 1.35 use Skin::makeSearchButton
Member BaseTemplate::makeSearchInput ( $attrs=[])
since 1.35 use Skin::makeSearchInput
Member BaseTemplate::renderAfterPortlet ( $name)
since 1.35 (emits deprecation warnings since 1.37), use Skin::getAfterPortlet directly
Member BotPassword::invalidateAllPasswordsForCentralId ( $centralId)
since 1.37
Member BotPassword::removeAllPasswordsForCentralId ( $centralId)
since 1.37
Member Category::getTitle ()
since 1.37, use getPage() instead.
Member CategoryPage::getCategoryViewerClass ()
since 1.35
Member CategoryPage::setCategoryViewerClass ( $class)
since 1.35
Member CdnCacheUpdate::newFromTitles ( $pages, $urls=[])
Since 1.35 Use HtmlCacheUpdater instead
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 ChangesList::getTimestamp ( $rc)
use revDateLink instead.
Member Collation::factory ( $collationName)
since 1.37 Use MediaWikiServices::getCollationFactory()->makeCollation()
Member Collation::singleton ()
since 1.37 Use MediaWikiServices::getCollationFactory()->getCategoryCollation()
Member CommentStore::getStore ()
in 1.31 Use DI to inject a CommentStore instance into your class.
Member ConfigFactory::getDefaultInstance ()
since 1.27, use MediaWikiServices::getInstance()->getConfigFactory() instead.
Page Configuration

since 1.36 Use thumbProxyUrl in $wgLocalFileRepo

since 1.37

since 1.37; use $wgShellboxUrls instead

since 1.25 Extensions should now register tracking categories using the new extension registration system.

since 1.35

since 1.35 No longer used

since 1.25 Use $wgOpenSearchTemplates['application/x-suggestions+json'] instead

since 1.30

since 1.34

since 1.28

  • showBytes: Show the filesize in bytes in categories
  • showDimensions: Show the dimensions (width x height) in categories
  • mode: Gallery mode

This feature is under development, don't assume this flag's existence or function outside of MediaWiki.

since 1.26, use $wgPasswordPolicy's MaximalPasswordLength.

since 1.26, use $wgPasswordPolicy's MinimalPasswordLength.

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.

Since 1.35, the only accepted value is SCHEMA_COMPAT_NEW. No longer functions as a setting. Will be removed in 1.36.

since 1.36

since 1.33, will always be true in a future release.

since 1.35. Developers should retrieve this logo (and other variants) using the static function ResourceLoaderSkinModule::getAvailableLogos. $wgLogos should be used instead.

since 1.29

since 1.26: Always declare dependencies.

since 1.35; register an extension tag named

Member Content::getNativeData ()
since 1.33 use getText() for TextContent instances. For other content models, use specialized getters.
Member Content::getParserOutput (Title $title, $revId=null, ParserOptions $options=null, $generateHtml=true)
since 1.38. Hard-deprecated since 1.38. Use ContentRenderer::getParserOutput and override ContentHandler::fillParserOutput.
Member Content::getRedirectChain ()
since 1.38 Support for $wgMaxRedirect will be removed soon so this will go away with it. See T296430.
Member Content::getUltimateRedirectTarget ()
since 1.38 Support for $wgMaxRedirect will be removed soon so this will go away with it. See T296430.
Member Content::preloadTransform (Title $title, ParserOptions $parserOptions, $params=[])
since 1.37. Hard-deprecated since 1.37. Use ContentTransformer::preloadTransform and override ContentHandler::preloadTransform.
Member Content::prepareSave (WikiPage $page, $flags, $parentRevId, User $user)
since 1.38. Hard-deprecated since 1.38. Use ContentHandler::validateSave instead.
Member Content::preSaveTransform (Title $title, User $user, ParserOptions $parserOptions)
since 1.37. Hard-deprecated since 1.37. Use ContentTransformer::preSaveTransform and override ContentHandler::preSaveTransform.
Member ContentHandler::cleanupHandlersCache ()
since 1.35, hard deprecated since 1.37 Please, use ContentHandlerFactory. Cleanup is not needed
Member ContentHandler::getAllContentFormats ()
since 1.35, use ContentHandlerFactory::getAllContentFormats
Member ContentHandler::getContentModels ()
since 1.35, use ContentHandlerFactory::getContentModels
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::getForContent (Content $content)
since 1.35, instead use ContentHandlerFactory::getContentHandler( $content->getModel() ).
Member ContentHandler::getForModelID ( $modelId)
since 1.35, use ContentHandlerFactory::getContentHandler
Member ContentHandler::getForTitle (Title $title)
since 1.35, hard deprecated since 1.37 Use ContentHandlerFactory::getContentHandler( $title->getContentModel() ) instead
Member ContentHandler::getSlotDiffRendererInternal (IContextSource $context)
use getSlotDiffRendererWithOptions instead
Member ContentModelChange::checkPermissions ()
since 1.36. Use ::probablyCanChange or ::authorizeChange instead.
Member ContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member ContribsPager::preventClickjacking ()
since 1.38, use ::setPreventClickjacking() instead
Member DatabaseUpdater::ifNoActorTable ( $func,... $params)
since 1.35, use ifTableNotExists() instead
Member DataUpdate::runUpdates (array $updates)
Since 1.28 Use DeferredUpdates::execute()
Member DateFormatter::getInstance (Language $lang=null)
since 1.33 use MediaWikiServices::getDateFormatterFactory()
Member DB_MASTER
since 1.36, Use DB_PRIMARY instead
Member DerivativeContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
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::$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::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::getDiffBodyCacheKey ()
since 1.31, use getDiffBodyCacheKeyParams() instead
Member DifferenceEngine::getExtraCacheKeys ()
Member DifferenceEngine::setContent (Content $oldContent, Content $newContent)
since 1.32, use setRevisions or ContentHandler::getSlotDiffRenderer.
Member DifferenceEngine::textDiff ( $otext, $ntext)
since 1.32, use a TextSlotDiffRenderer instead.
Class DifferenceEngineSlotDiffRenderer

Member EditPage::$action
for public usage since 1.38 with no replacement
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::addNewLineAtEnd ( $wikitext)
since 1.38 Use TextboxBuilder::addNewLineAtEnd instead.
Member EditPage::getCopywarn ()
since 1.38 Use getCopyrightWarning() instead.
Member EnqueueJob::newFromJobsByWiki (array $jobsByWiki)
Since 1.33; use newFromJobsByDomain()
Class EventRelayerKafka
since 1.38
Class ExternalStore
since 1.34 Use the ExternalStoreAccess service instead.
Member ExternalStore::batchFetchFromURLs (array $urls)
since 1.34
Member ExternalStore::fetchFromURL ( $url, array $params=[])
since 1.34
Member ExternalStore::getStoreObject ( $proto, array $params=[])
since 1.34
Member ExternalStore::insert ( $url, $data, array $params=[])
since 1.34
Member ExternalStore::insertToDefault ( $data, array $params=[])
since 1.34
Member ExternalStore::insertToForeignDefault ( $data, $wiki)
since 1.34 Use insertToDefault() with 'wiki' set
Member ExternalStore::insertWithFallback (array $tryStores, $data, array $params=[])
since 1.34
Member ExternalStoreDB::getMaster ( $cluster)
since 1.37; please use getPrimary() instead.
Member ExternalStoreDB::getSlave ( $cluster)
since 1.34
Member FeedUtils::formatDiffRow ( $title, $oldid, $newid, $timestamp, $comment, $actiontext='')
since 1.38 use formatDiffRow2
Member File::getMetadata ()
since 1.37 use getMetadataArray() or getMetadataItem()
Member FileBackend::getWikiId ()
Since 1.34 Use getDomainId()
Member FormatMetadata::flattenArrayContentLang ( $vals, $type='ul', $noHtml=false, $context=false)
since 1.36, appears to have no callers
Member FormSpecialPage::postText ()
since 1.38, use postHtml() instead
Member FormSpecialPage::preText ()
since 1.38, use preHtml() instead
Page Hooks

to the interface doc comment. The interface doc comment is a better place for

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 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::getHandlers ( $name)
since 1.35
Member Hooks::isRegistered ( $name)
since 1.35. use HookContainer::isRegistered() instead
Member Hooks::register ( $name, $callback)
since 1.35. use HookContainer::register() instead
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 HTMLCacheUpdate
Since 1.34; Enqueue jobs from HTMLCacheUpdateJob::newForBacklinks instead
Member HtmlFileCacheUpdate::newFromTitles ( $pages)
since 1.37 use newFromPages() instead
Member HTMLForm::addFooterText ( $msg, $section=null)
since 1.38, use addFooterHtml() instead
Member HTMLForm::addHeaderText ( $msg, $section=null)
since 1.38, use addHeaderHtml() instead
Member HTMLForm::addPostText ( $msg)
since 1.38, use addPostHtml() instead
Member HTMLForm::addPreText ( $msg)
since 1.38, use addPreHtml() instead
Member HTMLForm::getFooterText ( $section=null)
since 1.38, use getFooterHtml() instead
Member HTMLForm::getHeaderText ( $section=null)
since 1.38, use getHeaderHtml() instead
Member HTMLForm::getPreText ()
since 1.38, use getPreHtml() instead
Member HTMLForm::setFooterText ( $msg, $section=null)
since 1.38, use setFooterHtml() instead
Member HTMLForm::setHeaderText ( $msg, $section=null)
since 1.38, use setHeaderHtml() instead
Member HTMLForm::setIntro ( $msg)
since 1.38, use setPreHtml() instead
Member HTMLForm::setPostText ( $msg)
since 1.38, use setPostHtml() instead
Member HTMLForm::setPreText ( $msg)
since 1.38, use setPreHtml() instead
Member HTMLFormField::getNearestFieldByName ( $alldata, $name, $asDisplay=false)
since 1.38 Use getNearestFieldValue() instead.
Class Http

since 1.34

Member Http::createMultiClient (array $options=[])
since 1.34, use MediaWikiServices::getHttpRequestFactory()->createMultiClient()
Member Http::get ( $url, array $options=[], $caller=__METHOD__)
since 1.34, use HttpRequestFactory::get()
Member Http::getProxy ()
since 1.34, use $wgHTTPProxy directly
Member Http::isValidURI ( $uri)
since 1.34, use MWHttpRequest::isValidURI
Member Http::post ( $url, array $options=[], $caller=__METHOD__)
since 1.34, use HttpRequestFactory::post()
Member Http::request ( $method, $url, array $options=[], $caller=__METHOD__)
since 1.34, use HttpRequestFactory::request()
Member Http::userAgent ()
since 1.34, use HttpRequestFactory::getUserAgent()
Member IContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Interface IExpiringStore
since 1.35
Member ImageHistoryList::preventClickjacking ( $enable=true)
since 1.38, use ::setPreventClickjacking() instead
Member ImageHistoryPseudoPager::preventClickjacking ( $enable=true)
since 1.38, use setPreventClickjacking()
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 JobQueue::getWiki ()
since 1.33 (hard deprecated since 1.37)
Member JobQueueDB::getMasterDB ()
since 1.37
Member JobQueueGroup::$instances
since 1.37
Member JobQueueGroup::destroySingletons ()
since 1.37
Member JobQueueGroup::singleton ( $domain=false)
since 1.37 Use JobQueueGroupFactory::makeJobQueueGroup
Member JobRunner::setLogger (LoggerInterface $logger)
since 1.35. Rely on the logger passed in the constructor.
Member JobSpecification::getTitle ()
since 1.37.
Member Language::$dateFormatStrings
since 1.35, must be private
Member Language::$durationIntervals
since 1.35, use the DURATION_INTERVALS constant
Member Language::$mExtendedSpecialPageAliases
since 1.35, must be protected
Member Language::$mMagicExtensions
since 1.35, use LocalisationCache with custom language config
Member Language::$mMonthAbbrevMsgs
since 1.35, use the MONTH_ABBREVIATED_MESSAGES constant
Member Language::$mMonthMsgs
since 1.35, use the MONTH_MESSAGES constant
Member Language::ALL
since 1.34, use LanguageNameUtils::ALL
Member Language::autoConvert ( $text, $variant=false)
since 1.35 use LanguageConverter::autoConvert
Member Language::autoConvertToAllVariants ( $text)
since 1.35 use LanguageConverter::autoConvertToAllVariants
Member Language::commafy ( $number)
in 1.36 use formatNum
Member Language::convert ( $text)
since 1.35 use LanguageConverter::convert
Member Language::convertCategoryKey ( $key)
since 1.35 use LanguageConverter::convertCategoryKey instead
Member Language::convertHtml ( $text)
since 1.35 use LanguageConverter::convertHtml instead
Member Language::convertNamespace ( $ns, $variant=null)
since 1.35 use LanguageConverter::convertNamespace instead
Member Language::factory ( $code)
since 1.35, use LanguageFactory
Member Language::fetchLanguageName ( $code, $inLanguage=LanguageNameUtils::AUTONYMS, $include=LanguageNameUtils::ALL)
since 1.34, use LanguageNameUtils::getLanguageName
Member Language::fetchLanguageNames ( $inLanguage=LanguageNameUtils::AUTONYMS, $include=LanguageNameUtils::DEFINED)
since 1.34, use LanguageNameUtils::getLanguageNames
Member Language::getConverter ()
since 1.35 Use MediaWikiServices::getInstance()->getLanguageConverterFactory() ->getLanguageConverter( $language ) instead
Member Language::getConvRuleTitle ()
since 1.35 use LanguageConverter::getConvRuleTitle instead
Member Language::getDefaultVariant ()
since 1.35 use LanguageConverter::getDefaultVariant instead
Member Language::getExtraHashOptions ()
since 1.35 use LanguageConverter::getExtraHashOptions instead
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::getFileName ( $prefix, $code, $suffix='.php')
since 1.34, use LanguageNameUtils
Member Language::getJsonMessagesFileName ( $code)
since 1.34, use LanguageNameUtils
Member Language::getLocalisationCache ()
since 1.34, use MediaWikiServices
Member Language::getMessageFor ( $key, $code)
since 1.35, use LocalisationCache directly
Member Language::getMessageKeysFor ( $code)
since 1.35, use LocalisationCache directly
Member Language::getMessagesFileName ( $code)
since 1.34, use LanguageNameUtils
Member Language::getMessagesFor ( $code)
since 1.35, use LocalisationCache directly
Member Language::getParentLanguage ()
since 1.35, use LanguageFactory::getParentLanguage
Member Language::getPreferredVariant ()
since 1.35 use LanguageConverter::getPreferredVariant instead
Member Language::getURLVariant ()
since 1.35 use LanguageConverter::getURLVariant instead
Member Language::getVariants ()
since 1.35 use LanguageConverter::getVariants instead
Member Language::hasVariant ( $variant)
since 1.35 use LanguageConverter::hasVariant instead
Member Language::hasVariants ()
since 1.35 use LanguageConverter::hasVariants instead
Member Language::isKnownLanguageTag ( $tag)
since 1.34, use LanguageNameUtils
Member Language::isSupportedLanguage ( $code)
since 1.34, use LanguageNameUtils
Member Language::isValidBuiltInCode ( $code)
since 1.34, use LanguageNameUtils
Member Language::isValidCode ( $code)
since 1.34, use LanguageNameUtils
Member Language::MESSAGES_FALLBACKS
since 1.35, use LanguageFallback::MESSAGES
Member Language::STRICT_FALLBACKS
since 1.35, use LanguageFallback::STRICT
Member Language::SUPPORTED
since 1.34, use LanguageNameUtils::SUPPORTED
Member Licenses::getLicenses ()
since 1.31 Use getLines() instead
Member LinkBatch::__construct (iterable $arr=[], ?LinkCache $linkCache=null, ?TitleFormatter $titleFormatter=null, ?Language $contentLanguage=null, ?GenderCache $genderCache=null, ?ILoadBalancer $loadBalancer=null, ?LoggerInterface $logger=null)
since 1.35 Use makeLinkBatch of the LinkBatchFactory service instead
Member LinkCache::addGoodLinkObj ( $id, $page, $len=-1, $redir=null, $revision=0, $model=null, $lang=null)
since 1.37, use addGoodLinkObjFromRow() instead. PHPUnit tests must use LinkCacheTestTrait::addGoodLinkObject().
Member LinkCache::addLinkObj ( $page, int $queryFlags=IDBAccessObject::READ_NORMAL)
since 1.37, use PageStore::getPageForLink() instead.
Member LinkCache::forUpdate ( $update=null)
Since 1.34. Use PageStore::getPageForLink with IDBAccessObject::READ_LATEST.
Member Linker::commentBlock ( $comment, $title=null, $local=false, $wikiId=null, $useParentheses=true)
since 1.38 use CommentFormatter
Member Linker::formatComment ( $comment, $title=null, $local=false, $wikiId=null)
since 1.38 use CommentFormatter
Member Linker::formatLinksInComment ( $comment, $title=null, $local=false, $wikiId=null)
since 1.38 use CommentFormatter
Member Linker::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 Linker::revComment (RevisionRecord $revRecord, $local=false, $isPublic=false, $useParentheses=true)
since 1.38 use CommentFormatter
Member LocalFile::getMetadata ()
since 1.37 use getMetadataArray() or getMetadataItem()
Member LocalFile::lock ()
since 1.38 Use acquireFileLock()
Member LocalFile::unlock ()
since 1.38 Use releaseFileLock()
Member LocalRepo::getMasterDB ()
since 1.37
Member LockManagerGroup::getAny ()
since 1.35, seemingly unused, just call get() and catch any exception instead
Member LockManagerGroup::getDefault ()
since 1.35, seemingly unused, just call get() and catch any exception instead
Member LogFormatter::styleRestricedElement ( $content)
since 1.37, use styleRestrictedElement instead
Member MagicWordArray::getVariableRegex ()
since 1.36 Appears to have no uses.
Member Maintenance::setAgentAndTriggers ()
since 1.37 No longer needed.
Member ManualLogEntry::setTags ( $tags)
since 1.33 Please use addTags() instead
Class McrRestoreAction
since 1.32
Class McrUndoAction
since 1.32
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\Actions\ActionFactory::actionExists (string $actionName)
since 1.38
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\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\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\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\AuthManager::forcePrimaryAuthenticationProviders (array $providers, $why)
For backwards compatibility only
Member MediaWiki\Block\AbstractBlock::$mExpiry
since 1.34. Use getExpiry and setExpiry instead.
Member MediaWiki\Block\AbstractBlock::$mHideName
since 1.34. Use getHideName and setHideName instead.
Member MediaWiki\Block\AbstractBlock::$mTimestamp
since 1.34. Use getTimestamp and setTimestamp 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\AbstractBlock::getReason ()
since 1.35. Use getReasonComment instead.
Member MediaWiki\Block\BlockRestrictionStore::loadByBlockId ( $blockId, IDatabase $db=null)
since 1.38.
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::getReason ()
since 1.35. Use getReasonComment instead.
Member MediaWiki\Block\DatabaseBlock::insert (IDatabase $dbw=null)
since 1.36 Use DatabaseBlockStore::insertBlock instead.
Member MediaWiki\Block\DatabaseBlock::purgeExpired ()
since 1.36, hard deprecated since 1.38 Use DatabaseBlockStore::purgeExpiredBlocks instead.
Member MediaWiki\Block\DatabaseBlock::update ()
since 1.36 Use DatabaseBlockStore::updateBlock instead.
Member MediaWiki\Content\ValidationParams::getParentRevisionId ()
since 1.38. Born soft-deprecated as we will move usage of it to MultiContentSaveHook in ProofreadPage (only one place of usage).
Member MediaWiki\Deferred\LinksUpdate\LinksUpdate::getAddedLinks ()
since 1.38 use getPageReferenceIterator() or getPageReferenceArray()
Member MediaWiki\Deferred\LinksUpdate\LinksUpdate::getRemovedLinks ()
since 1.38 use getPageReferenceIterator() or getPageReferenceArray()
Member MediaWiki\Deferred\LinksUpdate\TitleLinksTable::getTitleArray ( $setType)
since 1.38
Class MediaWiki\Edit\PreparedEdit
since 1.32; Since 1.37, use PreparedUpdate instead.
Member MediaWiki\Edit\PreparedEdit::__get ( $name)
since 1.33
Interface MediaWiki\Hook\AddNewAccountHook

since 1.27. Use LocalUserCreated instead.

Interface MediaWiki\Hook\BaseTemplateAfterPortletHook

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

Interface MediaWiki\Hook\BeforeParserFetchTemplateAndtitleHook

since 1.36; use BeforeParserFetchTemplateRevisionRecordHook

Interface MediaWiki\Hook\BeforeParserrenderImageGalleryHook

since 1.35

Interface MediaWiki\Hook\EditPageBeforeEditToolbarHook

since 1.36 Use one of the many other EditPage hooks instead

Interface MediaWiki\Hook\InternalParseBeforeSanitizeHook

since 1.35

Interface MediaWiki\Hook\LinksUpdateAfterInsertHook

since 1.38 Use LinksUpdate or LinksUpdateComplete

Interface MediaWiki\Hook\LinksUpdateConstructedHook

since 1.38 Use LinksUpdate or LinksUpdateComplete

Interface MediaWiki\Hook\LocalFile__getHistoryHook

since 1.37

Interface MediaWiki\Hook\MagicWordwgVariableIDsHook

since 1.35, use GetMagicVariableIDsHook instead.

Interface MediaWiki\Hook\ParserGetVariableValueVarCacheHook

since 1.35

Interface MediaWiki\Hook\ParserSectionCreateHook

since 1.35

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

since 1.36, use ProtectionFormAddFormFields

Interface MediaWiki\Hook\SkinGetPoweredByHook

since 1.37

Interface MediaWiki\Hook\SpecialMuteSubmitHook

since 1.35, used only for instrumentation on Special:Mute

Interface MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook
Does not support enumerating all valid prefixes; for testing purposes (re)set $wgInterwikiCache instead.
Member MediaWiki\Languages\LanguageConverterFactory::isTitleConversionDisabled ()
since 1.36 Should use isLinkConversionDisabled() instead
Member MediaWiki\Linker\LinkRenderer::getStubThreshold ()
since 1.37. Stub threshold feature was removed. See T284917
Member MediaWiki\Linker\LinkRenderer::setStubThreshold ( $threshold)
since 1.37. Stub threshold feature was removed. See T284917
Member MediaWiki\Linker\LinkRendererFactory::createForUser (UserIdentity $user)
since 1.37. LinkRenderer does not depend on the user any longer, so calling create is sufficient.
Class MediaWiki\Logger\Monolog\KafkaHandler
since 1.38
Class MediaWiki\Logger\Monolog\LegacyFormatter
since 1.32
Member MediaWiki\MediaWikiServices::getWatchlistNotificationManager ()
since 1.36 use getWatchlistManager() instead
Member MediaWiki\Page\DeletePage::deletionWasScheduled ()
since 1.38, use deletionsWereScheduled() instead.
Interface MediaWiki\Page\Hook\ArticleDeleteCompleteHook
since 1.37, use PageDeleteCompleteHook instead. The new hook uses more modern typehints and replaces the Content object with a RevisionRecord.
Interface MediaWiki\Page\Hook\ArticleDeleteHook
since 1.37, use PageDeleteHook instead. The new hook uses more modern typehints and requires callers to add errors to $status, rather than the $error parameter.
Interface MediaWiki\Page\Hook\RollbackCompleteHook

since 1.36, use PageSaveComplete

Interface MediaWiki\Page\Hook\WikiPageDeletionUpdatesHook

since 1.32 Use PageDeletionDataUpdates or override ContentHandler::getDeletionDataUpdates instead

Interface MediaWiki\Permissions\Hook\UserCanHook

since 1.37 use getUserPermissionsErrors or getUserPermissionsErrorsExpensive instead.

Member MediaWiki\Permissions\PermissionManager::getGroupPermissions ( $groups)
since 1.36 Use GroupPermissionsLookup instead
Member MediaWiki\Permissions\PermissionManager::getGroupsWithPermission ( $role)
since 1.36, use GroupPermissionsLookup instead.
Member MediaWiki\Permissions\PermissionManager::groupHasPermission ( $group, $role)
since 1.36 Use GroupPermissionsLookup instead
Interface MediaWiki\ResourceLoader\Hook\ResourceLoaderTestModulesHook

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

Member MediaWiki\Revision\RevisionStore::getTitle ( $pageId, $revId, $queryFlags=self::READ_NORMAL)
since 1.36, Use RevisionRecord::getPage() instead.
Member MediaWiki\Revision\RevisionStore::userWasLastToEdit (IDatabase $db, $pageId, $userId, $since)
since 1.31; Can possibly be removed, since the self-conflict suppression logic in EditPage that uses this seems conceptually dubious. Revision::userWasLastToEdit had been deprecated since 1.24 (the Revision class was removed entirely in 1.37).
Interface MediaWiki\Search\Hook\PrefixSearchBackendHook

since 1.27 Override SearchEngine::completionSearchBackend instead

Class MediaWiki\Search\SearchWidgets\SimpleSearchResultSetWidget
since 1.31. Use InterwikiSearchResultSetWidget
Class MediaWiki\Search\SearchWidgets\SimpleSearchResultWidget
since 1.31. Use other result widgets.
Interface 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::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::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 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::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\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 MediaWiki\Storage\DerivedPageDataUpdater::getPreparedEdit ()
This only exists for B/C, use the getters on DerivedPageDataUpdater directly!
Interface MediaWiki\Storage\Hook\PageContentSaveHook

since 1.35 Use MultiContentSave instead

Member MediaWiki\Storage\PageUpdater::isUnchanged ()
since 1.38, use wasRevisionCreated() 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 MediaWiki\Tidy\TidyDriverBase::supportsValidate ()
since 1.36, always returns false
Interface MediaWiki\User\Hook\UserLoadFromDatabaseHook

since 1.37

Member MediaWiki\User\UserIdentityValue::getActorId ( $wikiId=self::LOCAL)
since 1.36, use ActorNormalization::acquireActorId instead.
Member MediaWiki\User\UserSelectQueryBuilder::userIds ( $userIds)
since 1.37, use whereUserIds instead
Member MediaWiki\User\UserSelectQueryBuilder::userNamePrefix (string $prefix)
since 1.37 use whereUserNamePrefix instead
Member MediaWiki\User\UserSelectQueryBuilder::userNames ( $userNames)
since 1.37, use whereUserNames instead
Member Message::content ()
since 1.38, MessageContent class is hard-deprecated.
Member Message::title ( $title)
since 1.37. Use page instead
File MessageContent.php
since 1.38.
Member MessageContent::getNativeData ()
since 1.33 use getMessage() instead.
Member MovePage::__construct (Title $oldTitle, Title $newTitle, ServiceOptions $options=null, ILoadBalancer $loadBalancer=null, NamespaceInfo $nsInfo=null, WatchedItemStoreInterface $watchedItems=null, RepoGroup $repoGroup=null, IContentHandlerFactory $contentHandlerFactory=null, RevisionStore $revisionStore=null, SpamChecker $spamChecker=null, HookContainer $hookContainer=null, WikiPageFactory $wikiPageFactory=null, UserFactory $userFactory=null, UserEditTracker $userEditTracker=null, MovePageFactory $movePageFactory=null, CollationFactory $collationFactory=null, PageUpdaterFactory $pageUpdaterFactory=null)
since 1.34, hard deprecated since 1.37. Use MovePageFactory instead.
Member MovePage::checkPermissions (Authority $performer, $reason)
since 1.36, use ::authorizeMove or ::probablyCanMove instead.
Member MWExceptionHandler::rollbackMasterChangesAndLog (Throwable $e, $catcher=self::CAUGHT_BY_OTHER)
since 1.37; please use rollbackPrimaryChangesAndLog() instead.
Class MWGrants
since 1.38, use GrantsInfo and GrantsLocalization instead
Member MWGrants::getGrantGroups ( $grantsFilter=null)
since 1.38, use GrantsInfo::getGrantGroups() instead
Member MWGrants::getGrantRights ( $grants)
since 1.38, use GrantsInfo::getGrantRights() instead
Member MWGrants::getGrantsLink ( $grant, $lang=null)
since 1.38, use GrantsLocalization::getGrantsLink() instead
Member MWGrants::getGrantsWikiText ( $grantsFilter, $lang=null)
since 1.38, use GrantsLocalization::getGrantsWikiText() instead
Member MWGrants::getHiddenGrants ()
since 1.38, use GrantsInfo::getHiddenGrants() instead
Member MWGrants::getRightsByGrant ()
since 1.38, use GrantsInfo::getRightsByGrant() instead
Member MWGrants::getValidGrants ()
since 1.38, use GrantsInfo::getValidGrants() instead
Member MWGrants::grantName ( $grant, $lang=null)
since 1.38, use GrantsLocalization::getGrantDescription() instead
Member MWGrants::grantNames (array $grants, $lang=null)
since 1.38, use GrantsLocalization::getGrantDescriptions() instead
Member MWGrants::grantsAreValid (array $grants)
since 1.38, use GrantsInfo::grantsAreValid() instead
Member MWHttpRequest::factory ( $url, array $options=null, $caller=__METHOD__)
since 1.34, use HttpRequestFactory instead
Class MWNamespace
since 1.34, use NamespaceInfo instead
Member MWNamespace::equals ( $ns1, $ns2)
since 1.34, hard deprecated since 1.37
Member MWNamespace::exists ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::getAssociated ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getCanonicalIndex ( $name)
since 1.34, hard deprecated since 1.38
Member MWNamespace::getCanonicalName ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::getCanonicalNamespaces ()
since 1.34, hard deprecated since 1.38
Member MWNamespace::getCategoryLinkType ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getContentNamespaces ()
since 1.34, hard deprecated since 1.38
Member MWNamespace::getNamespaceContentModel ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getRestrictionLevels ( $index, User $user=null)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getSubject ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getSubjectNamespaces ()
since 1.34, hard deprecated since 1.37
Member MWNamespace::getTalk ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::getTalkNamespaces ()
since 1.34, hard deprecated since 1.37
Member MWNamespace::getValidNamespaces ()
since 1.34, hard deprecated since 1.38
Member MWNamespace::hasGenderDistinction ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::hasSubpages ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::hasTalkNamespace ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isCapitalized ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isContent ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::isMovable ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isNonincludable ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isSubject ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::isTalk ( $index)
since 1.34, hard deprecated since 1.38
Member MWNamespace::isWatchable ( $index)
since 1.34, hard deprecated since 1.37
Member MWNamespace::subjectEquals ( $ns1, $ns2)

since 1.34

since 1.34, hard deprecated since 1.37

Member MWNamespace::wantSignatures ( $index)
since 1.34, hard deprecated since 1.37
Member MWTidy::tidy ( $text)
since 1.36; use MediaWikiServices::getTidy()->tidy() instead
Member MWTimestamp::getHumanTimestamp (MWTimestamp $relativeTo=null, UserIdentity $user=null, Language $lang=null)
since 1.26 Use Language::getHumanTimestamp directly
Member NamespaceInfo::getRestrictionLevels ( $index, User $user=null)
since 1.34 User PermissionManager::getNamespaceRestrictionLevels instead.
Member OutputPage::$mCategories
since 1.38, will be made private (T301020)
Member OutputPage::$mCategoryLinks
since 1.38; will be made private (T301020)
Member OutputPage::$mEnableClientCache
since 1.38; will be made private (T301020)
Member OutputPage::$mHeadItems
since 1.38; will be made private (T301020)
Member OutputPage::$mHideNewSectionLink
since 1.38; will be made private (T301020)
Member OutputPage::$mIndicators
since 1.38; will be made private (T301020)
Member OutputPage::$mJsConfigVars
since 1.38; will be made private (T301020)
Member OutputPage::$mModules
since 1.38; will be made private (T301020)
Member OutputPage::$mModuleStyles
since 1.38; will be made private (T301020)
Member OutputPage::$mNewSectionLink
since 1.38; will be made private (T301020)
Member OutputPage::$mNoGallery
since 1.38; will be made private (T301020)
Member OutputPage::$mTemplateIds
since 1.38; will be made private (T301020)
Member OutputPage::allowClickjacking ()
since 1.38, use ::setPreventClickjacking( false )
Member OutputPage::enableClientCache ( $state)
since 1.38; use disableClientCache() instead ($state is almost always false when this method is called)
Member OutputPage::formatPermissionsErrorMessage (array $errors, $action=null)
since 1.36. Use ::formatPermissionStatus instead
Member OutputPage::getCSPNonce ()
Since 1.35 use getCSP()->getNonce() instead
Member OutputPage::preventClickjacking ( $enable=true)
since 1.38, use ::setPreventClickjacking( true )
Interface Page
since 1.35, Use WikiPage or Article instead
Member PageArchive::getArchivedRevisionRecord (int $revId)
since 1.38 Use ArchivedRevisionLookup::getArchivedRevisionRecord
Member PageArchive::getFileStatus ()
since 1.38 The entrypoints in UndeletePage return a StatusValue
Member PageArchive::getLastRevisionId ()
since 1.38 Use ArchivedRevisionLookup::getLastRevisionId
Member PageArchive::getPreviousRevisionRecord (string $timestamp)
since 1.38 Use ArchivedRevisionLookup::getPreviousRevisionRecord
Member PageArchive::getRevisionRecordByTimestamp ( $timestamp)
since 1.38 Use ArchivedRevisionLookup::getRevisionRecordByTimestamp
Member PageArchive::getRevisionStatus ()
since 1.38 The entrypoints in UndeletePage return a StatusValue
Member PageArchive::isDeleted ()
since 1.38 Use ArchivedRevisionLookup::hasArchivedRevisions
Member PageArchive::listRevisions ()
since 1.38 Use ArchivedRevisionLookup::listRevisions
Member PageArchive::undeleteAsUser ( $timestamps, UserIdentity $user, $comment='', $fileVersions=[], $unsuppress=false, $tags=null)
since 1.38, use UndeletePage instead
Member PageProps::getInstance ()
since 1.38, use MediaWikiServices::getPageProps() instead
Member Parser::$mDoubleUnderscores
since 1.35
Member Parser::$mExpensiveFunctionCount
since 1.35
Member Parser::$mFirstCall
since 1.35; always false
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::$mIncludeSizes
since 1.35
Member Parser::$mInParse
since 1.35; this variable should be treated as if it were private.
Member Parser::$mInputSize
since 1.35
Member Parser::$mLinkID
since 1.35; use Parser::nextLinkID() / setLinkID()
Member Parser::$mMarkerIndex
since 1.35
Member Parser::$mOptions
since 1.35, use Parser::getOptions()
Member Parser::$mPPNodeCount
since 1.35
Member Parser::$mRevisionId
since 1.35, use Parser::getRevisionId()
Member Parser::$mRevisionSize
since 1.35, use Parser::getRevisionSize()
Member Parser::$mRevisionTimestamp
since 1.35, use Parser::getRevisionTimestamp()
Member Parser::$mRevisionUser
since 1.35, use Parser::getRevisionUser()
Member Parser::$mShowToc
since 1.35
Member Parser::$mTitle
since 1.35, use Parser::getTitle()
Member Parser::$ot
since 1.35
Member Parser::attributeStripCallback (&$text, $frame=false)
since 1.35, internal callback should not have been public
Member Parser::doBlockLevels ( $text, $linestart)
since 1.35, will not be supported in future parsers
Member Parser::enableOOUI ()
since 1.35, use $parser->getOutput()->setEnableOOUI() instead.
Member Parser::firstCallInit ()
since 1.35, this initialization is done in the constructor and manual calls to firstCallInit() have no effect.
Member Parser::getCustomDefaultSort ()
since 1.38, use $parser->getOutput()->getPageProperty('defaultsort') ?? false
Member Parser::getDefaultSort ()
since 1.38, use $parser->getOutput()->getPageProperty('defaultsort') ?? ''
Member Parser::getTitle ()
since 1.37, use getPage instead.
Member Parser::Options ( $x=null)
since 1.35, use getOptions() / setOptions()
Member Parser::OutputType ( $x=null)
since 1.35, use getOutputType()/setOutputType()
Member Parser::parseExtensionTagAsTopLevelDoc ( $text)
Member Parser::replaceLinkHolders (&$text, $options=0)
since 1.34; should not be used outside parser class.
Member Parser::setDefaultSort ( $sort)
since 1.38, use $parser->getOutput()->setPageProperty('defaultsort', $sort)
Member Parser::setTitle (Title $t=null)
since 1.37, use setPage() instead.
Member ParserOptions::enableLimitReport ( $x=true)
since 1.38. This does nothing now, to control limit reporting please provide 'includeDebugInfo' option to ParserOutput::getText.
Member ParserOptions::getEnableLimitReport ()
since 1.38. This does nothing now, to control limit reporting please provide 'includeDebugInfo' option to ParserOutput::getText.
Member ParserOptions::getStubThreshold ()
since 1.37. Stub threshold feature has been removed. See T284917.
Member ParserOptions::newCanonical ( $context, $userLang=null)
since 1.38. Use ::newFromContext, ::newFromAnon or ::newFromUserAndLang instead. Canonical ParserOptions are now exactly the same as non-canonical.
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::setOptionLegacy ( $name, $value)
since 1.30
Member ParserOptions::setStubThreshold ( $x)
since 1.37. Stub threshold feature has been removed. See T284917.
Member ParserOutput::addJsConfigVars ( $keys, $value=null)
since 1.38, use ::setJsConfigVar() or ::appendJsConfigVar() which ensures compatibility with asynchronous parsing.
Member ParserOutput::addOutputHook ( $hook, $data=false)
since 1.38; should be done in the OutputPageParserOutput hook (T292321).
Member ParserOutput::addTrackingCategory ( $msg, PageReference $page)
since 1.38, use Parser::addTrackingCategory or TrackingCategories::addTrackingCategory() instead
Member ParserOutput::addWarning ( $s)
since 1.38; use ::addWarningMsg() instead
Member ParserOutput::getCategoryLinks ()
since 1.38, use ::getCategoryNames() instead.
Member ParserOutput::getFlag ( $flag)
Use ::getOutputFlag()
Member ParserOutput::getOutputHooks ()
since 1.38; should be done in the OutputPageParserOutput hook (T292321).
Member ParserOutput::getProperties ()
since 1.38, renamed to ::getPageProperties()
Member ParserOutput::getProperty ( $name)
since 1.38, renamed to ::getPageProperty() and returns null if no value was set.
Member ParserOutput::hasDynamicContent ()
since 1.38: use ::hasReducedExpiry()
Member ParserOutput::hideNewSection ( $value)
since 1.38 use ::setHideNewSection()
Member ParserOutput::preventClickjacking ( $flag)
since 1.38: use ::setPreventClickjacking() or ::getPreventClickjacking()
Member ParserOutput::setCategoryLinks ( $cl)
since 1.38, use ::setCategories() instead.
Member ParserOutput::setFlag ( $flag)
Use ::setOutputFlag()
Member ParserOutput::setProperty ( $name, $value)
since 1.38, renamed to ::setPageProperty()
Member ParserOutput::unsetProperty ( $name)
since 1.38, renamed to ::unsetPageProperty()
Member PasswordFactory::init (Config $config)
since 1.32 Initialize settings using the constructor
Class PrefixSearch
Since 1.27, Use SearchEngine::defaultPrefixSearch or SearchEngine::completionSearch
Member RecentChange::getEngine ( $uri, $params=[])
since 1.29 Use RCFeed::factory() instead. Hard deprecated since 1.38.
Member RecentChange::getPerformer ()
since 1.36, hard deprecated since 1.37, use getPerformerIdentity() instead.
Member RecentChange::getTitle ()
since 1.37, use getPage() instead.
Member RequestContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Class ResetUserTokens
since 1.27, use $wgAuthenticationTokenVersion 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 RevDelList::reloadFromMaster ()
since 1.37; please use reloadFromPrimary() 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 Sanitizer::removeHTMLtags ( $text, $processCallback=null, $args=[], $extratags=[], $removetags=[])
since 1.38. Use ::removeSomeTags(), which always gives balanced/tidy HTML.
Member SearchEngine::$searchTerms
since 1.34
Member SearchEngine::getTextFromContent (Title $t, Content $c=null)
since 1.34 use Content::getTextForSearchIndex directly
Member SearchEngine::replacePrefixes ( $query)
since 1.32; should be handled internally by the search engine
Member SearchEngine::textAlreadyUpdatedForIndex ()
since 1.34 no longer needed since getTextFromContent is being deprecated
Member SearchEngine::userHighlightPrefs ()
in 1.34 use the SearchHighlighter constants directly
Member Skin::bottomScripts ()
since 1.37
Member Skin::getCopyrightIcon ()
since 1.37
Member Skin::getPoweredBy ()
since 1.37
Member Skin::getSearchPageTitle ()
since 1.38 Use SpecialPage::newSearchPage instead.
Member Skin::getSkinStylePath ( $name)
since 1.36, Replace usages with direct path of the resource and then remove the $stylename property.
Member Skin::setSearchPageTitle (Title $title)
since 1.38 to change the search page title change the value of the preference 'search-special-page' instead.
Member SkinFactory::getSkinNames ()
since 1.37 Use getInstalledSkins instead
Member SkinTemplate::buildContentNavigationUrls ()
since 1.38 skins can use runOnSkinTemplateNavigationHooks instead.
Member SkinTemplate::getNameSpaceKey ()
since 1.35, use Title::getNamespaceKey() instead
Member SkinTemplate::getPersonalToolsList ()
since 1.35, hard deprecated since 1.38 Use SkinTemplate::makePersonalToolsList() instead
Member SpecialBlock::canBlockEmail (UserIdentity $user)
since 1.36, use BlockPermissionChecker service instead
Member SpecialBlock::checkUnblockSelf ( $target, Authority $performer)
since 1.36, hard deprecated since 1.37, use BlockPermissionChecker instead
Member SpecialBlock::getTargetAndType (?string $par, WebRequest $request=null)
since 1.36. Use BlockUtils::parseBlockTarget directly instead.
Member SpecialBlock::parseExpiryInput ( $expiry)
since 1.36, use BlockUser::parseExpiryInput instead
Member SpecialBlock::processForm (array $data, IContextSource $context)
since 1.36, use BlockUserFactory service instead
Member SpecialMute::isTargetBlacklisted ( $userOption)
since 1.35, use isTargetMuted
Member SpecialPage::getLanguageConverter ()
since 1.36 Inject LanguageConverterFactory and store a ILanguageConverter instance
Member SpecialPage::listed ( $x=null)
since 1.35 Set via subclassing UnlistedSpecialPage, get via isListed()
Member SpecialPage::setListed ( $listed)
since 1.35
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 SqlSearchResultSet::termMatches ()
since 1.34
Member Status::getErrorsArray ()
since 1.25
Member Status::getWarningsArray ()
since 1.25
Member StreamFile::STREAM_ALLOW_OB
since 1.34
Member StreamFile::STREAM_HEADLESS
since 1.34
Class StringPrefixSearch

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

Member TablePager::getBody ()
since 1.24, use getBodyOutput() or getFullOutput() instead
Member TempFSFile::factory ( $prefix, $extension='', $tmpDirectory=null)
since 1.34, use TempFSFileFactory directly
Member TextContent::getNativeData ()
since 1.33 use getText() instead.
Member Title::areCascadeProtectionSourcesLoaded ()
since 1.37, use RestrictionStore::areCascadeProtectionSourcesLoaded instead
Member Title::areRestrictionsCascading ()
since 1.37, use RestrictionStore::areRestrictionsCascading instead
Member Title::areRestrictionsLoaded ()
since 1.37, use RestrictionStore::areRestrictionsLoaded instead
Member Title::deleteTitleProtection ()
since 1.37, do not use (this is only for WikiPage::onArticleCreate)
Member Title::flushRestrictions ()
since 1.37, now internal
Member Title::GAID_FOR_UPDATE
since 1.34, use Title::READ_LATEST instead.
Member Title::getAllRestrictions ()
since 1.37, use RestrictionStore::getAllRestrictions instead
Member Title::getBacklinkCache ()
since 1.37, use BacklinkCacheFactory::getBacklinkCache()
Member Title::getCascadeProtectionSources ( $getPages=true)
since 1.37, use RestrictionStore::getCascadeProtectionSources instead
Member Title::getCdnUrls ()
since 1.35 Use HtmlCacheUpdater
Member Title::getDefaultNamespace ()
since 1.37, no callers, should be removed.
Member Title::getFilteredRestrictionTypes ( $exists=true)
since 1.37, use RestrictionStore::listAllRestrictionTypes instead
Member Title::getNotificationTimestamp (User $user)
since 1.35
Member Title::getOtherPage ()
since 1.34, use NamespaceInfo::getAssociatedPage
Member Title::getRestrictionExpiry ( $action)
since 1.37, use RestrictionStore::getRestrictionExpiry instead
Member Title::getRestrictions ( $action)
since 1.37, use RestrictionStore::getRestrictions instead
Member Title::getRestrictionTypes ()
since 1.37, use RestrictionStore::listApplicableRestrictionTypes instead
Member Title::getSelectFields ()
since 1.36, use PageStore::newSelectQueryBuilder() instead.
Member Title::getSubjectPage ()
since 1.34, use NamespaceInfo::getSubjectPage
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::getTitleProtection ()
since 1.37, use RestrictionStore::getRestrictions() instead
Member Title::isBigDeletion ()
since 1.37 External callers shouldn't need to know about this.
Member Title::isCascadeProtected ()
since 1.37, use RestrictionStore::isCascadeProtected instead
Member Title::isDeleted ()
since 1.36. Use self::getDeletedEditsCount()
Member Title::isDeletedQuick ()
since 1.36, Use self::hasDeletedEdits()
Member Title::isNamespaceProtected (User $user)
since 1.34, hard-deprecated since 1.37
Member Title::isProtected ( $action='')
since 1.37, use RestrictionStore::isProtected instead
Member Title::isSemiProtected ( $action='edit')
since 1.37, use RestrictionStore::isSemiProtected instead
Member Title::loadRestrictions ( $oldFashionedRestrictions=null, $flags=0)
since 1.37, no public replacement
Member Title::loadRestrictionsFromRows ( $rows, $oldFashionedRestrictions=null)
since 1.37, use RestrictionStore::loadRestrictionsFromRows instead
Member Title::newFromIDs ( $ids)
since 1.38 use a PageStore QueryBuilder instead
Member Title::newFromTitleValue (TitleValue $titleValue, $forceClone='')
since 1.34, use newFromLinkTarget or castFromLinkTarget
Member Title::purgeSquid ()
since 1.35 Use HtmlCacheUpdater
Member TitleFactory::newFromIDs ( $ids)
since 1.38 use a PageStore QueryBuilder instead
Class TitlePrefixSearch

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

Class UIDGenerator
Since 1.35; use GlobalIdGenerator instead
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::$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::addGroup ( $group, $expiry=null)
since 1.35 Use UserGroupManager::addUserToGroup instead
Member User::blockedBy ()
since 1.38 Hard deprecated since 1.38.
Member User::blockedFor ()
since 1.35 Use AbstractBlock::getReasonComment instead
Member User::getAllGroups ()
since 1.35, use UserGroupManager::listAllGroups instead
Member User::getBlockId ()
since 1.38 Hard deprecated since 1.38.
Member User::getEditToken ( $salt='', $request=null)
since 1.37. Use CsrfTokenSet::getToken instead
Member User::getEditTokenObject ( $salt='', $request=null)
since 1.37. Use CsrfTokenSet::getToken instead
Member User::getGroupMemberships ()
since 1.35 Use UserGroupManager::getUserGroupMemberships 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::getGroups ()
since 1.35 Use UserGroupManager::getUserGroups instead.
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::getImplicitGroups ()
since 1.35, use UserGroupManager::listAllImplicitGroups() instead
Member User::getOption ( $oname, $defaultOverride=null, $ignoreHidden=false)
since 1.35 Use UserOptionsLookup::getOption instead
Member User::getTokenFromOption ( $oname)
since 1.26 Applications should use the OAuth extension
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::idFromName ( $name, $flags=self::READ_NORMAL)
since 1.37. Use UserIdentityLookup::getUserIdentityByName instead.
Member User::incEditCount ()
since 1.37
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::isBlockedFromCreateAccount ()
since 1.37. Instead use Authority::authorize* for createaccount permission.
Member User::matchEditToken ( $val, $salt='', $request=null, $maxage=null)
since 1.37. Use CsrfTokenSet::matchToken instead
Member User::newFromActorId ( $id)
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::newFromId ( $id)
since 1.36, use a UserFactory instead
Member User::newFromIdentity (UserIdentity $identity)
since 1.36, use a UserFactory instead
Member User::newFromName ( $name, $validate='valid')
since 1.36, use a UserFactory instead
Member User::removeGroup ( $group)
since 1.35 Use UserGroupManager::removeUserFromGroup instead.
Member User::setActorId (int $actorId)
since 1.36
Member UserGroupMembership::getGroupName ( $group)
since 1.38, use Language::getGroupName or Message::userGroupParams
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 UserRightsProxy
since 1.38, pass the correct domain to UserGroupManagerFactory instead.
Member WANObjectCache::clearLastError ()
Since 1.38
Member WatchedItem::getLinkTarget ()
since 1.36, use getTarget() instead
Member WebRequest::checkUrlExtension ( $extList=[])
since 1.35
Member wfCanIPUseHTTPS ( $ip)
since 1.37, always returns true
Member wfClearOutputBuffers ()
since 1.36
Member wfEscapeShellArg (... $args)
since 1.30 use MediaWiki\Shell\Shell::escape()
Member wfFindFile ( $title, $options=[])
since 1.34, use MediaWikiServices
Member wfGetCache ( $cacheType)
since 1.32, hard deprecated since 1.38 Use ObjectCache::getInstance() instead
Member wfGetLB ( $wiki=false)
since 1.27, hard deprecated since 1.37 Use MediaWikiServices::getInstance()->getDBLoadBalancer() or MediaWikiServices::getInstance()->getDBLoadBalancerFactory() instead.
Member wfGetMainCache ()
since 1.32, hard deprecated since 1.38 Use ObjectCache::getLocalClusterInstance() instead
Member wfGetScriptUrl ()
since 1.35. Use wfScript() to obtain an entry point URL.
Member wfLocalFile ( $title)
since 1.34, hard deprecated since 1.37, use MediaWikiServices
Member wfLogProfilingData ()
since 1.38
Member wfReadOnly ()
since 1.38, use ReadOnlyMode::isReadOnly() instead
Member wfReadOnlyReason ()
since 1.38, use ReadOnlyMode::getReason() 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 wfWikiID ()
since 1.35, hard deprecated since 1.38 Use WikiMap::getCurrentWikiId() instead
Member Wikimedia\Rdbms\ConnectionManager::getReadConnection (?array $groups=null, int $flags=0)
since 1.38; Use getReadConnectionRef()
Member Wikimedia\Rdbms\ConnectionManager::getWriteConnection (int $flags=0)
since 1.38; Use getWriteConnectionRef()
Member Wikimedia\Rdbms\ConnectionManager::releaseConnection (IDatabase $db)
since 1.38
Member Wikimedia\Rdbms\DatabasePostgres::remappedTableName ( $name)
since 1.37. Reserved identifiers should be quoted where necessary
Member Wikimedia\Rdbms\DBConnRef::fetchObject ( $res)
since 1.37 use IResultWrapper::fetchObject()
Member Wikimedia\Rdbms\DBConnRef::fetchRow ( $res)
since 1.37 use IResultWrapper::fetchRow()
Member Wikimedia\Rdbms\DBConnRef::freeResult ( $res)
since 1.37 Use IResultWrapper::free()
Member Wikimedia\Rdbms\DBConnRef::numRows ( $res)
since 1.37 use IResultWrapper::numRows()
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::freeResult (IResultWrapper $res)
since 1.37 Use IResultWrapper::free()
Member Wikimedia\Rdbms\IDatabase::nextSequenceValue ( $seqName)
since 1.30, no longer needed
Member Wikimedia\Rdbms\IDatabase::numRows ( $res)
since 1.37 use IResultWrapper::numRows()
Member Wikimedia\Rdbms\IDatabase::selectDB ( $db)
Since 1.32 Use selectDomain() instead
Member Wikimedia\Rdbms\ILoadBalancer::DB_MASTER
since 1.36, Use DB_PRIMARY instead
Member Wikimedia\Rdbms\ILoadBalancer::getLazyConnectionRef ( $i, $groups=[], $domain=false, $flags=0)
since 1.38 use getConnectionRef instead
Member Wikimedia\Rdbms\IMaintainableDatabase::lockTables (array $read, array $write, $method)
Since 1.38
Member Wikimedia\Rdbms\IMaintainableDatabase::unlockTables ( $method)
Since 1.38
Member Wikimedia\Rdbms\LoadBalancer::haveIndex ( $i)
Since 1.34
Member Wikimedia\Rdbms\LoadBalancer::isNonZeroLoad ( $i)
Since 1.34
Class Wikimedia\Rdbms\NextSequenceValue
since 1.30, only exists for backwards compatibility
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::doDeleteArticleBatched ( $reason, $suppress, UserIdentity $deleter, $tags, $logsubtype, $immediate=false, $webRequestId=null)
since 1.37 No external caller besides DeletePageJob should use this.
Member WikiPage::doDeleteArticleReal ( $reason, UserIdentity $deleter, $suppress=false, $u1=null, &$error='', $u2=null, $tags=[], $logsubtype='delete', $immediate=false)
since 1.37 Use DeletePage instead. Calling ::deleteIfAllowed and letting DeletePage handle permission checks is preferred over doing permission checks yourself and then calling ::deleteUnsafe. Note that DeletePage returns a good status with false value in case of scheduled deletion, instead of a status with a warning. Also, the new method doesn't have an $error parameter, since any error is added to the returned Status.
Member WikiPage::doDeleteUpdates ( $id, Content $content=null, RevisionRecord $revRecord=null, UserIdentity $user=null)
since 1.37 With no replacement.
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::doEditUpdates (RevisionRecord $revisionRecord, UserIdentity $user, array $options=[])
since 1.32 (soft), use DerivedPageDataUpdater::doUpdates instead.
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::factory (PageIdentity $pageIdentity)
since 1.36, use WikiPageFactory::newFromTitle instead
Member WikiPage::getDeletionUpdates ( $rev=null)
since 1.37 With no replacement.
Member WikiPage::getRedirectTarget ()
since 1.38 Use RedirectLookup::getRedirectTarget() instead.
Member WikiPage::hasDifferencesOutsideMainSlot (RevisionRecord $a, RevisionRecord $b)
Use only as a stop-gap before refactoring to support MCR.
Member WikiPage::isBatchedDelete ( $safetyMargin=0)
since 1.37 Use DeletePage::isBatchedDelete 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::prepareContentForEdit (Content $content, RevisionRecord $revision=null, UserIdentity $user=null, $serialFormat=null, $useStash=true)
since 1.32, use newPageUpdater() or getCurrentUpdate() instead.
Member WikiPage::replaceSectionContent ( $sectionId, Content $sectionContent, $sectionTitle='', $edittime=null)
since 1.24, use replaceSectionAtRev instead
Member WikiRevision::$config
since 1.31, along with self::downloadSource()
Member WikiRevision::$content
since 1.35, use getContent
Member WikiRevision::$fileIsTemp
since 1.29 use Wikirevision::isTempSrc() First written to in 43d5d3b682cc1733ad01a837d11af4a402d57e6a Actually introduced in 52cd34acf590e5be946b7885ffdc13a157c1c6cf
Member WikiRevision::$format
since 1.35, use getContent
Member WikiRevision::$model
since 1.35, use getContent
Member WikiRevision::$text
since 1.35, use getContent
Member WikiRevision::downloadSource ()
in 1.31. No replacement
Member WikiRevision::getContentHandler ()
since 1.35, use getContent
Member WikiRevision::getFormat ()
since 1.35, use getContent
Member WikiRevision::getModel ()
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::setFormat ( $format)
since 1.35, use setContent instead.
Member WikiRevision::setModel ( $model)
since 1.35, use setContent instead.
Member WikiRevision::setText ( $text)
since 1.35, use setContent instead.