Jump to content
MediaWiki

Extension:CheckUser/cu useragent clienthints table

From mediawiki.org
Languages:
MediaWiki version:
≥ 1.41

A table for the CheckUser extension used to store unique combinations of client hints header names and their values. The rows in this table are referenced by the many-to-many map table cu_useragent_clienthints_map .

Fields

[edit ]

uach_id

[edit ]

Primary key, used to uniquely identify a cu_useragent_clienthints row. Referenced by the table cu_useragent_clienthints_map in the uachm_uach_id column.

uach_name

[edit ]

The name of the client hint value. The combinations of uach_name and uach_value are unique.

uach_value

[edit ]

The value associated with the name in uach_name. The combinations of uach_name and uach_value are unique.

Schema

[edit ]
mysql> describe cu_useragent_clienthints;
+------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+------------------+------+-----+---------+----------------+
| uach_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| uach_name | varbinary(32) | NO | MUL | NULL | |
| uach_value | varbinary(255) | NO | | NULL | |
+------------+------------------+------+-----+---------+----------------+

Indexes

[edit ]
mysql> show index in cu_useragent_clienthints;
+--------------------------+------------+-----------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+--------------------------+------------+-----------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| cu_useragent_clienthints | 0 | PRIMARY | 1 | uach_id | A | 0 | NULL | NULL | | BTREE | | |
| cu_useragent_clienthints | 0 | uach_name_value | 1 | uach_name | A | 0 | NULL | NULL | | BTREE | | |
| cu_useragent_clienthints | 0 | uach_name_value | 2 | uach_value | A | 0 | NULL | NULL | | BTREE | | |
+--------------------------+------------+-----------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
Engines
Current
Former
Technical documentation
Configuration
Development
Core tables
Current
Former
Wikimedia extension database tables
AbuseFilter
AntiSpoof
Babel
BetaFeatures
BounceHandler
CampaignEvents
CentralAuth
CentralNotice
CheckUser
Cognate
CommunityRequests
ContentTranslation
CreditsSource
DiscussionTools
Echo
EntitySchema
FlaggedRevs
GeoData
GlobalBlocking
GlobalPreferences
GlobalUsage
GrowthExperiments
Linter
LiquidThreads
LoginNotify
MediaModeration
Math
Newsletter
OATHAuth
OAuth
ORES
PageAssessments
PageTriage
Proofread Page
PropertySuggester
ReadingLists
SecurePoll
ShortUrl
TimedMediaHandler
Translate
UploadWizard
UrlShortener
WikibaseQualityConstraints
Wikibase Client
Wikibase Repository
WikiLambda
WikiLove
WikimediaCampaignEvents
WikimediaEditorTasks

AltStyle によって変換されたページ (->オリジナル) /