MediaWiki REL1_40
ApiQueryBlockInfoTrait.php File Reference

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. More...

Go to the source code of this file.

Functions

Methods required from ApiQueryBase
 addFields ( $fields)
 
 addJoinConds ( $conds)
 
 addTables ( $tables, $alias=null)
 
 addWhere ( $conds)
 
 getAuthority ()
 
 getDB ()
 

Variables

trait ApiQueryBlockInfoTrait
 

Detailed Description

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file ApiQueryBlockInfoTrait.php.

Function Documentation

◆ addFields()

addFields ( $fields)
abstractprotected
See also
ApiQueryBase::addFields
Parameters
array | string$fields

Referenced by HTMLForm\__construct(), and ApiQueryBase\addFieldsIf().

◆ addJoinConds()

addJoinConds ( $conds)
abstractprotected
See also
ApiQueryBase::addJoinConds
Parameters
array$conds

◆ addTables()

addTables ( $tables,
$alias = null )
abstractprotected
See also
ApiQueryBase::addTables
Parameters
string | array$tables
string | null$alias

◆ addWhere()

addWhere ( $conds)
abstractprotected
See also
ApiQueryBase::addWhere
Parameters
string | array$conds

Referenced by ApiQueryBase\addWhereIf(), and ApiQueryBase\addWhereRange().

◆ getAuthority()

getAuthority ( )
abstract
See also
IContextSource::getAuthority
Returns
Authority

Referenced by LogEventsList\__construct(), HistoryPager\__construct(), ApiBase\addBlockInfoToStatus(), MediaWiki\EditPage\EditPage\attemptSave(), ImageHistoryList\beginImageHistoryList(), SkinTemplate\buildLoginData(), Skin\buildNavUrls(), SkinTemplate\buildPersonalUrls(), ApiMain\canApiHighLimits(), UsersPager\canSeeHideuser(), ApiMain\checkAsserts(), ApiMain\checkExecutePermissions(), ApiBase\checkTitleUserPermissions(), ApiBase\checkUserRightsAny(), DifferenceEngine\deletedLink(), HistoryPager\doBatchLookups(), ContribsPager\doBatchLookups(), DeletedContribsPager\doBatchLookups(), SpecialLog\execute(), SpecialNewpages\formatRow(), HistoryPager\formatRow(), ContribsPager\formatRow(), ImageListPager\formatValue(), MediaWiki\EditPage\EditPage\getContentObject(), Skin\getDefaultModules(), MediaWiki\Rest\Handler\PageHistoryCountHandler\getEditorsCount(), SpecialBlock\getFormFields(), OutputPage\getHeadLinksArray(), OutputPage\getJSVars(), EnhancedChangesList\getLineData(), DifferenceEngine\getMarkPatrolledLinkInfo(), Skin\getPageClasses(), ContribsPager\getQueryInfo(), DeletedContribsPager\getQueryInfo(), SkinTemplate\getReturnToParam(), DifferenceEngine\getRevisionHeader(), HistoryPager\getStartBody(), Skin\getUndeleteLink(), RollbackAction\handleRollbackRequest(), ImageHistoryList\imageHistoryLine(), ChangesList\insertDiffHist(), MediaWiki\EditPage\EditPage\internalAttemptSave(), DifferenceEngine\loadNewText(), DifferenceEngine\loadText(), MarkpatrolledAction\onSubmit(), McrUndoAction\onSubmit(), RevertAction\onSubmit(), UnwatchAction\onSubmit(), WatchAction\onSubmit(), SpecialBlock\onSubmit(), RawAction\onView(), InfoAction\pageInfo(), SpecialBlock\postHtml(), ApiQueryRecentChanges\run(), MediaWiki\Rest\Handler\LanguageLinksHandler\run(), MediaWiki\Rest\Handler\MediaFileHandler\run(), MediaWiki\Rest\Handler\MediaLinksHandler\run(), MediaWiki\Rest\Handler\PageHistoryHandler\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryAllRevisions\run(), ApiQueryDeletedRevisions\run(), ApiQueryRevisions\run(), DifferenceEngine\setRevisions(), DifferenceEngine\showDiffPage(), OutputPage\showPermissionsErrorPage(), LocalFile\upload(), ImagePage\uploadLinksBox(), OutputPage\userCanPreview(), ApiQueryBase\userCanSeeRevDel(), and SpecialWhatLinksHere\wlhLink().

◆ getDB()

getDB ( )
abstractprotected
See also
ApiBase::getDB
Returns
IDatabase

