BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
Deprecated List
Member $wgAjaxExportList
(officially) since 1.27; use the API instead
Member $wgEnableParserCache
1.26
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 $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 $wgResourceLoaderMinifierMaxLineLength
since 1.27: Always 1,000; no longer configurable.
Member $wgResourceLoaderMinifierStatementsOnOwnLine
since 1.27: Always false; no longer configurable.
Member $wgScriptExtension
since 1.25; support for '.php5' has been phased out of MediaWiki proper. Backward-compatibility can be maintained by configuring your web server to rewrite URLs. See RELEASE-NOTES for details.
Member $wgSessionHandler
since 1.27, MediaWiki doesn't use PHP session storage.
Member $wgSessionsInMemcached
since 1.20; Use $wgSessionsInObjectCache
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 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.
Member $wgSkipSkin
since 1.23; use $wgSkipSkins instead
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 $wgUseTidy
use $wgTidyConfig
Member $wgXhtmlDefaultNamespace
since 1.22
Member Apache_Solr_Document::setMultiValue ($key, $value, $boost=false)
Use addField(...) instead
Member ApiBase::getDescription ()
since 1.25
Returns
Message|string|array
Member ApiBase::getExamples ()
since 1.25, use getExamplesMessages() instead
Returns
bool|string|array
Member ApiBase::getModuleProfileName ($db=false)
since 1.25, always returns empty string
Parameters
IDatabase | bool$db
Returns
string
Member ApiBase::getParamDescription ()
since 1.25
Returns
array|bool False on no parameter descriptions
Member ApiBase::getProfileDBTime ()
since 1.25, always returns 0
Returns
float
Member ApiBase::getProfileTime ()
since 1.25, always returns 0
Returns
float
Member ApiBase::getResultData ()
since 1.25, use $this->getResult() methods instead
Returns
array
Member ApiBase::makeHelpArrayToString ($prefix, $title, $input)
since 1.25
Parameters
string$prefixText to split output items
string$titleWhat is being output
string | array$input
Returns
string
Member ApiBase::makeHelpMsg ()
since 1.25
Returns
string|bool
Member ApiBase::makeHelpMsgParameters ()
since 1.25
Returns
string|bool
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
Class ApiErrorFormatter_BackCompat

Only for backwards compatibility, do not use

