Lines Matching defs:change
257 $change = $this->handleChangelogLine(
267 if ($change !== false) {
268 $changes[] = $change;
277 foreach ($changes as $change) {
278 $dates[] = $change['date'];
301 $change = ChangeLog::parseLogLine($line);
302 if ($change === false) return false;
305 if (isset($seen[$change['id']])) return false;
308 if (!empty($type) && !in_array($change['type'], $type)) return false;
311 if (!empty($user) && (empty($change['user']) || !in_array($change['user'], $user))) return false;
314 $seen[$change['id']] = 1;
317 if ($change['extra'] != 'media' && $change['type'] != 'D' && !page_exists($change['id'])) return false;
320 if ($maxage && $change['date'] < (time() - $maxage)) {
325 if (isHiddenPage($change['id'])) return false;
329 if (!$this->isInNamespace($ns['include'], $change['id'])) return false;
334 if ($this->isInNamespace($ns['exclude'], $change['id'])) return false;
338 if (in_array($change['id'], $excludedpages)) {
346 if ($change['user'] == $user) return false;
351 $change['perms'] = auth_quickaclcheck($change['id']);
352 if ($change['perms'] < AUTH_READ) return false;
354 return $change;
386 foreach ($changes as $change) {
387 if ($change['extra'] == 'media') continue;
388 $page['id'] = $change['id'];
389 $page['date'] = $change['date'];
390 $page['user'] = $this->getUserName($change);
391 $page['desc'] = $change['sum'];
438 foreach ($changes as $change) {
440 $tdate = date('Ymd', $change['date']);
443 $this->dayheader($renderer, $change['date']);
451 if (trim($change['extra']) == 'media') {
452 $renderer->internalmedia(':' . $change['id'], null, null, null, null, null, 'linkonly');
454 $renderer->internallink(':' . $change['id'], null, null, false, 'navigation');
457 $renderer->cdata(' ' . $change['sum']);
460 $user = $this->getUserName($change);
461 $date = strftime($conf['dformat'], $change['date']);
502 * @param array $change
505 protected function getUserName($change)
509 if (!empty($change['user'])) {
510 $user = $auth->getUserData($change['user']);
512 return $change['user'];
517 return $change['ip'];