Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1429849
CheckUserQueryInterface.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
CheckUserQueryInterface.php
View Options
<?php
namespace
MediaWiki\CheckUser
;
/**
* An interface that provides several constants that are used
* by code that reads from and/or writes to the CheckUser tables.
*/
interface
CheckUserQueryInterface
{
/** @var string The name of the table where log events only shown in CheckUser are stored. */
public
const
PRIVATE_LOG_EVENT_TABLE
=
'cu_private_event'
;
/** @var string The name of the table where log events are stored. */
public
const
LOG_EVENT_TABLE
=
'cu_log_event'
;
/** @var string The name of the table where non-log actions are stored. */
public
const
CHANGES_TABLE
=
'cu_changes'
;
/** @var string[] All tables that contain result rows. */
public
const
RESULT_TABLES
=
[
self
::
CHANGES_TABLE
,
self
::
LOG_EVENT_TABLE
,
self
::
PRIVATE_LOG_EVENT_TABLE
,
];
/** @var string[] A map of result table name to table column/index prefix */
public
const
RESULT_TABLE_TO_PREFIX
=
[
self
::
CHANGES_TABLE
=>
'cuc_'
,
self
::
LOG_EVENT_TABLE
=>
'cule_'
,
self
::
PRIVATE_LOG_EVENT_TABLE
=>
'cupe_'
,
];
/** @var string The virtual database domain for the central index tables */
public
const
VIRTUAL_GLOBAL_DB_DOMAIN
=
'virtual-checkuser-global'
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 18:05 (8 h, 28 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
80/34/80e2148db40ea3cd9c1b795fba1b
Default Alt Text
CheckUserQueryInterface.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment