MediaWiki REL1_34
|
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 | |
addBlockInfoToQuery ( $showBlockInfo) | |
Filters hidden users (where the user doesn't have the right to view them) Also adds relevant block information. | |
Methods required from ApiQueryBase | |
addFields ( $fields) | |
addJoinConds ( $conds) | |
addTables ( $tables, $alias=null) | |
addWhere ( $conds) | |
getDB () | |
getPermissionManager () | |
getUser () | |
Variables | |
trait | ApiQueryBlockInfoTrait |
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.
|
private |
Filters hidden users (where the user doesn't have the right to view them) Also adds relevant block information.
bool | $showBlockInfo |
Definition at line 37 of file ApiQueryBlockInfoTrait.php.
References addFields(), addJoinConds(), addTables(), addWhere(), getDB(), getPermissionManager(), and getUser().
Referenced by ApiQueryAllUsers\execute(), ApiQueryUsers\execute(), and ApiQueryBase\showHiddenUsersAddBlockInfo().
|
abstractprotected |
Referenced by HTMLForm\__construct(), and addBlockInfoToQuery().
|
abstractprotected |
Referenced by addBlockInfoToQuery().
|
abstractprotected |
Referenced by addBlockInfoToQuery().
|
abstractprotected |
Referenced by addBlockInfoToQuery().
|
abstractprotected |
Referenced by SiteStatsInit\__construct(), addBlockInfoToQuery(), ImageBuilder\buildTable(), NamespaceDupes\checkLinkTable(), Orphans\checkOrphans(), Orphans\checkSeparation(), CleanupUsersWithNoId\cleanup(), CleanupSpam\cleanupArticle(), CleanupInvalidDbKeys\cleanupTable(), RebuildTextIndex\clearSearchIndex(), CompressOld\compressOldPages(), CompressOld\compressPage(), CompressOld\compressWithConcat(), RebuildTextIndex\createMysqlTextIndex(), ConvertLinks\createTempTable(), BotPassword\delete(), RefreshLinks\deleteLinksFromNonexistent(), NukePage\deleteRevisions(), RefreshLinks\dfnCheckInterval(), AddRFCandPMIDInterwiki\doDBUpdates(), CleanupRevActorPage\doDBUpdates(), DeduplicateArchiveRevId\doDBUpdates(), FixDefaultJsonContentPages\doDBUpdates(), FixExtLinksProtocolRelative\doDBUpdates(), MigrateActors\doDBUpdates(), MigrateArchiveText\doDBUpdates(), MigrateImageCommentTemp\doDBUpdates(), PopulateArchiveRevId\doDBUpdates(), PopulateBacklinkNamespace\doDBUpdates(), PopulateExternallinksIndex60\doDBUpdates(), PopulateFilearchiveSha1\doDBUpdates(), PopulateImageSha1\doDBUpdates(), PopulateIpChanges\doDBUpdates(), PopulateLogSearch\doDBUpdates(), PopulateLogUsertext\doDBUpdates(), PopulateParentId\doDBUpdates(), PopulatePPSortKey\doDBUpdates(), PopulateRecentChangesSource\doDBUpdates(), PopulateRevisionLength\doDBUpdates(), PopulateRevisionSha1\doDBUpdates(), RefreshExternallinksIndex\doDBUpdates(), DeleteOldRevisions\doDelete(), LinksDeletionUpdate\doIncrementalUpdate(), PopulateRevisionLength\doLenUpdates(), SiteStatsInit\doPlaceholderInit(), ReassignEdits\doReassignEdits(), RefreshLinks\doRefreshLinks(), PopulateRevisionSha1\doSha1LegacyUpdates(), PopulateRevisionSha1\doSha1Updates(), LinksUpdate\doUpdate(), UpdateSearchIndex\doUpdateSearchIndex(), RecountCategories\doWork(), RebuildTextIndex\dropMysqlTextIndex(), AttachLatest\execute(), BenchmarkDeleteTruncate\execute(), CategoryChangesAsRdf\execute(), CheckBadRedirects\execute(), CheckImages\execute(), CheckUsernames\execute(), CleanupAncientTables\execute(), CleanupBlocks\execute(), CleanupPreferences\execute(), CleanupRemovedModules\execute(), CleanupSpam\execute(), ClearInterwikiCache\execute(), CompareParserCache\execute(), ConvertLinks\execute(), ConvertUserOptions\execute(), DeleteArchivedFiles\execute(), DeleteArchivedRevisions\execute(), DeleteDefaultMessages\execute(), DeleteEqualMessages\execute(), DeleteOrphanedRevisions\execute(), DeleteSelfExternals\execute(), DumpCategoriesAsRdf\execute(), DumpLinks\execute(), EraseArchivedFile\execute(), FixDoubleRedirects\execute(), FixTimestamps\execute(), FixUserRegistration\execute(), GenerateSitemap\execute(), GetReplicaServer\execute(), InitEditCount\execute(), InitSiteStats\execute(), InitUserPreference\execute(), LoggedUpdateMaintenance\execute(), MigrateUserGroup\execute(), MoveBatch\execute(), NukeNS\execute(), NukePage\execute(), PatchSql\execute(), PopulateCategory\execute(), PopulateContentModel\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(), ResetPageRandom\execute(), ResetUserTokens\execute(), RunBatchedQuery\execute(), ShowSiteStats\execute(), OrphanStats\execute(), StorageTypeStats\execute(), TidyUpT39714\execute(), UpdateMediaWiki\execute(), UpdateArticleCount\execute(), UpdateCollation\execute(), UpdateDoubleWidthSearch\execute(), UpdateRestrictions\execute(), UpdateSpecialPages\execute(), UppercaseTitlesForUnicodeTransition\execute(), WrapOldPasswords\execute(), DumpUploads\fetchLocal(), DumpUploads\fetchUsed(), TitleCleanup\fileExists(), ApiBase\filterIDs(), RefreshLinks\fixRedirect(), LinksDeletionUpdate\getAsJobSpecification(), FileBackendDBRepoWrapper\getBackendPaths(), LinksUpdate\getCategoryInsertions(), LinksUpdate\getExistingCategories(), LinksUpdate\getExistingExternals(), LinksUpdate\getExistingImages(), LinksUpdate\getExistingInterlangs(), LinksUpdate\getExistingInterwikis(), LinksUpdate\getExistingLinks(), LinksUpdate\getExistingProperties(), LinksUpdate\getExistingTemplates(), JobQueueDB\getMasterDB(), BotPassword\getPassword(), JobQueueDB\getReplicaDB(), BenchmarkParse\getRevIdForTime(), RollbackEdits\getRollbackTitles(), NamespaceDupes\getTargetList(), ResourceLoaderWikiModule\getTitleInfo(), DeleteLocalPasswords\getUserBatches(), DeleteLocalPasswords\getUserDB(), FixDefaultJsonContentPages\handleRow(), BackupReader\handleUpload(), LinksUpdate\incrTableUpdate(), BackupDumper\initProgress(), PopulateContentTables\initServices(), BotPassword\invalidateAllPasswordsForCentralId(), LinksUpdate\invalidateCategories(), LinksUpdate\invalidateImageDescriptions(), RemoveUnusedAccounts\isInactiveAccount(), CleanupImages\killRow(), PopulateContentTables\loadContentMap(), NamespaceDupes\mergePage(), MigrateComments\migrate(), MigrateActors\migrate(), MigrateActors\migrateLogSearch(), MigrateActors\migrateToTemp(), MigrateComments\migrateToTemp(), TitleCleanup\moveIllegalPage(), TitleCleanup\moveInconsistentPage(), NamespaceDupes\movePage(), BotPassword\newFromCentralId(), UserRightsProxy\newFromLookup(), CleanupImages\pokeFile(), RebuildTextIndex\populateSearchIndex(), PurgeChangedFiles\purgeFromLogType(), PurgeList\purgeNamespace(), Maintenance\purgeRedundantText(), RebuildRecentchanges\rebuildRecentChangesTablePass1(), RebuildRecentchanges\rebuildRecentChangesTablePass2(), RebuildRecentchanges\rebuildRecentChangesTablePass3(), RebuildRecentchanges\rebuildRecentChangesTablePass4(), SiteStatsInit\refresh(), RefreshLinks\refreshCategory(), BotPassword\removeAllPasswordsForCentralId(), CleanupWatchlist\removeWatch(), TableCleanup\runTable(), BotPassword\save(), EraseArchivedFile\scrubAllVersions(), MediaWikiShell\setupLegacy(), LinksUpdate\updateCategoryCounts(), LinksUpdate\updateLinksTimestamp(), PopulateRevisionSha1\upgradeLegacyArchiveRow(), PopulateRevisionSha1\upgradeRow(), and PopulateRevisionLength\upgradeRow().
|
abstractprotected |
Referenced by PermissionsError\__construct(), UploadForm\__construct(), EmailNotification\actuallyNotifyOnPageChange(), addBlockInfoToQuery(), SpecialRevisionDelete\addUsageText(), MediaWiki\Auth\AuthManager\autoCreateUser(), TemplatesOnThisPageFormatter\buildEditLink(), ProtectionForm\buildForm(), SkinTemplate\buildNavUrls(), ChangeTags\canActivateTag(), ChangeTags\canAddTagsAccompanyingChange(), SpecialBlock\canBlockEmail(), ChangeTags\canCreateTag(), ChangeTags\canDeactivateTag(), ChangeTags\canDeleteTag(), ChangeTags\canUpdateTags(), Autopromote\checkCondition(), SpecialChangeEmail\checkExecutePermissions(), ApiBase\checkTitleUserPermissions(), SpecialBlock\checkUnblockSelf(), ApiBase\checkUserRightsAny(), SpecialRecentChangesLinked\doMainQuery(), WatchAction\doUnwatch(), SpecialConfirmEmail\execute(), SpecialApiSandbox\execute(), SpecialImport\execute(), SpecialLog\execute(), SpecialUndelete\execute(), UserrightsPage\execute(), ProtectionForm\execute(), UserrightsPage\fetchUser(), SpecialNewpages\filterLinks(), SpecialDoubleRedirects\formatResult(), ProtectedPagesPager\formatValue(), BlockListPager\formatValue(), ProtectLogFormatter\getActionLinks(), SpecialAutoblockList\getBlockListPager(), SpecialBlockList\getBlockListPager(), LogEventsList\getExcludeClause(), SpecialContributions\getForm(), SpecialBlock\getFormFields(), Skin\getPageClasses(), SpecialEmailUser\getPermissionsError(), ActiveUsersPager\getQueryInfo(), BlockListPager\getQueryInfo(), UsersPager\getQueryInfo(), LogEventsList\getTypeMenuDesc(), ChangesList\insertRollback(), UploadFromUrl\isAllowed(), LocalIdLookup\lookupCentralIds(), LocalIdLookup\lookupUserNames(), User\newFatalPermissionDeniedStatus(), EmailNotification\notifyOnPageChange(), SpecialChangeContentModel\onSubmit(), ImagePage\openShowImage(), SpecialBlock\processForm(), SpecialRecentChanges\registerFilters(), UserNamePrefixSearch\search(), SpecialTags\showActivateDeactivateForm(), SpecialRevisionDelete\showConvenienceLinks(), LoginSignupSpecialPage\showCreateAccountLink(), SpecialSearch\showCreateLink(), SpecialTags\showDeleteTagForm(), MovePageForm\showForm(), SpecialRevisionDelete\showForm(), Article\showPatrolFooter(), SpecialPreferences\showResetForm(), SpecialRevisionDelete\submit(), SpecialPreferences\submitReset(), LogEventsList\userCanViewLogType(), Article\view(), and SpecialWhatLinksHere\wlhLink().
|
abstract |
Referenced by addBlockInfoToQuery(), ApiBase\addBlockInfoToStatus(), Parser\braceSubstitution(), buildProfileApiParam(), OutputPage\checkLastModified(), SpecialPage\checkPermissions(), ApiQueryRevisionsBase\checkRevDel(), ApiBase\checkTitleUserPermissions(), ApiBase\checkUserRightsAny(), ApiBase\errorArrayToStatus(), ApiQueryStashImageInfo\execute(), RequestContext\exportSession(), ApiQueryRevisionsBase\extractDeprecatedContent(), ApiQueryWatchlist\extractOutputData(), ApiQueryRecentChanges\extractRowInfo(), Article\fetchRevisionRecord(), DeletedContribsPager\formatRevisionRow(), ContribsPager\formatRow(), ImageListPager\formatValue(), Skin\getCategories(), Skin\getCategoryLinks(), WikiPage\getContributors(), Skin\getDefaultModules(), OutputPage\getHeadLinksArray(), HTMLForm\getHiddenFields(), OutputPage\getJSVars(), RequestContext\getLanguage(), PreferencesFormOOUI\getModifiedUser(), Skin\getNewtalks(), Skin\getPageClasses(), ActiveUsersPager\getQueryInfo(), ContribsPager\getQueryInfo(), ArchivedFile\getRawUser(), ArchivedFile\getRawUserText(), SpecialMypage\getRedirect(), SpecialMytalk\getRedirect(), Parser\getRevisionUser(), OutputPage\getRlClientContext(), Skin\getSiteNotice(), RequestContext\getSkin(), ImagePage\getThumbSizes(), ApiBase\getWatchlistUser(), ApiBase\getWatchlistValue(), OutputPage\headElement(), MediaWiki\Revision\RevisionRecord\isReadyForInsertion(), Skin\lastModified(), SpecialSearch\load(), ApiBase\logFeatureUsage(), ParserOptions\optionsHash(), OutputPage\parserOptions(), Skin\preloadExistence(), SpecialPage\requireLogin(), ApiQueryRecentChanges\run(), ApiQueryWatchlist\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryAllRevisions\run(), ApiQueryDeletedRevisions\run(), ApiQueryRevisions\run(), SpecialSearch\saveNamespaces(), ApiBase\setWatch(), SpecialSearch\showCreateLink(), Skin\showEmailUser(), OutputPage\showPermissionsErrorPage(), MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider\testUserForCreation(), HTMLForm\tryAuthorizedSubmit(), Article\updateRestrictions(), ImagePage\uploadLinksBox(), OutputPage\userCanPreview(), ApiBase\validateToken(), CategoryPage\view(), and ImagePage\view().