Lines Matching full:recent
34 'desc' => 'returns pages with discussion sections, sorted by recent comments',
108 * Returns an array of pages with discussion sections, sorted by recent comments
199 $num = $conf['recent'];
209 // read all recent changes. (kept short)
265 $recent = parseChangelogLine($line);
266 if ($recent === false) return false;
268 $cid = $recent['extra'];
269 $fullcid = $recent['id'] . '#' . $recent['extra'];
275 if ($recent['type'] === 'sc') return false;
281 if (isHiddenPage($recent['id'])) return false;
282 if ($recent['type'] === 'hc') return false;
285 if ($ns && strpos($recent['id'] . ':', $ns . ':') !== 0) return false;
288 $recent['perm'] = auth_quickaclcheck($recent['id']);
289 if ($recent['perm'] < AUTH_READ) return false;
292 $recent['file'] = wikiFN($recent['id']);
293 $recent['exists'] = @file_exists($recent['file']);
294 if (!$recent['exists']) return false;
295 if ($recent['type'] === 'dc') return false;
298 $data = unserialize(io_readFile(metaFN($recent['id'], '.comments'), false));
318 $recent['name'] = $data['comments'][$cid]['user']['name'];
320 $recent['name'] = $data['comments'][$cid]['name'];
322 $recent['desc'] = strip_tags($data['comments'][$cid]['xhtml']);
323 $recent['anchor'] = 'comment_' . $cid;
325 return $recent;