Referenced by SiteStatsInit\__construct(), ApiQueryBase\addTimestampWhereRange(), ApiQueryBase\addWhereRange(), ApiQuerySiteinfo\appendGeneralInfo(), ChangesListSpecialPage\buildQuery(), SpecialRecentChanges\checkLastModified(), CleanupUsersWithNoId\cleanup(), CleanupInvalidDbKeys\cleanupTable(), NukePage\deleteRevisions(), AddRFCandPMIDInterwiki\doDBUpdates(), FixDefaultJsonContentPages\doDBUpdates(), FixExtLinksProtocolRelative\doDBUpdates(), MigrateExternallinks\doDBUpdates(), MigrateLinksTable\doDBUpdates(), MigrateRevisionActorTemp\doDBUpdates(), MigrateRevisionCommentTemp\doDBUpdates(), PopulateBacklinkNamespace\doDBUpdates(), PopulateFilearchiveSha1\doDBUpdates(), PopulateImageSha1\doDBUpdates(), PopulateIpChanges\doDBUpdates(), PopulatePPSortKey\doDBUpdates(), PopulateRecentChangesSource\doDBUpdates(), PopulateRevisionLength\doDBUpdates(), PopulateRevisionSha1\doDBUpdates(), RefreshExternallinksIndex\doDBUpdates(), PopulateRevisionLength\doLenUpdates(), ChangesListSpecialPage\doMainQuery(), SpecialRecentChanges\doMainQuery(), SiteStatsInit\doPlaceholderInit(), PopulateInterwiki\doPopulate(), PopulateRevisionSha1\doSha1Updates(), RecountCategories\doWork(), MediaWiki\Deferred\LinksUpdate\LinksTable\doWrites(), AttachLatest\execute(), BenchmarkTruncate\execute(), CategoryChangesAsRdf\execute(), CheckBadRedirects\execute(), CheckImages\execute(), CheckUsernames\execute(), CleanupBlocks\execute(), CleanupPreferences\execute(), CleanupRemovedModules\execute(), CleanupSpam\execute(), ClearInterwikiCache\execute(), CompareParserCache\execute(), DeleteArchivedFiles\execute(), DeleteArchivedRevisions\execute(), DeleteDefaultMessages\execute(), DeleteEqualMessages\execute(), DeleteOrphanedRevisions\execute(), DeleteSelfExternals\execute(), DeleteTag\execute(), DumpCategoriesAsRdf\execute(), DumpLinks\execute(), EraseArchivedFile\execute(), FixDoubleRedirects\execute(), FixMergeHistoryCorruption\execute(), FixTimestamps\execute(), FixUserRegistration\execute(), GenerateSitemap\execute(), LoggedUpdateMaintenance\execute(), InitEditCount\execute(), InitSiteStats\execute(), InitUserPreference\execute(), MigrateUserGroup\execute(), MoveBatch\execute(), NukeNS\execute(), NukePage\execute(), PatchSql\execute(), PruneUnusedLinkTargetRows\execute(), PurgeChangedFiles\execute(), PurgeChangedPages\execute(), PurgeModuleDeps\execute(), RebuildAll\execute(), RebuildFileCache\execute(), ImageBuilder\execute(), RebuildTextIndex\execute(), RefreshFileHeaders\execute(), RefreshImageMetadata\execute(), RemoveInvalidEmails\execute(), RemoveUnusedAccounts\execute(), RenameDbPrefix\execute(), RenameUsersMatchingPattern\execute(), ResetPageRandom\execute(), RunBatchedQuery\execute(), ShowSiteStats\execute(), MoveToExternal\execute(), OrphanStats\execute(), ResolveStubs\execute(), StorageTypeStats\execute(), UpdateMediaWiki\execute(), UpdateArticleCount\execute(), UpdateRestrictions\execute(), UpdateSpecialPages\execute(), UppercaseTitlesForUnicodeTransition\execute(), WikiBirthday\execute(), WrapOldPasswords\execute(), DeleteEqualMessages\fetchMessageInfo(), TitleCleanup\fileExists(), ApiBase\filterIDs(), GrepPages\findPages(), FileBackendDBRepoWrapper\getBackendPaths(), BacklinkCache\getNumLinks(), JobQueueDB\getPrimaryDB(), ApiQueryBase\getQueryBuilder(), JobQueueDB\getReplicaDB(), MediaWiki\ResourceLoader\WikiModule\getTitleInfo(), DeleteLocalPasswords\getUserBatches(), DeleteLocalPasswords\getUserDB(), FixDefaultJsonContentPages\handleRow(), BackupDumper\initProgress(), MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\insertLink(), BotPassword\invalidateAllPasswordsForCentralId(), SpecialRecentChanges\isDenseTagFilter(), TitleCleanup\moveIllegalPage(), TitleCleanup\moveInconsistentPage(), BacklinkCache\partition(), RebuildTextIndex\populateSearchIndex(), PurgeChangedFiles\purgeFromLogType(), Maintenance\purgeRedundantText(), BacklinkCache\queryLinks(), SiteStatsInit\refresh(), BotPassword\removeAllPasswordsForCentralId(), ResolveStubs\resolveStub(), TableCleanup\runTable(), EraseArchivedFile\scrubAllVersions(), ApiQueryBase\select(), MediaWikiShell\setupLegacy(), MediaWikiShell\setupLogging(), MediaWiki\Deferred\LinksUpdate\LinksUpdate\updateLinksTimestamp(), PopulateRevisionSha1\upgradeRow(), and PopulateRevisionLength\upgradeRow().