Manual:$wgExtNewIndexes

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
Extensions: $wgExtNewIndexes
Extension defined indexes to be added to existing tables
Introduced in version:1.11.0 (r23759)
Removed in version:still in use
Allowed values:(see below)
Default value:array()
Other settings: Alphabetical | By function

Details[edit]

Used to add indexes to existing tables. For PostgreSQL, you can add the index clause instead of a filename.

Usage[edit]

$wgExtNewIndexes[] = array( 'tablename', 'indexname', 'schema_file.sql' );

## Postgres only:
$wgExtNewIndexes[] = array( 'tablename', 'indexname', '(columns)' );

See also[edit]