MediaWiki master
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 ()
 
 getQueryBuilder ()
 

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 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 | IExpression$conds

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

◆ getAuthority()

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

Referenced by LogEventsList\__construct(), UploadForm\__construct(), ApiBase\addBlockInfoToStatus(), MediaWiki\EditPage\EditPage\attemptSave(), ImageHistoryList\beginImageHistoryList(), SkinTemplate\buildLoginData(), SkinTemplate\buildLogoutLinkData(), Skin\buildNavUrls(), SkinTemplate\buildPersonalUrls(), ApiMain\canApiHighLimits(), ApiMain\checkAsserts(), ApiMain\checkExecutePermissions(), ApiBase\checkTitleUserPermissions(), ApiBase\checkUserRightsAny(), DifferenceEngine\deletedLink(), MediaWiki\Pager\ContributionsPager\doBatchLookups(), ApiBase\errorArrayToStatus(), MediaWiki\Pager\ContributionsPager\formatRow(), MediaWiki\Pager\ImageListPager\formatValue(), MediaWiki\EditPage\EditPage\getContentObject(), Skin\getDefaultModules(), MediaWiki\Rest\Handler\PageHistoryCountHandler\getEditorsCount(), MediaWiki\Output\OutputPage\getHeadLinksArray(), MediaWiki\Output\OutputPage\getJSVars(), EnhancedChangesList\getLineData(), DifferenceEngine\getMarkPatrolledLinkInfo(), DifferenceEngine\getMultiNotice(), Skin\getPageClasses(), MediaWiki\Pager\ContributionsPager\getQueryInfo(), DifferenceEngine\getRevisionHeader(), UploadForm\getSourceSection(), 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(), MediaWiki\Specials\SpecialBlock\onSubmit(), HistoryAction\onView(), RawAction\onView(), ApiUpload\performUpload(), MediaWiki\Rest\Handler\PageHTMLHandler\postValidationSetup(), MediaWiki\Rest\Handler\PageSourceHandler\postValidationSetup(), ApiQueryRecentChanges\run(), MediaWiki\Rest\Handler\LanguageLinksHandler\run(), MediaWiki\Rest\Handler\MediaFileHandler\run(), MediaWiki\Rest\Handler\MediaLinksHandler\run(), MediaWiki\Rest\Handler\PageHistoryHandler\run(), MediaWiki\Rest\Handler\PageHistoryCountHandler\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryAllRevisions\run(), ApiQueryDeletedRevisions\run(), ApiQueryRevisions\run(), DifferenceEngine\setRevisions(), DifferenceEngine\showDiffPage(), MediaWiki\Output\OutputPage\showPermissionsErrorPage(), LocalFile\upload(), ImagePage\uploadLinksBox(), MediaWiki\Output\OutputPage\userCanPreview(), ApiQueryBase\userCanSeeRevDel(), and MediaWiki\Specials\SpecialWhatLinksHere\wlhLink().

◆ getDB()

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

Referenced by ApiQueryBase\addTimestampWhereRange(), ApiQueryBase\addWhereRange(), ApiQuerySiteinfo\appendGeneralInfo(), MediaWiki\Specials\SpecialRecentChanges\checkLastModified(), CleanupInvalidDbKeys\cleanupTable(), MigrateBlocks\doDBUpdates(), MigrateExternallinks\doDBUpdates(), MigrateLinksTable\doDBUpdates(), MigrateRevisionActorTemp\doDBUpdates(), MigrateRevisionCommentTemp\doDBUpdates(), PopulateChangeTagDef\doDBUpdates(), PopulateFilearchiveSha1\doDBUpdates(), PopulateIpChanges\doDBUpdates(), PopulateRecentChangesSource\doDBUpdates(), PopulateRevisionLength\doDBUpdates(), PopulateRevisionSha1\doDBUpdates(), MediaWiki\Specials\SpecialRecentChanges\doMainQuery(), RecountCategories\doWork(), MediaWiki\Deferred\LinksUpdate\LinksTable\doWrites(), BenchmarkTruncate\execute(), CategoryChangesAsRdf\execute(), CleanupSpam\execute(), DumpCategoriesAsRdf\execute(), PatchSql\execute(), RefreshLinks\execute(), OrphanStats\execute(), UpdateArticleCount\execute(), UpdateRestrictions\execute(), ApiBase\filterIDs(), FileBackendDBRepoWrapper\getBackendPaths(), MediaWiki\Cache\BacklinkCache\getNumLinks(), JobQueueDB\getPrimaryDB(), ApiQueryBase\getQueryBuilder(), JobQueueDB\getReplicaDB(), MediaWiki\ResourceLoader\WikiModule\getTitleInfo(), BackupDumper\initProgress(), MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\insertLink(), MediaWiki\Specials\SpecialRecentChanges\isDenseTagFilter(), MediaWiki\Cache\BacklinkCache\partition(), MediaWiki\Cache\BacklinkCache\queryLinks(), ApiQueryBase\select(), and MediaWiki\Deferred\LinksUpdate\LinksUpdate\updateLinksTimestamp().

◆ getQueryBuilder()