MediaWiki master
Deprecated List
Member $wgIllegalFileChars
since 1.41; no longer customizable
Member $wgLegalTitleChars
since 1.41; use Extension:TitleBlacklist to customize
Member $wgParserEnableLegacyMediaDOM
since 1.41
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 $wgUseContentMediaStyles
since 1.41
Member $wgUser
since 1.35, use an available context source when possible, or, as a backup, RequestContext::getMain()
Member AbstractContent::getNativeData ()
since 1.33. Use getText() for TextContent instances. For other content models, use specialized getters. Emitting deprecation warnings since 1.41.
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.
Class ApiQueryDeletedrevs
since 1.25
Member ArchivedFile::getMetadata ()
since 1.37 use getMetadataArray() or getMetadataItem()
Member ArchivedFile::getQueryInfo ()
since 1.41 use FileSelectQueryBuilder instead
Member Article::$mContext
since 1.35, must be private, use getContext
Member Article::$mParserOutput
since 1.32
Member Article::getRedirectHeaderHtml (Language $lang, Title $target, $forceKnown=false)
since 1.41, use LinkRenderer::makeRedirectHeader() instead
Member AutoloadGenerator::setPsr4Namespaces (array $namespaces)
since 1.40 - PSR-4 classes are now included in the generated classmap
Member BagOStuff::clearLastError ()
Since 1.38
Member BagOStuff::setNewPreparedValues (array $valueByKey)
Since 1.40, Hard deprecated since 1.42.
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::getFooterIcons ( $option=null)
since 1.35 read footer icons from template data requested via $this->get('footericons')
Member ChangesList::getTimestamp ( $rc)
use revDateLink instead.
Member ChangeTags::addTags ( $tags, $rc_id=null, $rev_id=null, $log_id=null, $params=null, RecentChange $rc=null)
since 1.41 use ChangeTagsStore instead.
Member ChangeTags::defineTag ( $tag)
since 1.41 use ChangeTagsStore
Member ChangeTags::deleteTagEverywhere ( $tag)
since 1.41 use ChangeTagsStore instead
Member ChangeTags::getDisplayTableName ()
since 1.41 use ChangeTags::CHANGE_TAG or 'change_tag' instead. Note that directly querying this table is discouraged, try using one of the existing functions instead.
Member ChangeTags::getSoftwareTags ( $all=false)
since 1.41 use ChangeTagsStore::getSoftwareTags() instead.
Member ChangeTags::getTags (IReadableDatabase $db, $rc_id=null, $rev_id=null, $log_id=null)
since 1.41 use ChangeTagStore::getTags()
Member ChangeTags::getTagsWithData (IReadableDatabase $db, $rc_id=null, $rev_id=null, $log_id=null)
since 1.41 use ChangeTagStore::getTagsWithData()
Member ChangeTags::listDefinedTags ()
since 1.41 use ChangeTagsStore instead
Member ChangeTags::listExplicitlyDefinedTags ()
since 1.41 use ChangeTagsStore instead
Member ChangeTags::listSoftwareActivatedTags ()
since 1.41 use ChangeTagsStore instead
Member ChangeTags::listSoftwareDefinedTags ()
since 1.41 use ChangeTagsStore instead
Member ChangeTags::makeTagSummarySubquery ( $tables)
since 1.41 use ChangeTagStore instead
Member ChangeTags::modifyDisplayQuery (&$tables, &$fields, &$conds, &$join_conds, &$options, $filter_tag='', bool $exclude=false)
since 1.41 use ChangeTagsStore::modifyDisplayQueryBuilder instead
Member ChangeTags::purgeTagCacheAll ()
since 1.41 use ChangeTagsStore instead
Member ChangeTags::tagUsageStatistics ()
since 1.41 use ChangeTagsStore
Member ChangeTags::updateTags ( $tagsToAdd, $tagsToRemove, &$rc_id=null, &$rev_id=null, &$log_id=null, $params=null, RecentChange $rc=null, UserIdentity $user=null)
since 1.41 use ChangeTagStore::updateTags()
Member Content::getNativeData ()
since 1.33 use getText() for TextContent instances. For other content models, use specialized getters.
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::getPageViewLanguage (Title $title, Content $content=null)
since 1.42 Use ParserOutput::getLanguage instead. See also OutputPage::getContLangForJS.
Member ContentHandler::getSlotDiffRendererInternal (IContextSource $context)
since 1.35; use getSlotDiffRendererWithOptions instead Emitting deprecation warnings since 1.41.
Member ContentModelChange::checkPermissions ()
since 1.36. Use ::probablyCanChange or ::authorizeChange instead.
Member DatabaseLogEntry::getSelectQueryData ()
since 1.41 use ::newSelectQueryBuilder() instead
Member DateFormatter::getInstance (Language $lang=null)
since 1.33 use MediaWikiServices::getDateFormatterFactory()
Member DB_MASTER
since 1.36, Use DB_PRIMARY instead
Member DBAccessObjectUtils::getDBFromIndex (IConnectionProvider $dbProvider, int $index)
since 1.42
Member DBO_SSL
since 1.39, use the "ssl" parameter
File DefaultSettings.php
since 1.39
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::getExtraCacheKeys ()
Member DifferenceEngine::localiseLineNumbers ( $text)
since 1.41, use BaseTextDiffer::localizeLineNumbers()
Member DifferenceEngine::setContent (Content $oldContent, Content $newContent)
since 1.32, use setRevisions or ContentHandler::getSlotDiffRenderer.
Class DifferenceEngineSlotDiffRenderer

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 File::getMetadata ()
since 1.37 use getMetadataArray() or getMetadataItem()
Member FileBackend::getWikiId ()
Since 1.34 Use getDomainId()
Class GlobalDependency

since 1.42

