On Thu Nov 20 2014 at 8:49:14 AM Daniel Barrett <[email protected]> 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.)

Chad replied:
>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.

Thank you - that worked perfectly.
For posterity, this page was very helpful:

http://www.mediawiki.org/wiki/Manual:DatabaseUpdater.php


DanB


________________________________
My email address has changed to [email protected]. Please update your address 
book.

Cimpress is the new name for Vistaprint NV, the world’s leader in mass 
customization. Read more about Cimpress at www.cimpress.com.
________________________________
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to