return $this->mRecord->getContent( 'main', $audience, $user );
}
catch ( RevisionAccessException $e ) {
- wfDebugLog(
- 'T184670',
- __METHOD__ . ": Cannot get content: " . $e->getMessage() .
- "\n" . $e->getTraceAsString()
- );
return null;
}
}
return false;
}
- $cacheKey = isset( $row->old_id ) ? ( 'tt:' . $row->old_id ) : null;
+ $cacheKey = isset( $row->old_id )
+ ? SqlBlobStore::makeAddressFromTextId( $row->old_id )
+ : null;
return self::getBlobStore( $wiki )->expandBlob( $text, $flags, $cacheKey );
}