BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Deprecated List
Member $parserMemc
since 1.30
Member $wgAjaxExportList
(officially) since 1.27; use the API instead
Member $wgBrowserBlackList
since 1.30, does nothing
Member $wgDummyLanguageCodes
since 1.29
Member $wgEnableParserCache
since 1.26
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 $wgHtml5
since 1.22
Member $wgIncludeLegacyJavaScript
since 1.26: Always declare dependencies.
Member $wgJsMimeType
since 1.22
Member $wgLocalInterwiki
since 1.23; use $wgLocalInterwikis instead
Member $wgMaximalPasswordLength
since 1.26, use $wgPasswordPolicy's MaximalPasswordLength.
Member $wgMinimalPasswordLength
since 1.26, use $wgPasswordPolicy's MinimalPasswordLength.
Member $wgOpenSearchTemplate
since 1.25 Use $wgOpenSearchTemplates['application/x-suggestions+json'] instead
Member $wgParserTestFiles
since 1.30
Member $wgPasswordSalt
since 1.24 will be removed in future
Member $wgPasswordSenderName
since 1.23; use the system message 'emailsender' instead.
Member $wgProfileLimit
since 1.25: set $wgProfiler['threshold'] instead.
Member $wgProfileOnly
since 1.23, set the log file in $wgDebugLogGroups['profileoutput'] instead.
Member $wgResourceLoaderLESSImportPaths
since 1.30 Use ResourceLoaderModule::getLessVars() instead to add variables to individual modules that need them.
Member $wgResourceLoaderLESSImportPaths
since 1.30 Use ResourceLoaderModule::getLessVars() instead to add variables to individual modules that need them.
Member $wgSessionHandler
since 1.27, MediaWiki doesn't use PHP session storage.
Member $wgSessionsInObjectCache
since 1.27, session data is always stored in object cache.
Member $wgSharedDB
since 1.21 In new code, use the $wiki parameter to LBFactory::getMainLB() to access remote databases. Using LBFactory::getMainLB() allows the shared database to reside on separate servers to the wiki's own database, with suitable configuration of $wgLBFactoryConf.
Member $wgSkipSkin
since 1.23; use $wgSkipSkins instead
Member $wgStyleVersion
since 1.31
Member $wgTidyBin
Use $wgTidyConfig['tidyBin']
Member $wgTidyConf
Use $wgTidyConfig['tidyConfigFile']
Member $wgTidyInternal
Use $wgTidyConfig['driver']
Member $wgTidyOpts
Use $wgTidyConfig['tidyCommandLine']
Member $wgTrackingCategories
since 1.25 Extensions should now register tracking categories using the new extension registration system.
Member $wgUseAjax
(officially) since MediaWiki 1.31 and ignored since 1.32
Member $wgUseTidy
use $wgTidyConfig
Member $wgXhtmlDefaultNamespace
since 1.22
Namespace ADDITIONAL
asd Unknown tag
Since
Class available since Release 1.2.0
asd
Since
Class available since Release 1.2.0 An unknown summary tag
Member AMQPConnection::getTimeout ()
use AMQPConnection::getReadTimout() instead
Member AMQPConnection::setTimeout ($timeout)
use AMQPConnection::setReadTimout($timeout) instead
Member ApiBase::dieUsage ($description, $errorCode, $httpRespCode=0, $extradata=null)
since 1.29, use self::dieWithError() instead
Parameters
string$descriptionOne-line human-readable description of the error condition, e.g., "The API requires a valid action parameter"
string$errorCodeBrief, arbitrary, stable string to allow easy automated identification of the error, e.g., 'unknown_action'
int$httpRespCodeHTTP response code
array | null$extradataData to add to the "<error>" element; array in ApiResult format
Exceptions
ApiUsageExceptionalways
Member ApiBase::dieUsageMsg ($error)
since 1.29, use ApiBase::dieWithError() instead
Parameters
array | string | MessageSpecifier$errorElement of a getUserPermissionsErrors()-style array
Exceptions
ApiUsageExceptionalways
Member ApiBase::dieUsageMsgOrDebug ($error)
since 1.29, use ApiBase::dieWithErrorOrDebug() instead
Parameters
array | string | MessageSpecifier$errorElement of a getUserPermissionsErrors()-style array
Exceptions
ApiUsageException
Since
1.21
Member ApiBase::getDescription ()
since 1.25
Returns
Message|string|array|false
Member ApiBase::getDescriptionMessage ()
since 1.30
Returns
string|array|Message
Member ApiBase::getErrorFromStatus ($status, &$extraData=null)
since 1.29, use ApiErrorFormatter::arrayFromStatus instead
Parameters
Status$status
array | null&$extraDataSet if extra data from IApiMessage is available (since 1.27)
Returns
array Array of code and error string
Exceptions
MWException
Member ApiBase::getExamples ()
since 1.25, use getExamplesMessages() instead
Returns
bool|string|array
Member ApiBase::getParamDescription ()
since 1.25
Returns
array|bool False on no parameter descriptions
Member ApiBase::parseMsg ($error)
since 1.29
Parameters
array | string | MessageSpecifier$errorElement of a getUserPermissionsErrors()-style array
Returns
array [ 'code' => code, 'info' => info ]
Member ApiBase::profileDBIn ()
since 1.25
Member ApiBase::profileDBOut ()
since 1.25
Member ApiBase::profileIn ()
since 1.25
Member ApiBase::profileOut ()
since 1.25
Member ApiBase::safeProfileOut ()
since 1.25
Member ApiBase::setWarning ($warning)
since 1.29, use ApiBase::addWarning() instead
Parameters
string$warningWarning message
Class ApiErrorFormatter_BackCompat

Only for backwards compatibility, do not use

Member ApiFlagConfig::getDescription ()
since MediaWiki core 1.25
Member ApiFlagConfig::getExamples ()
since MediaWiki core 1.25
Member ApiPageSet::getInvalidTitles ()
since 1.26, use self::getInvalidTitlesAndReasons()
Returns
string[] Array of strings (not Title objects)
Member ApiQueryConfiguredpages::getDescription ()
since MediaWiki core 1.25
Member ApiQueryConfiguredpages::getExamples ()
since MediaWiki core 1.25
Member ApiQueryConfiguredpages::getParamDescription ()
since MediaWiki core 1.25
Class ApiQueryDeletedrevs
since 1.25
Member ApiQueryFlagged::getDescription ()
since MediaWiki core 1.25
Member ApiQueryFlagged::getExamples ()
since MediaWiki core 1.25
Member ApiQueryImageInfo::getPropertyDescriptions ($filter=[], $modulePrefix= '')
since 1.25
Parameters
array$filterList of properties to filter out
string$modulePrefix
Returns
array
Member ApiQueryInfo::getBlockToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getDeleteToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getEditToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getEmailToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getImportToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getMoveToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getOptionsToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getProtectToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getTokenFunctions ()
since 1.24
Returns
array [ tokenname => function ]
Member ApiQueryInfo::getUnblockToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::getWatchToken ($pageid, $title)
since 1.24
Member ApiQueryInfo::resetTokenCache ()
since 1.24
Member ApiQueryLogEvents::addLogParams ($result, &$vals, $params, $type, $action, $ts, $legacy=false)
since 1.25 Use LogFormatter::formatParametersForApi instead
Parameters
ApiResult$result
array&$vals
string$params
string$type
string$action
string$ts
bool$legacy
Returns
array
Member ApiQueryOldreviewedpages::getDescription ()
since MediaWiki core 1.25
Member ApiQueryOldreviewedpages::getExamples ()
since MediaWiki core 1.25
Member ApiQueryOldreviewedpages::getParamDescription ()
since MediaWiki core 1.25
Member ApiQueryRecentChanges::getPatrolToken ($pageid, $title, $rc=null)
since 1.24
Parameters
int$pageid
Title$title
RecentChange | null$rc
Returns
bool|string
Member ApiQueryRecentChanges::getTokenFunctions ()
since 1.24
Returns
array [ tokenname => function ]
Member ApiQueryReviewedpages::getDescription ()
since MediaWiki core 1.25
Member ApiQueryReviewedpages::getExamples ()
since MediaWiki core 1.25
Member ApiQueryReviewedpages::getParamDescription ()
since MediaWiki core 1.25
Member ApiQueryRevisions::getRollbackToken ($pageid, $title, $rev)
since 1.24
Parameters
int$pageid
Title$title
Revision$rev
Returns
bool|string
Member ApiQueryRevisions::getTokenFunctions ()
since 1.24
Member ApiQueryUnreviewedpages::getDescription ()
since MediaWiki core 1.25
Member ApiQueryUnreviewedpages::getExamples ()
since MediaWiki core 1.25
Member ApiQueryUnreviewedpages::getParamDescription ()
since MediaWiki core 1.25
Member ApiQueryUsers::getTokenFunctions ()
since 1.24
Returns
array Array of tokenname => function
Member ApiQueryUsers::getUserrightsToken ($user)
since 1.24
Parameters
User$user
Returns
string
Member ApiReview::getDescription ()
since MediaWiki core 1.25
Member ApiReview::getExamples ()
since MediaWiki core 1.25
Member ApiReview::getParamDescription ()
since MediaWiki core 1.25
Member ApiReviewActivity::getDescription ()
since MediaWiki core 1.25
Member ApiReviewActivity::getExamples ()
since MediaWiki core 1.25
Member ApiReviewActivity::getParamDescription ()
since MediaWiki core 1.25
Member ApiStabilizeGeneral::getDescription ()
since MediaWiki core 1.25
Member ApiStabilizeGeneral::getDescriptionMessage ()
since MediaWiki core 1.30
Member ApiStabilizeGeneral::getExamples ()
since MediaWiki core 1.25
Member ApiStabilizeGeneral::getParamDescription ()
since MediaWiki core 1.25
Member ApiStabilizeProtect::getDescription ()
since MediaWiki core 1.25
Member ApiStabilizeProtect::getDescriptionMessage ()
since MediaWiki core 1.30
Member ApiStabilizeProtect::getExamples ()
since MediaWiki core 1.25
Member ApiStabilizeProtect::getParamDescription ()
since MediaWiki core 1.25
Member ApiTestCase::doLogin ($testUser=null)
since 1.31
Class ApiTokens

