Manual:$wgExtNewFields/zh
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.36.0</tvar>.</translate> |
<translate> Extension fields</translate>: $wgExtNewFields | |
---|---|
定义添加到现有表格字段的扩展 |
|
<translate> Introduced in version:</translate> | 1.11.0 (r23759) |
<translate> Removed in version:</translate> | 1.36.0 (Gerrit change 554602; git #95649c39) |
<translate> Allowed values:</translate> | (参见下方) |
<translate> Default value:</translate> | [] |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
详情
被用于添加已存表的索引。
被用于MySQL表。
对于PostgreSQL,使用$wgExtPGNewFields
。
用法
$wgExtNewFields[] = array( 'tablename', 'column_name', 'schema_file.sql' );