/** * @param $path string * @return string */ protected function recordKeyForPath($path) { $hash = LockManager::sha1Base36($path); list($db, $prefix) = wfSplitWikiID($this->wikiId); return wfForeignMemcKey($db, $prefix, __CLASS__, 'locks', $hash); }