Jump to content

Manual:$wgExtNewFields

From mediawiki.org
Extension fields: $wgExtNewFields
Extension defined fields to be added to existing tables
Introduced in version:1.11.0 (r23759)
Removed in version:1.36.0 (Gerrit change 554602; git #95649c39)
Allowed values:(see below)
Default value:[]

Details

[edit]

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

Usage

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

See also

[edit]