Lines Matching +full:- +full:- +full:date
23 * @deprecated 2023-09-25
37 * @param int $date Timestamp of the change
44 * - ExternalEdit - mark as an external edit.
50 * @deprecated 2021-11-28
53 $date,
61 // no more used in DokuWiki core, but left for third-party plugins
73 if (!$date) $date = time(); //use current time if none supplied
75 $user = ($flagExternalEdit) ? '' : $INPUT->server->str('REMOTE_USER');
80 $logEntry = $pageFile->changelog->addLogEntry([
81 'date' => $date,
92 $pageFile->updateMetadata($logEntry);
98 * @author Michael Hamann <michael@content-space.de>
103 * @param int $date Timestamp of the change
110 * - (none, so far)
114 $date,
131 if (!$date) $date = time(); //use current time if none supplied
133 $user = ($flagExternalEdit) ? '' : $INPUT->server->str('REMOTE_USER');
137 (new MediaChangeLog($id, 1024))->addLogEntry([
138 'date' => $date,
155 * RECENTS_SKIP_DELETED - don't include deleted pages
156 * RECENTS_SKIP_MINORS - don't include minor changes
157 * RECENTS_ONLY_CREATION - only include new created pages and media
158 * RECENTS_SKIP_SUBSPACES - don't include subspaces
159 * RECENTS_MEDIA_CHANGES - return media changes instead of page changes
160 * RECENTS_MEDIA_PAGES_MIXED - return both media changes and page changes
190 $lines_position = count($lines) - 1;
199 $media_lines_position = count($media_lines) - 1;
209 $lines_position--;
221 $media_lines_position--;
225 if (($flags & RECENTS_MEDIA_PAGES_MIXED) && @$media_rec['date'] >= @$rec['date']) {
226 $media_lines_position--;
231 $lines_position--;
240 if (--$first >= 0) continue; // skip first entries
258 * RECENTS_SKIP_DELETED - don't include deleted pages
259 * RECENTS_SKIP_MINORS - don't include minor changes
260 * RECENTS_ONLY_CREATION - only include new created pages and media
261 * RECENTS_SKIP_SUBSPACES - don't include subspaces
262 * RECENTS_MEDIA_CHANGES - return media changes instead of page changes
264 * @param int $from date of the oldest entry to return
265 * @param int $to date of the newest entry to return (for pagination, optional)
270 * @author Michael Hamann <michael@content-space.de>
299 if ($rec['date'] >= $from) {
300 if (!$to || $rec['date'] <= $to) {