[MediaWiki-l] Analog to $wgExtNewFields for dropping fields?

Chad innocentkiller at gmail.com
Thu Nov 20 16:55:54 UTC 2014


On Thu Nov 20 2014 at 8:49:14 AM Daniel Barrett <danb at cimpress.com> wrote:

> $wgExtNewFields<http://www.mediawiki.org/wiki/Manual:$wgExtNewIndexes> is
> really handy for adding columns to database tables. Is there an equivalent
> configuration setting for *dropping* columns from tables? (Likewise for
> dropping indexes.)
>
>
Probably, check out the DatabaseUpdater class and its subclasses.

Which, by the way, everyone should be using. Those $wgExtNew*
variables should've been deprecated ages ago with new-installer.

-Chad


More information about the MediaWiki-l mailing list