function getCacheFields( $prefix = 'img_' ) {
static $fields = [ 'size', 'width', 'height', 'bits', 'media_type',
'major_mime', 'minor_mime', 'metadata', 'timestamp', 'sha1', 'user',
- 'user_text', 'description' ];
+ 'user_text' ];
static $results = [];
if ( $prefix == '' ) {
foreach ( $fields as $field ) {
$prefixedFields[] = $prefix . $field;
}
+ $prefixedFields += CommentStore::newKey( "{$prefix}description" )->getFields();
$results[$prefix] = $prefixedFields;
}
$this->dataLoaded = true;
$this->extraDataLoaded = true;
+ $this->description = CommentStore::newKey( "{$prefix}description" )
+ ->getComment( $row )->text;
+
$array = $this->decodeRow( $row, $prefix );
foreach ( $array as $name => $value ) {