MediaWiki REL1_36
|
The simplest way of implementing IContextSource is to hold a RequestContext as a member variable and provide accessors to it. More...
Public Member Functions | |
canUseWikiPage () | |
Check whether a WikiPage object can be get with getWikiPage(). | |
exportSession () | |
Export the resolved user IP, HTTP headers, user ID, and session ID. | |
getAuthority () | |
getConfig () | |
getContext () | |
Get the base IContextSource object. | |
getLanguage () | |
getOutput () | |
getRequest () | |
getSkin () | |
getStats () | |
getTiming () | |
getTitle () | |
getUser () | |
getWikiPage () | |
Get the WikiPage object. | |
msg ( $key,... $params) | |
Get a Message object with context set Parameters are the same as wfMessage() | |
setContext (IContextSource $context) | |
Private Attributes | |
IContextSource | $context |
The simplest way of implementing IContextSource is to hold a RequestContext as a member variable and provide accessors to it.
Definition at line 32 of file ContextSource.php.
ContextSource::canUseWikiPage | ( | ) |
Check whether a WikiPage object can be get with getWikiPage().
Callers should expect that an exception is thrown from getWikiPage() if this method returns false.
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 102 of file ContextSource.php.
References getContext().
ContextSource::exportSession | ( | ) |
Export the resolved user IP, HTTP headers, user ID, and session ID.
The result will be reasonably sized to allow for serialization.
Implements IContextSource.
Definition at line 208 of file ContextSource.php.
References getContext().
Referenced by ApiUpload\getChunkResult(), and ApiUpload\performUpload().
ContextSource::getAuthority | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 143 of file ContextSource.php.
Referenced by UploadForm\__construct(), ApiQuery\doExport(), LogPager\enforceActionRestrictions(), LogPager\enforcePerformerRestrictions(), ApiBlock\execute(), ApiChangeContentModel\execute(), ApiDelete\execute(), ApiEditPage\execute(), ApiImageRotate\execute(), ApiImport\execute(), ApiManageTags\execute(), ApiMove\execute(), ApiPatrol\execute(), ApiProtect\execute(), ApiQueryBlocks\execute(), ApiQueryDeletedrevs\execute(), ApiQueryFilearchive\execute(), ApiQueryLogEvents\execute(), ApiRevisionDelete\execute(), ApiRollback\execute(), ApiSetPageLanguage\execute(), ApiTag\execute(), ApiUnblock\execute(), ApiUndelete\execute(), ApiUserrights\execute(), ApiQueryInfo\extractPageInfo(), ApiFeedContributions\feedItem(), ProtectedPagesPager\formatValue(), BlockListPager\formatValue(), ApiQueryUserInfo\getCurrentUserInfo(), BlockListPager\getQueryInfo(), ApiComparePages\getRevisionById(), ApiQueryInfo\getVisitingWatcherInfo(), ApiQueryInfo\getWatchedInfo(), ApiQueryInfo\getWatcherInfo(), LogPager\limitType(), ApiMove\movePage(), ApiMove\moveSubpages(), ApiUpload\performUpload(), ApiQueryUserContribs\prepareQuery(), and ApiTag\processIndividual().
ContextSource::getConfig | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 71 of file ContextSource.php.
References getContext().
Referenced by ApiMain\__construct(), HTMLForm\__construct(), ImageGalleryBase\__construct(), ActiveUsersPager\__construct(), ApiQuery\__construct(), ApiBlock\__construct(), ApiDelete\__construct(), ApiEditPage\__construct(), ApiProtect\__construct(), ApiRollback\__construct(), ApiUndelete\__construct(), ApiUpload\__construct(), ApiWatch\__construct(), ApiMove\__construct(), ApiQueryQueryPage\__construct(), ImageListPager\__construct(), OutputPage\adaptCdnTTL(), OutputPage\addParserOutputMetadata(), Skin\addToSidebarPlain(), UploadForm\addUploadJS(), ApiQuerySiteinfo\appendDbReplLagInfo(), ApiQuerySiteinfo\appendExtensions(), ApiQuerySiteinfo\appendFileExtensions(), ApiQuerySiteinfo\appendGeneralInfo(), ApiQuerySiteinfo\appendInterwikiMap(), ApiQuerySiteinfo\appendNamespaces(), ApiQuerySiteinfo\appendProtocols(), ApiQuerySiteinfo\appendRestrictions(), ApiQuerySiteinfo\appendRightsInfo(), ApiQuerySiteinfo\appendSubscribedHooks(), ApiQuerySiteinfo\appendUploadDialog(), ApiQuerySiteinfo\appendUserGroups(), SkinFallback\buildHelpfulInformationMessage(), Skin\buildNavUrls(), Skin\buildSidebar(), OutputPage\checkLastModified(), ApiUpload\checkVerification(), DifferenceEngine\debug(), OutputPage\disallowUserJs(), ApiEditPage\execute(), ApiEmailUser\execute(), ApiFeedContributions\execute(), ApiFeedRecentChanges\execute(), ApiFeedWatchlist\execute(), ApiFormatPhp\execute(), ApiLogin\execute(), ApiOpenSearch\execute(), ApiQueryAllUsers\execute(), ApiQueryAuthManagerInfo\execute(), ApiQueryBlocks\execute(), ApiQueryFileRepoInfo\execute(), ApiQueryLangLinks\execute(), ApiQueryLogEvents\execute(), ApiQueryUsers\execute(), ApiRemoveAuthenticationData\execute(), ApiRollback\execute(), ApiSetPageLanguage\execute(), ApiUndelete\execute(), ApiUpload\execute(), SkinFallback\findInstalledSkins(), OldChangesList\formatChangeLine(), HistoryPager\formatRow(), UsersPager\formatRow(), HTMLForm\getAction(), OutputPage\getAdvertisedFeedTypes(), ApiImport\getAllowedImportSources(), ApiQueryLogEvents\getAllowedLogActions(), ApiFeedWatchlist\getAllowedParams(), ApiQueryAllUsers\getAllowedParams(), ApiQueryLogEvents\getAllowedParams(), ApiFeedContributions\getAllowedParams(), ApiFeedRecentChanges\getAllowedParams(), ApiOpenSearch\getAllowedParams(), ApiQueryAllDeletedRevisions\getAllowedParams(), ApiQueryAllImages\getAllowedParams(), ApiQueryAllPages\getAllowedParams(), ApiQueryAllRevisions\getAllowedParams(), ApiQueryBacklinksprop\getAllowedParams(), ApiQueryBlocks\getAllowedParams(), ApiQueryCategoryMembers\getAllowedParams(), ApiQueryExtLinksUsage\getAllowedParams(), ApiQueryProtectedTitles\getAllowedParams(), ApiQueryUserContribs\getAllowedParams(), ApiResetPassword\getAllowedParams(), HTMLForm\getButtons(), Skin\getCachedNotice(), ApiQuerySiteinfo\getCacheMode(), OutputPage\getCacheVaryCookies(), Skin\getCategoryLinks(), ApiUpload\getChunkResult(), Skin\getCopyright(), Skin\getCopyrightIcon(), ApiQueryUserInfo\getCurrentUserInfo(), UploadForm\getDescriptionSection(), HistoryPager\getEndBody(), ApiResetPassword\getExamplesMessages(), ApiLogin\getExtendedDescription(), ApiSetPageLanguage\getExtendedDescription(), UploadForm\getExtensionsMessage(), OutputPage\getFeaturePolicyReportOnly(), ImageListPager\getFieldNames(), LogPager\getFilterParams(), ApiCSPReport\getFlags(), OutputPage\getFrameOptions(), HTMLForm\getHiddenFields(), CategoryViewer\getHTML(), HTMLButtonField\getInputHTML(), Skin\getLanguages(), EnhancedChangesList\getLineData(), Skin\getLogo(), DifferenceEngine\getMarkPatrolledLinkInfo(), OutputPage\getOriginTrials(), ApiPageSet\getPageTableFields(), Skin\getPoweredBy(), ActiveUsersPager\getQueryInfo(), LogPager\getQueryInfo(), NewFilesPager\getQueryInfo(), ApiQueryUserInfo\getRateLimits(), OutputPage\getReportTo(), Skin\getSiteFooterLinks(), Skin\getSkinStylePath(), UploadForm\getSourceSection(), SkinFallback\getTemplateData(), ApiQueryInfo\getVisitingWatcherInfo(), ApiQueryInfo\getWatcherInfo(), ApiResetPassword\hasAnyRoutes(), Skin\initPage(), ApiFormatBase\initPrinter(), ApiLogin\isDeprecated(), ImageListPager\isFieldSortable(), LogPager\limitAction(), LogPager\limitTitle(), LogPager\limitType(), Skin\logoText(), Skin\makeFooterIcon(), Skin\makeSearchInput(), Skin\mapInterwikiToLanguage(), ApiQueryImageInfo\mergeThumbParams(), OutputPage\output(), Skin\preloadExistence(), ApiQueryUserContribs\prepareQuery(), ContribsPager\reallyDoQuery(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), ChangesList\recentChangesFlags(), ApiQueryInfo\requestExtraData(), ApiQueryAllImages\run(), ApiQueryAllPages\run(), ApiQueryCategoryMembers\run(), ApiQueryExtLinksUsage\run(), ApiQueryRecentChanges\run(), ApiQuerySearch\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryAllRevisions\run(), ApiQueryBacklinksprop\run(), OutputPage\sendCacheControl(), HTMLForm\setDisplayFormat(), SkinTemplate\setupTemplate(), LogEventsList\showOptions(), and LoginHelper\showReturnToPage().
ContextSource::getContext | ( | ) |
Get the base IContextSource object.
Definition at line 46 of file ContextSource.php.
References $context, and wfDebug().
Referenced by ApiBase\__construct(), RevisionItem\__construct(), canUseWikiPage(), DerivativeContext\canUseWikiPage(), CategoryViewer\clearCategoryState(), SpecialUnblock\execute(), ApiChangeContentModel\execute(), ApiComparePages\execute(), ApiEmailUser\execute(), ApiExpandTemplates\execute(), ApiFeedContributions\execute(), ApiHelp\execute(), ApiQueryUsers\execute(), ApiRevisionDelete\execute(), ApiUserrights\execute(), ApiFeedContributions\feedItem(), ProtectedPagesPager\formatValue(), ApiUpload\getChunkResult(), getConfig(), DerivativeContext\getConfig(), ApiComparePages\getDiffRevision(), FormatMetadata\getExtendedMetadataFromHook(), ApiAMCreateAccount\getFinalDescription(), ApiClientLogin\getFinalDescription(), ApiLinkAccount\getFinalDescription(), EditWatchlistNormalHTMLForm\getLegend(), getOutput(), DerivativeContext\getOutput(), getRequest(), DerivativeContext\getRequest(), UploadForm\getSourceSection(), CategoryPager\getStartForm(), DerivativeContext\getTiming(), getTitle(), DerivativeContext\getTitle(), ApiUserrights\getUrUser(), getUser(), DerivativeContext\getUser(), getWikiPage(), DerivativeContext\getWikiPage(), ApiUpload\performUpload(), SpecialTags\processCreateTagForm(), SpecialTags\processTagForm(), MediaWiki\Preferences\DefaultPreferencesFactory\saveFormData(), SpecialComparePages\showDiff(), MediaWiki\Preferences\DefaultPreferencesFactory\submitForm(), and MediaWiki\Preferences\DefaultPreferencesFactory\validateSignature().
ContextSource::getLanguage | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 152 of file ContextSource.php.
References getContext().
Referenced by ApiMain\__construct(), AllMessagesTablePager\__construct(), DifferenceEngine\addHeader(), Skin\buildSidebar(), ApiFeedWatchlist\execute(), ApiHelp\execute(), ApiParamInfo\execute(), ApiQueryAllMessages\execute(), ApiQueryLanguageinfo\execute(), FormatMetadata\fetchExtendedMetadata(), OldChangesList\formatChangeLine(), FormatMetadata\formatNum(), CategoryPager\formatRow(), ActiveUsersPager\formatRow(), NewFilesPager\formatRow(), UsersPager\formatRow(), AllMessagesTablePager\formatValue(), ProtectedPagesPager\formatValue(), BlockListPager\formatValue(), ChangesList\getArticleLink(), UploadForm\getExtensionsMessage(), CategoryViewer\getHTML(), Skin\getHtmlElementAttributes(), Skin\getLanguages(), IndexPager\getLimitLinks(), TablePager\getLimitSelectList(), AlphabeticPager\getNavigationBar(), ReverseChronologicalPager\getNavigationBar(), FormatMetadata\getPriorityLanguages(), ImageGalleryBase\getRenderLang(), BlockListPager\getRestrictionListHTML(), DifferenceEngine\getRevisionHeader(), DifferenceEngine\getSlotHeader(), UploadForm\getSourceSection(), ImageHistoryList\getThumbForLine(), Skin\getUndeleteLink(), HistoryPager\historyLine(), ImageHistoryList\imageHistoryLine(), ChangesList\insertDateHeader(), Skin\lastModified(), LogEventsList\logLine(), FormatMetadata\makeFormattedData(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesLine(), HistoryPager\revLink(), DifferenceEngine\showMissingRevision(), and Skin\subPageSubtitleInternal().
ContextSource::getOutput | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 125 of file ContextSource.php.
References getContext().
Referenced by OOUIHTMLForm\__construct(), CategoryViewer\__construct(), UploadForm\__construct(), DifferenceEngineSlotDiffRenderer\addModules(), UploadForm\addUploadJS(), ChangesList\beginRecentChangesList(), EnhancedChangesList\beginRecentChangesList(), Skin\bottomScripts(), Skin\buildFeedUrls(), Skin\buildNavUrls(), ImportReporter\close(), Article\confirmDelete(), Article\delete(), HTMLForm\displayForm(), Article\doDelete(), Skin\editUrlOptions(), SkinMustache\generateHTML(), TablePager\getBody(), Skin\getCachedNotice(), Skin\getCategories(), Skin\getCategoryLinks(), Skin\getCopyright(), Skin\getDefaultModules(), HTMLForm\getHTML(), VFormHTMLForm\getHTML(), CategoryViewer\getHTML(), CategoryViewer\getImageSection(), Skin\getLanguages(), DifferenceEngine\getMarkPatrolledLinkInfo(), TablePager\getNavigationBar(), Skin\getNewtalks(), CategoryViewer\getPagesSection(), Skin\getRevisionId(), HistoryPager\getStartBody(), SkinMustache\getTemplateData(), Skin\isRevisionCurrent(), Skin\lastModified(), ImportReporter\open(), SkinTemplate\outputPage(), ImageListPager\outputUserDoesNotExist(), Skin\printSource(), DifferenceEngine\renderNewRevision(), ImportReporter\reportNotice(), ImportReporter\reportPage(), Article\setOldSubtitle(), Article\showDeletedRevisionHeader(), DifferenceEngine\showDiff(), DifferenceEngine\showDiffPage(), DifferenceEngine\showDiffStyle(), Article\showMissingArticle(), DifferenceEngine\showMissingRevision(), Article\showPatrolFooter(), Article\showRedirectedFromHeader(), LoginHelper\showReturnToPage(), Article\showViewError(), Skin\subPageSubtitleInternal(), and TraditionalImageGallery\toHTML().
ContextSource::getRequest | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 80 of file ContextSource.php.
References getContext().
Referenced by ApiMain\__construct(), UsersPager\__construct(), ApiContinuationManager\__construct(), ImageListPager\__construct(), IndexPager\__construct(), TablePager\__construct(), OutputPage\addAcceptLanguage(), OutputPage\checkLastModified(), CategoryViewer\clearCategoryState(), ApiFormatBase\closePrinter(), ApiCSPReport\error(), ApiCheckToken\execute(), ApiCSPReport\execute(), ApiEditPage\execute(), ApiFeedRecentChanges\execute(), ApiLogin\execute(), ApiQueryDeletedrevs\execute(), ApiQueryTokens\execute(), MediaWiki\Rest\Handler\ActionModuleBasedHandler\execute(), ApiQueryUserInfo\getCurrentUserInfo(), IndexPager\getDefaultQuery(), LogPager\getFilterParams(), TablePager\getHiddenFields(), ApiCSPReport\getReport(), UploadForm\getSourceSection(), NewFilesPager\getStartBody(), ApiTokens\getTokenTypes(), Skin\getUndeleteLink(), PageDataRequestHandler\handleRequest(), OutputPage\haveCacheVaryCookies(), ApiQuery\instantiateModules(), ApiQuery\isReadMode(), ApiMain\lacksSameOriginSecurity(), HTMLForm\loadData(), OutputPage\output(), HTMLForm\prepareForm(), ApiQueryRecentChanges\run(), OutputPage\sendCacheControl(), SkinTemplate\setupTemplateContext(), DifferenceEngine\showDiffPage(), OutputPage\showPermissionsErrorPage(), HTMLForm\tryAuthorizedSubmit(), and ApiCSPReport\verifyPostBodyOk().
ContextSource::getSkin | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 161 of file ContextSource.php.
References getContext().
Referenced by OutputPage\output().
ContextSource::getStats | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 181 of file ContextSource.php.
ContextSource::getTiming | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 170 of file ContextSource.php.
References getContext().
ContextSource::getTitle | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext, DifferenceEngine, HTMLForm, ImageHistoryPseudoPager, AllMessagesTablePager, ImageListPager, and ProtectedTitlesPager.
Definition at line 89 of file ContextSource.php.
References getContext().
Referenced by TablePager\getNavigationBar(), and IndexPager\makeLink().
ContextSource::getUser | ( | ) |
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 135 of file ContextSource.php.
References getContext().
Referenced by ImageHistoryPseudoPager\__construct(), IndexPager\__construct(), DifferenceEngine\addHeader(), Skin\buildNavUrls(), OutputPage\checkLastModified(), ApiAMCreateAccount\execute(), ApiBlock\execute(), ApiChangeAuthenticationData\execute(), ApiCheckToken\execute(), ApiClearHasMsg\execute(), ApiCSPReport\execute(), ApiDelete\execute(), ApiEditPage\execute(), ApiEmailUser\execute(), ApiFileRevert\execute(), ApiImageRotate\execute(), ApiImport\execute(), ApiLinkAccount\execute(), ApiLogout\execute(), ApiManageTags\execute(), ApiMove\execute(), ApiPatrol\execute(), ApiProtect\execute(), ApiPurge\execute(), ApiQueryAuthManagerInfo\execute(), ApiQueryDeletedrevs\execute(), ApiQueryFilearchive\execute(), ApiQueryImageInfo\execute(), ApiQueryLogEvents\execute(), ApiQueryMyStashedFiles\execute(), ApiQueryStashImageInfo\execute(), ApiQueryTokens\execute(), ApiQueryUsers\execute(), ApiRemoveAuthenticationData\execute(), ApiResetPassword\execute(), ApiRevisionDelete\execute(), ApiRollback\execute(), ApiSetNotificationTimestamp\execute(), ApiSetPageLanguage\execute(), ApiStashEdit\execute(), ApiTag\execute(), ApiTokens\execute(), ApiUnblock\execute(), ApiUndelete\execute(), ApiUpload\execute(), ApiUserrights\execute(), ApiValidatePassword\execute(), ApiWatch\execute(), ApiQueryWatchlist\extractOutputData(), ApiQueryInfo\extractPageInfo(), ApiQueryLogEvents\extractRowInfo(), ApiQueryRecentChanges\extractRowInfo(), HistoryPager\formatRow(), UsersPager\formatRow(), ProtectedPagesPager\formatValue(), ApiQueryLogEvents\getCacheMode(), Skin\getCategories(), ApiUpload\getChunkResult(), ApiUpload\getContextResult(), ApiQueryUserInfo\getCurrentUserInfo(), Skin\getDefaultModules(), UploadForm\getDescriptionSection(), ApiComparePages\getDiffRevision(), HistoryPager\getEndBody(), HTMLForm\getHiddenFields(), ApiQueryUserInfo\getLatestContributionTime(), DifferenceEngine\getMarkPatrolledLinkInfo(), PreferencesFormOOUI\getModifiedUser(), Skin\getNewtalks(), UploadForm\getOptionsSection(), ApiParse\getPoolKey(), DeletedContribsPager\getQueryInfo(), ApiQueryUserInfo\getRateLimits(), DifferenceEngine\getRevisionHeader(), LogEventsList\getShowHideLinks(), Skin\getSiteNotice(), UploadForm\getSourceSection(), ImageHistoryList\getThumbForLine(), ApiOptions\getUserForUpdates(), ApiQueryInfo\getWatchedInfo(), ChangesList\getWatchlistExpiry(), HistoryPager\historyLine(), ImageHistoryList\imageHistoryLine(), ChangesList\insertDateHeader(), Skin\lastModified(), LogPager\limitType(), ApiMergeHistory\merge(), ApiMove\movePage(), OutputPage\parserOptions(), ApiUpload\performStash(), ApiUpload\performUpload(), Skin\preloadExistence(), ApiQueryUserContribs\prepareQuery(), ApiTag\processIndividual(), ImportReporter\reportPage(), HistoryPager\revLink(), ApiQueryRecentChanges\run(), ApiQueryWatchlist\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryDeletedRevisions\run(), ApiQueryRevisions\run(), ApiUpload\selectUploadModule(), SkinTemplate\setupTemplateContext(), ApiComparePages\setVals(), DifferenceEngine\showDiffPage(), Skin\showEmailUser(), OutputPage\showPermissionsErrorPage(), HTMLForm\tryAuthorizedSubmit(), RevDelList\updateLog(), and MediaWiki\Preferences\DefaultPreferencesFactory\validateSignature().
ContextSource::getWikiPage | ( | ) |
Get the WikiPage object.
May throw an exception if there's no Title object set or the Title object belongs to a special namespace that doesn't have WikiPage, so use first canUseWikiPage() to check whether this method can be called safely.
Implements IContextSource.
Reimplemented in DerivativeContext.
Definition at line 116 of file ContextSource.php.
References getContext().
Referenced by HistoryPager\curLink(), HistoryPager\getQueryInfo(), HistoryPager\historyLine(), and DifferenceEngine\renderNewRevision().
ContextSource::msg | ( | $key, | |
$params | |||
) |
Get a Message object with context set Parameters are the same as wfMessage()
string | string[] | MessageSpecifier | $key | Message key, or array of keys, or a MessageSpecifier. |
mixed | ...$params |
Implements MessageLocalizer.
Reimplemented in DerivativeContext.
Definition at line 196 of file ContextSource.php.
References getContext().
Referenced by UploadForm\__construct(), DeletedContribsPager\__construct(), ContribsPager\__construct(), OutputPage\addHelpLink(), DifferenceEngine\addLocalisedTitleTooltipsCb(), Skin\addToSidebar(), Skin\addToSidebarPlain(), ApiQuerySiteinfo\appendSkins(), ImageHistoryList\beginImageHistoryList(), Skin\buildFeedUrls(), SkinFallback\buildHelpfulInformationMessage(), Skin\buildNavUrls(), ApiUpload\checkPermissions(), ImportReporter\close(), ApiFormatBase\closePrinter(), FormatMetadata\collapseContactInfo(), Article\confirmDelete(), Skin\doEditSectionLink(), ApiFeedWatchlist\execute(), ApiOptions\execute(), ApiQueryTags\execute(), FormatMetadata\exifMsg(), ApiQueryRevisionsBase\extractAllSlotInfo(), Skin\footerLink(), Skin\footerLinkTitle(), FormatMetadata\formatCoords(), CategoryPager\formatRow(), ActiveUsersPager\formatRow(), UsersPager\formatRow(), AllMessagesTablePager\formatValue(), ProtectedPagesPager\formatValue(), BlockListPager\formatValue(), LogEventsList\getActionSelectorDesc(), HTMLForm\getButtons(), OOUIHTMLForm\getButtons(), VFormHTMLForm\getButtons(), PreferencesFormOOUI\getButtons(), Skin\getCachedNotice(), Skin\getCategoryLinks(), Skin\getCopyright(), CategoryViewer\getCountMessage(), DifferenceEngine\getDiff(), EnhancedChangesList\getDiffHistLinks(), HistoryPager\getEmptyBody(), TablePager\getEmptyBody(), UploadForm\getExtensionsMessage(), ApiFeedRecentChanges\getFeedObject(), AllMessagesTablePager\getFieldNames(), BlockListPager\getFieldNames(), ImageListPager\getFieldNames(), ProtectedPagesPager\getFieldNames(), CategoryViewer\getHTML(), CategoryViewer\getImageSection(), Skin\getLanguages(), HTMLForm\getLegend(), EditWatchlistNormalHTMLForm\getLegend(), TablePager\getLimitDropdown(), EnhancedChangesList\getLineData(), EnhancedChangesList\getLogText(), AlphabeticPager\getNavigationBar(), ReverseChronologicalPager\getNavigationBar(), TablePager\getNavigationBar(), Skin\getNewtalks(), UsersPager\getPageHeader(), CategoryViewer\getPagesSection(), SkinMustache\getPortletLabel(), BlockListPager\getRestrictionListHTML(), HistoryPager\getRevisionButton(), DifferenceEngine\getRevisionHeader(), UploadForm\getSourceSection(), HistoryPager\getStartBody(), AllMessagesTablePager\getStartBody(), CategoryViewer\getSubcategorySection(), HTMLForm\getSubmitText(), SkinMustache\getTemplateData(), ImageHistoryList\getThumbForLine(), Skin\getUndeleteLink(), ApiUpload\handleStashException(), HistoryPager\historyLine(), ImageHistoryList\imageHistoryLine(), ChangesList\insertLog(), FormatMetadata\langItem(), Skin\lastModified(), DifferenceEngine\localiseLineNumbersCb(), Skin\logoText(), Skin\mainPageLink(), FormatMetadata\makeFormattedData(), Skin\makeLink(), IndexPager\makeLink(), Skin\makeSearchButton(), Skin\makeSearchInput(), DifferenceEngine\markPatrolledLink(), CategoryViewer\pagingLinks(), ChangesList\preCacheMessages(), Skin\printSource(), AllMessagesTablePager\reallyDoQuery(), EnhancedChangesList\recentChangesBlockGroup(), ImportReporter\reportNotice(), ImportReporter\reportPage(), OutputPage\setPageTitle(), HTMLForm\setSubmitTextMsg(), HTMLForm\setWrapperLegendMsg(), Article\showDeletedRevisionHeader(), DifferenceEngine\showDiffPage(), OutputPage\showErrorPage(), DifferenceEngine\showMissingRevision(), LogEventsList\showOptions(), OutputPage\showPermissionsErrorPage(), Skin\subPageSubtitleInternal(), TraditionalImageGallery\toHTML(), MediaWiki\Preferences\DefaultPreferencesFactory\validateSignature(), and OutputPage\versionRequired().
ContextSource::setContext | ( | IContextSource | $context | ) |
IContextSource | $context |
Definition at line 62 of file ContextSource.php.
References $context.
Referenced by LogEventsList\__construct(), ApiMain\__construct(), DifferenceEngine\__construct(), HTMLForm\__construct(), ImageHistoryList\__construct(), ImageGalleryBase\__construct(), ChangesList\__construct(), CategoryViewer\__construct(), UsersPager\__construct(), ApiBase\__construct(), UploadForm\__construct(), DerivativeContext\__construct(), OutputPage\__construct(), LoginHelper\__construct(), ImageListPager\__construct(), RevisionListBase\__construct(), IndexPager\__construct(), TablePager\__construct(), ChangesList\flag(), FormatMetadata\flattenArrayContentLang(), FormatMetadata\getFormattedData(), DerivativeContext\setSkin(), and RequestContext\setSkin().
|
private |
Definition at line 38 of file ContextSource.php.
Referenced by LogEventsList\__construct(), ApiMain\__construct(), DifferenceEngine\__construct(), HTMLForm\__construct(), OOUIHTMLForm\__construct(), ImageHistoryList\__construct(), ImageGalleryBase\__construct(), PackedImageGallery\__construct(), SlideshowImageGallery\__construct(), EnhancedChangesList\__construct(), CategoryViewer\__construct(), ActiveUsersPager\__construct(), AllMessagesTablePager\__construct(), UploadForm\__construct(), CategoryPager\__construct(), ImageListPager\__construct(), NewFilesPager\__construct(), ChangeTagsList\__construct(), RevDelList\__construct(), RevDelLogList\__construct(), RevDelArchiveList\__construct(), RevDelRevisionList\__construct(), RevDelArchivedFileList\__construct(), RevDelFileList\__construct(), IndexPager\__construct(), TablePager\__construct(), ApiFormatBase\closePrinter(), ApiComparePages\execute(), ApiFeedRecentChanges\execute(), ApiHelp\execute(), ApiQueryUsers\execute(), ImageGalleryBase\factory(), ChangeTagsList\factory(), ChangesList\flag(), FormatMetadata\flattenArrayContentLang(), getContext(), FormatMetadata\getFormattedData(), ApiHelp\getHelp(), ApiHelp\getHelpInternal(), DifferenceEngine\getSlotDiffRenderers(), ApiCSPReport\logReport(), ApiPageSet\processTitlesArray(), setContext(), ChangesList\showCharacterDifference(), LogEventsList\showLogExtract(), and LogEventsList\showOptions().