Lines Matching full:info
116 * Parses a changelog line into its components and save revision info to the cache pool
123 $info = static::parseLogLine($value);
124 if (is_array($info)) {
125 $info['mode'] = $this->getMode();
126 $this->cache[$this->id][$info['date']] ??= $info;
127 return $info;
140 * @param bool $retrieveCurrentRevInfo allows to skip for getting other revision info in the
197 * See $INFO['meta']['last_change'] for the current revision.
306 $info = $this->parseAndCacheLogLine($lines[$i]);
307 if (is_array($info)) {
308 $revs[] = $info['date'];
354 $info = [];
365 $info = $this->parseAndCacheLogLine($lines[$i]);
366 if (is_array($info)) {
368 … if (($direction > 0 && $info['date'] > $rev) || ($direction < 0 && $info['date'] < $rev)) {
371 $relativeRev = $info['date'];
379 && ($info['date'] == $rev || ($revCounter > 0 && !$relativeRev))
444 $info = $this->parseAndCacheLogLine($lines[$i]);
445 if (is_array($info)) {
446 $revs1[] = $info['date'];
524 $info = $this->parseAndCacheLogLine($line);
525 if (is_array($info)) {
526 $revs[] = $info['date'];
527 if ($info['date'] >= $rev) {
568 $info = $this->parseAndCacheLogLine($lines[$i]);
569 if (is_array($info)) {
570 $revs[] = $info['date'];
594 * change that had already recorded in the changelog is returned as current change info.
720 * returns the info dict so existing callers (saveWikiText etc.) keep working.
722 * @param array $info Revision info structure of a page or media file
724 * @return array revision info of added log line
726 public function addLogEntry(array $info, $timestamp = null) argument
731 return $this->writeLogEntry($info, $timestamp);
734 $info['mode'] = $this->getMode();
735 return $info;
749 * @param array $info Revision info structure
751 * @return array revision info of added log line
754 protected function writeLogEntry(array $info, $timestamp = null) argument
758 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]);
760 $logline = static::buildLogLine($info, $timestamp);
777 $this->currentRevision = $info['date'];
778 $info['mode'] = $this->getMode();
779 $this->cache[$this->id][$this->currentRevision] = $info;
780 return $info;
795 * @param array $revInfo synthesized revision info
831 * @param array $revInfo synthesized revision info with 'date' set