Member ApiFeedExtendedSearch::getExamples ()
since MediaWiki core 1.25
Member ApiFlagConfig::getDescription ()
since MediaWiki core 1.25
Member ApiFlagConfig::getExamples ()
since MediaWiki core 1.25
Member ApiFormatBase::formatHTML ($text)
since 1.25
Parameters
string$text
Returns
string
Member ApiFormatBase::getDescription ()
since 1.25
Member ApiFormatBase::getNeedsRawData ()
since 1.25
Returns
bool Always true
Member ApiFormatBase::getWantsHelp ()
since 1.25
Returns
bool
Member ApiFormatBase::setBufferResult ($value)
since 1.25, output is always buffered
Parameters
bool$value
Member ApiFormatBase::setHelp ($help=true)
since 1.25
Parameters
bool$help
Member ApiFormatBase::setUnescapeAmps ($b)
since 1.25
Parameters
bool$bWhether or not ampersands should be escaped.
Member ApiFormatJson::getWantsHelp ()
since 1.25
Member ApiMain::makeHelpMsg ()
since 1.25
Returns
string
Member ApiMain::makeHelpMsgHeader ($module, $paramName)
since 1.25
Parameters
ApiBase$module
string$paramNameWhat type of request is this? e.g. action, query, list, prop, meta, format
Returns
string
Member ApiMain::reallyMakeHelpMsg ()
since 1.25
Returns
mixed|string
Member ApiMain::setHelp ($help=true)
since 1.25
Parameters
bool$help
Member ApiMobileView::getDescription ()
since MediaWiki core 1.25
Returns
string
Member ApiMobileView::getExamples ()
since MediaWiki core 1.25
Returns
array
Member ApiMobileView::getParamDescription ()
since MediaWiki core 1.25
Returns
array
Member ApiPageSet::getInvalidTitles ()
since 1.26, use self::getInvalidTitlesAndReasons()
Returns
string[] Array of strings (not Title objects)
Member ApiQuery::makeHelpMsg ()
since 1.25
Returns
string
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 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 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 ApiResult::beginContinuation ($continue, array $allModules=[], array $generatedModules=[])
since 1.25, use ApiContinuationManager instead
Parameters
string | null$continue
ApiBase[]$allModules
array$generatedModules
Returns
array
Member ApiResult::cleanUpUTF8 ()
since 1.25
Member ApiResult::convertStatusToArray ($status, $errorType= 'error')
since 1.25, use ApiErrorFormatter::arrayFromStatus()
Parameters
Status$status
string$errorType
Returns
array
Member ApiResult::disableSizeCheck ()
since 1.24, use ApiResult::NO_SIZE_CHECK
Member ApiResult::enableSizeCheck ()
since 1.24, use ApiResult::NO_SIZE_CHECK
Member ApiResult::endContinuation ($style= 'standard')
since 1.25, use ApiContinuationManager instead
Parameters
string$style'standard' for the new style since 1.21, 'raw' for the style used in 1.20 and earlier.
Member ApiResult::getData ()
since 1.25, use $this->getResultData() instead
Returns
array
Member ApiResult::getIsRawMode ()
since 1.25, you shouldn't have been using it in the first place
Returns
bool
Member ApiResult::setContent (&$arr, $value, $subElemName=null)
since 1.25, use self::setContentValue() instead
Parameters
array$arrTo add the content element to
mixed$value
string$subElemNameWhen present, content element is created as a sub item of $arr. Use this parameter to create elements in format "<elem>text</elem>" without attributes.
Member ApiResult::setContinueParam (ApiBase $module, $paramName, $paramValue)
since 1.25, use ApiContinuationManager instead
Parameters
ApiBase$module
string$paramName
string | array$paramValue
Member ApiResult::setElement (&$arr, $name, $value, $flags=0)
since 1.25, use self::setValue() instead
Parameters
array$arrTo add $value to
string$nameIndex of $arr to add $value at
mixed$value
int$flagsZero or more OR-ed flags like OVERRIDE | ADD_ON_TOP. This parameter used to be boolean, and the value of OVERRIDE=1 was specifically chosen so that it would be backwards compatible with the new method signature.
Member ApiResult::setGeneratorContinueParam (ApiBase $module, $paramName, $paramValue)
since 1.25, use ApiContinuationManager instead
Parameters
ApiBase$module
string$paramName
string | array$paramValue
Member ApiResult::setIndexedTagName_internal ($path, $tag)
since 1.25, use $this->addIndexedTagName() instead
Parameters
array$pathPath to the array, like addValue()'s $path
string$tag
Member ApiResult::setIndexedTagName_recursive (&$arr, $tag)
since 1.25, use self::setIndexedTagNameRecursive() instead
Parameters
array$arr
string$tagTag name
Member ApiResult::setMainForContinuation (ApiMain $main)
for backwards compatibility only, do not use
Parameters
ApiMain$main
Member ApiResult::setParsedLimit ($moduleName, $limit)
since 1.25, use $this->addParsedLimit() instead
Parameters
string$moduleName
int$limit
Member ApiResult::setRawMode ($flag=true)
since 1.25, you shouldn't have been using it in the first place
Since
1.23 $flag parameter added
Parameters
bool$flagSet the raw mode flag to this state
Member ApiResult::size ($value)
since 1.25, no external users known and there doesn't seem to be any case for such use over just checking the return value from the add/set methods.
Parameters
mixed$value
Returns
int
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 ApiScribuntoConsole::getDescription ()
since MediaWiki core 1.25
Member ApiScribuntoConsole::getParamDescription ()
since MediaWiki core 1.25
Member ApiStabilizeGeneral::getDescription ()
since MediaWiki core 1.25
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::getExamples ()
since MediaWiki core 1.25
Member ApiStabilizeProtect::getParamDescription ()
since MediaWiki core 1.25
Class ApiTokens

since 1.24

