Manual:$wgExtNewTables/de-formal

This page is a translated version of the page Manual:$wgExtNewTables and the translation is 10% complete.
Extension fields: $wgExtNewTables
Extension Defined tables to be added on schema change
Eingeführt in Version:1.11.0 (r23759)
Entfernt in Version:1.36.0 (Gerrit change 554602; git #95649c39)
Erlaubte Werte:(see below)
Standardwert:[]

Details

Can be used with Manual:Hooks/LoadExtensionSchemaUpdates to add additional database tables when maintenance/update.php is called.

Usage

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

Note that maintenance/update.php will replace /*_*/ with the value of $wgDBprefix . For example:

CREATE TABLE /*_*/table_name ( //...

See Extension:FlaggedRevs for an example.

See also