Manual:Image comment temp table: Difference between revisions
Appearance
Content deleted Content added
m no need to translate markup |
m →Schema summary: Fixing obselete HTML tag lint errors (i.e. <tt> → <code>) |
||
| Line 45: | Line 45: | ||
</translate> |
</translate> |
||
{{MW version|version=1.30|version2=1.31}} |
{{MW version|version=1.30|version2=1.31}} |
||
< |
<code>'''DESCRIBE''' image_comment_temp;</code> |
||
<pre> |
<pre> |
||
+---------------------------+---------------------+------+-----+---------+-------+ |
+---------------------------+---------------------+------+-----+---------+-------+ |
||
Revision as of 03:07, 6 April 2020
| MediaWiki versions: | 1.30 – 1.31 |
The image_comment_temp table is a temporary table creating a relation between each row of the image table and a row of the comment table. It has been created to avoid blocking on an alter of the image table. On large wikis like Wikimedia Commons, altering the image table is a months-long process. This table is being created to avoid such an alter, and will be merged back into the image table in the future.
This table was introduced in Gerrit change 357892. See also the revision_comment_temp table.
In MediaWiki 1.32, the image_comment_temp table is merged into the image table with T188132. After that, the image_comment_temp table is removed.
Fields
imgcomment_name
Key to image.img_name
imgcomment_description_id
Key to comment.comment_id
Schema summary
| MediaWiki versions: | 1.30 – 1.31 |
DESCRIBE image_comment_temp;
+---------------------------+---------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +---------------------------+---------------------+------+-----+---------+-------+ | imgcomment_name | varbinary(255) | NO | PRI | NULL | | | imgcomment_description_id | bigint(20) unsigned | NO | PRI | NULL | | +---------------------------+---------------------+------+-----+---------+-------+