Member ArchivedFile::getUserText ()
since 1.23 Use getUser( 'text' ) instead.
Returns
string
Member Article::fetchContent ()
since 1.21, use WikiPage::getContent() instead
Member Article::getAutosummary ($oldtext, $newtext, $flags)
since 1.21, use ContentHandler::getAutosummary() instead
Member Article::getContent ()
since 1.21; use WikiPage::getContent() instead
Member Article::onArticleCreate ($title)
since 1.24, use WikiPage::onArticleCreate() instead
Member Article::onArticleDelete ($title)
since 1.24, use WikiPage::onArticleDelete() instead
Member Article::onArticleEdit ($title)
since 1.24, use WikiPage::onArticleEdit() instead
Member Article::selectFields ()
since 1.24, use WikiPage::selectFields() instead
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.
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'.
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 BsCore::registerClientScriptBlock ($sExtensionKey, $sCode, $sUniqueKey= '')
Use MediaWikis Outpage interface instead
Member BSEntity::toJson ()
since 2.27.0 - Use json_encode( $oInstance ) instead
Returns
stdObject - Subclass needs to return encoded string!
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
Member BsGroupHelper::addTemporaryGroupToUser ($oUser, $sGroupName, $aPermissions, Title $oTitle=null)
since 2.23.1
Parameters
User$oUser
String$sGroupName
Array$aPermissions
Title$oTitle
Returns
NULL
Member BsUniversalExportHelper::findPreviousDOMElementSibling (DOMNode &$oDOMNode, $sWantedNodeName= '')
use BsDOMHelper instead
Parameters
DOMNode$oDOMNode
type$sWantedNodeName
Returns
DOMElement | null
Class CdbException
since 1.25
Class CdbReader
since 1.25
Class CdbWriter
since 1.25
Member CdnCacheUpdate::newSimplePurge (Title $title)
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.
Member codepointToUtf8 ($codepoint)
since 1.25, use UtfNormal directly
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)
Class DataValues
since 1.0, use the base class instead.
Class DataValues
since 1.0, use the base class instead.
Member DerivativeContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member DifferenceEngine::generateDiffBody ($otext, $ntext)
since 1.21, use generateContentDiffBody() instead!
Member DummyLinker::getInternalLinkAttributes ($title, $unused=null, $class= '')
since 1.27
Member DummyLinker::getInternalLinkAttributesObj ($nt, $unused=null, $class= '', $title=false)
since 1.27
Member DummyLinker::getInterwikiLinkAttributes ($title, $unused=null, $class= 'external')
since 1.27
Member EchoUserNotificationGateway::markAllRead ()
may need this when running in a job or revive this when we have updateJoin()
Member EDIT_TOKEN_SUFFIX

