Page MenuHomeWickedGov Phorge

patch-global_block_whitelist-gbw_expiry-type.json
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

patch-global_block_whitelist-gbw_expiry-type.json

{
"before": {
"name": "global_block_whitelist",
"comment": "A table which is on each local wiki, which when a row exists indicates that the associated global block is disabled on that local wiki.",
"columns": [
{
"name": "gbw_id",
"comment": "Key to gb_id in globalblocks database",
"type": "integer",
"options": {
"notnull": true
}
},
{
"name": "gbw_by",
"comment": "Key to user_id of the user who disabled the block locally.",
"type": "integer",
"options": {
"notnull": true
}
},
{
"name": "gbw_by_text",
"comment": "The username of the user who disabled the block locally.",
"type": "binary",
"options": {
"length": 255,
"notnull": true
}
},
{
"name": "gbw_reason",
"comment": "The reason given for disabling the global block locally.",
"type": "binary",
"options": {
"length": 767,
"notnull": true
}
},
{
"name": "gbw_expiry",
"comment": "The expiry timestamp for the global block. Blocks can have an infinite expiry.",
"type": "mwtimestamp",
"options": {
"notnull": true
}
}
],
"indexes": [
{
"name": "gbw_by",
"comment": "Used to find all global blocks disabled by a given user, to allow user merging.",
"columns": [
"gbw_by"
],
"unique": false
}
],
"pk": [
"gbw_id"
]
},
"after": {
"name": "global_block_whitelist",
"comment": "A table which is on each local wiki, which when a row exists indicates that the associated global block is disabled on that local wiki.",
"columns": [
{
"name": "gbw_id",
"comment": "Key to gb_id in globalblocks database",
"type": "integer",
"options": {
"notnull": true
}
},
{
"name": "gbw_by",
"comment": "Key to user_id of the user who disabled the block locally.",
"type": "integer",
"options": {
"notnull": true
}
},
{
"name": "gbw_by_text",
"comment": "The username of the user who disabled the block locally.",
"type": "binary",
"options": {
"length": 255,
"notnull": true
}
},
{
"name": "gbw_reason",
"comment": "The reason given for disabling the global block locally.",
"type": "binary",
"options": {
"length": 767,
"notnull": true
}
},
{
"name": "gbw_expiry",
"comment": "The expiry timestamp for the global block. Blocks can have an infinite expiry.",
"type": "mwtimestamp",
"options": {
"notnull": true,
"PlatformOptions": {
"allowInfinite": true
}
}
}
],
"indexes": [
{
"name": "gbw_by",
"comment": "Used to find all global blocks disabled by a given user, to allow user merging.",
"columns": [
"gbw_by"
],
"unique": false
}
],
"pk": [
"gbw_id"
]
}
}

File Metadata

Mime Type
application/json
Expires
Aug 18 2026, 11:43 (5 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c2/45/602af7550a85bf64c492e012bbaf
Default Alt Text
patch-global_block_whitelist-gbw_expiry-type.json (2 KB)

Event Timeline