* Checks if there is a redirect named as $title
*
* @param $title Title of file
+ * @return bool
*/
function checkRedirect( Title $title ) {
global $wgMemc;
/**
* Get an array or iterator of file objects for files that have a given
* SHA-1 content hash.
+ * @return Array
*/
function findBySha1( $hash ) {
$dbr = $this->getSlaveDB();
* Get a key on the primary cache for this repository.
* Returns false if the repository's cache is not accessible at this site.
* The parameters are the parts of the key, as for wfMemcKey().
+ * @return string
*/
function getSharedCacheKey( /*...*/ ) {
$args = func_get_args();
* Invalidates image redirect cache related to that image
*
* @param $title Title of page
+ * @return void
*/
function invalidateImageRedirect( Title $title ) {
global $wgMemc;