MediaWiki  REL1_31
Deprecated List
Member Parser::disableCache ()
since 1.28; use getOutput()->updateCacheExpiry()
Member ParserOutput::setTOCEnabled ( $flag)
since 1.31 Use getText() options.
Member ParserOutput::setEditSectionTokens ( $t)
since 1.31 Use getText() options.
Member ParserOutput::getTOCEnabled ()
since 1.31 Use getText() options.
Member ParserOutput::getEditSectionTokens ()
since 1.31 Use getText() options.
Member ParserOptions::legacyOptions ()
since 1.30. You probably want self::allCacheVaryingOptions() instead.
Member ParserOptions::setEditSection ( $x)
since 1.31, use ParserOutput::getText() options instead.
Member ParserOptions::getEditSection ()
since 1.31, use ParserOutput::getText() options instead.
Member ParserOptions::setOptionLegacy ( $name, $value)
since 1.30
Member ParserCache::singleton ()
since 1.30, use MediaWikiServices instead
Member Parser::isValidHalfParsedText ( $data)
since 1.31
Member Parser::unserializeHalfParsedText ( $data)
since 1.31
Member Parser::serializeHalfParsedText ( $text)
since 1.31
Member Sanitizer::escapeId ( $id, $options=[])
since 1.30, use one of this class' escapeIdFor*() functions
Member Parser::$mUniqPrefix
since 1.26; use Parser::MARKER_PREFIX instead.
Member TablePager::getBody ()
since 1.24, use getBodyOutput() or getFullOutput() instead
Member WikiPage::replaceSectionContent ( $sectionId, Content $sectionContent, $sectionTitle='', $edittime=null)
since 1.24, use replaceSectionAtRev instead
Member WikiPage::updateIfNewerOn ( $dbw, $revision)
since 1.24, use updateRevisionOn instead
Member WikiPage::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Member PageArchive::getTextFromRow ( $row)
since 1.31
Member Article::doEditContent (Content $content, $summary, $flags=0, $baseRevId=false, User $user=null, $serialFormat=null)
since 1.29. Use WikiPage::doEditContent() directly instead
Member Article::viewRedirect ( $target, $appendSubtitle=true, $forceKnown=false)
since 1.30
Member OutputPage::sectionEditLinksEnabled ()
since 1.31, use $poOptions to addParserOutput() instead.
Member OutputPage::enableSectionEditLinks ( $flag=true)
since 1.31, use $poOptions to addParserOutput() instead.
Member ObjectCache::getMainStashInstance ()
Since 1.28 Use MediaWikiServices::getMainObjectStash
Member ObjectCache::getMainWANInstance ()
Since 1.28 Use MediaWikiServices::getMainWANObjectCache()
Member ResourceLoaderClientHtml::setModuleStyles (array $modules)
since 1.28
Member Revision::selectFields ()
since 1.31, use RevisionStore::getQueryInfo() instead.
Member Revision::pageJoinCond ()
since 1.31, use RevisionStore::getQueryInfo( [ 'page' ] ) instead.
Member Revision::userJoinCond ()
since 1.31, use RevisionStore::getQueryInfo( [ 'user' ] ) instead.
Member Revision::fetchRevision (LinkTarget $title)
Since 1.28, no callers in core nor in known extensions. No-op since 1.31.
Member Revision::loadFromTimestamp ( $db, $title, $timestamp)
since 1.31, use RevisionStore::getRevisionByTimestamp() or RevisionStore::loadRevisionFromTimestamp() instead.
Member Revision::loadFromTitle ( $db, $title, $id=0)
since 1.31, use RevisionStore::getRevisionByTitle() instead.
Member Revision::loadFromPageId ( $db, $pageid, $id=0)
since 1.31, use RevisionStore::getRevisionByPageId() instead.
Member Revision::loadFromId ( $db, $id)
since 1.31, use RevisionStore::getRevisionById() instead.
Class Revision
since 1.31, use RevisionRecord, RevisionStore, and BlobStore instead.
Member ResourceLoaderModule::getModifiedHash (ResourceLoaderContext $context)
since 1.26 Use getDefinitionSummary() instead
Member ResourceLoaderModule::getModifiedTime (ResourceLoaderContext $context)
since 1.26 Use getDefinitionSummary() instead
Member ResourceLoaderClientHtml::setModuleScripts (array $modules)
since 1.28
Member MWTimestamp::getHumanTimestamp (MWTimestamp $relativeTo=null, User $user=null, Language $lang=null)
since 1.26 Use Language::getHumanTimestamp directly
Class RCFeedEngine
since 1.29 Use FormattedRCFeed instead
Member PrefixSearch::titleSearch ( $search, $limit, $namespaces=[], $offset=0)
Since 1.23, use TitlePrefixSearch or StringPrefixSearch classes
Class StringPrefixSearch
Since 1.27, Use SearchEngine::prefixSearchSubpages or SearchEngine::completionSearch
Class TitlePrefixSearch
Since 1.27, Use SearchEngine::defaultPrefixSearch or SearchEngine::completionSearch
Class PrefixSearch
Since 1.27, Use SearchEngine::defaultPrefixSearch or SearchEngine::completionSearch
Member Preferences::tryFormSubmit ( $formData, $form)
since 1.31, use PreferencesFactory
Class Preferences
since 1.31 use the PreferencesFactory service instead.
Member MediaWiki\Preferences\DefaultPreferencesFactory::legacySubmitForm (array $formData, PreferencesForm $form)
since 1.31, its inception
Member MediaWiki\Preferences\DefaultPreferencesFactory::legacySaveFormData ( $formData, PreferencesForm $form)
since 1.31, its inception
Member StripState::merge ( $otherState, $texts)
since 1.31
Member StripState::getSubState ( $text)
since 1.31
Member ImportableUploadRevisionImporter::downloadSource (ImportableUploadRevision $wikiRevision)
DO NOT CALL ME.
Class JobQueueSecondTestQueue
since 1.30
Member Job::insert ()
since 1.21
Member Job::batchInsert ( $jobs)
since 1.21
Member Interwiki::getAllPrefixes ( $local=null)
since 1.28, unused. Use InterwikiLookup instead.
Member Interwiki::fetch ( $prefix)
since 1.28, use InterwikiLookup instead
Member Interwiki::isValidInterwiki ( $prefix)
since 1.28, use InterwikiLookup instead
Member WikiRevision::downloadSource ()
in 1.31. Use UploadImporter::downloadSource
Member WikiRevision::importUpload ()
in 1.31. Use UploadImporter::import
Member WikiRevision::importOldRevision ()
in 1.31. Use OldRevisionImporter::import
Member WikiRevision::$fileIsTemp
1.29 use Wikirevision::isTempSrc() First written to in 43d5d3b682cc1733ad01a837d11af4a402d57e6a Actually introduced in 52cd34acf590e5be946b7885ffdc13a157c1c6cf
Member WikiRevision::$user
in 1.29. Unused.
Member WikiRevision::$importer
in 1.29. Unused.
Class DeferredStringifier
since 1.31, use Message::listParam() instead
Member HTMLForm::getErrors ( $errors)
since 1.28, use getErrorsOrWarnings() instead
Member wfRunHooks ( $event, array $args=[], $deprecatedVersion=null)
since 1.25 - use Hooks::run
Member wfGetParserCacheStorage ()
since 1.30, use MediaWikiServices::getParserCache()->getCacheStorage()
Member wfBCP47 ( $code)
since 1.31, use LanguageCode::bcp47() directly.
Member wfCountDown ( $seconds)
since 1.31, use Maintenance::countDown()
Member wfWaitForSlaves ( $ifWritesSince=null, $wiki=false, $cluster=false, $timeout=null)
since 1.27 Use LBFactory::waitForReplication
Member wfGetLBFactory ()
since 1.27, use MediaWikiServices::getDBLoadBalancerFactory() instead.
Member wfGetLB ( $wiki=false)
since 1.27, use MediaWikiServices::getDBLoadBalancer() or MediaWikiServices::getDBLoadBalancerFactory() instead.
Member wfGlobalCacheKey ()
since 1.30 Call makeGlobalKey on a BagOStuff instance
Member wfMemcKey ()
since 1.30 Call makeKey on a BagOStuff instance
Member wfSetupSession ( $sessionId=false)
since 1.27, use MediaWiki\Session\SessionManager instead. Generally, "using" SessionManager will be calling ->getSessionById() or ::getGlobalSession() (depending on whether you were passing $sessionId here), then calling $session->persist().
Member Linker::getLinkColour (LinkTarget $t, $threshold)
since 1.28, use LinkRenderer::getLinkClasses() instead
Member MWNamespace::canTalk ( $index)
since 1.30, use hasTalkNamespace() instead.
Member MimeMagic::singleton ()
since 1.28 get a MimeAnalyzer instance from MediaWikiServices
Class MimeMagic
since 1.29 MimeAnalyzer should be used instead of MimeMagic
Member Message::getFormat ()
since 1.29 formatting is not stateful
Member Message::$format
Member MediaTransformOutput::streamFile ( $headers=[])
since 1.26, use streamFileWithStatus
Member MediaHandler::getStreamHeaders ( $metadata)
since 1.30, use MediaHandler::getContentHeaders instead
Member EmailNotification::updateWatchlistTimestamp (User $editor, LinkTarget $linkTarget, $timestamp)
since 1.27 use WatchedItemStore::updateNotificationTimestamp directly
Member Linker::formatSize ( $size)
since 1.28, use Language::formatSize() directly
Member Linker::formatTemplates ( $templates, $preview=false, $section=false, $more=null)
since 1.28, use TemplatesOnThisPageFormatter directly
Member Linker::linkKnown ( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
since 1.28, use MediaWiki\Linker\LinkRenderer instead
Member Linker::link ( $target, $html=null, $customAttribs=[], $query=[], $options=[])
since 1.28, use MediaWiki\Linker\LinkRenderer instead
Member Revision::selectArchiveFields ()
since 1.31, use RevisionStore::getArchiveQueryInfo() instead.
Member BufferingStatsdDataFactory::getBuffer ()
Use getData()
Member Wikimedia\Rdbms\LoadBalancer::laggedSlaveUsed ()
Since 1.28; use laggedReplicaUsed()
Member Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode ( $domain=false)
1.28; use getLaggedReplicaMode()
Class Wikimedia\Rdbms\SavepointPostgres
since 1.31, use IDatabase::startAtomic() and such instead.
Class Wikimedia\Rdbms\NextSequenceValue
since 1.30, only exists for backwards compatibility
Member Wikimedia\Rdbms\IDatabase::nextSequenceValue ( $seqName)
since 1.30, no longer needed
Member Wikimedia\Rdbms\IDatabase::getWikiID ()
1.30
Member Wikimedia\Rdbms\IDatabase::doneWrites ()
Since 1.31; use lastDoneWrites()
Member Wikimedia\Rdbms\IDatabase::implicitGroupby ()
Since 1.30; only use grouped or aggregated fields in the SELECT
Member Wikimedia\Rdbms\Database::getProperty ( $name)
Since 1.28
Member IP::isValidBlock ( $ipRange)
since 1.30. Use the equivalent IP::isValidRange().
Member Title::moveTo (&$nt, $auth=true, $reason='', $createRedirect=true, array $changeTags=[])
since 1.25, use the MovePage class instead
Member User::setInternalPassword ( $str)
since 1.27, use AuthManager instead
Member User::setPassword ( $str)
since 1.27, use AuthManager instead
Member User::randomPassword ()
since 1.27, use PasswordFactory::generateRandomPasswordString()
Member User::EDIT_TOKEN_SUFFIX
since 1.27, use \MediaWiki\Session\Token::SUFFIX
Member EDIT_TOKEN_SUFFIX
since 1.27, use \MediaWiki\Session\Token::SUFFIX
Member UploadFromChunks::stashSession ()
since 1.28
Member UploadFromChunks::stashFileGetKey ()
since 1.28
Member UploadFromChunks::stashFile (User $user=null)
since 1.28 Use tryStashFile() instead
Member UploadBase::stashSession ()
since 1.28
Member UploadBase::stashFileGetKey ()
since 1.28
Member UploadBase::stashFile (User $user=null)
since 1.28 Use tryStashFile() instead
Member Title::isValidMoveTarget ( $nt)
since 1.25, use MovePage's methods instead
Member User::setNewpassword ( $str, $throttle=true)
Removed in 1.27. Use PasswordReset instead.
Member Title::isValidMoveOperation (&$nt, $auth=true, $reason='')
since 1.25, use MovePage's methods instead
Member Title::getSquidURLs ()
since 1.27 use getCdnUrls()
Member Title::isJsSubpage ()
Since 1.31; use ::isUserJsConfigPage()
Member Title::isCssSubpage ()
Since 1.31; use ::isUserCssConfigPage()
Member Title::getSkinFromCssJsSubpage ()
Since 1.31; use ::getSkinFromConfigSubpage() instead
Member Title::isCssJsSubpage ()
Since 1.31; use ::isUserConfigPage() instead (which also checks for JSON pages)
Member Title::isCssOrJsPage ()
Since 1.31; use ::isSiteConfigPage() instead (which also checks for JSON pages)
Member Title::canTalk ()
since 1.30, use canHaveTalkPage() instead.
Member Title::escapeFragmentForURL ( $fragment)
since 1.30, use Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki()
Member TitleValue::$interwiki
in 1.31.
Member TitleValue::$fragment
in 1.31.
Member TitleValue::$dbkey
in 1.31.
Member $wgRequestTime
since 1.25; use $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
Member PreferencesTest::testEmailAuthenticationFieldWhenUserEmailIsAuthenticated ()
replaced by DefaultPreferencesFactoryTest::testEmailAuthentication()
Member PreferencesTest::testEmailAuthenticationFieldWhenUserEmailNotAuthenticated ()
replaced by DefaultPreferencesFactoryTest::testEmailAuthentication()
Member PreferencesTest::testEmailAuthenticationFieldWhenUserHasNoEmail ()
replaced by DefaultPreferencesFactoryTest::testEmailAuthentication()
Member ApiTestCase::doLogin ( $testUser=null)
since 1.31
Class ResetUserTokens
since 1.27, use $wgAuthenticationTokenVersion instead.
Member DO_MAINTENANCE
since 1.31
Member Language::truncate ( $string, $length, $ellipsis='...', $adjustLength=true)
since 1.31, use truncateForDatabase or truncateForVisual as appropriate.
Member Language::recodeInput ( $s)
No-op since 1.28
Member Language::recodeForEdit ( $s)
No-op since 1.28
Member Language::initEncoding ()
No-op since 1.28
Class MediaWiki\Widget\Search\SimpleSearchResultWidget
since 1.31. Use other result widgets.
Class MediaWiki\Widget\Search\SimpleSearchResultSetWidget
since 1.31. Use InterwikiSearchResultSetWidget
Member TitleValue::$namespace
in 1.31.
Member User::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Member User::addNewUserLogEntryAutoCreate ()
since 1.27, AuthManager handles logging
Member User::addNewUserLogEntry ( $action=false, $reason='')
since 1.27, AuthManager handles logging
Member User::makeGroupLinkWiki ( $group, $text='')
since 1.29 Use UserGroupMembership::getLink instead, or make the link yourself if you need custom text
Member User::makeGroupLinkHTML ( $group, $text='')
since 1.29 Use UserGroupMembership::getLink instead, or make the link yourself if you need custom text
Member User::getGroupPage ( $group)
since 1.29 Use UserGroupMembership::getGroupPage instead
Member User::getGroupMember ( $group, $username='#')
since 1.29 Use UserGroupMembership::getGroupMemberName instead
Member User::getGroupName ( $group)
since 1.29 Use UserGroupMembership::getGroupName instead
Member User::checkTemporaryPassword ( $plaintext)
since 1.27, use AuthManager instead
Member User::checkPassword ( $password)
since 1.27, use AuthManager instead
Member User::getTokenFromOption ( $oname)
since 1.26 Applications should use the OAuth extension
Member Revision::getRawComment ()
since 1.25, use getComment( Revision::RAW )
Member $parserMemc
since 1.30
Member MediaWiki\Session\SessionManager::autoCreateUser (User $user)
since 1.27, use MediaWiki\Auth\AuthManager::autoCreateUser instead
Member SearchEngine::getSearchTypes ()
since 1.27; use SearchEngineConfig::getSearchTypes()
Member SearchEngine::create ( $type=null)
since 1.27; Use SearchEngineFactory::create
Member SearchEngine::namespacesAsText ( $namespaces)
since 1.27; use SearchEngineConfig::namespacesAsText()
Member SearchEngine::defaultNamespaces ()
since 1.27; use SearchEngineConfig::defaultNamespaces()
Member SearchEngine::userNamespaces ( $user)
since 1.27; use SearchEngineConfig::userNamespaces()
Member SearchEngine::searchableNamespaces ()
since 1.27; use SearchEngineConfig::searchableNamespaces()
Member SearchEngine::getNearMatchResultSet ( $searchterm)
since 1.27; Use SearchEngine::getNearMatcher()
Member SearchEngine::getNearMatch ( $searchterm)
since 1.27; Use SearchEngine::getNearMatcher()
Member Revision::userWasLastToEdit ( $db, $pageId, $userId, $since)
since 1.24
Member Revision::getSerializedData ()
since 1.31, use BlobStore::getBlob instead.
Member SiteSQLStore::newInstance ( $sitesTable=null, BagOStuff $cache=null)
since 1.27 use MediaWikiServices::getSiteStore() or MediaWikiServices::getSiteLookup() instead.
Member Revision::getRawUserText ()
since 1.25, use getUserText( Revision::RAW )
Member Revision::getRawUser ()
since 1.25, use getUser( Revision::RAW )
Member Revision::setTitle ( $title)
: since 1.31, this is now a noop. Pass the Title to the constructor instead.
Member Revision::getTextId ()
since 1.31, use RevisionRecord()->getSlot()->getContentAddress() to get that actual address that can be used with BlobStore::getBlob(); or use RevisionRecord::hasSameContent() to check if two revisions have the same content.
Member Revision::setUserIdAndName ( $id, $name)
since 1.31, please reuse old Revision object
Member Revision::getParentLengths ( $db, array $revIds)
in 1.31, use RevisionStore::getRevisionSizes instead.
Member Revision::getArchiveQueryInfo ()
since 1.31, use RevisionStore::getArchiveQueryInfo() instead.
Member Revision::getQueryInfo ( $options=[])
since 1.31, use RevisionStore::getQueryInfo() instead.
Member Revision::selectUserFields ()
since 1.31, use RevisionStore::getQueryInfo( [ 'user' ] ) instead.
Member Revision::selectPageFields ()
since 1.31, use RevisionStore::getQueryInfo( [ 'page' ] ) instead.
Member Revision::selectTextFields ()
since 1.31, use RevisionStore::getQueryInfo( [ 'text' ] ) instead.
Member LoginForm::setCreateaccountToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member MediaWiki\Storage\SqlBlobStore::getTextIdFromAddress ( $address)
since 1.31, so not 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\Storage\RevisionStore::userWasLastToEdit (IDatabase $db, $pageId, $userId, $since)
since 1.31; Can possibly be removed, since the self-conflict suppression logic in EditPage that uses this seems conceptually dubious. Revision::userWasLastToEdit has been deprecated since 1.24.
Member MediaWiki\Storage\RevisionStore::listRevisionSizes (IDatabase $db, array $revIds)
use RevisionStore::getRevisionSizes instead.
Member MediaWiki\Storage\RevisionFactory::newMutableRevisionFromArray (array $fields, $queryFlags=0, Title $title=null)
since 1.31. Use a MutableRevisionRecord instead.
Member Status::getWarningsArray ()
since 1.25
Member Status::getErrorsArray ()
since 1.25
Class SpecialResetTokens
since 1.26
Member SpecialRecentChanges::filterByCategories (&$rows, FormOptions $opts)
since 1.31
Member Licenses::getLicenses ()
since 1.31 Use getLines() instead
Member SpecialPage::getTitle ( $subpage=false)
since 1.23, use SpecialPage::getPageTitle
Member QueryPage::tryLastResult ()
since 1.27
Member LoginForm::clearCreateaccountToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member wfResetSessionID ()
since 1.27, use MediaWiki\Session\SessionManager instead
Member LoginForm::getCreateaccountToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::clearLoginToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::setLoginToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::getLoginToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::clearLoginThrottle ( $username)
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::incLoginThrottle ( $username)
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::incrementLoginThrottle ( $username)
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::getValidErrorMessages ()
since 1.27 - call LoginHelper::getValidErrorMessages instead.
Member SkinFactory::getDefaultInstance ()
in 1.27
Member QuickTemplate::setRef ( $name, &$value)
since 1.31 This function is a now-redundant optimisation intended for very old versions of PHP.
Member SiteConfiguration::$localVHosts
since 1.25; use $wgLocalVirtualHosts instead.
Member LinkCache::addLink ( $title)
since 1.27, unused
Member UNICODE_HANGUL_LBASE
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_LAST
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_FIRST
since 1.25, use UtfNormal\Constants instead
Class UtfNormal
since 1.25, use UtfNormal\Validator directly
Member CommentStore::getStore ()
in 1.31 Use DI to inject a CommentStore instance into your class.
Member CommentStore::newKey ( $key)
in 1.31 Should not be constructed with a $key, use CommentStore::getStore
Member CommentStore::$key
in 1.31
Member RecentChange::getEngine ( $uri, $params=[])
since 1.29 Use RCFeed::factory() instead
Member RecentChange::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Member ChangesList::insertArticleLink (&$s, RecentChange $rc, $unpatrolled, $watched)
since 1.27, use getArticleLink instead.
Class CategoryFinder
since 1.31
Member MessageBlobStore::get (ResourceLoader $resourceLoader, $modules, $lang)
since 1.27 Use getBlobs() instead
Member UNICODE_HANGUL_VBASE
since 1.25, use UtfNormal\Constants instead
Member LinkCache::singleton ()
since 1.28, use MediaWikiServices instead
Member GenderCache::singleton ()
in 1.28 see MediaWikiServices::getInstance()->getGenderCache()
Member Block::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Member AuthPluginUser::resetAuthToken ()
since 1.28, use SessionManager::invalidateSessionForUser() instead.
Member AuthPluginUser::isHidden ()
since 1.26, use the UserIsHidden hook instead.
Member AuthPluginUser::isLocked ()
since 1.26, use the UserIsLocked hook instead.
Member AuthPlugin::initUser (&$user, $autocreate=false)
since 1.26, use the UserLoggedIn hook instead. And assigning a different User object to $user is no longer supported.
Member AuthPlugin::updateExternalDBGroups ( $user, $addgroups, $delgroups=[])
since 1.26, use the UserGroupsChanged hook instead.
Member AuthPlugin::updateExternalDB ( $user)
since 1.26, use the UserSaveSettings hook instead.
Member AuthPlugin::updateUser (&$user)
since 1.26, use the UserLoggedIn hook instead. And assigning a different User object to $user is no longer supported.
Class AuthPluginUser
since 1.27
Class AuthPlugin
since 1.27
Member UNICODE_REPLACEMENT
since 1.25, use UtfNormal\Constants instead
Member UTF8_REPLACEMENT
since 1.25, use UtfNormal\Constants instead
Member UTF8_MAX
since 1.25, use UtfNormal\Constants instead
Member UTF8_SURROGATE_LAST
since 1.25, use UtfNormal\Constants instead
Member UTF8_SURROGATE_FIRST
since 1.25, use UtfNormal\Constants instead
Member UTF8_HANGUL_TEND
since 1.25, use UtfNormal\Constants instead
Member UTF8_HANGUL_VEND
since 1.25, use UtfNormal\Constants instead
Member UTF8_HANGUL_LEND
since 1.25, use UtfNormal\Constants instead
Member UTF8_HANGUL_TBASE
since 1.25, use UtfNormal\Constants instead
Member UTF8_HANGUL_VBASE
since 1.25, use UtfNormal\Constants instead
Member UTF8_HANGUL_LBASE
since 1.25, use UtfNormal\Constants instead
Member UTF8_HANGUL_LAST
since 1.25, use UtfNormal\Constants instead
Member UTF8_HANGUL_FIRST
since 1.25, use UtfNormal\Constants instead
Class MediaWiki\Auth\LegacyHookPreAuthenticationProvider
since 1.27
Member UNICODE_MAX
since 1.25, use UtfNormal\Constants instead
Member UNICODE_SURROGATE_LAST
since 1.25, use UtfNormal\Constants instead
Member UNICODE_SURROGATE_FIRST
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_TEND
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_VEND
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_LEND
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_NCOUNT
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_TCOUNT
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_VCOUNT
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_LCOUNT
since 1.25, use UtfNormal\Constants instead
Member UNICODE_HANGUL_TBASE
since 1.25, use UtfNormal\Constants instead
Member ApiBase::parseMsgInternal ( $error)
do not use
Member ApiQueryInfo::getEditToken ( $pageid, $title)
since 1.24
Member ApiQueryInfo::resetTokenCache ()
since 1.24
Member ApiQueryInfo::getTokenFunctions ()
since 1.24
Member ApiQueryImageInfo::getPropertyDescriptions ( $filter=[], $modulePrefix='')
since 1.25
Member ApiQueryImageInfo::getProperties ( $modulePrefix='')
since 1.25
Class ApiQueryDeletedrevs
since 1.25
Member ApiPageSet::getInvalidTitles ()
since 1.26, use self::getInvalidTitlesAndReasons()
Class ApiErrorFormatter_BackCompat
Only for backwards compatibility, do not use
Member ApiBase::getDescriptionMessage ()
since 1.30
Member ApiBase::dieUsageMsgOrDebug ( $error)
since 1.29, use ApiBase::dieWithErrorOrDebug() instead
Member ApiBase::dieUsageMsg ( $error)
since 1.29, use ApiBase::dieWithError() instead
Member ApiBase::parseMsg ( $error)
since 1.29
Member ApiQueryInfo::getDeleteToken ( $pageid, $title)
since 1.24
Member ApiBase::$messageMap
since 1.29.
Member ApiBase::getErrorFromStatus ( $status, &$extraData=null)
since 1.29, use ApiErrorFormatter::arrayFromStatus instead
Member ApiBase::dieUsage ( $description, $errorCode, $httpRespCode=0, $extradata=null)
since 1.29, use self::dieWithError() instead
Member ApiBase::setWarning ( $warning)
since 1.29, use ApiBase::addWarning() instead
Member ApiBase::profileDBOut ()
since 1.25
Member ApiBase::profileDBIn ()
since 1.25
Member ApiBase::safeProfileOut ()
since 1.25
Member ApiBase::profileOut ()
since 1.25
Member ApiBase::profileIn ()
since 1.25
Member ApiBase::getExamples ()
since 1.25, use getExamplesMessages() instead
Member ApiBase::getParamDescription ()
since 1.25
Member ApiQueryRevisions::getTokenFunctions ()
since 1.24
Class MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider
since 1.27
Class MediaWiki\Auth\AuthManagerAuthPluginUser
since 1.27
Class MediaWiki\Auth\AuthManagerAuthPlugin
since 1.27
Member MediaWiki\Auth\AuthManager::callLegacyAuthPlugin ( $method, array $params, $return=null)
For backwards compatibility only, should be avoided in new code
Member MediaWiki\Auth\AuthManager::forcePrimaryAuthenticationProviders (array $providers, $why)
For backwards compatibility only
Member ApiUsageException::getMessageArray ()
Do not use.
Member ApiUsageException::getCodeString ()
Do not use.
Class UsageException
since 1.29, use ApiUsageException instead
Class ApiTokens
since 1.24
Member ApiQueryUsers::getUserrightsToken ( $user)
since 1.24
Member ApiQueryUsers::getTokenFunctions ()
since 1.24
Member ApiQueryRevisions::getRollbackToken ( $pageid, $title, $rev)
since 1.24
Member UTF8_OVERLONG_A
since 1.25, use UtfNormal\Constants instead
Member ApiQueryRecentChanges::getPatrolToken ( $pageid, $title, $rc=null)
since 1.24
Member ApiQueryRecentChanges::getTokenFunctions ()
since 1.24
Member ApiQueryLogEvents::addLogParams ( $result, &$vals, $params, $type, $action, $ts, $legacy=false)
since 1.25 Use LogFormatter::formatParametersForApi instead
Member ApiQueryInfo::getOptionsToken ( $pageid, $title)
since 1.24
Member ApiQueryInfo::getWatchToken ( $pageid, $title)
since 1.24
Member ApiQueryInfo::getImportToken ( $pageid, $title)
since 1.24
Member ApiQueryInfo::getEmailToken ( $pageid, $title)
since 1.24
Member ApiQueryInfo::getUnblockToken ( $pageid, $title)
since 1.24
Member ApiQueryInfo::getBlockToken ( $pageid, $title)
since 1.24
Member ApiQueryInfo::getMoveToken ( $pageid, $title)
since 1.24
Member ApiQueryInfo::getProtectToken ( $pageid, $title)
since 1.24
Member DataUpdate::runUpdates (array $updates)
Since 1.28 Use DeferredUpdates::execute()
Member EditPage::$mTitle
for public usage since 1.30 use EditPage::getTitle()
Member EditPage::$mArticle
for public usage since 1.30 use EditPage::getArticle()
Member DummyLinker::formatSize ( $size)
since 1.28, use Language::formatSize() directly
Member DummyLinker::formatTemplates ( $templates, $preview=false, $section=false, $more=null)
since 1.28, use TemplatesOnThisPageFormatter directly
Member DummyLinker::getLinkColour ( $t, $threshold)
since 1.28, use LinkRenderer::getLinkClasses() instead
Member DifferenceEngine::getDiffBodyCacheKey ()
since 1.31, use getDiffBodyCacheKeyParams() instead
Class HWLDFWordAccumulator
Alias for WordAccumulator, to be soon removed
Member NS_IMAGE_TALK
since 1.14
Member NS_IMAGE
since 1.14
Member DB_SLAVE
since 1.28
Class SqlDataUpdate
Since 1.28 Use DataUpdate directly, injecting the database
Member DeferredUpdates::setImmediateMode ( $value)
1.29 Causes issues in Web-executed jobs - see T165714 and T100085.
Member EditPage::isOouiEnabled ()
since 1.30
Member CdnCacheUpdate::newSimplePurge (Title $title)
since 1.27
Class SquidUpdate
since 1.27
Member $wgAjaxExportList
(officially) since 1.27; use the API instead
Member $wgUseAjax
(officially) since MediaWiki 1.31
Member $wgEnableWriteAPI
since 1.31
Member $wgEnableAPI
since 1.31
Member $wgAuth
since 1.27 use $wgAuthManagerConfig instead
Member $wgOpenSearchTemplate
since 1.25 Use $wgOpenSearchTemplates['application/x-suggestions+json'] instead
Member $wgParserTestFiles
since 1.30
Member $wgProfileOnly
since 1.23, set the log file in $wgDebugLogGroups['profileoutput'] instead.
Member $wgProfileLimit
since 1.25: set $wgProfiler['threshold'] instead.
Member LocalRepo::getSlaveDB ()
Since 1.29
Member wfUseMW ( $req_ver)
since 1.26, use the "requires" property of extension.json
Member wfUsePHP ( $req_ver)
since 1.30
Member wfDiff ( $before, $after, $params='-u')
since 1.25, use DiffEngine/UnifiedDiffFormatter directly
Member wfShellWikiCmd ( $script, array $parameters=[], array $options=[])
since 1.31, use Shell::makeScriptCommand()
Member wfInitShellLocale ()
since 1.30, no longer needed
Member wfShellExecWithStderr ( $cmd, &$retval=null, $environ=[], $limits=[])
since 1.30 use class MediaWiki\Shell\Shell
Member wfShellExec ( $cmd, &$retval=null, $environ=[], $limits=[], $options=[])
since 1.30 use class MediaWiki\Shell\Shell
Member wfShellExecDisabled ()
since 1.30 use MediaWiki\Shell::isDisabled()
Member wfEscapeShellArg ()
since 1.30 use MediaWiki\Shell::escape()
Member wfRestoreWarnings ()
since 1.26, use Wikimedia\restoreWarnings() directly Restore error level to previous value
Member wfSuppressWarnings ( $end=false)
since 1.26, use Wikimedia\suppressWarnings() directly
Member wfErrorLog ( $text, $file, array $context=[])
since 1.25 Use \MediaWiki\Logger\LegacyLogger::emit or UDPTransport
Member $wgMaximalPasswordLength
since 1.26, use $wgPasswordPolicy's MaximalPasswordLength.
Class FileRepoStatus
since 1.25
Member FileRepo::streamFile ( $virtualUrl, $headers=[])
since 1.26, use streamFileWithStatus
Member OldLocalFile::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Member LocalFile::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Member File::getStreamHeaders ()
since 1.30, use File::getContentHeaders instead
Member ArchivedFile::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Member MWExceptionHandler::getLogId ( $e)
since 1.27: Exception IDs are synonymous with request IDs.
Member EventRelayerGroup::singleton ()
since 1.27 Use MediaWikiServices::getInstance()->getEventRelayerGroup()
Member EditPage::safeUnicodeOutput ( $text)
since 1.30, does nothing
Member EditPage::safeUnicodeInput ( $request, $field)
since 1.30, does nothing
Member EditPage::submit ()
since 1.29, call edit directly
Member escapeSingleString ( $string)
since 1.25, use UtfNormal\Utils directly
Member $wgGalleryOptions
since 1.28
  • showBytes: Show the filesize in bytes in categories
  • showDimensions: Show the dimensions (width x height) in categories
  • mode: Gallery mode
Member $wgVersion
since 1.35; use the MW_VERSION constant instead
Member RequestContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member IContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member DerivativeContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member ContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member TextContent::getHighlightHtml ()
since 1.24. Use getHtml() instead. In particular, subclasses overriding getHighlightHtml() should override getHtml() instead.
Member JsonContent::getJsonData ()
since 1.25 Use getData instead.
Member ConfigFactory::getDefaultInstance ()
since 1.27, use MediaWikiServices::getConfigFactory() instead.
"
since 1.29
Class ScopedCallback
since 1.28 use Wikimedia\ScopedCallback
Class ObjectFactory
since 1.31, use \Wikimedia\ObjectFactory instead
Member $wgPasswordSenderName
since 1.23; use the system message 'emailsender' instead.
Member utf8ToCodepoint ( $char)
since 1.25, use UtfNormal\Utils directly
Member hexSequenceToUtf8 ( $sequence)
since 1.25, use UtfNormal\Utils directly
Member codepointToUtf8 ( $codepoint)
since 1.25, use UtfNormal\Utils directly
Member UTF8_TAIL
since 1.25, use UtfNormal\Constants instead
Member UTF8_HEAD
since 1.25, use UtfNormal\Constants instead
Member UTF8_FFFF
since 1.25, use UtfNormal\Constants instead
Member UTF8_FFFE
since 1.25, use UtfNormal\Constants instead
Member UTF8_FDEF
since 1.25, use UtfNormal\Constants instead
Member UTF8_FDD0
since 1.25, use UtfNormal\Constants instead
Member UTF8_OVERLONG_C
since 1.25, use UtfNormal\Constants instead
Member UTF8_OVERLONG_B
since 1.25, use UtfNormal\Constants instead
Member $wgSkipSkin
since 1.23; use $wgSkipSkins instead
Member $wgMinimalPasswordLength
since 1.26, use $wgPasswordPolicy's MinimalPasswordLength.
Member $wgPasswordSalt
since 1.24 will be removed in future
Member $wgTidyInternal
Use $wgTidyConfig['driver']
Member $wgTidyOpts
Use $wgTidyConfig['tidyCommandLine']
Member $wgTidyConf
Use $wgTidyConfig['tidyConfigFile']
Member $wgTidyBin
Use $wgTidyConfig['tidyBin']
Member $wgUseTidy
use $wgTidyConfig
Member $wgTrackingCategories
since 1.25 Extensions should now register tracking categories using the new extension registration system.
Member $wgLocalInterwiki
since 1.23; use $wgLocalInterwikis instead
Member $wgResourceLoaderLESSVars
since 1.30 Use ResourceLoaderModule::getLessVars() instead to add variables to individual modules that need them.
Member $wgIncludeLegacyJavaScript
since 1.26: Always declare dependencies.
Member $wgExperimentalHtmlIds
since 1.30, use $wgFragmentMode
Member ApiBase::getDescription ()
since 1.25
Member $wgHtml5
since 1.22
Member $wgXhtmlDefaultNamespace
since 1.22
Member $wgJsMimeType
since 1.22
Member $wgBrowserBlackList
since 1.30, does nothing
Member $wgDummyLanguageCodes
since 1.29
Member $wgEnableParserCache
since 1.26
Member $wgStyleVersion
since 1.31
Member $wgSessionHandler
since 1.27, MediaWiki\Session\SessionManager doesn't use PHP session storage.
Member $wgSessionsInObjectCache
since 1.27, session data is always stored in object cache.
Member $wgDBmysql5
since 1.31
Member $wgSharedDB
since 1.21 In new code, use the $wiki parameter to wfGetLB() to access remote databases. Using wfGetLB() allows the shared database to reside on separate servers to the wiki's own database, with suitable configuration of $wgLBFactoryConf.