Member ImageHistoryList::preventClickjacking ( $enable=true)
since 1.38, use ::setPreventClickjacking() instead
Member ImageHistoryPseudoPager::preventClickjacking ( $enable=true)
since 1.38, use setPreventClickjacking()
Member ImportableOldRevision::getUserObj ()
since 1.39, use {
Member ImportableUploadRevision::getUserObj ()
since 1.39, use {
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 Job::factory ( $command, $params=[])
since 1.40, use JobFactory instead.
Member JobQueueGroup::deduplicateRootJob (RunnableJob $job)
since 1.40
Member JobQueueGroup::waitForBackups ()
since 1.41, use JobQueue::waitForBackups() instead.
Member JobSpecification::toSerializableArray ()
since 1.41
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::getAllMessages ()
since 1.41, use LocalisationCache directly.
Member Language::getMessage ( $key)
since 1.41, use LocalisationCache or MessageCache as appropriate.
Member Language::resetNamespaces ()
since 1.39 Use MediaWikiServices::resetServiceForTesting() instead.
Class LanguageQqx
since 1.41. The overridden method is deprecated. The feature has been reimplemented in MessageCache. Callers doing "new LanguageQqx" should use $languageFactory->getLanguage( 'qqx' ) to get a Language object with its code set to qqx.
Member Licenses::getLicenses ()
since 1.31 Use getLines() instead
Member LinkCache::addLinkObj ( $page, int $queryFlags=IDBAccessObject::READ_NORMAL)
since 1.37, use PageStore::getPageForLink() instead.
Member LocalFile::getMetadata ()
since 1.37 use getMetadataArray() or getMetadataItem()
Member LocalFile::getQueryInfo (array $options=[])
since 1.41 use FileSelectQueryBuilder instead
Member LocalFile::lock ()
since 1.38 Use acquireFileLock()
Member LocalFile::unlock ()
since 1.38 Use releaseFileLock()
Class MainConfigDependency

since 1.42

Member Maintenance::$mArgs
since 1.39, use $this->parameters instead.
Member Maintenance::$mDescription
since 1.39, use $this->parameters instead.
Member Maintenance::$mInputLoaded
since 1.39, treat as private to the Maintenance base class
Member Maintenance::$mOptions
since 1.39, use $this->parameters instead.
Member Maintenance::$mParams
since 1.39, use $this->parameters instead.
Member Maintenance::$orderedOptions
since 1.39, use $this->parameters instead.
Member Maintenance::requireTestsAutoloader ()
since 1.41. Set the MW_AUTOLOAD_TEST_CLASSES in file scope instead.
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
Class MediaWiki
since 1.42, use MediaWikiEntryPoint instead
Member MediaWiki::doPostOutputShutdown ()
since 1.42, extensions should have no need to call this.
Member MediaWiki::preOutputCommit (IContextSource $context)
since 1.42, extensions should have no need to call this. Subclasses of MediaWikiEntryPoint in core should generally call prepareForOutput() instead.
Member MediaWiki::restInPeace ()
since 1.42, extensions should have no need to call this. Subclasses of MediaWikiEntryPoint in core should generally call postOutputShutdown() instead.
Member MediaWiki\Auth\AuthManager::forcePrimaryAuthenticationProviders (array $providers, $why)
For backwards compatibility only
Member MediaWiki\Block\AbstractBlock::getPermissionsError (IContextSource $context)
since 1.35 Use BlockErrorFormatter::getMessage instead, and build the array using Message::getKey and Message::getParams. Hard deprecated since 1.40.
Member MediaWiki\Block\BlockManager::getUserBlock (UserIdentity $user, $request, $fromReplica, $disableIpBlockExemptChecking=false)
since 1.42 Use getBlock(), which is the same except that it expects the caller to do ipblock-exempt permission checking and to set $request to null if the user is exempt from IP blocks.
Member MediaWiki\Block\DatabaseBlock::delete ()
since 1.36 Use DatabaseBlockStore::deleteBlock instead.
Member MediaWiki\Block\DatabaseBlock::doAutoblock ( $autoblockIP)
since 1.42, use DatabaseBlockStore::doAutoblock instead
Member MediaWiki\Block\DatabaseBlock::getAutoblockExpiry ( $timestamp)
since 1.42 No replacement, no known callers.
Member MediaWiki\Block\DatabaseBlock::insert ()
since 1.36 Use DatabaseBlockStore::insertBlock instead. Passing a custom db connection is no longer supported since 1.42.
Member MediaWiki\Block\DatabaseBlock::newFromID ( $id)
since 1.42 use DatabaseBlockStore::newFromID()
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\Block\DatabaseBlock::updateTimestamp ()
since 1.42, use DatabaseBlockStore::updateTimestamp instead
Interface MediaWiki\Cache\Hook\MessageCache__getHook

since 1.41 Use MessageCacheFetchOverrides instead

Member MediaWiki\Category\Category::getTitle ()
since 1.37, use getPage() instead.
Member MediaWiki\ChangeTags\ChangeTagsStore::modifyDisplayQuery (&$tables, &$fields, &$conds, &$join_conds, &$options, $filter_tag='', bool $exclude=false)
since 1.41 use ChangeTagsStore::modifyDisplayQueryBuilder instead
Member MediaWiki\Config\ConfigFactory::getDefaultInstance ()
since 1.27, use MediaWikiServices::getInstance()->getConfigFactory() instead. Emitting deprecation warnings since 1.41.
Class MediaWiki\Config\ConfigRepository
Introduced but seems unused since inception.
Member MediaWiki\Config\EtcdConfig::setLogger (LoggerInterface $logger)
since 1.41 No longer used and did not work in practice
Member MediaWiki\Config\SiteConfiguration::extractGlobal ( $setting, $wiki, $site=null, $params=[], $wikiTags=[])
since 1.41 Use SiteConfiguration::get() instead.
Member MediaWiki\Config\SiteConfiguration::extractVar ( $setting, $wiki, $site, &$var, $params=[], $wikiTags=[])
since 1.41 Use SiteConfiguration::get() instead.
Member MediaWiki\Config\SiteConfiguration::getConfig ( $wiki, $settings)
since 1.41. Use SiteConfiguration::get() instead.
Interface MediaWiki\Content\Hook\SearchDataForIndexHook

since 1.40, use SearchDataForIndexHook2 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
Member MediaWiki\Deferred\SiteStatsUpdate::__construct ( $views, $edits, $good, $pages=0, $users=0)
since 1.39 Use SiteStatsUpdate::factory() instead.
Class MediaWiki\Edit\PreparedEdit
since 1.32; Since 1.37, use PreparedUpdate instead.
Member MediaWiki\Edit\PreparedEdit::__get ( $name)
since 1.33
Member MediaWiki\EditPage\EditPage::$action
for public usage since 1.38 with no replacement
Member MediaWiki\Feed\FeedUtils::formatDiffRow ( $title, $oldid, $newid, $timestamp, $comment, $actiontext='')
since 1.38 use formatDiffRow2
Interface MediaWiki\Hook\AddNewAccountHook

since 1.27. Use LocalUserCreated instead. Emitting warnings since 1.41.

Interface MediaWiki\Hook\EditPageBeforeEditToolbarHook

since 1.36 Use one of the many other EditPage hooks instead

Interface MediaWiki\Hook\EmailUserHook
since 1.41 Handle the EmailUserSendEmail hook instead.
Interface MediaWiki\Hook\EmailUserPermissionsErrorsHook
since 1.41 Handle the EmailUserAuthorizeSend hook instead.
Interface MediaWiki\Hook\LocalFile__getHistoryHook

since 1.37

Interface MediaWiki\Hook\MagicWordwgVariableIDsHook

since 1.35, use GetMagicVariableIDsHook instead.

Interface MediaWiki\Hook\ProtectionForm__buildFormHook

since 1.36, use ProtectionFormAddFormFields

Member MediaWiki\Html\Html::buttonAttributes (array $attrs, array $modifiers=[])
since 1.42 No-op
Member MediaWiki\Html\Html::getTextInputAttributes (array $attrs)
since 1.42 No-op
Member MediaWiki\HTMLForm\HTMLForm::addFooterText ( $msg, $section=null)
since 1.38, use addFooterHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::addHeaderText ( $msg, $section=null)
since 1.38, use addHeaderHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::addPostText ( $msg)
since 1.38, use addPostHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::addPreText ( $msg)
since 1.38, use addPreHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::getFooterText ( $section=null)
since 1.38, use getFooterHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::getHeaderText ( $section=null)
since 1.38, use getHeaderHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::getPreText ()
since 1.38, use getPreHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::loadData ()
since 1.39, Use prepareForm() instead.
Member MediaWiki\HTMLForm\HTMLForm::setFooterText ( $msg, $section=null)
since 1.38, use setFooterHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::setHeaderText ( $msg, $section=null)
since 1.38, use setHeaderHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::setIntro ( $msg)
since 1.38, use setPreHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::setPostText ( $msg)
since 1.38, use setPostHtml() instead
Member MediaWiki\HTMLForm\HTMLForm::setPreText ( $msg)
since 1.38, use setPreHtml() instead
Member MediaWiki\HTMLForm\HTMLFormField::getNearestFieldByName ( $alldata, $name, $asDisplay=false)
since 1.38 Use getNearestFieldValue() instead.
Interface MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook
since 1.36, does not support enumerating all valid prefixes; for testing purposes (re)set $wgInterwikiCache instead.
Class MediaWiki\Linker\DummyLinker
since 1.42
Member MediaWiki\Linker\DummyLinker::accesskey ( $name)
since 1.42
Member MediaWiki\Linker\DummyLinker::blockLink ( $userId, $userText)
since 1.42
Member MediaWiki\Linker\DummyLinker::buildRollbackLink (RevisionRecord $revRecord, IContextSource $context=null, $editCount=false)
since 1.42
Member MediaWiki\Linker\DummyLinker::commentBlock ( $comment, $title=null, $local=false, $wikiId=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::emailLink ( $userId, $userText)
since 1.42
Member MediaWiki\Linker\DummyLinker::formatComment ( $comment, $title=null, $local=false, $wikiId=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::formatHiddenCategories ( $hiddencats)
since 1.42
Member MediaWiki\Linker\DummyLinker::formatLinksInComment ( $comment, $title=null, $local=false, $wikiId=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::formatRevisionSize ( $size)
since 1.42
Member MediaWiki\Linker\DummyLinker::generateRollback (RevisionRecord $revRecord, IContextSource $context=null, $options=[])
since 1.42
Member MediaWiki\Linker\DummyLinker::generateTOC ( $tree, Language $lang=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::getInvalidTitleDescription (IContextSource $context, $namespace, $title)
since 1.42
Member MediaWiki\Linker\DummyLinker::getRevDeleteLink (User $user, RevisionRecord $revRecord, Title $title)
since 1.42
Member MediaWiki\Linker\DummyLinker::getRollbackEditCount (RevisionRecord $revRecord, $verify)
since 1.42
Member MediaWiki\Linker\DummyLinker::link ( $target, $html=null, $customAttribs=[], $query=[], $options=[])
since 1.42
Member MediaWiki\Linker\DummyLinker::linkKnown ( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
since 1.42
Member MediaWiki\Linker\DummyLinker::makeBrokenImageLinkObj ( $title, $label='', $query='', $unused1='', $unused2='', $time=false)
since 1.42
Member MediaWiki\Linker\DummyLinker::makeExternalImage ( $url, $alt='')
since 1.42
Member MediaWiki\Linker\DummyLinker::makeExternalLink ( $url, $text, $escape=true, $linktype='', $attribs=[], $title=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::makeHeadline ( $level, $attribs, $anchor, $html, $link, $legacyAnchor=false)
since 1.42
Member MediaWiki\Linker\DummyLinker::makeImageLink (Parser $parser, Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="", $widthOption=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::makeMediaLinkFile (Title $title, $file, $html='')
since 1.42
Member MediaWiki\Linker\DummyLinker::makeMediaLinkObj ( $title, $html='', $time=false)
since 1.42
Member MediaWiki\Linker\DummyLinker::makeSelfLinkObj ( $nt, $html='', $query='', $trail='', $prefix='')
since 1.42
Member MediaWiki\Linker\DummyLinker::makeThumbLink2 (Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="")
since 1.42
Member MediaWiki\Linker\DummyLinker::makeThumbLinkObj (Title $title, $file, $label='', $alt='', $align='right', $params=[], $framed=false, $manualthumb="")
since 1.42
Member MediaWiki\Linker\DummyLinker::normalizeSubpageLink ( $contextTitle, $target, &$text)
since 1.42
Member MediaWiki\Linker\DummyLinker::processResponsiveImages ( $file, $thumb, $hp)
since 1.42
Member MediaWiki\Linker\DummyLinker::revComment (RevisionRecord $revRecord, $local=false, $isPublic=false)
since 1.42
Member MediaWiki\Linker\DummyLinker::revDeleteLink ( $query=[], $restricted=false, $delete=true)
since 1.42
Member MediaWiki\Linker\DummyLinker::revDeleteLinkDisabled ( $delete=true)
since 1.42
Member MediaWiki\Linker\DummyLinker::revUserLink (RevisionRecord $revRecord, $isPublic=false)
since 1.42
Member MediaWiki\Linker\DummyLinker::revUserTools (RevisionRecord $revRecord, $isPublic=false)
since 1.42
Member MediaWiki\Linker\DummyLinker::specialLink ( $name, $key='')
since 1.42
Member MediaWiki\Linker\DummyLinker::splitTrail ( $trail)
since 1.42
Member MediaWiki\Linker\DummyLinker::titleAttrib ( $name, $options=null, array $msgParams=[])
since 1.42
Member MediaWiki\Linker\DummyLinker::tocIndent ()
since 1.42
Member MediaWiki\Linker\DummyLinker::tocLine ( $anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
since 1.42
Member MediaWiki\Linker\DummyLinker::tocLineEnd ()
since 1.42
Member MediaWiki\Linker\DummyLinker::tocList ( $toc, Language $lang=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::tocUnindent ( $level)
since 1.42
Member MediaWiki\Linker\DummyLinker::tooltip ( $name, $options=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::tooltipAndAccesskeyAttribs ( $name, array $msgParams=[])
since 1.42
Member MediaWiki\Linker\DummyLinker::userLink ( $userId, $userName, $altUserName=false, $attributes=[])
since 1.42
Member MediaWiki\Linker\DummyLinker::userTalkLink ( $userId, $userText)
since 1.42
Member MediaWiki\Linker\DummyLinker::userToolLinks ( $userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null)
since 1.42
Member MediaWiki\Linker\DummyLinker::userToolLinksRedContribs ( $userId, $userText, $edits=null)
since 1.42
Member MediaWiki\Linker\Linker::commentBlock ( $comment, $title=null, $local=false, $wikiId=null, $useParentheses=true)
since 1.38 use CommentFormatter, hard-deprecated in 1.41
Member MediaWiki\Linker\Linker::formatComment ( $comment, $title=null, $local=false, $wikiId=null)
since 1.38 use CommentFormatter, hard-deprecated in 1.41
Member MediaWiki\Linker\Linker::formatLinksInComment ( $comment, $title=null, $local=false, $wikiId=null)
since 1.38 use CommentFormatter, hard-deprecated in 1.41
Member MediaWiki\Linker\Linker::link ( $target, $html=null, $customAttribs=[], $query=[], $options=[])
since 1.28, use MediaWiki\Linker\LinkRenderer instead
Member MediaWiki\Linker\Linker::linkKnown ( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
since 1.28, use MediaWiki\Linker\LinkRenderer instead
Member MediaWiki\Linker\Linker::revComment (RevisionRecord $revRecord, $local=false, $isPublic=false, $useParentheses=true)
since 1.38 use CommentFormatter, hard-deprecated in 1.41
Class MediaWiki\Logger\Monolog\LegacyFormatter
since 1.32
Member MediaWiki\MainConfigNames::IllegalFileChars
since 1.41; no longer customizable
Member MediaWiki\MainConfigNames::LegalTitleChars
since 1.41; use Extension:TitleBlacklist to customize
Member MediaWiki\MainConfigNames::ParserEnableLegacyMediaDOM
since 1.41
Member MediaWiki\MainConfigNames::TrackingCategories
since 1.25 Extensions should now register tracking categories using the new extension registration system.
Member MediaWiki\MainConfigNames::UploadStashScalerBaseUrl
since 1.36 Use thumbProxyUrl in $wgLocalFileRepo
Member MediaWiki\MainConfigNames::UseContentMediaStyles
since 1.41
Member MediaWiki\MainConfigSchema::AutoloadAttemptLowercase
since 1.35
Member MediaWiki\MainConfigSchema::BotPasswordsCluster
since 1.42 Use $wgVirtualDomainsMapping instead.
Member MediaWiki\MainConfigSchema::BotPasswordsDatabase
since 1.42 Use $wgVirtualDomainsMapping instead.
Member MediaWiki\MainConfigSchema::EnableOpenSearchSuggest
since 1.35 No longer used
Member MediaWiki\MainConfigSchema::GalleryOptions
since 1.28
  • showBytes: Show the filesize in bytes in categories
  • showDimensions: Show the dimensions (width x height) in categories
  • mode: Gallery mode
Member MediaWiki\MainConfigSchema::IllegalFileChars
since 1.41; no longer customizable
Member MediaWiki\MainConfigSchema::LegalTitleChars
since 1.41; use Extension:TitleBlacklist or (soon) Extension:AbuseFilter to customize this set.
Member MediaWiki\MainConfigSchema::MangleFlashPolicy
since 1.39
Member MediaWiki\MainConfigSchema::ParserEnableLegacyMediaDOM
since 1.41
Member MediaWiki\MainConfigSchema::TrackingCategories
since 1.25 Extensions should now register tracking categories using the new extension registration system.
Member MediaWiki\MainConfigSchema::UploadStashScalerBaseUrl
since 1.36 Use thumbProxyUrl in $wgLocalFileRepo
Member MediaWiki\MainConfigSchema::UseContentMediaStyles
since 1.41
Member MediaWiki\MediaWikiServices::disableStorageBackend ()
since 1.40, use disableStorage() instead.
Member MediaWiki\MediaWikiServices::getBlockErrorFormatter ()
since 1.42, use getFormatterFactory()->getBlockErrorFormatter() instead.
Member MediaWiki\MediaWikiServices::getConfigRepository ()
since 1.42. Unused.
Member MediaWiki\MediaWikiServices::getConfiguredReadOnlyMode ()
since 1.41 use getReadOnlyMode() instead
Member MediaWiki\Message\Message::content ()
since 1.38, MessageContent class is hard-deprecated.
Member MediaWiki\Message\Message::title ( $title)
since 1.37. Use page instead
Member MediaWiki\Output\OutputPage::$mCategories
since 1.38, will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mCategoryLinks
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mEnableClientCache
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mHeadItems
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mHideNewSectionLink
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mIndicators
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mJsConfigVars
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mModules
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mModuleStyles
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mNewSectionLink
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mNoGallery
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::$mTemplateIds
since 1.38; will be made private (T301020)
Member MediaWiki\Output\OutputPage::formatPermissionsErrorMessage (array $errors, $action=null)
since 1.36. Use formatPermissionStatus instead
Member MediaWiki\Output\OutputPage::getCSPNonce ()
Since 1.35 use getCSP()->getNonce() 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\ArticleUndeleteHook
since 1.40, use PageUndeleteComplete instead. New hook follows consistent naming style and exposes variable similar to its counterpart PageDeleteComplete.
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

Member MediaWiki\Page\MovePage::checkPermissions (Authority $performer, $reason)
since 1.36, use authorizeMove or probablyCanMove instead.
Member MediaWiki\Pager\ContribsPager::preventClickjacking ()
since 1.38, use setPreventClickjacking() instead
Member MediaWiki\Pager\ImageListPager::$mQueryConds
Subclasses should override {
Member MediaWiki\Pager\RangeChronologicalPager::$rangeConds
since 1.40, use $startOffset and $endOffset instead.
Member MediaWiki\Pager\TablePager::getBody ()
since 1.24, use getBodyOutput() or getFullOutput() instead Emitting deprecation warnings since 1.41.
Member MediaWiki\Parser\MagicWord::getId ()
since 1.42 Internal method should not be used
Member MediaWiki\Parser\MagicWordFactory::getCacheTTL ( $id)
Since 1.40
Member MediaWiki\Parser\MagicWordFactory::getSubstIDs ()
since 1.42, use {
Member MediaWiki\Parser\Parser::$mExpensiveFunctionCount
since 1.35
Member MediaWiki\Parser\Parser::$mHighestExpansionDepth
since 1.35
Member MediaWiki\Parser\Parser::$mMarkerIndex
since 1.35
Member MediaWiki\Parser\Parser::$mOptions
since 1.35, use Parser::getOptions()
Member MediaWiki\Parser\Parser::$mPPNodeCount
since 1.35
Member MediaWiki\Parser\Parser::$mTitle
since 1.35, use Parser::getPage()
Member MediaWiki\Parser\Parser::$ot
since 1.35
Member MediaWiki\Parser\Parser::attributeStripCallback (&$text, $frame=false)
since 1.35, internal callback should not have been public
Member MediaWiki\Parser\Parser::doBlockLevels ( $text, $linestart)
since 1.35, will not be supported in future parsers
Member MediaWiki\Parser\Parser::enableOOUI ()
since 1.35, use $parser->getOutput()->setEnableOOUI() instead.
Member MediaWiki\Parser\Parser::firstCallInit ()
since 1.35, this initialization is done in the constructor and manual calls to firstCallInit() have no effect.
Member MediaWiki\Parser\Parser::getDefaultSort ()
since 1.38, use $parser->getOutput()->getPageProperty('defaultsort') ?? ''
Member MediaWiki\Parser\Parser::getFreshParser ()
since 1.39, use ParserFactory::getInstance(), Hard-deprecated since 1.41.
Member MediaWiki\Parser\Parser::getFunctionLang ()
since 1.40; use getTargetLanguage() instead.
Member MediaWiki\Parser\Parser::getTitle ()
since 1.37, use getPage instead.
Member MediaWiki\Parser\Parser::Options ( $x=null)
since 1.35, use getOptions() / setOptions()
Member MediaWiki\Parser\Parser::OutputType ( $x=null)
since 1.35, use getOutputType()/setOutputType()
Member MediaWiki\Parser\Parser::parseExtensionTagAsTopLevelDoc ( $text)
Member MediaWiki\Parser\Parser::replaceLinkHolders (&$text)
since 1.34; should not be used outside parser class.
Member MediaWiki\Parser\Parser::setTitle (Title $t=null)
since 1.37, use setPage() instead.
Member MediaWiki\Parser\ParserOutput::addJsConfigVars ( $keys, $value=null)
since 1.38, use setJsConfigVar() or appendJsConfigVar() which ensures compatibility with asynchronous parsing.
Member MediaWiki\Parser\ParserOutput::getCategories ()
since 1.40; use getCategoryNames() and getCategorySortKey() instead. For
Member MediaWiki\Parser\ParserOutput::getText ( $options=[])
since 1.42, this method has side-effects on the ParserOutput (see T353257) and so should be avoided in favor of directly invoking the default output pipeline on a ParserOutput.
Member MediaWiki\Parser\ParserOutput::getTimeSinceStart ( $clock)
since 1.42, use getTimeProfile() instead.
Member MediaWiki\Parser\ParserOutput::getTimestamp ()
since 1.42; use getRevisionTimestamp() instead
Member MediaWiki\Parser\ParserOutput::getTOCHTML ()
since 1.40; use getTOCData() instead
Member MediaWiki\Parser\ParserOutput::setLanguageLinks ( $ll)
since 1.42, use addLanguageLink() instead.
Member MediaWiki\Parser\ParserOutput::setText ( $text)
since 1.42; use setRawText() which matches the getter getRawText()
Member MediaWiki\Parser\ParserOutput::setTimestamp ( $timestamp)
since 1.42; use setRevisionTimestamp() instead
Member MediaWiki\Parser\ParserOutput::setTOCHTML ( $tochtml)
since 1.40 T293513: We can remove this once we get rid of MW 1.38 and older parsercache serialization tests since those serialized files have artificial TOC data (which we cannot replicate via on-demand TOC generation).
Member MediaWiki\Parser\Parsoid\Config\SiteConfig::variants ()
Use variantsFor() (T320662)
Class MediaWiki\Parser\Parsoid\ParsoidServices
since 1.39. This is a marker class indicating that certain code has been moved from Parsoid to core; it will be removed once the transition is complete. Use MediaWikiServices instead.
Member MediaWiki\Parser\Sanitizer::hackDocType ()
since 1.36; will be made private or removed in a future release.
Member MediaWiki\Parser\Sanitizer::removeHTMLtags (string $text, ?callable $processCallback=null, $args=[], array $extratags=[], array $removetags=[])
since 1.38. Use removeSomeTags(), which always gives balanced/tidy HTML.
Interface MediaWiki\Permissions\Hook\UserCanHook

since 1.37 use getUserPermissionsErrors or getUserPermissionsErrorsExpensive instead.

Member MediaWiki\Preferences\DefaultPreferencesFactory::getOptionFromUser ( $name, $info, array $userOptions)
1.41 Use getPreferenceForField() instead.
Member MediaWiki\Request\WebRequest::getCrossSiteCookie ( $key, $prefix='', $default=null)
since 1.42 use getCookie(), but note the different $prefix default
Member MediaWiki\Request\WebRequest::isSafeRequest ()
since 1.41, use hasSafeMethod() instead.
Member MediaWiki\Request\WebRequest::markAsSafeRequest ()
since 1.41
Member MediaWiki\ResourceLoader\Context::getLogger ()
since 1.34 Use Module::getLogger instead inside module methods. Use ResourceLoader::getLogger elsewhere.
Member MediaWiki\ResourceLoader\Module::getDeprecationInformation (Context $context)
since 1.41 use getDeprecationWarning()
Member MediaWiki\ResourceLoader\Module::requiresES6 ()
since 1.41, ignored by ResourceLoader
Member MediaWiki\Revision\RevisionFactory::getArchiveQueryInfo ()
since 1.41 use RevisionStore::newArchiveSelectQueryBuilder() instead.
Member MediaWiki\Revision\RevisionFactory::getQueryInfo ( $options=[])
since 1.41 use RevisionStore::newSelectQueryBuilder() instead.
Member MediaWiki\Revision\RevisionStore::getArchiveQueryInfo ()
since 1.41 use RevisionStore::newArchiveSelectQueryBuilder() instead.
Member MediaWiki\Revision\RevisionStore::getQueryInfo ( $options=[])
since 1.41 use RevisionStore::newSelectQueryBuilder() instead.
Member MediaWiki\Revision\RevisionStore::getTitle ( $pageId, $revId, $queryFlags=IDBAccessObject::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 MediaWiki\Search\Entity\SearchResultThumbnail::getSize ()
since 1.41, Do not use, resource intensive and thus degrade performance.
Interface MediaWiki\Search\Hook\PrefixSearchBackendHook

since 1.27. Override SearchEngine::completionSearchBackend instead. Emitting warnings since 1.41.

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::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. Hard deprecated in 1.40 and to be removed in 1.41
Member MediaWiki\SpecialPage\FormSpecialPage::postText ()
since 1.38, use postHtml() instead
Member MediaWiki\SpecialPage\FormSpecialPage::preText ()
since 1.38, use preHtml() instead
Member MediaWiki\SpecialPage\QueryPage::getSQL ()
since 1.39; getQueryInfo() should be overridden instead.
Member MediaWiki\SpecialPage\SpecialPage::listed ( $x=null)
since 1.35 Set via subclassing UnlistedSpecialPage, get via isListed()
Member MediaWiki\SpecialPage\SpecialPage::setListed ( $listed)
since 1.35
Member MediaWiki\Specials\SpecialBlock::canBlockEmail (UserIdentity $user)
since 1.36, use BlockPermissionChecker service instead
Member MediaWiki\Specials\SpecialBlock::getSuggestedDurations (Language $lang=null, $includeOther=true)
since 1.42, use Language::getBlockDurations() instead.
Member MediaWiki\Specials\SpecialBlock::getTargetAndType (?string $par, WebRequest $request=null)
since 1.36. Use BlockUtils::parseBlockTarget directly instead. Hard-deprecated since 1.41.
Member MediaWiki\Specials\SpecialBlock::parseExpiryInput ( $expiry)
since 1.36, use BlockUser::parseExpiryInput instead
Member MediaWiki\Specials\SpecialBlock::processForm (array $data, IContextSource $context)
since 1.36, use BlockUserFactory service instead
Member MediaWiki\Specials\SpecialEmailUser::getPermissionsError ( $user, $editToken, Config $config=null, $authorize=false)
since 1.41 Use EmailUser::canSend() or EmailUser::authorizeSend()
Member MediaWiki\Specials\SpecialEmailUser::submit (array $data, IContextSource $context)
since 1.41 Use EmailUser::sendEmailUnsafe()
Member MediaWiki\Specials\SpecialEmailUser::validateTarget ( $target, User $sender)
since 1.41 Use EmailUser::validateTarget()
Class MediaWiki\Specials\SpecialResetTokens
since 1.26
Member MediaWiki\Specials\SpecialVersion::getGitHeadSha1 ( $dir)
since 1.41 Use GitInfo::repo() for MW_INSTALL_PATH, or new GitInfo otherwise.
Member MediaWiki\Status\Status::getHTML ( $shortContext=false, $longContext=false, $lang=null)
since 1.42, use StatusFormatter instead.
Member MediaWiki\Status\Status::getMessage ( $shortContext=false, $longContext=false, $lang=null)
since 1.42, use StatusFormatter instead.
Member MediaWiki\Status\Status::getPsr3MessageAndContext ()
since 1.42, use StatusFormatter instead.
Member MediaWiki\Status\Status::getWikiText ( $shortContext=false, $longContext=false, $lang=null)
since 1.42, use StatusFormatter instead.
Member MediaWiki\Status\Status::setMessageLocalizer (MessageLocalizer $messageLocalizer)
since 1.42, use FormatterFactory::getStatusFormatter instead.
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::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\Title\Title::deleteTitleProtection ()
since 1.37, do not use (this is only for WikiPage::onArticleCreate)
Member MediaWiki\Title\Title::flushRestrictions ()
since 1.37, now internal
Member MediaWiki\Title\Title::getCdnUrls ()
since 1.35 Use HtmlCacheUpdater; hard-deprecated in 1.42
Member MediaWiki\Title\Title::getOtherPage ()
since 1.34, use NamespaceInfo::getAssociatedPage
Member MediaWiki\Title\Title::getPageViewLanguage ()
since 1.42 Use ParserOutput::getLanguage instead. See also OutputPage::getContLangForJS.
Member MediaWiki\Title\Title::getSubjectPage ()
since 1.34, use NamespaceInfo::getSubjectPage
Member MediaWiki\Title\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 MediaWiki\Title\Title::getTitleProtection ()
since 1.37, use RestrictionStore::getCreateProtection() instead
Member MediaWiki\Title\Title::isBigDeletion ()
since 1.37 External callers shouldn't need to know about this.
Member MediaWiki\Title\Title::isDeleted ()
since 1.36. Use self::getDeletedEditsCount()
Member MediaWiki\Title\Title::isDeletedQuick ()
since 1.36, Use self::hasDeletedEdits()
Member MediaWiki\Title\Title::loadRestrictions ( $flags=0)
since 1.37, no public replacement
Member MediaWiki\Title\Title::purgeSquid ()
since 1.35 Use HtmlCacheUpdater; hard-deprecated in 1.42
Class MediaWiki\User\ActorMigration
since 1.39
Member MediaWiki\User\ActorMigration::getInsertValues (IDatabase $dbw, $key, UserIdentity $user)
since 1.39 Use ‘[ ’{table_prefix}_actor' => MediaWikiServices::getInstance() ->getActorNormalization()->acquireActorId( $user, $dbw ) ] E.g. for key=log_user, use[ 'log_actor' => ... ]`
Member MediaWiki\User\ActorMigration::getJoin ( $key)
since 1.39 Use {table} JOIN actor ON {table_prefix}_actor = actor_id E.g. for key=rev_user, use revision JOIN actor ON rev_actor = actor_id
Member MediaWiki\User\ActorMigration::getWhere (IReadableDatabase $db, $key, $users, $useId=true)
since 1.39 Use {table_prefix}_actor IN ({list of actor IDs}). E.g. for key=rev_user, use rev_actor IN ({list of actor IDs}). Use MediaWikiServices::getInstance()->getActorNormalization() ->findActorId( $user, $db ) to get the actor ID for a given user.
Member MediaWiki\User\BotPassword::invalidateAllPasswordsForCentralId ( $centralId)
since 1.37
Member MediaWiki\User\BotPassword::removeAllPasswordsForCentralId ( $centralId)
since 1.37
Member MediaWiki\User\CentralId\CentralIdLookup::factory ( $providerId=null)
since 1.37 Use MediaWikiServices to obtain an instance.
Member MediaWiki\User\CentralId\CentralIdLookup::factoryNonLocal ()
since 1.37. Use CentralIdLookupFactory::getNonLocalLookup instead.
Interface MediaWiki\User\Hook\UserCanSendEmailHook
since 1.41, handle the EmailUserAuthorizeSend hook instead.
Interface MediaWiki\User\Hook\UserIsBlockedGloballyHook
since 1.40. Use GetUserBlockHook instead.
Member MediaWiki\User\TempUser\Pattern::buildLike (ISQLPlatform $db)
since 1.42. Use toLikeValue() instead
Member MediaWiki\User\TempUser\TempUserConfig::getMatchPattern ()
since 1.42. Use getMatchPatterns as multiple patterns may be defined.
Member MediaWiki\User\User::addGroup ( $group, $expiry=null)
since 1.35 Use UserGroupManager::addUserToGroup instead. Hard-deprecated since 1.41
Member MediaWiki\User\User::canSendEmail ()
since 1.41 Use EmailUser::canSend() instead.
Member MediaWiki\User\User::getAllGroups ()
since 1.35, use UserGroupManager::listAllGroups instead. Hard-deprecated since 1.41.
Member MediaWiki\User\User::getEditToken ( $salt='', $request=null)
since 1.37. Use CsrfTokenSet::getToken instead
Member MediaWiki\User\User::getEditTokenObject ( $salt='', $request=null)
since 1.37. Use CsrfTokenSet::getToken instead
Member MediaWiki\User\User::getGlobalBlock ( $ip='')
since 1.40. Use getBlock instead
Member MediaWiki\User\User::getGroupMemberships ()
since 1.35 Use UserGroupManager::getUserGroupMemberships instead. Hard-deprecated since 1.41
Member MediaWiki\User\User::getGroups ()
since 1.35 Use UserGroupManager::getUserGroups instead. Hard-deprecated since 1.41
Member MediaWiki\User\User::getImplicitGroups ()
since 1.35, use UserGroupManager::listAllImplicitGroups() instead. Hard-deprecated since 1.41.
Member MediaWiki\User\User::getOption ( $oname, $defaultOverride=null, $ignoreHidden=false)
since 1.35 Hard-deprecated since 1.39. Use UserOptionsLookup::getOption instead.
Member MediaWiki\User\User::getTokenFromOption ( $oname)
since 1.26 Applications should use the OAuth extension
Member MediaWiki\User\User::isBlocked ( $fromReplica=true)
since 1.34, use BlockManager::getBlock(), Authority:definitelyCan(), Authority:authorizeRead() or Authority:authorizeWrite(), as appropriate. Hard-deprecated since 1.42.
Member MediaWiki\User\User::isBlockedFrom ( $title, $fromReplica=false)
since 1.33, hard-deprecated since 1.42 use MediaWikiServices::getInstance()->getPermissionManager()->isBlockedFrom(..)
Member MediaWiki\User\User::isBlockedFromCreateAccount ()
since 1.37. If a Block is needed, use BlockManager::getCreateAccountBlock(). If a boolean or error message is needed, use Authority::authorize* for the createaccount permission.
Member MediaWiki\User\User::isBlockedFromEmailuser ()
since 1.41 EmailUser::canSend checks blocks amongst other things. If you only need this check, use getBlock()->appliesToRight( 'sendemail' ).
Member MediaWiki\User\User::isBlockedGlobally ( $ip='')
since 1.40. Use getBlock instead.
Member MediaWiki\User\User::matchEditToken ( $val, $salt='', $request=null, $maxage=null)
since 1.37. Use CsrfTokenSet::matchToken instead
Member MediaWiki\User\User::newFatalPermissionDeniedStatus ( $permission)
since 1.41, use Authority::isAllowed instead. Core code can also use PermissionManager::newFatalPermissionDeniedStatus.
Member MediaWiki\User\User::newFromActorId ( $id)
since 1.36, use a UserFactory instead
Member MediaWiki\User\User::newFromAnyId ( $userId, $userName, $actorId, $dbDomain=false)
since 1.36, use a UserFactory instead
Member MediaWiki\User\User::newFromConfirmationCode ( $code, $flags=IDBAccessObject::READ_NORMAL)
since 1.36, use a UserFactory instead
Member MediaWiki\User\User::newFromId ( $id)
since 1.36, use a UserFactory instead
Member MediaWiki\User\User::newFromIdentity (UserIdentity $identity)
since 1.36, use a UserFactory instead
Member MediaWiki\User\User::newFromName ( $name, $validate='valid')
since 1.36, use a UserFactory instead
Member MediaWiki\User\User::removeGroup ( $group)
since 1.35 Use UserGroupManager::removeUserFromGroup instead. Hard-deprecated since 1.41
Member MediaWiki\User\User::setActorId (int $actorId)
since 1.36
Member MediaWiki\User\UserGroupMembership::getGroupMemberName ( $group, $member)
since 1.40, use Language::getGroupMemberName or Message::objectParm with instance of UserGroupMembershipParam, hard-deprecated in 1.41
Member MediaWiki\User\UserGroupMembership::getGroupName ( $group)
since 1.38, use Language::getGroupName or Message::userGroupParams, hard-deprecated in 1.41
Member MediaWiki\User\UserGroupMembership::getLink ( $ugm, IContextSource $context, string $format, $userName=null)
since 1.41 use getLinkWiki or getLinkHTML directly
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
Class MediaWikiVersionFetcher
since 1.42
File MessageContent.php
since 1.38.
Member MessageContent::getNativeData ()
since 1.33 use getMessage() instead.
Class MWException
since 1.40, use native exceptions instead (either directly, or defining subclasses when appropriate)
Member MWException::getHTML ()
since 1.42 Provide the error message when constructing the Exception instead. If you need a whole custom error page, use ErrorPageError instead.
Member MWException::getPageTitle ()
since 1.42 Provide the error message when constructing the Exception instead. If you need a whole custom error page, use ErrorPageError instead.
Member MWException::getText ()
since 1.42 Provide the error message when constructing the Exception instead. If you need a whole custom error page, use ErrorPageError instead.
Member MWException::reportHTML ()
since 1.42 Provide the error message when constructing the Exception instead. If you need a whole custom error page, use ErrorPageError instead.
Member MWTidy::tidy ( $text)
since 1.36; use MediaWikiServices::getTidy()->tidy() instead
Member OldLocalFile::getQueryInfo (array $options=[])
since 1.41 use FileSelectQueryBuilder instead
Interface Page
since 1.35, Use WikiPage or Article instead @method array getActionOverrides() @method Title getTitle()
Member PageArchive::undeleteAsUser ( $timestamps, UserIdentity $user, $comment='', $fileVersions=[], $unsuppress=false, $tags=null)
since 1.38, use UndeletePage 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::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::setSuppressTOC ()
since 1.42; just clear the metadata in the final parser output
Member PasswordFactory::init (Config $config)
since 1.32 Initialize settings using the constructor Emitting deprecation warnings since 1.41.
Class PrefixSearch
Since 1.27, Use SearchEngine::defaultPrefixSearch or SearchEngine::completionSearch
Member Profiler::getAllowOutput ()
since 1.41. Unused.
Member Profiler::setProfileID ( $id)
since 1.41, unused. Can override this base class.
Member RecentChange::getTitle ()
since 1.37, use getPage() instead.
Class ReplicatedBagOStuff

since 1.42

Member ReplicatedBagOStuff::__construct ( $params)
since 1.42
Member SearchEngine::$searchTerms
since 1.34
Member SearchEngine::defaultNearMatcher ()
since 1.40, MediaWikiServices::getInstance()->getTitleMatcher()
Member SearchEngine::getNearMatcher (Config $config)
since 1.40, use MediaWikiServices::getInstance()->getTitleMatcher()
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 SerializedValueContainer::newUnified ( $serialized)
since 1.41
Member Skin::footerLink ( $desc, $page)
since 1.40
Member Skin::getAction ()
since 1.39
Member Skin::makeSearchButton ( $mode, $attrs=[])
1.39 use $this->getTemplateData()['data-search-box'] instead. Note: When removing this function please merge SkinTemplate::makeSearchButtonInternal with SkinTemplate::makeSearchButton.
Member Skin::makeSearchInput ( $attrs=[])
1.39 use $this->getTemplateData()['data-search-box'] instead.
Member Skin::makeSpecialUrl ( $name, $urlaction='', $proto=null)
since 1.39 - Moved to SkinComponentUtils::makeSpecialUrl
Member Skin::makeSpecialUrlSubpage ( $name, $subpage, $urlaction='')
since 1.39 - Moved to SkinComponentUtils::makeSpecialUrlSubpage
Member SkinFactory::getSkinNames ()
since 1.37 Use getInstalledSkins instead
Member SkinTemplate::buildContentNavigationUrls ()
since 1.38 skins can use runOnSkinTemplateNavigationHooks instead.
Member SkinTemplate::makeSearchButtonInternal ( $mode, $searchData, $attrs=[])
1.38 see
Member SqlBagOStuff::deleteAll ()
since 1.41, unused.
Member SqlBagOStuff::expireAll ()
since 1.41, use deleteObjectsExpiringBefore() instead
Member SqlSearchResultSet::termMatches ()
since 1.34
Class StringPrefixSearch

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

Member TempFSFile::factory ( $prefix, $extension='', $tmpDirectory=null)
since 1.34, use TempFSFileFactory directly
Member TextContent::getNativeData ()
since 1.33 use getText() instead.
Member TextSlotDiffRenderer::setLanguage (Language $language)
since 1.41
Class TitlePrefixSearch

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

Class UIDGenerator
Since 1.35; use GlobalIdGenerator instead
Member UploadBase::getImageInfo ( $result=null)
since 1.42, subclasses of ApiUpload can use ApiUpload::getUploadImageInfo() instead.
Member UploadBase::isThrottled ( $user)
since 1.41, use verifyTitlePermissions() instead. Rate limit checks are now implicit in permission checks.
Member UserMailer::rfc822Phrase ( $phrase)
1.38 This method has not been used by anything
Class UserNamePrefixSearch
since 1.36, use the MediaWiki\User\UserNamePrefixSearch service; hard deprecated since 1.41
Member UserNamePrefixSearch::search ( $audience, $search, $limit, $offset=0)
since 1.36, use the MediaWiki\User\UserNamePrefixSearch service instead; hard deprecated since 1.41
Member WANObjectCache::clearLastError ()
Since 1.38
Member WatchedItem::getLinkTarget ()
since 1.36, use getTarget() instead
Member wfAssembleUrl ( $urlParts)
since 1.39, use UrlUtils::assemble()
Member wfEscapeShellArg (... $args)
since 1.30 use MediaWiki\Shell\Shell::escape()
Member wfExpandIRI ( $url)
since 1.39, use UrlUtils::expandIRI()
Member wfExpandUrl ( $url, $defaultProto=PROTO_CURRENT)
since 1.39, use UrlUtils::expand()
Member wfGetDB ( $db, $groups=[], $wiki=false)
since 1.39, use LoadBalancer::getConnection() on an injected instance of LoadBalancer instead.
Member wfGetLangObj ( $langcode=false)
since 1.41, use MediaWiki\Languages\LanguageFactory::getLanguage instead.
Member wfGetServerUrl ( $proto)
since 1.39, use UrlUtils::getServer()
Member wfGetUrlUtils ()
Get a UrlUtils from services, or construct your own
Member wfMatchesDomainList ( $url, $domains)
since 1.39, use UrlUtils::expandIRI()
Member wfParseUrl ( $url)
since 1.39, use UrlUtils::parse()
Member wfRemoveDotSegments ( $urlPath)
since 1.39, use UrlUtils::removeDotSegments()
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 wfUnpack ( $format, $data, $length=false)
since 1.42 Use StringUtils::unpack instead
Member wfUrlProtocols ( $includeProtocolRelative=true)
since 1.39, use UrlUtils::validProtocols()
Member wfUrlProtocolsWithoutProtRel ()
since 1.39, use UrlUtils::validAbsoluteProtocols()
Member Wikimedia\LightweightObjectStore\StorageAwareness::ATTR_EMULATION
Since 1.41; Emulation/fallback mode; see QOS_EMULATION_*; higher is better
Member Wikimedia\LightweightObjectStore\StorageAwareness::QOS_EMULATION_SQL
Since 1.41; Fallback disk-based SQL store
Member Wikimedia\Rdbms\Database\IDatabaseFlags::DBO_SSL
since 1.39 use 'ssl' parameter
Member Wikimedia\Rdbms\DatabaseMySQL::listViews ( $prefix=null, $fname=__METHOD__)
since 1.42
Member Wikimedia\Rdbms\IDatabase::nextSequenceValue ( $seqName)
since 1.30, no longer needed
Member Wikimedia\Rdbms\ILoadBalancer::DB_MASTER
since 1.36, Use DB_PRIMARY instead
Member Wikimedia\Rdbms\ILoadBalancer::getConnectionRef ( $i, $groups=[], $domain=false, $flags=0)
since 1.39, use ILoadBalancer::getConnection() instead.
Member Wikimedia\Rdbms\ILoadBalancer::reuseConnection (IDatabase $conn)
since 1.39 noop
Member Wikimedia\Rdbms\IMaintainableDatabase::listViews ( $prefix=null, $fname=__METHOD__)
since 1.42 This was previously used to filter views out of the return value of listTables(), but listTables() no longer includes views.
Member Wikimedia\Rdbms\IMaintainableDatabase::truncate ( $tables, $fname=__METHOD__)
Since 1.42; use truncateTable() instead
Class Wikimedia\Rdbms\MaintainableDBConnRef
since 1.39 use DBConnRef
Class Wikimedia\Rdbms\NextSequenceValue
since 1.30, only exists for backwards compatibility
Member Wikimedia\Rdbms\Platform\ISQLPlatform::tableNames (... $tables)
since 1.39; if you must format table names, write several calls to tableName or use tableNamesN instead of calling this function.
Member Wikimedia\Rdbms\Platform\SQLPlatform::isWriteQuery ( $sql, $flags)
since 1.41
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::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::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::prepareContentForEdit (Content $content, ?RevisionRecord $revision, UserIdentity $user, $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::$content
since 1.35, use getContent
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::$userObj
since 1.39, use {
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::getUserObj ()
since 1.39, use {
Member WikiRevision::importOldRevision ()
in 1.31. Use OldRevisionImporter::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.
Member WikiRevision::setUserIP ( $ip)
since 1.39, use {
Member WikiRevision::setUserObj ( $user)
since 1.39, use {
Member WikitextContent::getRedirectTargetAndText ()
since 1.41, use WikitextContentHandler::getRedirectTargetAndText
Member Xml::buildForm ( $fields, $submitLabel=null, $submitAttribs=[])
since 1.42, use OOUI or Codex widgets instead
Member Xml::check ( $name, $checked=false, $attribs=[])
since 1.42, use {
Member Xml::checkLabel ( $label, $name, $id, $checked=false, $attribs=[])
since 1.42, use {
Member Xml::encodeJsCall ( $name, $args, $pretty=false)
since 1.41, use {
Member Xml::encodeJsVar ( $value, $pretty=false)
since 1.41, use {
Member Xml::fieldset ( $legend=false, $content=false, $attribs=[])
since 1.42, use {
Member Xml::input ( $name, $size=false, $value=false, $attribs=[])
since 1.42, use {
Member Xml::inputLabel ( $label, $name, $id, $size=false, $value=false, $attribs=[])
since 1.42, use {
Member Xml::inputLabelSep ( $label, $name, $id, $size=false, $value=false, $attribs=[])
since 1.42, use {
Member Xml::label ( $label, $id, $attribs=[])
since 1.42, use {
Member Xml::option ( $text, $value=null, $selected=false, $attribs=[])
since 1.42, use {
Member Xml::password ( $name, $size=false, $value=false, $attribs=[])
since 1.42, use {
Member Xml::radio ( $name, $value, $checked=false, $attribs=[])
since 1.42, use {
Member Xml::radioLabel ( $label, $name, $value, $id, $checked=false, $attribs=[])
since 1.42, use {
Member Xml::span ( $text, $class, $attribs=[])
since 1.42, use {
Member Xml::submitButton ( $value, $attribs=[])
since 1.42, use {
Member Xml::textarea ( $name, $content, $cols=40, $rows=5, $attribs=[])
since 1.42, use {
Member Xml::wrapClass ( $text, $class, $tag='span', $attribs=[])
since 1.42, use {