Manual:$wgExtNewFields

From Linux Web Expert

Revision as of 18:15, 29 November 2023 by imported>Clump (Reverted edits by Marlana38 (talk) to last version by Shirayuki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Extension fields</translate>: $wgExtNewFields
Extension defined fields to be added to existing tables
<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>(see below)
<translate> Default value:</translate>[]

Details

Used to add fields to existing tables. Used for MySQL tables. For PostgreSQL, use $wgExtPGNewFields .

Usage

$wgExtNewFields[] = array( 'tablename', 'column_name', 'schema_file.sql' );

See also