- Member $wgAPIRequestLog
- since 1.43; use api or api-request $wgDebugLogGroups channel
- 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 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 BaseSearchResultSet::free ()
- since 1.34; noop
- 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)
- since 1.43; 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 DatabaseLogEntry::getSelectQueryData ()
- since 1.41 use ::newSelectQueryBuilder() instead
- 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()
- 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 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
- 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 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()
- Member LogFormatter::newFromEntry (LogEntry $entry)
- since 1.42, use LogFormatterFactory instead, hard-deprecated since 1.43
- Member LogFormatter::newFromRow ( $row)
- since 1.42, use LogFormatterFactory instead, hard-deprecated since 1.43
- 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\Api\ApiBase::errorArrayToStatus (array $errors, ?Authority $performer=null)
- since 1.43 Use methods that return StatusValue objects directly, such as PermissionManager::getPermissionStatus().
- Member MediaWiki\Api\ApiBase::makeMessage ( $msg, IContextSource $context, ?array $params=null)
- since 1.43, use ApiBase::msg()
- Member MediaWiki\Api\ApiBase::PARAM_ALL
- since 1.35, use ParamValidator::PARAM_ALL instead
- Member MediaWiki\Api\ApiBase::PARAM_ALLOW_DUPLICATES
- since 1.35, use ParamValidator::PARAM_ALLOW_DUPLICATES instead
- Member MediaWiki\Api\ApiBase::PARAM_DEPRECATED
- since 1.35, use ParamValidator::PARAM_DEPRECATED instead
- Member MediaWiki\Api\ApiBase::PARAM_DEPRECATED_VALUES
- since 1.35, use EnumDef::PARAM_DEPRECATED_VALUES instead
- Member MediaWiki\Api\ApiBase::PARAM_DFLT
- since 1.35, use ParamValidator::PARAM_DEFAULT instead
- Member MediaWiki\Api\ApiBase::PARAM_EXTRA_NAMESPACES
- since 1.35, use NamespaceDef::PARAM_EXTRA_NAMESPACES instead
- Member MediaWiki\Api\ApiBase::PARAM_ISMULTI
- since 1.35, use ParamValidator::PARAM_ISMULTI instead
- Member MediaWiki\Api\ApiBase::PARAM_ISMULTI_LIMIT1
- since 1.35, use ParamValidator::PARAM_ISMULTI_LIMIT1 instead
- Member MediaWiki\Api\ApiBase::PARAM_ISMULTI_LIMIT2
- since 1.35, use ParamValidator::PARAM_ISMULTI_LIMIT2 instead
- Member MediaWiki\Api\ApiBase::PARAM_MAX
- since 1.35, use IntegerDef::PARAM_MAX instead
- Member MediaWiki\Api\ApiBase::PARAM_MAX2
- since 1.35, use IntegerDef::PARAM_MAX2 instead
- Member MediaWiki\Api\ApiBase::PARAM_MAX_BYTES
- since 1.35, use StringDef::PARAM_MAX_BYTES instead
- Member MediaWiki\Api\ApiBase::PARAM_MAX_CHARS
- since 1.35, use StringDef::PARAM_MAX_CHARS instead
- Member MediaWiki\Api\ApiBase::PARAM_MIN
- since 1.35, use IntegerDef::PARAM_MIN instead
- Member MediaWiki\Api\ApiBase::PARAM_RANGE_ENFORCE
- since 1.35
- Member MediaWiki\Api\ApiBase::PARAM_REQUIRED
- since 1.35, use ParamValidator::PARAM_REQUIRED instead
- Member MediaWiki\Api\ApiBase::PARAM_SENSITIVE
- since 1.35, use ParamValidator::PARAM_SENSITIVE instead
- Member MediaWiki\Api\ApiBase::PARAM_SUBMODULE_MAP
- since 1.35, use SubmoduleDef::PARAM_SUBMODULE_MAP instead
- Member MediaWiki\Api\ApiBase::PARAM_SUBMODULE_PARAM_PREFIX
- since 1.35, use SubmoduleDef::PARAM_SUBMODULE_PARAM_PREFIX instead
- Member MediaWiki\Api\ApiBase::PARAM_TYPE
- since 1.35, use ParamValidator::PARAM_TYPE instead
- Member MediaWiki\Api\ApiBase::PARAM_VALUE_LINKS
- since 1.35
- Class MediaWiki\Api\ApiErrorFormatter_BackCompat
since 1.25; only for backwards compatibility, do not use
- Member MediaWiki\Api\ApiPageSet::getGoodAndMissingTitles ()
- since 1.37, use getGoodAndMissingPages() instead, hard-deprecated since 1.43.
- Member MediaWiki\Api\ApiPageSet::getGoodTitles ()
- since 1.37, use getGoodPages() instead, hard-deprecated since 1.43.
- Member MediaWiki\Api\ApiPageSet::getMissingTitles ()
- since 1.37, use getMissingPages instead, hard-deprecated since 1.43.
- Member MediaWiki\Api\ApiPageSet::getRedirectTitles ()
- since 1.37, use getRedirectTargets instead, hard-deprecated since 1.43.
- Member MediaWiki\Api\ApiPageSet::getSpecialTitles ()
- since 1.37, use getSpecialPages() instead, hard-deprecated since 1.43.
- Member MediaWiki\Api\ApiPageSet::getTitles ()
- since 1.37, use getPages() instead, hard-deprecated since 1.43.
- Class MediaWiki\Api\ApiQueryDeletedrevs
- since 1.25
- Member MediaWiki\Auth\AuthManager::forcePrimaryAuthenticationProviders (array $providers, $why)
- since 1.43; for backwards compatibility only
- 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::getQueryInfo ()
- since 1.43, use DatabaseBlockStore::getQueryInfo()
- Member MediaWiki\Block\DatabaseBlock::getRangeCond ( $start, $end=null)
- since 1.43 use DatabaseBlockStore::getRangeCond
- 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::update ()
- since 1.36 Use DatabaseBlockStore::updateBlock instead.
- Member MediaWiki\Block\DatabaseBlock::updateTimestamp ()
- since 1.42, use DatabaseBlockStore::updateTimestamp instead
- Member MediaWiki\Block\DatabaseBlockStore::getReadStage ()
- since 1.43
- Member MediaWiki\Block\DatabaseBlockStore::getWriteStage ()
- since 1.43
- Interface MediaWiki\Cache\Hook\MessageCache__getHook
since 1.41 Use MessageCacheFetchOverrides instead
- Member MediaWiki\Cache\LinkCache::addLinkObj ( $page, int $queryFlags=IDBAccessObject::READ_NORMAL)
- since 1.37, use PageStore::getPageForLink() instead.
- Class MediaWiki\Cache\UserCache
- since 1.43, use ActorStore
- Member MediaWiki\Cache\UserCache::singleton ()
- since 1.43, use MediaWikiServices::getInstance()->getUserCache()
- 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
- Class MediaWiki\Config\ConfigRepository
- since 1.42; 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\Content\AbstractContent::getNativeData ()
- since 1.33. Use getText() for TextContent instances. For other content models, use specialized getters. Emitting deprecation warnings since 1.41.
- Member MediaWiki\Content\Content::getNativeData ()
- since 1.33 use getText() for TextContent instances. For other content models, use specialized getters.
- Member MediaWiki\Content\ContentHandler::getAllContentFormats ()
- since 1.35, use ContentHandlerFactory::getAllContentFormats Hard deprecated since 1.43.
- Member MediaWiki\Content\ContentHandler::getContentModels ()
- since 1.35, use ContentHandlerFactory::getContentModels Hard deprecated since 1.43.
- Member MediaWiki\Content\ContentHandler::getContentText (?Content $content=null)
- since 1.37, use Content::getText() for TextContent instances instead. Hard deprecated since 1.43.
- Member MediaWiki\Content\ContentHandler::getDefaultModelFor (Title $title)
- since 1.33, use SlotRoleHandler::getDefaultModel() together with SlotRoleRegistry::getRoleHandler(). Hard deprecated since 1.43.
- Member MediaWiki\Content\ContentHandler::getForContent (Content $content)
- since 1.35, instead use ContentHandlerFactory::getContentHandler( $content->getModel() ). Hard deprecated since 1.43.
- Member MediaWiki\Content\ContentHandler::getForModelID ( $modelId)
- since 1.35, use ContentHandlerFactory::getContentHandler Hard deprecated since 1.43.
- Member MediaWiki\Content\ContentHandler::getPageViewLanguage (Title $title, ?Content $content=null)
- since 1.42 Use ParserOutput::getLanguage instead. See also OutputPage::getContLangForJS.
- Member MediaWiki\Content\ContentHandler::getSlotDiffRendererInternal (IContextSource $context)
- since 1.35; use getSlotDiffRendererWithOptions instead Emitting deprecation warnings since 1.41.
- Member MediaWiki\Content\ContentModelChange::checkPermissions ()
- since 1.36. Use probablyCanChange or authorizeChange instead.
- Interface MediaWiki\Content\Hook\SearchDataForIndexHook
since 1.40, use SearchDataForIndexHook2 instead.
- Member MediaWiki\Content\TextContent::getNativeData ()
- since 1.33 use getText() 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\Content\WikitextContent::getRedirectTargetAndText ()
- since 1.41, use WikitextContentHandler::getRedirectTargetAndText
- Member MediaWiki\Deferred\LinksUpdate\LinksUpdate::getAddedLinks ()
- since 1.38 use getPageReferenceIterator() or getPageReferenceArray(), hard-deprecated since 1.43
- Member MediaWiki\Deferred\LinksUpdate\LinksUpdate::getRemovedLinks ()
- since 1.38 use getPageReferenceIterator() or getPageReferenceArray(), hard-deprecated since 1.43
- Member MediaWiki\Deferred\LinksUpdate\TitleLinksTable::getTitleArray ( $setType)
- since 1.38, hard-deprecated since 1.43
- 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
- since 1.38 for public usage; no replacement
- Member MediaWiki\EditPage\EditPage::internalAttemptSave (&$result, $markAsBot=false, $markAsMinor=false)
- since 1.43
- Member MediaWiki\EditPage\TextConflictHelper::incrementStatsByUserEdits ( $userEdits, $keyPrefixBase)
- since 1.42, do not use
- 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\Hook\SkinCopyrightFooterHook::onSkinCopyrightFooter ( $title, $type, &$msg, &$link)
- since 1.43, use SkinCopyrightFooterMessage hook instead.
- Member MediaWiki\HookContainer\HookContainer::getHandlerCallbacks (string $hook)
- since 1.41.
- 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, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::addHeaderText ( $msg, $section=null)
- since 1.38, use addHeaderHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::addPostText ( $msg)
- since 1.38, use addPostHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::addPreText ( $msg)
- since 1.38, use addPreHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::getFooterText ( $section=null)
- since 1.38, use getFooterHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::getHeaderText ( $section=null)
- since 1.38, use getHeaderHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::getPreText ()
- since 1.38, use getPreHtml() instead, hard-deprecated since 1.43
- 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, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::setHeaderText ( $msg, $section=null)
- since 1.38, use setHeaderHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::setIntro ( $msg)
- since 1.38, use setPreHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::setPostText ( $msg)
- since 1.38, use setPostHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLForm::setPreText ( $msg)
- since 1.38, use setPreHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\HTMLForm\HTMLFormField::getNearestFieldByName ( $alldata, $name, $asDisplay=false)
- since 1.38 Use getNearestFieldValue() instead.
- Member MediaWiki\Installer\DatabaseInstaller::$db
- since 1.43 – use definitelyGetConnection()
- Member MediaWiki\Installer\Task\ITaskContext::CONN_DONT_KNOW
- since 1.43
- Interface MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook
- since 1.36, does not support enumerating all valid prefixes; for testing purposes (re)set $wgInterwikiCache instead.
- Member MediaWiki\Json\JsonCodec::unserialize ( $json, ?string $expectedClass=null)
- since 1.43; use deserialize()
- Member MediaWiki\Json\JsonCodec::unserializeArray (array $array)
- since 1.43; use deserializeArray()
- Member MediaWiki\Json\JsonDeserializer::unserialize ( $json, ?string $expectedClass=null)
- since 1.43
- Member MediaWiki\Json\JsonDeserializer::unserializeArray (array $array)
- since 1.43
- Member MediaWiki\Language\Language::$dateFormatStrings
- since 1.35, must be private
- Member MediaWiki\Language\Language::$durationIntervals
- since 1.35, use the DURATION_INTERVALS constant
- Member MediaWiki\Language\Language::$mExtendedSpecialPageAliases
- since 1.35, must be protected
- Member MediaWiki\Language\Language::$mMagicExtensions
- since 1.35, use LocalisationCache with custom language config
- Member MediaWiki\Language\Language::$mMonthAbbrevMsgs
- since 1.35, use the MONTH_ABBREVIATED_MESSAGES constant
- Member MediaWiki\Language\Language::$mMonthMsgs
- since 1.35, use the MONTH_MESSAGES constant
- Member MediaWiki\Language\Language::embedBidi ( $text='')
- since 1.43, use bdi HTML tag in HTML context where possible.
- Member MediaWiki\Language\Language::getAllMessages ()
- since 1.41, use LocalisationCache directly.
- Member MediaWiki\Language\Language::getDirMark ( $opposite=false)
- since 1.43, use bdi HTML tag in HTML context where possible.
- Member MediaWiki\Language\Language::getDirMarkEntity ( $opposite=false)
- hard deprecated since 1.43, use bdi HTML tag in HTML context where possible.
- Member MediaWiki\Language\Language::getMessage ( $key)
- since 1.41, use LocalisationCache or MessageCache as appropriate.
- Member MediaWiki\Language\Language::resetNamespaces ()
- since 1.39 Use MediaWikiServices::resetServiceForTesting() instead.
- Member MediaWiki\Languages\Data\Names::$names
- since 1.43
- 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::makeExternalLink ( $url, $text, $escape=true, $linktype='', $attribs=[], $title=null)
- since 1.43; use LinkRenderer::makeExternalLink(), passing in an HtmlArmor instance if $escape was false.
- Class MediaWiki\Logger\Monolog\LegacyFormatter
- since 1.32
- Member MediaWiki\MainConfigNames::APIRequestLog
- since 1.43; use api or api-request $wgDebugLogGroups channel
- 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::BlockTargetMigrationStage
- since 1.43
- 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\Maintenance\Maintenance::$mArgs
- since 1.39, use {
- Member MediaWiki\Maintenance\Maintenance::$mDescription
- since 1.39, use {
- Member MediaWiki\Maintenance\Maintenance::$mInputLoaded
- since 1.39, treat as private to the Maintenance base class
- Member MediaWiki\Maintenance\Maintenance::$mOptions
- since 1.39, use {
- Member MediaWiki\Maintenance\Maintenance::$mParams
- since 1.39, use $this->parameters instead.
- Member MediaWiki\Maintenance\Maintenance::$orderedOptions
- since 1.39, use $this->getParameters()->getOptionsSequence() instead.
- Member MediaWiki\Maintenance\Maintenance::requireTestsAutoloader ()
- since 1.41. Set the MW_AUTOLOAD_TEST_CLASSES in file scope instead.
- Member MediaWiki\Maintenance\Maintenance::runChild ( $maintClass, $classFile=null)
- Since 1.43. Use
Maintenance::createChild
instead. This method is an alias to that method.
- 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\MediaWikiServices::getUserCache ()
- since 1.43, use ActorStore
- Member MediaWiki\Message\Message::title ( $title)
- since 1.37. Use page instead
- Interface MediaWiki\Output\Hook\OutputPageMakeCategoryLinksHook
since 1.43, use OutputPageRenderCategoryLinkHook instead.
- Member MediaWiki\Output\OutputPage::formatPermissionsErrorMessage (array $errors, $action=null)
- since 1.36. Use formatPermissionStatus instead
- Member MediaWiki\Output\OutputPage::getIndexPolicy ()
- since 1.43; use ->getMetadata()->getIndexPolicy()
- Member MediaWiki\Output\OutputPage::getPreventClickjacking ()
- since 1.43; use ->getMetadata()->getPreventClickjacking()
- Member MediaWiki\Output\OutputPage::setCategoryLinks (array $categories)
- since 1.43, use addCategoryLinks()
- Member MediaWiki\Output\OutputPage::setIndexPolicy ( $policy)
- since 1.43; use ->getMetadata()->setIndexPolicy() but see note above about the change in behavior when setting 'index' after 'noindex'.
- Member MediaWiki\Output\OutputPage::setLanguageLinks (array $newLinkArray)
- since 1.43, use addLanguageLinks() instead, or use the LanguageLinksHook in the rare case that you need to remove or replace language links from the output page.
- Member MediaWiki\Output\OutputPage::setPreventClickjacking (bool $enable)
- since 1.43; use ->getMetadata()->setPreventClickjacking()
- Member MediaWiki\Output\OutputPage::showFatalError ( $message)
- since 1.43 Use showErrorPage() instead
- Member MediaWiki\Output\OutputPage::showPermissionsErrorPage (array $errors, $action=null)
- since 1.43. Use showPermissionStatus 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\ContributionsPager::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\Parser\DateFormatter::getInstance (?Language $lang=null)
- since 1.33 use MediaWikiServices::getDateFormatterFactory()
- 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\MWTidy::tidy ( $text)
- since 1.36; use MediaWikiServices::getTidy()->tidy() instead
- Member MediaWiki\Parser\Parser::$extCite
- since 1.42: T343230
- Member MediaWiki\Parser\Parser::$extTemplateStylesCache
- since 1.42: T343226
- Member MediaWiki\Parser\Parser::$mExpensiveFunctionCount
- since 1.35
- Member MediaWiki\Parser\Parser::$mExtArrays
- since 1.42: T203532
- Member MediaWiki\Parser\Parser::$mExtHashTables
- since 1.42: T359887
- Member MediaWiki\Parser\Parser::$mExtLoopsCounter
- since 1.42: T203563
- Member MediaWiki\Parser\Parser::$mExtVariables
- since 1.42: T203531
- Member MediaWiki\Parser\Parser::$mMarkerIndex
- since 1.35
- Member MediaWiki\Parser\Parser::$mTemplatePath
- since 1.42: T362693
- Member MediaWiki\Parser\Parser::$proofreadRenderingPages
- since 1.42: T362664
- Member MediaWiki\Parser\Parser::$scribunto_engine
- since 1.42: T343229
- Member MediaWiki\Parser\Parser::$static_tag_buf
- since 1.42: T357838
- 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::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\ParserOptions::enableLimitReport ( $x=true)
- since 1.38. This does nothing now, to control limit reporting please provide 'includeDebugInfo' option to ParserOutput::getText.
- Member MediaWiki\Parser\ParserOptions::getEnableLimitReport ()
- since 1.38. This does nothing now, to control limit reporting please provide 'includeDebugInfo' option to ParserOutput::getText.
- Member MediaWiki\Parser\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 MediaWiki\Parser\ParserOptions::setOptionLegacy ( $name, $value)
- since 1.30
- Member MediaWiki\Parser\ParserOptions::setSuppressTOC ()
- since 1.42; just clear the metadata in the final parser output
- Member MediaWiki\Parser\ParserOutput::addJsConfigVars ( $keys, $value=null)
- since 1.38, use setJsConfigVar() or appendJsConfigVar() which ensures compatibility with asynchronous parsing; emitting warnings since 1.43.
- Member MediaWiki\Parser\ParserOutput::getFileSearchOptions ()
- since 1.43, use ::getLinkList(ParserOutputLinkTypes::MEDIA)
- Member MediaWiki\Parser\ParserOutput::getImages ()
- since 1.43, use ::getLinkList(ParserOutputLinkTypes::MEDIA)
- Member MediaWiki\Parser\ParserOutput::getInterwikiLinks ()
- since 1.43, use ::getLinkList(ParserOutputLinkTypes::INTERWIKI)
- Member MediaWiki\Parser\ParserOutput::getLanguageLinks ()
- since 1.43, use ::getLinkList(ParserOutputLinkTypes::LANGUAGE)
- Member MediaWiki\Parser\ParserOutput::getLinks ()
- since 1.43, use ::getLinkList(ParserOutputLinkTypes::LOCAL)
- Member MediaWiki\Parser\ParserOutput::getLinksSpecial ()
- since 1.43, use ::getLinkList(ParserOutputLinkTypes::SPECIAL)
- Member MediaWiki\Parser\ParserOutput::getTemplateIds ()
- since 1.43, use ::getLinkList(ParserOutputLinkTypes::TEMPLATE)
- Member MediaWiki\Parser\ParserOutput::getTemplates ()
- since 1.43, use ::getLinkList(ParserOutputLinkTypes::TEMPLATE)
- 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; for now, use of runOutputPipeline() is preferred to ensure that ParserOptions are available.
- 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::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\Parsoid\Config\SiteConfig::variants ()
- since 1.43; 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\Parsoid\ParsoidServices::getParsoidDataAccess ()
- since 1.39.
- Member MediaWiki\Parser\Parsoid\ParsoidServices::getParsoidPageConfigFactory ()
- since 1.39.
- Member MediaWiki\Parser\Parsoid\ParsoidServices::getParsoidSiteConfig ()
- since 1.39.
- Member MediaWiki\Parser\Sanitizer::hackDocType ()
- since 1.36; will be made private or removed in a future release.
- Member MediaWiki\Password\PasswordFactory::init (Config $config)
- since 1.32 Initialize settings using the constructor Emitting deprecation warnings since 1.41.
- Interface MediaWiki\Permissions\Hook\UserCanHook
since 1.37 use getUserPermissionsErrors or getUserPermissionsErrorsExpensive instead.
- Member MediaWiki\Permissions\PermissionManager::getPermissionErrors ( $action, User $user, LinkTarget $page, $rigor=self::RIGOR_SECURE, $ignoreErrors=[])
- since 1.43 Use getPermissionStatus() instead.
- Member MediaWiki\Permissions\PermissionStatus::toLegacyErrorArray ()
- since 1.43
- Member MediaWiki\Preferences\DefaultPreferencesFactory::getOptionFromUser ( $name, $info, array $userOptions)
- since 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\Rest\Handler::getBodyValidator ( $contentType)
- since 1.43, return body properties from getBodyParamSettings(). Subclasses that need full control over body data parsing should override parseBodyData() or implement validation in the execute() method based on the unparsed body data returned by getRequest()->getBody().
- Member MediaWiki\Rest\Handler\Helper\HtmlInputTransformHelper::init (PageIdentity $page, $body, array $parameters, ?RevisionRecord $originalRevision=null, ?Bcp47Code $pageLanguage=null)
- since 1.43; pass arguments to constructor instead
- Member MediaWiki\Rest\Handler\Helper\HtmlMessageOutputHelper::init (PageIdentity $page)
- since 1.43, use constructor argument instead
- Member MediaWiki\Rest\Handler\Helper\HtmlOutputRendererHelper::init (PageIdentity $page, array $parameters, Authority $authority, $revision=null)
- since 1.43, use parameters in constructor instead
- Interface MediaWiki\Rest\Validator\BodyValidator
- since 1.43, because Handler::getBodyValidator() is deprecated. No longer stable to implement.
- Class MediaWiki\Rest\Validator\JsonBodyValidator
- since 1.43, return body properties from Handler::getParamSettings().
- Member MediaWiki\Rest\Validator\JsonBodyValidator::__construct (array $bodyParamSettings)
- since 1.43, Return body parameters from getBodyParamSettings() instead.
- Class MediaWiki\Rest\Validator\NullBodyValidator
- since 1.43, because Handler::getBodyValidator() is deprecated.
- Member MediaWiki\Rest\Validator\Validator::validateBody (RequestInterface $request, Handler $handler)
- since 1.43, use validateBodyParams instead.
- 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 (IReadableDatabase $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, hard-deprecated since 1.43
- Member MediaWiki\SpecialPage\FormSpecialPage::preText ()
- since 1.38, use preHtml() instead, hard-deprecated since 1.43
- Member MediaWiki\SpecialPage\QueryPage::getDBLoadBalancer ()
- since 1.43, use self::getDatabaseProvider
- Member MediaWiki\SpecialPage\QueryPage::setDBLoadBalancer (ILoadBalancer $loadBalancer)
- since 1.43, use self::setDatabaseProvider
- Member MediaWiki\Specials\SpecialBlock::canBlockEmail (UserIdentity $user)
- since 1.36, use BlockPermissionChecker service instead, hard-deprecated since 1.43
- Member MediaWiki\Specials\SpecialBlock::getSuggestedDurations (?Language $lang=null, $includeOther=true)
- since 1.42, use Language::getBlockDurations() instead, hard-deprecated since 1.43
- Member MediaWiki\Specials\SpecialBlock::parseExpiryInput ( $expiry)
- since 1.36, use BlockUser::parseExpiryInput instead, hard-deprecated since 1.43
- Member MediaWiki\Specials\SpecialBlock::processForm (array $data, IContextSource $context)
- since 1.36, use BlockUserFactory service instead, hard-deprecated since 1.43
- Member MediaWiki\Specials\SpecialEmailUser::getTarget ( $target, User $sender)
- since 1.42 Use UserFactory::newFromName() and 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::getErrorsArray ()
- since 1.43 Use ‘->getMessages( 'error’ )` instead
- 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::getWarningsArray ()
- since 1.43 Use ‘->getMessages( 'warning’ )` 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 ()
- since 1.43; 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\StubObject\StubGlobalUser::_newObject ()
- since 1.35.
- 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; hard-deprecated since 1.43
- 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. Hard-deprecated since 1.43.
- 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; hard-deprecated since 1.43
- 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; hard-deprecated since 1.43
- 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\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\Options\UserOptionsManager::getOptionKinds (UserIdentity $userIdentity, IContextSource $context, $options=null)
- since 1.43 use PreferencesFactory::getResetKinds
- Member MediaWiki\User\Options\UserOptionsManager::listOptionKinds ()
- since 1.43 use PreferencesFactory::listResetKinds()
- Member MediaWiki\User\Options\UserOptionsManager::resetOptions (UserIdentity $user, IContextSource $context, $resetKinds=[ 'registered', 'registered-multiselect', 'registered-checkmatrix', 'unused'])
- since 1.43 use resetOptionsByName() with PreferencesFactory::getOptionNamesForReset()
- Member MediaWiki\User\TempUser\Pattern::buildLike (ISQLPlatform $db)
- since 1.42. Use toLikeValue() instead
- Member MediaWiki\User\TempUser\RealTempUserConfig::getMatchPattern ()
- since 1.42.
- Member MediaWiki\User\TempUser\TempUserConfig::getMatchPattern ()
- since 1.42. Use getMatchPatterns as multiple patterns may be defined.
- Member MediaWiki\User\User::canSendEmail ()
- since 1.41, emits deprecation warnings since 1.43. Use EmailUser::canSend() instead.
- 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::getTokenFromOption ( $oname)
- since 1.26 Applications should use the OAuth extension
- Member MediaWiki\User\User::isBlockedFromEmailuser ()
- since 1.41, emits deprecation warnings since 1.43. 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, emits deprecation warnings since 1.43. 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::setActorId (int $actorId)
- since 1.36
- Member MediaWiki\User\User::whoIs ( $id)
- since 1.43, Use UserIdentityLookup to get name from id
- Member MediaWiki\User\User::whoIsReal ( $id)
- since 1.43, Use UserFactory to get user instance and use User::getRealName
- 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
- Member MediaWiki\Watchlist\WatchedItem::getLinkTarget ()
- since 1.36, use getTarget() instead
- Member MediaWiki\Xml\Xml::attrib ( $name, $present=true)
- since 1.42; only for use in methods being deprecated
- Member MediaWiki\Xml\Xml::buildForm ( $fields, $submitLabel=null, $submitAttribs=[])
- since 1.42, use OOUI or Codex widgets instead
- Member MediaWiki\Xml\Xml::buildTable ( $rows, $attribs=[], $headers=null)
- since 1.42; use OOUI or Codex widgets instead
- Member MediaWiki\Xml\Xml::buildTableRow ( $attribs, $cells)
- since 1.42; use OOUI or Codex widgets instead
- Member MediaWiki\Xml\Xml::check ( $name, $checked=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::checkLabel ( $label, $name, $id, $checked=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::dateMenu ( $year, $month)
- since 1.42
- Member MediaWiki\Xml\Xml::encodeJsCall ( $name, $args, $pretty=false)
- since 1.41, use {
- Member MediaWiki\Xml\Xml::encodeJsVar ( $value, $pretty=false)
- since 1.41, use {
- Member MediaWiki\Xml\Xml::fieldset ( $legend=false, $content=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::input ( $name, $size=false, $value=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::inputLabel ( $label, $name, $id, $size=false, $value=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::inputLabelSep ( $label, $name, $id, $size=false, $value=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::label ( $label, $id, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::languageSelector ( $selected, $customisedOnly=true, $inLanguage=null, $overrideAttrs=[], ?Message $msg=null)
- since 1.42
- Member MediaWiki\Xml\Xml::listDropdown ( $name='', $list='', $other='', $selected='', $class='', $tabindex=null)
- since 1.42; use the equivalent methods in Html without a wrapper
- Member MediaWiki\Xml\Xml::listDropdownOptions ( $list, $params=[])
- since 1.42; use the equivalent method in Html
- Member MediaWiki\Xml\Xml::listDropdownOptionsOoui ( $options)
- since 1.42; use the equivalent method in Html
- Member MediaWiki\Xml\Xml::monthSelector ( $selected='', $allmonths=null, $id='month')
- since 1.42
- Member MediaWiki\Xml\Xml::option ( $text, $value=null, $selected=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::password ( $name, $size=false, $value=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::radio ( $name, $value, $checked=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::radioLabel ( $label, $name, $value, $id, $checked=false, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::span ( $text, $class, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::submitButton ( $value, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::textarea ( $name, $content, $cols=40, $rows=5, $attribs=[])
- since 1.42, use {
- Member MediaWiki\Xml\Xml::wrapClass ( $text, $class, $tag='span', $attribs=[])
- since 1.42, use {
- Class MWException
- since 1.40, use native exceptions instead (either directly, or defining subclasses when appropriate)
- Member ObjectCache::$instances
- since 1.43; use ObjectCacheFactory instead. Map of (id => BagOStuff)
- Member ObjectCache::clear ()
- since 1.42, Use ObjectCacheFactory::clear() instead.
- Member ObjectCache::getInstance ( $id)
- since 1.43; use ObjectCacheFactory::getInstance instead.
- Member ObjectCache::getLocalClusterInstance ()
- since 1.43, Use ObjectCacheFactory::getLocalClusterInstance()
- Member ObjectCache::getLocalServerInstance ( $fallback=CACHE_NONE)
- since 1.42, Use ObjectCacheFactory::getLocalServerInstance()
- Member ObjectCache::newAnything ()
- since 1.42, Use ObjectCacheFactory::getInstance( CACHE_ANYTHING );
- Member ObjectCache::newFromParams (array $params)
- since 1.42, Use ObjectCacheFactory::newFromParams 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, hard-deprecated since 1.43
- 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::doMarkPatrolled (Authority $performer, $auto=null, $tags=null)
- since 1.43 Use markPatrolled() instead
- Member RecentChange::getTitle ()
- since 1.37, use getPage() instead.
- 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 ()
- since 1.34; use the SearchHighlighter constants directly
- Member SearchEngineConfig::getConfig ()
- since 1.43, use ServiceOptions instead with DI.
- 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 SqlBagOStuff::deleteAll ()
- since 1.41, unused.
- Member SqlBagOStuff::expireAll ()
- since 1.41, use deleteObjectsExpiringBefore() instead
- Member SqlSearchResultSet::termMatches ()
- since 1.34
- Member StatusValue::getErrors ()
- since 1.43 Use
->getMessages()
instead
- Member StatusValue::getErrorsByType ( $type)
- since 1.43 Use
->getMessages( $type )
instead
- Class StringPrefixSearch
Since 1.27, Use SearchEngine::prefixSearchSubpages or SearchEngine::completionSearch
- Member TextSlotDiffRenderer::setLanguage (Language $language)
- since 1.41
- Class TitlePrefixSearch
Since 1.27, Use SearchEngine::defaultPrefixSearch or SearchEngine::completionSearch
- 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.
- 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 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(); hard-deprecated since 1.43
- Member wfExpandUrl ( $url, $defaultProto=PROTO_CURRENT)
- since 1.39, use UrlUtils::expand()
- Member wfGetDB ( $db, $groups=[], $wiki=false)
- since 1.39, emitting warnings since 1.42; instead, you can use: $services = MediaWikiServices::getInstance(); $dbr = $services->getConnectionProvider()->getReplicaDatabase(); $dbw = $services->getConnectionProvider()->getPrimaryDatabase();
- Member wfGetServerUrl ( $proto)
- since 1.39, use UrlUtils::getServer(); hard-deprecated since 1.43
- Member wfGetUrlUtils ()
- since 1.43; get a UrlUtils from services, or construct your own
- Member wfMatchesDomainList ( $url, $domains)
- since 1.39, use UrlUtils::expandIRI()
- Member wfMergeErrorArrays (... $args)
- since 1.43 Use StatusValue::merge() instead
- Member wfParseUrl ( $url)
- since 1.39, use UrlUtils::parse()
- 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 wfUrlProtocols ( $includeProtocolRelative=true)
- since 1.39, use UrlUtils::validProtocols(); hard-deprecated since 1.43
- Member wfUrlProtocolsWithoutProtRel ()
- since 1.39, use UrlUtils::validAbsoluteProtocols()
- Member Wikimedia\FileBackend\FileBackend::getWikiId ()
- Since 1.34 Use getDomainId()
- Member Wikimedia\FileBackend\FSFile\TempFSFile::factory ( $prefix, $extension='', $tmpDirectory=null)
- since 1.34, use TempFSFileFactory directly
- Member Wikimedia\LightweightObjectStore\StorageAwareness::ATTR_EMULATION
- Since 1.41; Emulation/fallback mode; see QOS_EMULATION_*; higher is better
- Member Wikimedia\ObjectCache\BagOStuff::clearLastError ()
- Since 1.38, hard deprecated in 1.43
- Member Wikimedia\ObjectCache\BagOStuff::getSegmentationSize ()
- since 1.43, not used anywhere.
- Member Wikimedia\ObjectCache\BagOStuff::getSegmentedValueMaxSize ()
- since 1.43, not used anywhere.
- Member Wikimedia\ObjectCache\BagOStuff::WRITE_PRUNE_SEGMENTS
- since 1.43 Use WRITE_ALLOW_SEGMENTS instead.
- Member Wikimedia\ObjectCache\MediumSpecificBagOStuff::getSegmentationSize ()
- since 1.43, not used anywhere.
- Member Wikimedia\ObjectCache\MediumSpecificBagOStuff::getSegmentedValueMaxSize ()
- since 1.43, not used anywhere.
- Member Wikimedia\ObjectCache\WANObjectCache::clearLastError ()
- Since 1.38, hard deprecated in 1.43
- Member Wikimedia\Rdbms\Database\IDatabaseFlags::DBO_SSL
- since 1.39 use 'ssl' parameter
- Member Wikimedia\Rdbms\DBAccessObjectUtils::getDBFromIndex (IConnectionProvider $dbProvider, int $index)
- since 1.42
- Member Wikimedia\Rdbms\DBAccessObjectUtils::getDBOptions ( $bitfield)
- since 1.43
- Member Wikimedia\Rdbms\IDatabase::lockForUpdate ( $table, $conds='', $fname=__METHOD__, $options=[], $join_conds=[])
- since 1.43; Use SelectQueryBuilder::acquireRowLocks
- Member Wikimedia\Rdbms\ILBFactory::flushReplicaSnapshots ( $fname=__METHOD__)
- Since 1.43
- Member Wikimedia\Rdbms\ILoadBalancer::getConnectionRef ( $i, $groups=[], $domain=false, $flags=0)
- since 1.39, use ILoadBalancer::getConnection() instead.
- Member Wikimedia\Rdbms\LoadBalancer::getConnectionRef ( $i, $groups=[], $domain=false, $flags=0)
- since 1.39.
- 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\ISQLPlatform::tableNamesN (... $tables)
- Since 1.43; if you must format table names, write several calls to
tableName
.
- Member Wikimedia\Rdbms\Platform\SQLPlatform::getQueryVerb ( $sql)
- Since 1.42
- Member Wikimedia\Rdbms\Platform\SQLPlatform::tableNames (... $tables)
- since 1.39.
- Class Wikimedia\Stats\SamplingStatsdClient
- since 1.43 No longer used after $wgSamplingStatsdClient was removed.
- 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::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)
- since 1.43; Use only as a stop-gap before refactoring to support MCR.
- Member WikiPage::insertRedirectEntry (LinkTarget $rt, $oldLatest=null)
- since 1.43; use
RedirectStore::updateRedirectTarget()
instead.
- 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 ()
- since 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 {