since 1.27, use ::SUFFIX

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 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
1.25
Class FSRepo
since 1.19
Member HTMLFileCache::newFromTitle ($title, $action)
Since 1.24, instantiate this class directly
Member HTMLForm::isVForm ()
since 1.25
Returns
bool
File HtmlFormatter.php
since 1.27, use HtmlFormatter
Member IContextSource::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Class ImageGallery
since 1.22 Use ImageGalleryBase::factory instead.
Class IPSet
since 1.26 use IPSet directly
Member Job::batchInsert ($jobs)
since 1.21
Member Job::insert ()
since 1.21
Member JsonContent::getJsonData ()
since 1.25 Use getData instead.
Returns
array|null
Member Less_Parser::SetCacheDir ($dir)
1.5.1.2
Member LightnCandy::prepare ($php, $tmpDir=null, $delete=true)
Member Linker::getInternalLinkAttributes ($title, $unused=null, $class= '')
since 1.25
Member Linker::getInternalLinkAttributesObj ($nt, $unused=null, $class= '', $title=false)
since 1.25
Member Linker::getInterwikiLinkAttributes ($title, $unused=null, $class= 'external')
since 1.25
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
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
Member LoginForm::getLoginToken ()
since 1.27 - don't use LoginForm, use AuthManager instead
Member LoginForm::getValidErrorMessages ()
since 1.27 - call LoginHelper::getValidErrorMessages 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::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 MagicWord::replaceMultiple ($magicarr, $subject, &$result)
since 1.25, unused
Member Maps::getJSONObject ($defText= '', $defTitle= '')
Parameters
string$defText
string$defTitle
Returns
array
Member Maps::newFromAddress ($address)
Member MapsDisplayMap::getCommonMapParams ()
Returns
array
Member MapsDisplayMapRenderer::evilOpenLayersHack ($layers)
Class MapsMapper
Member MapsMapper::getBaseMapJSON ($serviceName)
Member MapsMapper::getCommonParameters ()
Member MapsMapper::getFileUrl ($file)
Member MediaTransformOutput::streamFile ($headers=[])
since 1.26, use streamFileWithStatus
Parameters
array$headersAdditional HTTP headers to send on success
Returns
bool Success
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::autoCreateUser (User $user)
since 1.27, use MediaWiki::autoCreateUser instead
Parameters
User$userUser to auto-create
Returns
bool Success
Member MediaWikiTestCase::assertNotTag ($matcher, $actual, $message= '', $isHtml=true)
Member MediaWikiTestCase::assertTag ($matcher, $actual, $message= '', $isHtml=true)
Class MemCachedClientforWiki
since 1.27
Member MessageBlobStore::get (ResourceLoader $resourceLoader, $modules, $lang)
since 1.27 Use getBlobs() instead
Returns
array
Member MessageBlobStore::insertMessageBlob ($name, ResourceLoaderModule $module, $lang)
since 1.27 Obsolete. Used to populate a cache table in the database.
Returns
bool
Member MWEchoDbFactory::getDB ($db, $groups=array(), $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
DatabaseBase
Member MWExceptionHandler::getLogId ($e)
since 1.27: Exception IDs are synonymous with request IDs.
Parameters
Exception | Throwable$e
Returns
string
Class MWMemcached
since 1.27
Member MWTimestamp::getHumanTimestamp (MWTimestamp $relativeTo=null, User $user=null, Language $lang=null)
since 1.26 Use Language::getHumanTimestamp directly
Member ObjectCache::newAccelerator ($params=[], $fallback=null)
1.27
Member Onoi::newFixedInMemoryCache ($cacheSize=500)
since 1.1, use CacheFactory::newFixedInMemoryLruCache
Member Onoi::load ($handlerName)
since 1.1, use CallbackInstantiator::create
Member Onoi::load ($handlerName)
since 1.1
Class Onoi
since 1.1, use NullCallbackInstantiator
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 OOUI::setRTL ($isRTL)
since v0.13.1, use #setDir directly
Parameters
boolean$isRTLDirectionality is right-to-left
Returns
$this
Member OutputPage::$mDebugtext
since 1.20; use MWDebug class instead.
Member OutputPage::addExtensionStyle ($url)
since 1.27 use addModuleStyles() or addStyle() instead
Parameters
string$urlPath to sheet. Provide either a full url (beginning with 'http', etc) or a relative path from the document root (beginning with '/'). Otherwise it behaves identically to addStyle() and draws from the /skins folder.
Member OutputPage::addModuleMessages ($modules)
since 1.26 Use addModules() instead
Parameters
string | array$modulesModule name (string) or array of module names
Member OutputPage::addParserOutputNoText ($parserOutput)
since 1.24, use addParserOutputMetadata() instead.
Parameters
ParserOutput$parserOutput
Member OutputPage::getExtStyle ()
since 1.27
Returns
array
Member OutputPage::getHeadLinks ()
since 1.24 Use OutputPage::headElement or if you have to, OutputPage::getHeadLinksArray directly.
Member OutputPage::getModuleMessages ($filter=false, $position=null)
since 1.26 Obsolete
Parameters
bool$filter
string | null$position
Returns
array Array of module names
Member OutputPage::rateLimited ()
since 1.25; throw the exception directly
Member OutputPage::readOnlyPage ()
since 1.25; throw the exception directly
Exceptions
ReadOnlyError
Member OutputPage::setSquidMaxage ($maxage)
since 1.27 Use setCdnMaxage() instead
Member PageAssignmentsUsersAdditionalPermissionsHooks::onRevisionAjaxReviewBeforeParams ($oRevisionReview, &$oTitle, &$aArgs)
since version 1.22
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::getRandomString ()
since 1.26; use wfRandomString() instead.
Member Parser::replaceUnusualEscapes ($url)
since 1.24, use normalizeLinkUrl
Parameters
string$url
Returns
string
Member Parser::uniqPrefix ()
since 1.26; use Parser::MARKER_PREFIX instead.
Class ParserHook
since 1.0 in favour of the ParserHooks library
Member ParserHook::getDescription ()
since 1.0
Member ParserOutput::addModuleMessages ($modules)
since 1.26 Use addModules() instead
Parameters
string | array$modules
Member ParserOutput::getModuleMessages ()
since 1.26 Obsolete
Returns
array
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 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)
File PHPVersionError.php

