Extension talk:Data

Indexes
What indexing should be used on the data_extension table. John Stanton 19:47, 4 November 2006 (UTC)


 * I think at least item and key columns should be indexed. Nikola 02:28, 16 November 2006 (UTC)

Code
It seems that the following is needed to avoid PHP warnings:

$wgHooks['LanguageGetMagic'][] = 'wfDataLanguageGetMagic';

function wfDataLanguageGetMagic( &$magicWords, $langCode ) { switch ( $langCode ) { default: $magicWords['data']         = array( 0, 'data' ); $magicWords['sort']         = array( 0, 'sort' ); }   return true; }

Patrick 11:36, 5 February 2007 (UTC)