since 1.24

Member ApiUsageException::getCodeString ()
Do not use. This only exists here because UsageException is in the inheritance chain for backwards compatibility.
Member ApiUsageException::getMessageArray ()
Do not use. This only exists here because UsageException is in the inheritance chain for backwards compatibility.
Member ArchivedFile::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Returns
string[]
Member Article::doEditContent (Content $content, $summary, $flags=0, $baseRevId=false, User $user=null, $serialFormat=null)
since 1.29. Use WikiPage::doEditContent() directly instead
See Also
WikiPage::doEditContent
Member Article::viewRedirect ($target, $appendSubtitle=true, $forceKnown=false)
since 1.30
Class AuthPlugin
since 1.27
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.
Parameters
User&$user
bool$autocreateTrue if user is being autocreated on login
Member AuthPlugin::updateExternalDB ($user)
since 1.26, use the UserSaveSettings hook instead.
Parameters
User$user
Returns
bool
Member AuthPlugin::updateExternalDBGroups ($user, $addgroups, $delgroups=[])
since 1.26, use the UserGroupsChanged hook instead.
Parameters
User$user
array$addgroupsGroups to add.
array$delgroupsGroups to remove.
Returns
bool
Member AuthPlugin::updateUser (&$user)
since 1.26, use the UserLoggedIn hook instead. And assigning a different User object to $user is no longer supported.
Parameters
User&$user
Returns
bool
Class AuthPluginUser
since 1.27
Member AuthPluginUser::isHidden ()
since 1.26, use the UserIsHidden hook instead.
Returns
bool
Member AuthPluginUser::isLocked ()
since 1.26, use the UserIsLocked hook instead.
Returns
bool
Member AuthPluginUser::resetAuthToken ()
since 1.28, use SessionManager::invalidateSessionForUser() instead.
Returns
bool
Member Avatars::generateAvatar ($oUser, $aParams=array(), $bOverwrite=false)
since version 3.0.0
Parameters
User$oUser
Returns
string Relative URL to avatar image
Member Avatars::getAvatarFile ($iUserId)
since version 3.0.0
Parameters
int$iUserId
Returns
boolean|
Member Block::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Returns
array
Member Blog::onUnknownAction ($action, $article)
since 2.27.0, use Special:Blog instead.
Parameters
string$actionValue of the action parameter as determined by MediaWiki
Article$articleMediaWiki Article object of current article
Returns
bool false to prevent other actions to bind on 'blog'.
Member BlueSpice::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member BlueSpice::newFromContent (EntityContent $sContent)
since version 3.0.0 - Use mediawiki service ('BSEntityFactory')->newFromContent() instead
Parameters
EntityContent$sContent
Returns
Entity
Member BlueSpice::newFromID ($iID, $bForceReload=false)
since version 3.0.0 - Use mediawiki service ('BSEntityFactory')->newFromID() instead
Parameters
int$iID
boolean$bForceReload
Returns
Entity | null
Member BlueSpice::newFromObject ($oObject)
since version 3.0.0 - Use mediawiki service ('BSEntityFactory')->newFromObject() instead
Parameters
Object$oObject
Returns
Entity
Member BlueSpice::newFromTitle ( $oTitle, $bForceReload=false)
since version 3.0.0 - Use mediawiki service ('BSEntityFactory')->newFromSourceTitle() instead
Parameters
\Title$oTitle
boolean$bForceReload
Returns
Entity
Member BlueSpice::toJson ()
since 2.27.0 - Use json_encode( $oInstance ) instead
Returns
stdObject - Subclass needs to return encoded string!
Member BlueSpice::factory ($type)
since version 3.0.0 - Use MediaWikiService 'EntityConfigFactory' instead
Parameters
string$type- Entity type
Returns
EntityConfig - or null
Member BlueSpice::getRegisterdTypeKeys ()
since version 3.0.0 - User $instance->getTypes()
Returns
array
Member BlueSpice::getRegisteredEntities ()
since version 3.0.0 - User $instance->getEntityDefinitions() instead
Returns
array
Member BlueSpice::getRegisteredEntityByType ($sType)
since version 3.0.0 - User $instance->getEntityByType() instead
Parameters
string$sType
Returns
array
Member BlueSpice::isRegisteredType ($sType)
since version 3.0.0 - User $instance->hasType() instead
Parameters
string$sType
Returns
bool
Class BlueSpice
since version 3.0.0 - Use the bluespice global config mechanism instead
Member BlueSpice::callback (&$defaultSettings)
since version 3.0.0 - Use the bluespice global config mechanism instead
Parameters
array$defaultSettings
Returns
boolean
Class BlueSpice
since version 3.0.0 - Use 'BSEntityRegistry' config in extension.josn instead
Member BlueSpice::callback (&$entityRegistrations)
since version 3.0.0 - Use 'BSEntityRegistry' config in extension.josn instead
Parameters
array$entityRegistrations
Returns
boolean
Member BlueSpice::getActionRef ()
since version 2.27.2
Returns
mixed
Member BlueSpice::setActionRef ($vActionRef)
since version 2.27.2
Namespace BlueSpice_Extensions
since version 2.22. Use BsPDFSevlet instead
Member BsArticleHelper::getDiscussionAmountForArticle ($oArticle)
since version 1.20
Member BsArticleHelper::getDiscussionAmountForTitle ($oTitle)
since version 1.20
Member BsCore::getUserDisplayName ($oUser=null)
since version 2.23.2
Parameters
User$oUser
Returns
String
Member BsCore::hideBehaviorSwitches (&$parser, &$text)
since version 2.22
Member BsCore::recoverBehaviorSwitches (&$parser, &$text)
since version 2.22
Member BsExtensionManager::addContext ($sKey)
since version 2.27.0
Parameters
string$sKeyContext key
Returns
string normalized key
Member BsExtensionManager::isContextActive ($sKey)
since version 2.27.0
Parameters
string$sKeyContext key
Returns
bool
Member BsExtensionManager::registerExtension ($name, $runlevel=BsRUNLEVEL::FULL, $action=BsACTION::NONE, $extPath= 'ext')
since version 2.27.0
Parameters
string$name
integer$runlevel
integer$action
string$extPath
Member BsExtensionManager::registerNamespace ($sCanonicalName, $iBaseIndex, $isSystemNamespace=true)
since version 2.27.0 array $wgExtraNamespaces
Parameters
string$sCanonicalName
int$iBaseIndex
Member BsExtensionManager::removeContext ($sKey)
since version 2.27.0
Parameters
string$sKeyContext key
Member BsExtensionManager::setContext ($sKey)
since version 2.27.0
Parameters
string$sKeyContext key
Class BsExtensionMW
since version 3.0.0 - Use instead
Member BsExtensionMW::getCacheKey ($sSubKey= 'default')
since version 3.0.0
Returns
string
Member BsExtensionMW::getImagePath ($bResources=false)
since version 3.0.0
Returns
string
Member BsExtensionMW::initExt ()
since version 3.0.0 - Use constructor instead
Member BsExtensionMW::setConfig ( $config)
since version 3.0.0 - This is just for backwards compatibillity as older extensions may have their own constructor and therefore do not handover the config to the parent constructor
Returns
Extension
Member BsExtensionMW::setContext ( $context)
since version 3.0.0 - This is just for backwards compatibillity as older extensions may have their own constructor and therefore do not handover the context to the parent constructor
Returns
Extension
Member BsExtensionMW::setCore ($oCore)
since version 3.0.0
Parameters
BsCore$oCore
Member BsExtensionMW::setup ($sExtName="", $aConfig=array())
since version 3.0.0
Member BsUniversalExportHelper::findPreviousDOMElementSibling (DOMNode &$oDOMNode, $sWantedNodeName= '')
use BsDOMHelper instead
Parameters
DOMNode$oDOMNode
type$sWantedNodeName
Returns
DOMElement | null
Member BufferingStatsdDataFactory::getBuffer ()
Use getData()
Returns
StatsdData[]
Class CategoryFinder
since 1.31
Member CdnCacheUpdate::newSimplePurge (Title $title)
since 1.27
Page Changes in PHP_CodeCoverage 2.2
now has the same effect as annotating it with`
Member ChangesList::insertArticleLink (&$s, RecentChange $rc, $unpatrolled, $watched)
since 1.27, use getArticleLink instead.
Class Checking_Tags
asd
Member codepointToUtf8 ($codepoint)
since 1.25, use UtfNormal directly
Member CommentStore::getStore ()
in 1.31 Use DI to inject a CommentStore instance into your class.
Returns
CommentStore
Member CommentStore::newKey ($key)
in 1.31 Should not be constructed with a $key, use CommentStore::getStore
Parameters
string$keyA key such as "rev_comment" identifying the comment field being fetched.
Returns
CommentStore
Class Composer
since 1.0.25, use https://packagist.org/packages/typo3/cms-composer-installers instead
Member ConfigFactory::getDefaultInstance ()
since 1.27, use MediaWikiServices::getConfigFactory() instead.
Member ContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member DataUpdate::runUpdates (array $updates)
Since 1.28 Use DeferredUpdates::execute()
Class DataValues
since 2.0, use the base class instead.
Class DataValues
since 2.0, use the base class instead.
Member DataValues::areCoordinates ($string)
since 2.0, please instantiate and call isValid() instead
Member DataValues::newFromArray ($data)
since 2.0.1. Static DataValue::newFromArray constructors like this are underspecified (not in the DataValue interface), and misleadingly named (should be named newFromArrayValue). Instead, use DataValue builder callbacks in
See Also
DataValueDeserializer.
Member DataValues::newFromArray ($data)
since 2.0.1. Static DataValue::newFromArray constructors like this are underspecified (not in the DataValue interface), and misleadingly named (should be named newFromArrayValue). Instead, use DataValue builder callbacks in
See Also
DataValueDeserializer.
Class DataValues
since 1.0, use the base class instead.
Class DataValues
since 1.0, use the base class instead.
Member DB_SLAVE
since 1.28
Class DeferredStringifier
since 1.31, use Message::listParam() instead
Member DeferredUpdates::setImmediateMode ($value)
1.29 Causes issues in Web-executed jobs - see T165714 and T100085.
Member DerivativeContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member DifferenceEngine::getDiffBodyCacheKey ()
since 1.31, use getDiffBodyCacheKeyParams() instead
Since
1.23
Member DO_MAINTENANCE
since 1.31
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 EchoDiffParser::usingInternalDiff ()
since 1.29, the internal diff parser is always used
Returns
bool
Member EchoUserNotificationGateway::markAllRead ()
may need this when running in a job or revive this when we have updateJoin()
Member EditPage::safeUnicodeInput ($request, $field)
since 1.30, does nothing
Member EditPage::safeUnicodeOutput ($text)
since 1.30, does nothing
Member EditPage::submit ()
since 1.29, call edit directly
Member Elastica::_log ($context)
Overwriting Client->_log is deprecated. Handle logging functionality by using a custom LoggerInterface.
Member Elastica::optimizeAll ($args=[])
Replaced by forcemergeAll https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-optimize.html
Member Elastica::optimize ($args=[])
Replaced by forcemerge https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-optimize.html
Class Elastica
Use BoolQuery instead. From PHP7 bool is reserved word and this class will be removed in further Elastica releases https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html
Member Elastica::setMinimumNumberShouldMatch ($minimumNumberShouldMatch)
Replaced by setMinimumShouldMatch
Class Elastica
Search on the _index field instead https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-indices-query.html
Member Elastica::setFieldType ($field, $type)
Replaced by Elastica and Elastica
Class Elastica
use Reindex instead. This class will be removed in further Elastica releases.
Class Elastica
Use NullTransport instead. From PHP7 null is reserved word and this class will be removed in further Elastica releases
Member EmailNotification::updateWatchlistTimestamp (User $editor, LinkTarget $linkTarget, $timestamp)
since 1.27 use WatchedItemStore::updateNotificationTimestamp directly
Member escapeSingleString ($string)
since 1.25, use UtfNormal directly
Member EventRelayerGroup::singleton ()
since 1.27 Use MediaWikiServices::getInstance()->getEventRelayerGroup()
Returns
EventRelayerGroup
Member ExtArrays::validate_array_by_arrayId ($arrayId)
Member File::getStreamHeaders ()
since 1.30, use File::getContentHeaders instead
Member FileRepo::streamFile ($virtualUrl, $headers=[])
since 1.26, use streamFileWithStatus
Parameters
string$virtualUrl
array$headersAdditional HTTP headers to send on success
Returns
bool Success
Class FileRepoStatus
since 1.25
Member GenderCache::singleton ()
in 1.28 see MediaWikiServices::getInstance()->getGenderCache()
Returns
GenderCache
Class GuzzleHttp
Member HTMLForm::getErrors ($errors)
since 1.28, use getErrorsOrWarnings() instead
Member HTMLForm::setSubmitProgressive ()
since 1.32, No need to call. Submit button already has a progressive action form.
Class HWLDFWordAccumulator
Alias for WordAccumulator, to be soon removed
Member IContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member Imagick::getImageSize ()
use {
See Also
Imagick::getImageLength()} instead
Member ImportableUploadRevisionImporter::downloadSource (ImportableUploadRevision $wikiRevision)
DO NOT CALL ME. This method was introduced when factoring UploadImporter out of WikiRevision. It only has 1 use by the deprecated downloadSource method in WikiRevision. Do not use this in new code.
Member Interwiki::fetch ($prefix)
since 1.28, use InterwikiLookup instead
Member Interwiki::getAllPrefixes ($local=null)
since 1.28, unused. Use InterwikiLookup instead.
Member Interwiki::isValidInterwiki ($prefix)
since 1.28, use InterwikiLookup instead
Member IntlDateFormatter::setTimeZoneId ($zone)
5.5 http://www.php.net/manual/en/migration55.deprecated.php
Member IP::isValidBlock ($ipRange)
since 1.30. Use the equivalent IP::isValidRange().
Parameters
string$ipRange
Returns
bool True if it is valid
Member Job::batchInsert ($jobs)
since 1.21
Member Job::insert ()
since 1.21
Class JobQueueSecondTestQueue
since 1.30
Since
1.30
Member JsonContent::getJsonData ()
since 1.25 Use getData instead.
Returns
array|null
Member Language::initEncoding ()
No-op since 1.28
Member Language::recodeForEdit ($s)
No-op since 1.28
Member Language::recodeInput ($s)
No-op since 1.28
Member Language::truncate ($string, $length, $ellipsis= '...', $adjustLength=true)
since 1.31, use truncateForDatabase or truncateForVisual as appropriate.
Member Less_Parser::SetCacheDir ($dir)
1.5.1.2
Member Licenses::getLicenses ()
since 1.31 Use getLines() instead
Member LightnCandy::prepare ($php, $tmpDir=null, $delete=true)
Member LinkCache::addLink ($title)
since 1.27, unused
Parameters
string$titlePrefixed DB key
Returns
int Page ID or zero
Member LinkCache::singleton ()
since 1.28, use MediaWikiServices instead
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::getLinkColour (LinkTarget $t, $threshold)
since 1.28, use LinkRenderer::getLinkClasses() instead
Member Linker::link ($target, $html=null, $customAttribs=[], $query=[], $options=[])
since 1.28, use MediaWiki instead
Member Linker::linkKnown ($target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
since 1.28, use MediaWiki instead
See Also
Linker::link
Parameters
Title$target
string$html
array$customAttribs
array$query
string | array$options
Returns
string
Member LocalFile::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Returns
string[]
Member LocalRepo::getSlaveDB ()
Since 1.29
Member LoginForm::clearCreateaccountToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::clearLoginThrottle ($username)
since 1.27 - don't use LoginForm, use AuthManager instead
Parameters
string$username
Returns
void
Member LoginForm::clearLoginToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::getCreateaccountToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Returns
string
Member LoginForm::getLoginToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::getValidErrorMessages ()
since 1.27 - call LoginHelper::getValidErrorMessages instead.
Returns
array
Member LoginForm::incLoginThrottle ($username)
since 1.27 - don't use LoginForm, use AuthManager instead
Parameters
string$username
Returns
bool|int
Member LoginForm::incrementLoginThrottle ($username)
since 1.27 - don't use LoginForm, use AuthManager instead
Parameters
string$username
Returns
array|false
Member LoginForm::setCreateaccountToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::setLoginToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member Maps::getJSONObject ($defText= '', $defTitle= '')
Parameters
string$defText
string$defTitle
Returns
array
Member Maps::newFromAddress ($address)
Member MapsDisplayMapRenderer::evilOpenLayersHack ($layers)
Class MapsMapper
Member MapsMapper::getBaseMapJSON ($serviceName)
Member MapsMapper::getFileUrl ($file)
Member MediaHandler::getStreamHeaders ($metadata)
since 1.30, use MediaHandler::getContentHeaders instead
Parameters
array$metadata
Returns
array
Member MediaTransformOutput::streamFile ($headers=[])
since 1.26, use streamFileWithStatus
Parameters
array$headersAdditional HTTP headers to send on success
Returns
bool Success
Page MediaWiki-Codesniffer release history
(Umherirrender)
  • Sniff & fix lowercase (GergÅ‘ Tisza)
Member MediaWiki::callLegacyAuthPlugin ($method, array $params, $return=null)
For backwards compatibility only, should be avoided in new code
Parameters
string$methodAuthPlugin method to call
array$paramsParameters to pass
mixed$returnReturn value if AuthPlugin wasn't called
Returns
mixed Return value from the AuthPlugin method, or $return
Member MediaWiki::forcePrimaryAuthenticationProviders (array $providers, $why)
For backwards compatibility only
Parameters
PrimaryAuthenticationProvider[]$providers
string$why
Class MediaWiki
since 1.27
Class MediaWiki
since 1.27
Class MediaWiki
since 1.27
Class MediaWiki
since 1.27
Member MediaWiki::legacySaveFormData ($formData, PreferencesForm $form)
since 1.31, its inception
Member MediaWiki::legacySubmitForm (array $formData, PreferencesForm $form)
since 1.31, its inception
Member MediaWiki::autoCreateUser (User $user)
since 1.27, use MediaWiki::autoCreateUser instead
Parameters
User$userUser to auto-create
Returns
bool Success
Member MediaWiki::newMutableRevisionFromArray (array $fields, $queryFlags=0, Title $title=null)
since 1.31. Use a MutableRevisionRecord instead.
Member MediaWiki::listRevisionSizes (IDatabase $db, array $revIds)
use RevisionStore::getRevisionSizes instead.
Member MediaWiki::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::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::makeAddressFromTextId ($id)
since 1.31. This method should become private once the relevant refactoring in WikiPage is complete.
Class MediaWiki
since 1.31. Use InterwikiSearchResultSetWidget
Class MediaWiki
since 1.31. Use other result widgets.
Member Message::getFormat ()
since 1.29 formatting is not stateful
Member MessageBlobStore::get (ResourceLoader $resourceLoader, $modules, $lang)
since 1.27 Use getBlobs() instead
Returns
array
Class MimeMagic
since 1.29 MimeAnalyzer should be used instead of MimeMagic
Member MimeMagic::singleton ()
since 1.28 get a MimeAnalyzer instance from MediaWikiServices
Class Mongo
This class has been DEPRECATED as of version 1.3.0. Relying on this feature is highly discouraged. Please use MongoClient instead.
See Also
MongoClient
Member Mongo::forceError ()
Use MongoDB::forceError() instead. boolean The database response.
Member Mongo::getPoolSize ()
This feature has been DEPRECATED as of version 1.2.3. Relying on this feature is highly discouraged. Please use MongoPool::getSize() instead. (PECL mongo >= 1.2.0)
Get pool size for connection pools int Returns the current pool size.
Member Mongo::lastError ()
Use MongoDB::lastError() instead. array|null Returns the error, if there was one, or NULL.
Member Mongo::pairConnect ()
Pass a string of the form "mongodb://server1,server2" to the constructor instead of using this method. MongoConnectionException boolean
Member Mongo::pairPersistConnect ($username="", $password="")
Pass "mongodb://server1,server2" and array("persist" => $id) to the constructor instead of using this method. string $username A username used to identify the connection. string $password A password used to identify the connection. MongoConnectionException boolean If the connection was successful.
Member Mongo::persistConnect ($username="", $password="")
Pass array("persist" => $id) to the constructor instead of using this method.
Parameters
string$usernameA username used to identify the connection.
string$passwordA password used to identify the connection.
Exceptions
MongoConnectionException
Returns
boolean If the connection was successful.
Member Mongo::poolDebug ()
This feature has been DEPRECATED as of version 1.2.3. Relying on this feature is highly discouraged. Please use MongoPool::info() instead. Returns information about all connection pools. array Each connection pool has an identifier, which starts with the host. For each pool, this function shows the following fields:
Member Mongo::prevError ()
Use MongoDB::prevError() instead. array Returns the error and the number of operations ago it occurred.
Member Mongo::resetError ()
Use MongoDB::resetError() instead. array Returns the database response.
Member Mongo::setPoolSize ($size)
Relying on this feature is highly discouraged. Please use MongoPool::setSize() instead. (PECL mongo >= 1.2.0)
Set the size for future connection pools. $size
Member MongoClient::dropDB ($db)
Use MongoDB::drop() instead. Drops a database
Member MongoCollection::ensureIndex (array $keys, array $options=array())
Use MongoCollection::createIndex() instead. Creates an index on the given field(s), or does nothing if the index already exists array $keys Field or fields to use as index. array $options [optional] This parameter is an associative array of the form array("optionname" => , ...).
Returns
boolean always true
Member MongoDB::dropCollection ($coll)
Use MongoCollection::drop() instead. Drops a collection MongoCollection|string $coll MongoCollection or name of collection to drop. array Returns the database response.
Member Monolog::getAttachmentColor ($level)
Use underlying SlackRecord instead
Member Monolog::stringify ($fields)
Use underlying SlackRecord instead
Member MWEchoDbFactory::getDB ($db, $groups=[], $wiki=false)
Use newFromDefault() instead to create a db factory
Parameters
$dbint Index of the connection to get
$groupsmixed Query groups.
$wikistring|bool The wiki ID, or false for the current wiki
Returns
IDatabase
Member MWExceptionHandler::getLogId ($e)
since 1.27: Exception IDs are synonymous with request IDs.
Parameters
Exception | Throwable$e
Returns
string
Member MWNamespace::canTalk ($index)
since 1.30, use hasTalkNamespace() instead.
Member MWTimestamp::getHumanTimestamp (MWTimestamp $relativeTo=null, User $user=null, Language $lang=null)
since 1.26 Use Language::getHumanTimestamp directly
Member mysqli::client_encoding ()
5.3 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
Member mysqli_stmt::stmt ()
5.3 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
Member NS_IMAGE
since 1.14
Member NS_IMAGE_TALK
since 1.14
Member ObjectCache::getMainStashInstance ()
Since 1.28 Use MediaWikiServices::getMainObjectStash
Member ObjectCache::getMainWANInstance ()
Since 1.28 Use MediaWikiServices::getMainWANObjectCache()
Class ObjectFactory
since 1.31, use instead
Member OldLocalFile::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Returns
string[]
Member Onoi::newFixedInMemoryCache ($cacheSize=500)
since 1.1, use CacheFactory::newFixedInMemoryLruCache
Member Onoi::isCached ()
since 1.3, use CachedCurlRequest::isFromCache instead
Since
1.0
Member Onoi::setCachePrefix ($cachePrefix)
since 1.3, use option ONOI_HTTP_REQUEST_RESPONSECACHE_PREFIX instead
Since
1.0
Member Onoi::setExpiryInSeconds ($expiry)
since 1.3, use option ONOI_HTTP_REQUEST_RESPONSECACHE_TTL instead
Since
1.0
Member Onoi::setCallback (Closure $callback)
since 1.1, use ONOI_HTTP_REQUEST_ON_COMPLETED_CALLBACK instead
Member OutputPage::enableSectionEditLinks ($flag=true)
since 1.31, use $poOptions to addParserOutput() instead.
Member OutputPage::sectionEditLinksEnabled ()
since 1.31, use $poOptions to addParserOutput() instead.
Member PageArchive::getTextFromRow ($row)
since 1.31
Parameters
object$rowDatabase row
Returns
string
Class ParamProcessor
since 1.0
Class ParamProcessor
since 1.0, use ParamDefinition
Member ParamProcessor::format (IParam $param, array &$definitions, array $params)
Member ParamProcessor::formatList (IParam $param, array &$definitions, array $params)
Member ParamProcessor::formatValue ($value, IParam $param, array &$definitions, array $params)
Member ParamProcessor::singleton ()
since 1.0
Class ParamProcessor
since 1.0
Member ParamProcessor::getParameter ($parameterName)
since 1.0
Member ParamProcessor::getParameters ()
since 1.0
Member ParamProcessor::validateParameters ()
since 1.0, use processParameters
Member Parser::disableCache ()
since 1.28; use getOutput()->updateCacheExpiry()
Member Parser::isValidHalfParsedText ($data)
since 1.31
Parameters
array$data,</dd>
Member Parser::serializeHalfParsedText ($text)
since 1.31
Parameters
string$text,</dd>
Member Parser::unserializeHalfParsedText ($data)
since 1.31
Parameters
array$dataSerialized data
Exceptions
MWException
Returns
string
Member ParserCache::singleton ()
since 1.30, use MediaWikiServices instead
Returns
ParserCache
Class ParserHook
since 1.0 in favour of the ParserHooks library
Member ParserHook::getDescription ()
since 1.0
Member ParserOptions::getEditSection ()
since 1.31, use ParserOutput::getText() options instead.
Returns
bool
Member ParserOptions::legacyOptions ()
since 1.30. You probably want self::allCacheVaryingOptions() instead.
Returns
string[]
Member ParserOptions::setEditSection ($x)
since 1.31, use ParserOutput::getText() options instead.
Parameters
bool | null$xNew value (null is no change)
Returns
bool Old value
Member ParserOptions::setOptionLegacy ($name, $value)
since 1.30
Parameters
string$nameOption name
mixed$valueNew value. Passing null does not set the value.
Returns
mixed Old value
Member ParserOutput::getEditSectionTokens ()
since 1.31 Use getText() options.
Member ParserOutput::getTOCEnabled ()
since 1.31 Use getText() options.
Member ParserOutput::setEditSectionTokens ($t)
since 1.31 Use getText() options.
Member ParserOutput::setTOCEnabled ($flag)
since 1.31 Use getText() options.
Member PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT
5.6.0 Use PDO::ATTR_EMULATE_PREPARES instead.
Member PFFormInput::getDefaultPropTypeLists ()
Returns
Array of arrays (key is the property type, value is an array of default args to be used for this input)
Member PFFormInput::getDefaultPropTypes ()
Returns
Array of arrays (key is the property type, value is an array of default args to be used for this input)
Member PFFormInput::getOtherPropTypeListsHandled ()
Returns
Array of strings
Member PFFormInput::getOtherPropTypesHandled ()
Returns
Array of strings
Member PFRegExpInput::getOtherPropTypesHandled ()
Returns
Array of strings
Member PHPExcel_Cell::getCalculatedValue ($resetLog=TRUE)
Since version 1.7.8 for planned changes to cell for array formula handling
Member PHPExcel_Cell::getFormulaAttributes ()
Since version 1.7.8 for planned changes to cell for array formula handling
Member PHPExcel_Cell::setFormulaAttributes ($pAttributes)
Since version 1.7.8 for planned changes to cell for array formula handling
Member PHPExcel_Cell_DataType::dataTypeForValue ($pValue=null)
Replaced by PHPExcel_Cell_IValueBinder infrastructure, will be removed in version 1.8.0
Parameters
mixed$pValue
Returns
string
Member PHPExcel_Style_Conditional::getCondition ()
Deprecated, use getConditions instead
Returns
string
Member PHPExcel_Style_Conditional::setCondition ($pValue= '')
Deprecated, use setConditions instead
Parameters
string$pValueCondition
Returns
PHPExcel_Style_Conditional
Member PHPExcel_Worksheet::duplicateStyleArray ($pStyles=null, $pRange= '', $pAdvanced=true)
Parameters
array$pStylesArray containing style information
string$pRangeRange of cells (i.e. "A1:B10"), or just one cell (i.e. "A1")
boolean$pAdvancedAdvanced mode for setting borders.
Exceptions
PHPExcel_Exception
Returns
PHPExcel_Worksheet
Member PHPExcel_Worksheet::getDefaultStyle ()
Returns
PHPExcel_Style
Exceptions
PHPExcel_Exception
Member PHPExcel_Worksheet::getSelectedCell ()
Returns
string
Member PHPExcel_Worksheet::setDefaultStyle (PHPExcel_Style $pValue)
Parameters
PHPExcel_Style$pValue
Exceptions
PHPExcel_Exception
Returns
PHPExcel_Worksheet
Member PHPExcel_Worksheet::setSharedStyle (PHPExcel_Style $pSharedCellStyle=null, $pRange= '')
Parameters
PHPExcel_Style$pSharedCellStyleCell style to share
string$pRangeRange of cells (i.e. "A1:B10"), or just one cell (i.e. "A1")
Exceptions
PHPExcel_Exception
Returns
PHPExcel_Worksheet
Member PHPExcel_Writer_Excel5::setTempDir ($pValue= '')
Parameters
string$pValueTemporary storage directory
Exceptions
PHPExcel_Writer_Exceptionwhen directory does not exist
Returns
PHPExcel_Writer_Excel5
Member PhpParser::getRawLine ()
Use getStartLine() instead
Member PhpParser::setRawLine ($line)
Use setStartLine() instead
Member PhpParser::append ($name)
Use Name::concat($name1, $name2) instead
Member PhpParser::prepend ($name)
Use Name::concat($name1, $name2) instead
Member PhpParser::set ($name)
Create a new Name instead, or manually modify the $parts property
Member PhpParser::setFirst ($name)
Use concat($first, $name->slice(1)) instead
Member PHPUnit_Framework_Assert::assertNotTag ($matcher, $actual, $message= '', $isHtml=true)
Member PHPUnit_Framework_Assert::assertSelectCount ($selector, $count, $actual, $message= '', $isHtml=true)
Member PHPUnit_Framework_Assert::assertSelectEquals ($selector, $content, $count, $actual, $message= '', $isHtml=true)
Member PHPUnit_Framework_Assert::assertSelectRegExp ($selector, $pattern, $count, $actual, $message= '', $isHtml=true)
Member PHPUnit_Framework_Assert::assertTag ($matcher, $actual, $message= '', $isHtml=true)
Member PHPUnit_Framework_TestCase::hasPerformedExpectationsOnOutput ()
Member PHPUnit_Framework_TestSuite::runTest (PHPUnit_Framework_Test $test, PHPUnit_Framework_TestResult $result)
Class Preferences
since 1.31 use the PreferencesFactory service instead.
Member Preferences::tryFormSubmit ($formData, $form)
since 1.31, use PreferencesFactory
Member PreferencesTest::testEmailAuthenticationFieldWhenUserEmailIsAuthenticated ()
replaced by DefaultPreferencesFactoryTest::testEmailAuthentication()
Member PreferencesTest::testEmailAuthenticationFieldWhenUserEmailNotAuthenticated ()
replaced by DefaultPreferencesFactoryTest::testEmailAuthentication()
Member PreferencesTest::testEmailAuthenticationFieldWhenUserHasNoEmail ()
replaced by DefaultPreferencesFactoryTest::testEmailAuthentication()
Class PrefixSearch
Since 1.27, Use SearchEngine::defaultPrefixSearch or SearchEngine::completionSearch
Member PrefixSearch::titleSearch ($search, $limit, $namespaces=[], $offset=0)
Since 1.23, use TitlePrefixSearch or StringPrefixSearch classes
Member Prophecy::shouldNotBeenCalled ()
Member Psy::debug (array $vars=array(), $boundObject=null)
will be removed in 1.0. Use instead
Member QueryPage::tryLastResult ()
since 1.27
Member QuickTemplate::setRef ($name, &$value)
since 1.31 This function is a now-redundant optimisation intended for very old versions of PHP. The use of references here makes the code more fragile and is incompatible with plans like T140664. Use set() instead.
Parameters
string$name
mixed&$value
Class RCFeedEngine
since 1.29 Use FormattedRCFeed instead
Member React::progress ($update=null)
2.2.0
See Also
Deferred::notify()
Member RecentChange::getEngine ($uri, $params=[])
since 1.29 Use RCFeed::factory() instead
Parameters
string$uriURI to get the engine object for
array$params
Returns
RCFeedEngine The engine object
Exceptions
MWException
Member RecentChange::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Returns
array
Member Redis::substr ($key, $start, $end)
Parameters
string$key
int$start
int$end
Member RequestContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Class ResetUserTokens
since 1.27, use $wgAuthenticationTokenVersion instead.
Member ResourceLoaderClientHtml::setModuleScripts (array $modules)
since 1.28
Parameters
array$modulesArray of module names
Member ResourceLoaderClientHtml::setModuleStyles (array $modules)
since 1.28
Parameters
array$modulesArray of module names
Member ResourceLoaderModule::getModifiedHash (ResourceLoaderContext $context)
since 1.26 Use getDefinitionSummary() instead
Parameters
ResourceLoaderContext$context
Returns
string|null Hash
Member ResourceLoaderModule::getModifiedTime (ResourceLoaderContext $context)
since 1.26 Use getDefinitionSummary() instead
Parameters
ResourceLoaderContext$context
Returns
int|null UNIX timestamp
Class Revision
since 1.31, use RevisionRecord, RevisionStore, and BlobStore instead.
Member Revision::fetchRevision (LinkTarget $title)
Since 1.28, no callers in core nor in known extensions. No-op since 1.31.
Member Revision::getArchiveQueryInfo ()
since 1.31, use RevisionStore::getArchiveQueryInfo() instead.
Returns
array With three keys:
  • tables: (string[]) to include in the $table to IDatabase->select()
  • fields: (string[]) to include in the $vars to IDatabase->select()
  • joins: (array) to include in the $join_conds to IDatabase->select()
Member Revision::getParentLengths ($db, array $revIds)
in 1.31, use RevisionStore::getRevisionSizes instead.
Member Revision::getQueryInfo ($options=[])
since 1.31, use RevisionStore::getQueryInfo() instead.
Parameters
array$optionsAny combination of the following strings
  • 'page': Join with the page table, and select fields to identify the page
  • 'user': Join with the user table, and select the user name
  • 'text': Join with the text table, and select fields to load page text
Returns
array With three keys:
  • tables: (string[]) to include in the $table to IDatabase->select()
  • fields: (string[]) to include in the $vars to IDatabase->select()
  • joins: (array) to include in the $join_conds to IDatabase->select()
Member Revision::getSerializedData ()
since 1.31, use BlobStore::getBlob 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::loadFromId ($db, $id)
since 1.31, use RevisionStore::getRevisionById() instead.
Member Revision::loadFromPageId ($db, $pageid, $id=0)
since 1.31, use RevisionStore::getRevisionByPageId() instead.
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::pageJoinCond ()
since 1.31, use RevisionStore::getQueryInfo( [ 'page' ] ) instead.
Returns
array
Member Revision::selectArchiveFields ()
since 1.31, use RevisionStore::getArchiveQueryInfo() instead.
Returns
array
Member Revision::selectFields ()
since 1.31, use RevisionStore::getQueryInfo() instead.
Returns
array
Member Revision::selectPageFields ()
since 1.31, use RevisionStore::getQueryInfo( [ 'page' ] ) instead.
Returns
array
Member Revision::selectTextFields ()
since 1.31, use RevisionStore::getQueryInfo( [ 'text' ] ) instead.
Returns
array
Member Revision::selectUserFields ()
since 1.31, use RevisionStore::getQueryInfo( [ 'user' ] ) instead.
Returns
array
Member Revision::setTitle ($title)
: since 1.31, this is now a noop. Pass the Title to the constructor instead.
Member Revision::setUserIdAndName ($id, $name)
since 1.31, please reuse old Revision object
Parameters
int$idUser ID
string$nameUser name
Exceptions
MWException
Member Revision::userJoinCond ()
since 1.31, use RevisionStore::getQueryInfo( [ 'user' ] ) instead.
Returns
array
Member Revision::userWasLastToEdit ($db, $pageId, $userId, $since)
since 1.24
Member Sanitizer::escapeId ($id, $options=[])
since 1.30, use one of this class' escapeIdFor*() functions
Class ScopedCallback
since 1.28 use Wikimedia
Member SearchEngine::create ($type=null)
since 1.27; Use SearchEngineFactory::create
Parameters
string$typeType of search backend, if not the default
Returns
SearchEngine
Member SearchEngine::defaultNamespaces ()
since 1.27; use SearchEngineConfig::defaultNamespaces()
Returns
array
Member SearchEngine::getNearMatch ($searchterm)
since 1.27; Use SearchEngine::getNearMatcher()
Parameters
string$searchterm
Returns
Title
Member SearchEngine::getNearMatchResultSet ($searchterm)
since 1.27; Use SearchEngine::getNearMatcher()
Parameters
string$searchterm
Returns
SearchResultSet
Member SearchEngine::getSearchTypes ()
since 1.27; use SearchEngineConfig::getSearchTypes()
Returns
array
Member SearchEngine::namespacesAsText ($namespaces)
since 1.27; use SearchEngineConfig::namespacesAsText()
Parameters
array$namespaces
Returns
array
Member SearchEngine::searchableNamespaces ()
since 1.27; use SearchEngineConfig::searchableNamespaces()
Returns
array
Member SearchEngine::userNamespaces ($user)
since 1.27; use SearchEngineConfig::userNamespaces()
Parameters
user$user
Returns
array
Member SFFormInput::getDefaultPropTypeLists ()
Returns
Array of arrays (key is the property type, value is an array of default args to be used for this input)
Member SFFormInput::getDefaultPropTypes ()
Returns
Array of arrays (key is the property type, value is an array of default args to be used for this input)
Member SFFormInput::getHTML ($cur_value, $input_name, $is_mandatory, $is_disabled, $other_args)
Do not use/override this in new input type classes
Member SFFormInput::getOtherPropTypeListsHandled ()
Returns
Array of strings
Member SFFormInput::getOtherPropTypesHandled ()
Returns
Array of strings
Member SFFormLinker::createLinkedPage ($title, $incomingProperties)
since SF 3.4.
Member SFRegExpInput::getOtherPropTypesHandled ()
Returns
Array of strings
Member SiteConfiguration::$localVHosts
since 1.25; use $wgLocalVirtualHosts instead.
Member SiteSQLStore::newInstance ($sitesTable=null, BagOStuff $cache=null)
since 1.27 use MediaWikiServices::getSiteStore() or MediaWikiServices::getSiteLookup() instead.
Member SkinFactory::getDefaultInstance ()
in 1.27
Returns
SkinFactory
Member Skins::getComponent ( $description, $indent=0, $htmlClassAttribute= '')
since 1.6. Use getSkin()->getComponentFactory()->getComponent()
Member SmartList::getToplist ($sInput, $aArgs, $oParser)
since version 2.23.3
Parameters
string$sInputInner HTML of BsTagMToplist tag. Not used.
array$aArgsList of tag attributes.
Parser$oParserMediaWiki parser object
Returns
string HTML output that is to be displayed.
Namespace Smarty

in favor of Smarty::$_CHARSET

in favor of Smarty::$_DATE_FORMAT

Member Smarty_Internal_Data::getVariable ($variable=null, Smarty_Internal_Data $_ptr=null, $searchParents=true, $error_enable=true)
since 3.1.28 please use Smarty_Internal_Data::getTemplateVars() instead.
Member SMW::newQueryParser ()
since 2.5, use QueryFactory::newQueryParser
Since
2.1
Member SMW::getDataItemId ($typeId)
since 2.5, use DataTypeRegistry::getDataItemByType
Member SMW::getDefaultDataItemTypeId ($diType)
since 2.5, use DataTypeRegistry::getDefaultDataItemByType
Member SMW::findTypeID ($label)
since 1.9, use DataTypeRegistry::findTypeId
Member SMW::findTypeLabel ($id)
since 1.9, use DataTypeRegistry::findTypeLabel
Member SMW::getDataItemId ($typeId)
since 1.9, use DataTypeRegistry::getDataItemId
Member SMW::getKnownTypeLabels ()
since 1.9, use DataTypeRegistry::getKnownTypeLabels
Member SMW::newDataItemValue (DataItem $dataItem, DIProperty $property=null, $caption=false)
since 2.4, use DataValueFactory::newDataValueByItem
Member SMW::newPropertyObjectValue (DIProperty $property, $valueString=false, $caption=false, $contextPage=null)
since 2.4, use DataValueFactory::newDataValueByProperty
Member SMW::newPropertyValue ($propertyName, $valueString, $caption=false, DIWikiPage $contextPage=null)
since 2.4, use DataTypeRegistry::newDataValueByText
Member SMW::newTypeIdValue ($typeId, $valueString=false, $caption=false, DIProperty $property=null, $contextPage=null)
since 2.4, use DataValueFactory::newDataValueByType
Member SMW::registerDatatype ($id, $className, $dataItemId, $label=false)
since 1.9, use DataTypeRegistry::registerDataType
Member SMW::registerDatatypeAlias ($id, $label)
since 1.9, use DataTypeRegistry::registerDataTypeAlias
Member SMW::findPropertyID ($label, $useAlias=true)
since 2.1, use PropertyRegistry::findPropertyIdByLabel
Member SMW::findPropertyLabel ($id)
since 2.1, use PropertyRegistry::findPropertyLabelById
Member SMW::getPredefinedPropertyTypeId ($key)
since 2.1, use PropertyRegistry::getPredefinedPropertyTypeId
Member SMW::registerProperty ($id, $typeid, $label=false, $show=false)
since 2.1, use PropertyRegistry::registerProperty
Member SMW::registerPropertyAlias ($id, $label)
since 2.1, use PropertyRegistry::registerPropertyAlias
Member SMW::findMonth ($label)
use findMonthNumberByLabel
Member SMW::getMonthLabel ($number)
use getMonthLabelByNumber
Member SMW::getPropertyId ($propertyLabel)
use getPropertyIdByLabel
Member SMW::createHashIdFromSegments ($title, $namespace, $interwiki= '', $fragment= '')
since 2.4, use Hash::createFromSegments
Since
2.1
Member SMW::getPoolCacheFor ($poolCacheName, $cacheSize=500)
since 2.5, use InMemoryPoolCache::getPoolCacheById
Since
2.3
Member SMW::getLanguageCodeFrom (&$value)
2.5, use Localizer::getAnnotatedLanguageCodeFrom instead
Since
2.4
Member SMW::termMatches ()
remove once min supported MW version has ::highlightNone()
Member SMW::clearData ()
since 2.1, use setEmptySemanticData
Member SMW::getData ()
since 2.0, use getSemanticData
Member SMW::setData (SemanticData $semanticData)
since 2.0, use setSemanticData
Member SMW::updateOutput ()
since 2.1, use pushSemanticDataToParserOutput
Member SMW::getRecurringEventsParser ()
since 2.1, use newRecurringEventsParserFunction
Member SMW::getSubobjectParser ()
since 2.1, use newSubobjectParserFunction
Member SMW::getFirst ()
since 2.3, use ParserParameterProcessor::getFirstParameter
Member SMW::getParameterValuesFor ($key)
since 2.5, use ParserParameterProcessor::getParameterValuesByKey
Since
2.3
Member SMW::findPropertyId ($label, $useAlias=true)
since 2.1 use findPropertyIdByLabel instead
Member SMW::findPropertyLabel ($id)
since 2.1 use findPropertyLabelById instead
Member SMW::getPredefinedPropertyTypeId ($id)
since 2.1 use getPropertyTypeId instead
Member SMW::getDataValue ()
Use getDataItem() and ::getInstance()->newDataValueByItem() if needed. Vanishes before SMW 1.7
Returns
DataItem
Member SMW::encode ($id, $data)
since 2.0
Member SMW::loading ()
since 2.0
Member SMW::$m_params
Use $params instead. Will be removed in 1.10.
Member SMW::exportFormatParameters ()
since 1.8, removal in 1.10
Member SMW::getParameters ()
since 1.8, use getParamDefinitions instead.
Member SMW::textDisplayParameters ()
since 1.8, removal in 1.10
Member SMW::setSemanticData ($identifier)
since 2.0
Member SMW::createPagesFor (array $pages, $defaultNamespace)
2.5
Member SMW::enabledDeferredUpdate ($enabledDeferredUpdate=true)
since 3.0, use DeferredCallableUpdate::isDeferrableUpdate
Since
2.4
Member SMWDataItem::TYPE_STRING
Will vanish after SMW 1.9; use TYPE_BLOB instead.
Member SMWDataValue::prepareValue (&$value, &$comparator)
2.3
See Also
DescriptionDeserializer::prepareValue
Class SMWDIString
Will be removed after SMW 1.9; use SMWDIBlob instead
Member smwfIsSemanticsProcessed ($namespace)
since 1.9 and will be removed in 1.11
Class SMWParamFormat
since 1.9
Member SMWPropertyValue::getDBkey ()
since 1.6
Member SMWPropertyValue::getText ()
since 1.6
Member SMWPropertyValue::getTypesValue ()
Types values are not a good way to exchange SMW type information. They are for input only. Use getPropertyTypeID() if you want the type id. This method will vanish in SMW 1.7.
Member SMWPropertyValue::isInverse ()
since 1.6
Member SMWPropertyValue::isShown ()
since 1.6
Member SMWPropertyValue::isUserDefined ()
since 1.6
Member SMWPropertyValue::registerProperty ($id, $typeid, $label=false, $show=false)
Use DIProperty::registerProperty(). Will vanish before SMW 1.7.
Member SMWPropertyValue::registerPropertyAlias ($id, $label)
Use DIProperty::registerPropertyAlias(). Will vanish before SMW 1.7.
Member SMWQueryProcessor::getResultFromFunctionParams (array $rawParams, $outputMode, $context=self::INLINE_QUERY, $showMode=false)
Will vanish after release of SMW 1.8. See SMW_Ask.php for example code on how to get query results from #ask function parameters.
Member SMWQueryProcessor::getResultFromQueryString ($queryString, array $params, $extraPrintouts, $outputMode, $context=self::INLINE_QUERY)
Will vanish after release of SMW 1.8. See SMW_Ask.php for example code on how to get query results from #ask function parameters.
Member SMWQueryProcessor::getSortKeys (array $sortParam, array $orderParam, $defaultSort)
since 2.5, This method should no longer be used but since it was made protected (and therefore can be derived from) it will remain until 3.0 to avoid a breaking BC.
Member SMWQueryProcessor::processFunctionParams (array $rawParams, &$querystring, &$params, &$printouts, $showMode=false)
Will vanish after SMW 1.8 is released. Use getComponentsFromFunctionParams which has a cleaner interface.
Member SMWQueryResult::getLink ()
since 2.5, use QueryResult::getQueryLink
Member SMWQueryResult::getQueryLink ($caption=false)
since SMW 1.8
Member SMWRecordValue::getDVs ()
as of 1.6, use getDataItems instead
Member SMWResultArray::getNextObject ()
since 1.6. Call getNextDataValue() or getNextDataItem() directly as needed. Method will vanish before SMW 1.7.
Class SMWStringLengthException
Will be removed after SMW 1.9; do not use
Member SMWTimeValue::getXMLSchemaDate ($mindefault=true)
This method is now called getISO8601Date(). It will vanish before SMW 1.7.
Member SMWTypesValue::isBuiltIn ()
As of SMW 1.6, there are no more user-defined datatypes, making this method useless. Will vanish in SMW 1.6.
Member SMWWikiPageValue::getSortKey ()
Use SMWStore::getWikiPageSortKey(). Will vanish before SMW 1.7
Member SMWWikiPageValue::makePage ($dbkey, $namespace, $ignoredParameter= '', $interwiki= '')
This method will vanish before SMW 1.7. If you really need this, simply copy its code.
Member SMWWikiPageValue::makePageFromTitle (Title $title)
This method will vanish before SMW 1.7. If you really need this, simply copy its code.
Member SpecialPage::getTitle ($subpage=false)
since 1.23, use SpecialPage::getPageTitle
Member SpecialRecentChanges::filterByCategories (&$rows, FormOptions $opts)
since 1.31
Class SpecialResetTokens
since 1.26
Class SqlDataUpdate
Since 1.28 Use DataUpdate directly, injecting the database
Class SquidUpdate
since 1.27
Member Status::getErrorsArray ()
since 1.25
Member Status::getWarningsArray ()
since 1.25
Class StringPrefixSearch

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

Member StripState::getSubState ($text)
since 1.31
Parameters
string$text
Returns
StripState
Member StripState::merge ($otherState, $texts)
since 1.31
Parameters
StripState$otherState
array$texts
Returns
array
Member Symfony::getTerminalDimensions ()
since version 3.2, to be removed in 4.0. Create a Terminal instance instead.
Member Symfony::getTerminalHeight ()
since version 3.2, to be removed in 4.0. Create a Terminal instance instead.
Member Symfony::getTerminalWidth ()
since version 3.2, to be removed in 4.0. Create a Terminal instance instead.
Member Symfony::setTerminalDimensions ($width, $height)
since version 3.2, to be removed in 4.0. Set the COLUMNS and LINES env vars instead.
Member Symfony::EXCEPTION
The console.exception event is deprecated since version 3.3 and will be removed in 4.0. Use the console.error event instead.
Class Symfony
since version 3.3, to be removed in 4.0. Use ConsoleErrorEvent instead.
Member Symfony::getInputStream ()
since version 3.2, to be removed in 4.0. Use StreamableInputInterface::getStream() instead.
Member Symfony::setInputStream ($stream)
since version 3.2, to be removed in 4.0. Use StreamableInputInterface::setStream() instead.
Member Symfony::deprecatedMethod ()
since version 3.4.
Class Symfony
but this is a test deprecation notice
Class Symfony
but this is a test deprecation notice
Member Symfony::areEnvironmentVariablesInherited ()
since version 3.3, to be removed in 4.0. Environment variables will always be inherited.
Member Symfony::getEnhanceSigchildCompatibility ()
since version 3.3, to be removed in 4.0. Sigchild compatibility will always be enabled.
Member Symfony::getEnhanceWindowsCompatibility ()
since version 3.3, to be removed in 4.0. Enhanced Windows compatibility will always be enabled.
Member Symfony::getOptions ()
since version 3.3, to be removed in 4.0.
Member Symfony::setEnhanceSigchildCompatibility ($enhance)
since version 3.3, to be removed in 4.0.
Member Symfony::setEnhanceWindowsCompatibility ($enhance)
since version 3.3, to be removed in 4.0. Enhanced Windows compatibility will always be enabled.
Member Symfony::setOptions (array $options)
since version 3.3, to be removed in 4.0.
Class Symfony
since version 3.4, to be removed in 4.0. Use the Process class instead.
Member Symfony::escapeArgument ($argument)
since version 3.3, to be removed in 4.0. Use a command line array or give env vars to the Process::start/run() method instead.
Class Symfony
since version 3.4, to be removed in 4.0.
Member Symfony::getRawData ()
since version 3.3. Use array or object access instead.
Member Symfony::setIndentation ($num)
since version 3.1, to be removed in 4.0. Pass the indentation to the constructor instead.
Member Symfony::PARSE_KEYS_AS_STRINGS
since version 3.4, to be removed in 4.0. Quote your evaluable keys instead.
Member SyntaxHighlight::buildHeadItem ($geshi)
since MW 1.25
Parameters
GeSHi$geshi
Returns
string
Member SyntaxHighlight::prepare ($text, $lang)
since MW 1.25
Member TablePager::getBody ()
since 1.24, use getBodyOutput() or getFullOutput() instead
Returns
string
Member TextContent::getHighlightHtml ()
since 1.24. Use getHtml() instead. In particular, subclasses overriding getHighlightHtml() should override getHtml() instead.
Member Title::canTalk ()
since 1.30, use canHaveTalkPage() instead.
Member Title::escapeFragmentForURL ($fragment)
since 1.30, use Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki()
Member Title::getSkinFromCssJsSubpage ()
Since 1.31; use ::getSkinFromConfigSubpage() instead
Returns
string Containing skin name from .css, .json, or .js subpage title
Member Title::getSquidURLs ()
since 1.27 use getCdnUrls()
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::isCssSubpage ()
Since 1.31; use ::isUserCssConfigPage()
Returns
bool
Member Title::isJsSubpage ()
Since 1.31; use ::isUserJsConfigPage()
Returns
bool
Member Title::isValidMoveOperation (&$nt, $auth=true, $reason= '')
since 1.25, use MovePage's methods instead
Parameters
Title&$ntThe new title
bool$authWhether to check user permissions (uses $wgUser)
string$reasonIs the log summary of the move, used for spam checking
Returns
array|bool True on success, getUserPermissionsErrors()-like array on failure
Member Title::isValidMoveTarget ($nt)
since 1.25, use MovePage's methods instead
Parameters
Title$ntThe new title to check
Returns
bool
Member Title::moveTo (&$nt, $auth=true, $reason= '', $createRedirect=true, array $changeTags=[])
since 1.25, use the MovePage class instead
Parameters
Title&$ntThe new title
bool$authIndicates whether $wgUser's permissions should be checked
string$reasonThe reason for the move
bool$createRedirectWhether to create a redirect from the old title to the new title. Ignored if the user doesn't have the suppressredirect right.
array$changeTagsApplied to the entry in the move log and redirect page revision
Returns
array|bool True on success, getUserPermissionsErrors()-like array on failure
Class TitlePrefixSearch

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

Member UEModulePDF::onUniversalExportSpecialPageExecute ($oCurrentTitle, $oSpecialPage, $aCurrentQueryParams, $aModules)
in 1.1.1
Member UNICODE_HANGUL_FIRST
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_LAST
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_LBASE
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_LCOUNT
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_LEND
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_NCOUNT
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_TBASE
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_TCOUNT
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_TEND
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_VBASE
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_VCOUNT
since 1.25, use UtfNormal instead
Member UNICODE_HANGUL_VEND
since 1.25, use UtfNormal instead
Member UNICODE_MAX
since 1.25, use UtfNormal instead
Member UNICODE_REPLACEMENT
since 1.25, use UtfNormal instead
Member UNICODE_SURROGATE_FIRST
since 1.25, use UtfNormal instead
Member UNICODE_SURROGATE_LAST
since 1.25, use UtfNormal instead
Member UniversalExport::onDefaultWidgets ($oEvent, $aWidgets)
in 1.1.1
Member UploadBase::stashFile (User $user=null)
since 1.28 Use tryStashFile() instead
Parameters
User$user
Returns
UploadStashFile Stashed file
Exceptions
UploadStashBadPathException
UploadStashFileException
UploadStashNotLoggedInException
Member UploadBase::stashFileGetKey ()
since 1.28
Returns
string File key
Member UploadBase::stashSession ()
since 1.28
Returns
string File key
Member UploadFromChunks::stashFile (User $user=null)
since 1.28 Use tryStashFile() instead
Member UploadFromChunks::stashFileGetKey ()
since 1.28
Member UploadFromChunks::stashSession ()
since 1.28
Class UsageException
since 1.29, use ApiUsageException instead
Member User::addNewUserLogEntry ($action=false, $reason= '')
since 1.27, AuthManager handles logging
Parameters
string | bool$actionAccount creation type.
  • String, one of the following values:
    • 'create' for an anonymous user creating an account for himself. This will force the action's performer to be the created user itself, no matter the value of $wgUser
    • 'create2' for a logged in user creating an account for someone else
    • 'byemail' when the created user will receive its password by e-mail
    • 'autocreate' when the user is automatically created (such as by CentralAuth).
  • Boolean means whether the account was created by e-mail (deprecated):
    • true will be converted to 'byemail'
    • false will be converted to 'create' if this object is the same as $wgUser and to 'create2' otherwise
string$reasonUser supplied reason
Returns
bool true
Member User::addNewUserLogEntryAutoCreate ()
since 1.27, AuthManager handles logging
Returns
bool
Member User::checkPassword ($password)
since 1.27, use AuthManager instead
Parameters
string$passwordUser password
Returns
bool True if the given password is correct, otherwise False
Member User::checkTemporaryPassword ($plaintext)
since 1.27, use AuthManager instead
Parameters
string$plaintext
Returns
bool True if matches, false otherwise
Member User::EDIT_TOKEN_SUFFIX
since 1.27, use ::SUFFIX
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::getGroupPage ($group)
since 1.29 Use UserGroupMembership::getGroupPage instead
Member User::getTokenFromOption ($oname)
since 1.26 Applications should use the OAuth extension
Member User::makeGroupLinkHTML ($group, $text= '')
since 1.29 Use UserGroupMembership::getLink instead, or make the link yourself if you need custom text
Member User::makeGroupLinkWiki ($group, $text= '')
since 1.29 Use UserGroupMembership::getLink instead, or make the link yourself if you need custom text
Member User::randomPassword ()
since 1.27, use PasswordFactory::generateRandomPasswordString()
Returns
string New random password
Member User::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Returns
array
Member User::setInternalPassword ($str)
since 1.27, use AuthManager instead
Parameters
string | null$strNew password to set or null to set an invalid password hash meaning that the user will not be able to log in through the web interface.
Member User::setNewpassword ($str, $throttle=true)
Removed in 1.27. Use PasswordReset instead.
Parameters
string$strNew password to set or null to set an invalid password hash meaning that the user will not be able to use it
bool$throttleIf true, reset the throttle timestamp to the present
Member User::setPassword ($str)
since 1.27, use AuthManager instead
Parameters
string$strNew password to set
Exceptions
PasswordErrorOn failure
Returns
bool
Member UTF8_FDD0
since 1.25, use UtfNormal instead
Member UTF8_FDEF
since 1.25, use UtfNormal instead
Member UTF8_FFFE
since 1.25, use UtfNormal instead
Member UTF8_FFFF
since 1.25, use UtfNormal instead
Member UTF8_HANGUL_FIRST
since 1.25, use UtfNormal instead
Member UTF8_HANGUL_LAST
since 1.25, use UtfNormal instead
Member UTF8_HANGUL_LBASE
since 1.25, use UtfNormal instead
Member UTF8_HANGUL_LEND
since 1.25, use UtfNormal instead
Member UTF8_HANGUL_TBASE
since 1.25, use UtfNormal instead
Member UTF8_HANGUL_TEND
since 1.25, use UtfNormal instead
Member UTF8_HANGUL_VBASE
since 1.25, use UtfNormal instead
Member UTF8_HANGUL_VEND
since 1.25, use UtfNormal instead
Member UTF8_HEAD
since 1.25, use UtfNormal instead
Member UTF8_MAX
since 1.25, use UtfNormal instead
Member UTF8_OVERLONG_A
since 1.25, use UtfNormal instead
Member UTF8_OVERLONG_B
since 1.25, use UtfNormal instead
Member UTF8_OVERLONG_C
since 1.25, use UtfNormal instead
Member UTF8_REPLACEMENT
since 1.25, use UtfNormal instead
Member UTF8_SURROGATE_FIRST
since 1.25, use UtfNormal instead
Member UTF8_SURROGATE_LAST
since 1.25, use UtfNormal instead
Member UTF8_TAIL
since 1.25, use UtfNormal instead
Member utf8ToCodepoint ($char)
since 1.25, use UtfNormal directly
Class UtfNormal

since 1.25, use UtfNormal directly

Member ValueFormatters::getFormatterClass ()
since 0.2, just use getInstance.
Member wfBCP47 ($code)
since 1.31, use LanguageCode::bcp47() directly.
Member wfCountDown ($seconds)
since 1.31, use Maintenance::countDown()
Member wfDiff ($before, $after, $params= '-u')
since 1.25, use DiffEngine/UnifiedDiffFormatter directly
Member wfErrorLog ($text, $file, array $context=[])
since 1.25 Use ::emit or UDPTransport
Member wfEscapeShellArg ()
since 1.30 use MediaWiki::escape()
Member wfGetLB ($wiki=false)
since 1.27, use MediaWikiServices::getDBLoadBalancer() or MediaWikiServices::getDBLoadBalancerFactory() instead.
Member wfGetLBFactory ()
since 1.27, use MediaWikiServices::getDBLoadBalancerFactory() instead.
Member wfGetParserCacheStorage ()
since 1.30, use MediaWikiServices::getParserCache()->getCacheStorage()
Returns
BagOStuff
Member wfGlobalCacheKey ()
since 1.30 Call makeGlobalKey on a BagOStuff instance
Since
1.26
Parameters
string$args,...
Returns
string
Member wfMemcKey ()
since 1.30 Call makeKey on a BagOStuff instance
Parameters
string$args,...
Returns
string
Member wfResetSessionID ()
since 1.27, use MediaWiki instead
Since
1.22
Member wfRestoreWarnings ()
since 1.26, use Wikimedia() directly Restore error level to previous value
Member wfRunHooks ($event, array $args=[], $deprecatedVersion=null)
since 1.25 - use Hooks::run
Member wfSetupSession ($sessionId=false)
since 1.27, use MediaWiki instead. Generally, "using" SessionManager will be calling ->getSessionById() or ::getGlobalSession() (depending on whether you were passing $sessionId here), then calling $session->persist().
Parameters
bool | string$sessionId
Member wfShellExec ($cmd, &$retval=null, $environ=[], $limits=[], $options=[])
since 1.30 use class MediaWiki
Member wfShellExecWithStderr ($cmd, &$retval=null, $environ=[], $limits=[])
since 1.30 use class MediaWiki
Member wfShellWikiCmd ($script, array $parameters=[], array $options=[])
since 1.31, use Shell::makeScriptCommand()
Member wfSuppressWarnings ($end=false)
since 1.26, use Wikimedia() directly
Parameters
bool$end
Member wfUseMW ($req_ver)
since 1.26, use the "requires" property of extension.json
Parameters
string | int | float$req_verThe version to check, can be a string, an integer, or a float
Exceptions
MWException
Member wfUsePHP ($req_ver)
since 1.30
Member wfWaitForSlaves ($ifWritesSince=null, $wiki=false, $cluster=false, $timeout=null)
since 1.27 Use LBFactory::waitForReplication
Member Wikimedia::getProperty ($name)
Since 1.28
Member Wikimedia::reportConnectionError ($error= 'Unknown error')
since 1.32
Parameters
string$errorFallback message, if none is given by DB
Exceptions
DBConnectionError
Member Wikimedia::doneWrites ()
Since 1.31; use lastDoneWrites()
Member Wikimedia::getWikiID ()
1.30
Member Wikimedia::implicitGroupby ()
Since 1.30; only use grouped or aggregated fields in the SELECT
Member Wikimedia::nextSequenceValue ($seqName)
since 1.30, no longer needed
Parameters
string$seqName
Returns
null|NextSequenceValue
Member Wikimedia::laggedSlaveUsed ()
Since 1.28; use laggedReplicaUsed()
Class Wikimedia
since 1.30, only exists for backwards compatibility
Class Wikimedia
since 1.31, use IDatabase::startAtomic() and such instead.
Member WikiPage::replaceSectionContent ($sectionId, Content $sectionContent, $sectionTitle= '', $edittime=null)
since 1.24, use replaceSectionAtRev instead
Member WikiPage::selectFields ()
since 1.31, use self::getQueryInfo() instead.
Returns
array
Member WikiPage::updateIfNewerOn ($dbw, $revision)
since 1.24, use updateRevisionOn instead
Member WikiRevision::$fileIsTemp
1.29 use Wikirevision::isTempSrc() First written to in 43d5d3b682cc1733ad01a837d11af4a402d57e6a Actually introduced in 52cd34acf590e5be946b7885ffdc13a157c1c6cf
Member WikiRevision::$importer
in 1.29. Unused.
Note
Introduced in 9b3128eb2b654761f21fd4ca1d5a1a4b796dc912, unused there, unused now.
Member WikiRevision::downloadSource ()
in 1.31. Use UploadImporter::downloadSource
Returns
bool|string
Member WikiRevision::importOldRevision ()
in 1.31. Use OldRevisionImporter::import
Returns
bool
Member WikiRevision::importUpload ()
in 1.31. Use UploadImporter::import
Returns
bool
Member ZMQ::MODE_NOBLOCK
use ZMQ::MODE_DONTWAIT instead