1.25

Class PrefixSearch
Since 1.27, Use SearchEngine::prefixSearchSubpages or SearchEngine::completionSearch
Member PrefixSearch::titleSearch ($search, $limit, $namespaces=[], $offset=0)
Since 1.23, use TitlePrefixSearch or StringPrefixSearch classes
Class ProfileSection
1.25 No-op now
Member Prophecy::shouldNotBeenCalled ()
Member QueryPage::tryLastResult ()
since 1.27
Member RedisConnectionPool::handleException ($server, RedisConnRef $cref, RedisException $e)
since 1.23
Member RequestContext::getStats ()
since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
Member ResourceLoader::makeLoaderConditionalScript ($script)
since 1.25; use makeInlineScript instead
Parameters
string$scriptJavaScript code
Returns
string
Member ResourceLoader::makeLoaderURL ($modules, $lang, $skin, $user=null, $version=null, $debug=false, $only=null, $printable=false, $handheld=false, $extraQuery=[])
since 1.24 Use createLoaderURL() instead
Parameters
array$modulesArray of module names (strings)
string$langLanguage code
string$skinSkin name
string | null$userUser name. If null, the &user= parameter is omitted
string | null$versionVersioning timestamp
bool$debugWhether the request should be in debug mode
string | null$only&only= parameter
bool$printablePrintable mode
bool$handheldHandheld mode
array$extraQueryExtra query parameters to add
Returns
string URL to load.php. May be protocol-relative if $wgLoadScript is, too.
Member ResourceLoaderModule::getDefinitionMtime (ResourceLoaderContext $context)
since 1.26 Superseded by getVersionHash()
Parameters
ResourceLoaderContext$context
Returns
int UNIX timestamp
Member ResourceLoaderModule::getHashMtime (ResourceLoaderContext $context)
since 1.26 Superseded by getVersionHash()
Parameters
ResourceLoaderContext$context
Returns
int UNIX timestamp
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$contextContext object
Returns
int|null UNIX timestamp
Member Revision::getRawComment ()
since 1.25, use getComment( Revision::RAW )
Member Revision::getRawUser ()
since 1.25, use getUser( Revision::RAW )
Member Revision::getRawUserText ()
since 1.25, use getUserText( Revision::RAW )
Member Revision::getText ($audience=self::FOR_PUBLIC, User $user=null)
since 1.21, use getContent() instead
Member Revision::userWasLastToEdit ($db, $pageId, $userId, $since)
since 1.24
Class RevisiondeleteAction
since 1.25 This class has been replaced by SpecialPageAction, but you really shouldn't have been using it outside core in the first place
Class RunningStat
since 1.27 use RunningStat directly
Member ScribuntoEngineBase::getLimitReport ()
Returns
string
Member ScribuntoHooks::reportLimits (Parser $parser, &$report)
Parameters
Parser$parser
string$report
Returns
bool
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::getOpenSearchTemplate ()
since 1.25
Returns
string
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 SiteConfiguration::isLocalVHost ($vhost)
since 1.25; check if the host is in $wgLocalVirtualHosts instead.
Parameters
string$vhost
Returns
bool
Member SiteSQLStore::newInstance ($sitesTable=null, BagOStuff $cache=null)
1.27 use MediaWikiServices::getSiteStore() or MediaWikiServices::getSiteLookup() instead.
Member SiteStats::views ()
since 1.25
Returns
int
Member Skin::commentBlock ($comment, $title=null, $local=false, $wikiId=null)
in 1.21
Member Skin::generateRollback ($rev, IContextSource $context=null, $options=[ 'verify'])
in 1.21
Member Skin::link ($target, $html=null, $customAttribs=[], $query=[], $options=[])
in 1.21
Member Skin::linkKnown ($target, $html=null, $customAttribs=[], $query=[], $options=[ 'known', 'noclasses'])
in 1.21
Member Skin::showIPinHeader ()
since 1.27, feature removed
Returns
bool Always false
Member Skin::userLink ($userId, $userName, $altUserName=false)
in 1.21
Member Skin::userToolLinks ($userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null)
in 1.21
Member SkinFactory::getDefaultInstance ()
in 1.27
Returns
SkinFactory
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::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 findMonthNumberByLabel
Member SMW::createHashIdFromSegments ($title, $namespace, $interwiki= '', $fragment= '')
since 2.4, use Hash::createFromSegments
Since
2.1
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::getUpdateStatus ()
since 2.1, use getUpdateJobState
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::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 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::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::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 SpecialPageFactory::getList ()
since 1.24, use getNames() instead.
Returns
array
Class SpecialResetTokens
1.26
Class SquidUpdate
since 1.27
Member Status::getErrorsArray ()
1.25
Member Status::getWarningsArray ()
1.25
Class StringPrefixSearch

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

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.
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 TablePager::getBody ()
since 1.24, use getBodyOutput() or getFullOutput() instead
Returns
string
Member Tests::getFormatterClass ()
since DataValues Interfaces 0.2, just use getInstance.
Member Tests::getParserClass ()
since DataValues Common 0.3, just use getInstance.
Member Tests::getParserClass ()
since DataValues Common 0.3, just use getInstance.
Member Tests::getParserClass ()
since DataValues Common 0.3, just use getInstance.
Member Tests::getParserClass ()
since DataValues Common 0.3, just use getInstance.
Member Tests::getParserClass ()
since DataValues Common 0.3, just use getInstance.
Member Tests::getParserClass ()
since DataValues Common 0.3, just use getInstance.
Member TextContent::getHighlightHtml ()
since 1.24. Use getHtml() instead. In particular, subclasses overriding getHighlightHtml() should override getHtml() instead.
Member Title::getSquidURLs ()
since 1.27 use getCdnUrls()
Member Title::getTitleInvalidRegex ()
since 1.25, use MediaWikiTitleCodec::getTitleInvalidRegex() instead
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::moveNoAuth (&$nt)
since 1.25 use MovePage class instead
Parameters
Title$ntThe new page Title
Returns
array|bool True on success, getUserPermissionsErrors()-like array on failure
Member Title::moveTo (&$nt, $auth=true, $reason= '', $createRedirect=true)
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.
Returns
array|bool True on success, getUserPermissionsErrors()-like array on failure
Class TitlePrefixSearch

