Manual:$wgExtPGNewFields

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Extension fields</translate>: $wgExtPGNewFields
Extension defined fields to be added to existing tables
<translate> Introduced in version:</translate>1.11.0
<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 PostgreSQL tables. For MySQL, use $wgExtNewFields .

Usage

$wgExtPGNewFields[] = array( 'tablename', 'column_name', 'column_type' );