MediaWiki
master
|
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. More... | |
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 38 of file ApiQueryBlockInfoTrait.php.
References addFields(), addJoinConds(), addTables(), addWhere(), getDB(), getPermissionManager(), and getUser().
Referenced by ApiQueryAllUsers\execute(), ApiQueryUsers\execute(), and ApiQueryBase\showHiddenUsersAddBlockInfo().
|
abstractprotected |
array | string | $fields |
Referenced by addBlockInfoToQuery().
|
abstractprotected |
|
abstractprotected |
string | array | $tables | |
string | null | $alias |
Referenced by addBlockInfoToQuery().
|
abstractprotected |
|
abstractprotected |
Referenced by addBlockInfoToQuery(), and SiteStatsInit\doAllAndCommit().
|
abstractprotected |
Referenced by PermissionsError\__construct(), EmailNotification\actuallyNotifyOnPageChange(), addBlockInfoToQuery(), TemplatesOnThisPageFormatter\buildEditLink(), ChangeTags\canActivateTag(), ChangeTags\canAddTagsAccompanyingChange(), ChangeTags\canCreateTag(), ChangeTags\canDeactivateTag(), ChangeTags\canDeleteTag(), ChangeTags\canUpdateTags(), ProtectLogFormatter\getActionLinks(), LogEventsList\getExcludeClause(), Skin\getPageClasses(), SpecialEmailUser\getPermissionsError(), LogEventsList\getTypeMenuDesc(), ChangesList\insertRollback(), UploadFromUrl\isAllowed(), LocalIdLookup\lookupCentralIds(), LocalIdLookup\lookupUserNames(), User\newFatalPermissionDeniedStatus(), EmailNotification\notifyOnPageChange(), ImagePage\openShowImage(), LoginSignupSpecialPage\showCreateAccountLink(), and LogEventsList\userCanViewLogType().
|
abstract |
Referenced by addBlockInfoToQuery(), Parser\braceSubstitution(), buildProfileApiParam(), Parser\cleanSig(), Parser\extractSections(), DeletedContribsPager\formatRevisionRow(), ContribsPager\formatRow(), ImageListPager\formatValue(), EditPage\getCheckboxesDefinitionForWatchlist(), Article\getContentObject(), Parser\getFlatSectionInfo(), GenderCache\getGenderOf(), ContribsPager\getQueryInfo(), Parser\getRevisionUser(), ImagePage\getThumbSizes(), Revision\RevisionArchiveRecord\getUser(), Revision\RevisionStoreCacheRecord\getUser(), Revision\RevisionStoreRecord\getUser(), Article\updateRestrictions(), ImagePage\uploadLinksBox(), Language\userAdjust(), CategoryPage\view(), and ImagePage\view().