Since 1.27, Use SearchEngine::prefixSearchSubpages 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 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::clearCookie ($name, $secure=null, $params=[])
since 1.27
Parameters
string$nameName of the cookie to clear
bool$securetrue: Force setting the secure attribute when setting the cookie false: Force NOT setting the secure attribute when setting the cookie null (default): Use the default ($wgCookieSecure) to set the secure attribute
array$paramsArray of options sent passed to WebResponse::setcookie()
Member User::comparePasswords ($hash, $password, $userId=false)
since 1.24, use Password class
Member User::crypt ($password, $salt=false)
since 1.24, use Password class
Member User::EDIT_TOKEN_SUFFIX
since 1.27, use ::SUFFIX
Member User::edits ($uid)
since 1.21 in favour of User::getEditCount
Member User::getEditTokenTimestamp ($val)
since 1.27, use ::getTimestamp instead.
Parameters
string$valInput token
Returns
int|null
Member User::getPassword ()
Removed in 1.27.
Returns
Password
Since
1.24
Member User::getPasswordFactory ()
since 1.27, create a PasswordFactory directly instead
Returns
PasswordFactory
Member User::getTemporaryPassword ()
Removed in 1.27.
Returns
Password
Since
1.24
Member User::getTokenFromOption ($oname)
1.26 Applications should use the OAuth extension
Member User::isPasswordReminderThrottled ()
Removed in 1.27. See above.
Returns
bool
Member User::passwordChangeInputAttribs ()
since 1.27
Returns
array Array of HTML attributes suitable for feeding to Html::element(), directly or indirectly. (Don't feed to Xml::*()! That will get confused by the boolean attribute syntax used.)
Member User::randomPassword ()
since 1.27, use PasswordFactory::generateRandomPasswordString()
Returns
string New random password
Member User::setCookie ($name, $value, $exp=0, $secure=null, $params=[], $request=null)
since 1.27
Parameters
string$nameName of the cookie to set
string$valueValue to set
int$expExpiration time, as a UNIX time value; if 0 or not specified, use the default $wgCookieExpiration
bool$securetrue: Force setting the secure attribute when setting the cookie false: Force NOT setting the secure attribute when setting the cookie null (default): Use the default ($wgCookieSecure) to set the secure attribute
array$paramsArray of options sent passed to WebResponse::setcookie()
WebRequest | null$requestWebRequest object to use; $wgRequest will be used if null is passed.
Member User::setExtendedLoginCookie ($name, $value, $secure)
since 1.27
Parameters
string$nameName of the cookie to set
string$valueValue to set
bool$securetrue: Force setting the secure attribute when setting the cookie false: Force NOT setting the secure attribute when setting the cookie null (default): Use the default ($wgCookieSecure) to set the secure attribute
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
Class UserMerge
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 ViewWhoIsOnlineItemWidget::setUserName ($sUserName)
since version 2.23
Member WatchedItem::addWatch ()
since 1.27 Use User::addWatch()
Returns
bool
Member WatchedItem::CHECK_USER_RIGHTS
since 1.27, see User::CHECK_USER_RIGHTS
Member WatchedItem::DEPRECATED_USAGE_TIMESTAMP
Internal class use only
Member WatchedItem::duplicateEntries (Title $oldTitle, Title $newTitle)
since 1.27 Use WatchedItemStore::duplicateAllAssociatedEntries()
Member WatchedItem::fromUserTitle ($user, $title, $checkRights=User::CHECK_USER_RIGHTS)
since 1.27 Use the constructor, WatchedItemStore::getWatchedItem() or WatchedItemStore::loadWatchedItem()
Member WatchedItem::getTitle ()
Internal class use only
Member WatchedItem::IGNORE_USER_RIGHTS
since 1.27, see User::IGNORE_USER_RIGHTS
Member WatchedItem::isWatched ()
since 1.27 Use User::isWatched()
Returns
bool
Member WatchedItem::removeWatch ()
since 1.27 Use User::removeWatch()
Returns
bool
Member WatchedItem::resetNotificationTimestamp ($force= '', $oldid=0)
since 1.27 Use WatchedItemStore::resetNotificationTimestamp()
Member WebRequest::checkSessionCookie ()
since 1.27, use ::singleton()->getPersistedSessionId() instead.
Returns
bool
Member wfBaseConvert ($input, $sourceBase, $destBase, $pad=1, $lowercase=true, $engine= 'auto')
1.27 Use Wikimedia() directly
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 wfFixSessionID ()
since 1.27, PHP's session generation isn't used with MediaWiki
Member wfProfileIn ($functionname)
1.25
Member wfProfileOut ($functionname= 'missing')
1.25
Member wfResetSessionID ()
since 1.27, use MediaWiki instead
Since
1.22
Member wfRestoreWarnings ()
since 1.26, use MediaWiki() directly Restore error level to previous value
Member wfRunHooks ($event, array $args=[], $deprecatedVersion=null)
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 wfSuppressWarnings ($end=false)
since 1.26, use MediaWiki() 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 wfWaitForSlaves ($ifWritesSince=null, $wiki=false, $cluster=false, $timeout=null)
since 1.27 Use LBFactory::waitForReplication
Member WikiPage::doEdit ($text, $summary, $flags=0, $baseRevId=false, $user=null)
since 1.21: use doEditContent() instead.
Member WikiPage::getAutosummary ($oldtext, $newtext, $flags)
since 1.21, use ContentHandler::getAutosummary() instead
Member WikiPage::getText ($audience=Revision::FOR_PUBLIC, User $user=null)
since 1.21, getContent() should be used instead.
Member WikiPage::prepareTextForEdit ($text, $revid=null, User $user=null)
since 1.21: use prepareContentForEdit instead.
Returns
object
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 WikiRevision::getText ()
Since 1.21, use getContent() instead.
Member Xml::escapeJsString ($string)
since 1.21; use Xml::encodeJsVar() or Xml::encodeJsCall() instead
Parameters
string$stringString to escape
Returns
string