/dokuwiki/inc/File/ |
H A D | PageResolver.php | 16 public function resolveId($id, $rev = '', $isDateAt = false) 30 $id = parent::resolveId($id, $rev, $isDateAt); 31 $id = $this->resolveStartPage($id, $rev, $isDateAt); 33 $id = $this->resolveAutoPlural($id, $rev, $isDateAt); 49 * @param string|int|false $rev 53 protected function resolveStartPage($id, $rev, $isDateAt) 59 if (page_exists($id . $conf['start'], $rev, true, $isDateAt)) { 62 } elseif (page_exists($id . noNS(cleanID($id)), $rev, true, $isDateAt)) { 65 } elseif (page_exists(substr($id, 0, -1), $rev, true, $isDateAt)) { 78 * @param int $rev 17 resolveId($id, $rev = '', $isDateAt = false) global() argument 54 resolveStartPage($id, $rev, $isDateAt) global() argument 83 resolveAutoPlural($id, $rev, $isDateAt) global() argument [all...] |
H A D | MediaResolver.php | 11 public function resolveId($id, $rev = '', $isDateAt = false) argument 13 return cleanID(parent::resolveId($id, $rev, $isDateAt));
|
H A D | PageFile.php | 43 public function getPath($rev = '') argument 45 return wikiFN($this->id, $rev); 50 * similar to function rawWiki($id, $rev = '') 52 * @param int|false $rev timestamp when a revision of wikitext is desired 55 public function rawWikiText($rev = null) argument 57 if ($rev !== null) { 58 $revInfo = $rev ? $this->changelog->getRevisionInfo($rev) : false; 61 : io_readWikiPage($this->getPath($rev), $this->id, $rev); // retriev [all...] |
H A D | MediaFile.php | 10 protected $rev; 24 * @param string|int $rev optional revision 26 public function __construct($id, $rev = '') 29 $this->path = mediaFN($id, $rev); 30 $this->rev = $rev; 44 return $this->rev; 25 __construct($id, $rev = '') global() argument
|
H A D | Resolver.php | 28 * @param string|int|false $rev The revision time to use when resolving 32 public function resolveId($id, $rev = '', $isDateAt = false) 33 resolveId($id, $rev = '', $isDateAt = false) global() argument
|
/dokuwiki/inc/Subscriptions/ |
H A D | MediaSubscriptionSender.php | 15 * @param int|bool $rev Old revision if any 18 public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) 27 'MEDIA' => ml($id, $current_rev ? ('rev=' . $current_rev) : '', true, '&', true), 31 if ($rev && $conf['mediarevisions']) { 32 $trep['OLD'] = ml($id, "rev=$rev", true, '&', true); 38 if ($rev) { 39 $headers['In-Reply-To'] = $this->getMessageID($id, $rev); 21 sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) global() argument
|
H A D | BulkSubscriptionSender.php | 84 foreach ($changes as $rev) { 86 $pagelog = new PageChangeLog($rev['id']); 88 !is_null($rev) && $rev['date'] >= $lastupdate && 89 ($INPUT->server->str('REMOTE_USER') === $rev['user'] || 90 $rev['type'] === DOKU_CHANGE_TYPE_MINOR_EDIT) 93 $rev = ($revisions !== []) ? $pagelog->getRevisionInfo($revisions[0]) : null; 96 if (!is_null($rev) && $rev['date'] >= $lastupdate) { 98 $change_ids[] = $rev['i [all...] |
H A D | PageSubscriptionSender.php | 17 * @param int|null $rev Old revision if any 23 public function sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $current_rev = null) 30 'NEWPAGE' => wl($id, $current_rev ? ('rev=' . $current_rev) : '', true, '&'), 36 if ($rev) { 38 $trep['OLDPAGE'] = wl($id, "rev=$rev", true, '&'); 40 $old_content = rawWiki($id, $rev); 70 if ($rev) { 71 $headers['In-Reply-To'] = $this->getMessageID($id, $rev); 26 sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $current_rev = null) global() argument
|
H A D | SubscriptionSender.php | 23 * @param string $rev The revision of the page, set to the current revision of the page $id if not set 27 protected function getMessageID($id, $rev = null) argument 37 if (is_null($rev)) { 38 $rev = @filemtime(wikiFN($id)); 41 return "<$id?rev=$rev@$listid>";
|
/dokuwiki/inc/ChangeLog/ |
H A D | ChangeLog.php | 43 * @param string|int $rev empty string or revision timestamp 46 abstract protected function getFilename($rev = ''); 58 * @param int $rev timestamp of current page 59 * @return bool true if $rev is current revision, otherwise false 61 public function isCurrentRevision($rev) 63 return $rev == $this->currentRevision(); 69 * @param int $rev revision timestamp 70 * @return bool true if $rev is last revision, otherwise false 72 public function isLastRevision($rev = null) 74 return $rev 53 isCurrentRevision($rev) global() argument 64 isLastRevision($rev = null) global() argument 137 getRevisionInfo($rev, $retrieveCurrentRevInfo = true) global() argument 313 getRelativeRevision($rev, $direction) global() argument 478 retrieveRevisionsAround($rev, $max) global() argument 671 traceCurrentRevision($rev) global() argument [all...] |
H A D | RevisionInfo.php | 177 $rev = $this->isCurrent() ? '' : $this->val('date'); 182 if ($rev) $params += ['rev' => $rev]; 185 $exists = file_exists(mediaFN($id, $rev)); 188 $params = $rev ? ['rev' => $rev] : []; 192 $exists = page_exists($id, $rev); 222 $rev [all...] |
H A D | PageChangeLog.php | 23 * @param string|int $rev empty string or revision timestamp 26 protected function getFilename($rev = '') 28 return wikiFN($this->id, $rev); 27 getFilename($rev = '') global() argument
|
H A D | MediaChangeLog.php | 23 * @param string|int $rev empty string or revision timestamp 26 protected function getFilename($rev = '') 28 return mediaFN($this->id, $rev); 27 getFilename($rev = '') global() argument
|
/dokuwiki/inc/Ui/ |
H A D | PageRevisions.php | 71 $rev = $info['date']; 74 $RevInfo->isCurrent($changelog->isCurrentRevision($rev)); 81 $form->addCheckbox('rev2[]')->val($rev); 82 } elseif ($rev == $REV) { 83 $form->addCheckbox('rev2[]')->val($rev)->attr('checked', 'checked'); 84 } elseif (page_exists($this->id, $rev)) { 85 $form->addCheckbox('rev2[]')->val($rev); 87 $form->addCheckbox('')->val($rev)->attr('disabled', 'disabled');
|
H A D | MediaRevisions.php | 72 $rev = $info['date']; 74 $RevInfo->isCurrent($changelog->isCurrentRevision($rev)); 81 $form->addCheckbox('rev2[]')->val($rev); 82 } elseif (file_exists(mediaFN($this->id, $rev))) { 83 $form->addCheckbox('rev2[]')->val($rev); 85 $form->addCheckbox('')->val($rev)->attr('disabled', 'disabled');
|
H A D | Revisions.php | 79 foreach ($revlist as $rev) { 80 $revisions[] = $changelog->getRevisionInfo($rev);
|
H A D | PageDiff.php | 103 // retrieve requested rev or rev2 120 if (!$INPUT->has('rev') && !$INPUT->has('rev2')) { 154 $rev = $isCurrent ? '' : $RevInfo->val('date'); 155 $text = rawWiki($this->id, $rev); 187 // retrieve form parameters: rev, rev2, difftype 434 foreach ($revs as $rev) { 435 $info = $changelog->getRevisionInfo($rev); 443 $options[$rev] = [ 449 'attrs' => ['title' => $rev] 452 ($side == 'older' && ($rev2 && $rev > [all...] |
/dokuwiki/inc/ |
H A D | pageutils.php | 280 * @param string|int $rev empty or revision timestamp 285 function page_exists($id, $rev = '', $clean = true, $date_at = false) 289 if ($rev !== '' && $date_at) { 291 $pagelog_rev = $pagelog->getLastRevisionAt($rev); 293 $rev = $pagelog_rev; 295 return file_exists(wikiFN($id, $rev, $clean)); 302 * @param string|int $rev empty or revision timestamp 307 function media_exists($id, $rev = '', $clean = true, $date_at = false) 309 if ($rev !== '' && $date_at) { 311 $changelog_rev = $changeLog->getLastRevisionAt($rev); 281 page_exists($id, $rev = '', $clean = true, $date_at = false) global() argument 303 media_exists($id, $rev = '', $clean = true, $date_at = false) global() argument 328 wikiFN($raw_id, $rev = '', $clean = true) global() argument 450 mediaFN($id, $rev = '', $clean = true) global() argument 556 resolve_mediaid($ns, & $media, & $exists, $rev = '', $date_at = false) global() argument 574 resolve_pageid($ns, & $page, & $exists, $rev = '', $date_at = false) global() argument [all...] |
H A D | fetch.functions.php | 145 * @param string $rev 150 function checkFileStatus(&$media, &$file, $rev = '', $width = 0, $height = 0) 180 $file = mediaFN($media, $rev); 144 checkFileStatus(& $media, & $file, $rev = '', $width = 0, $height = 0) global() argument
|
H A D | io.php | 66 * $data[3] rev: The page revision, false for current wiki pages. 70 * @param bool|int|string $rev revision timestamp argument 75 function io_readWikiPage($file, $id, $rev = false) 77 if (empty($rev)) { 78 $rev = false; 80 $data = [[$file, true], getNS($id), noNS($id), $rev]; 198 * $data[3] rev: The page revision, false for current wiki pages. 203 * @param int|bool|string $rev timestamp of revision 208 function io_writeWikiPage($file, $content, $id, $rev = false) 210 if (empty($rev)) { 189 io_writeWikiPage($file, $content, $id, $rev = false) global() argument [all...] |
H A D | media.php | 1007 * @param string|int $rev revision timestamp or empty string 1009 function media_tab_view($image, $ns, $auth = null, $rev = '') 1015 $meta = new JpegMeta(mediaFN($image, $rev)); 1016 media_preview($image, $auth, $rev, $meta); 1017 media_preview_buttons($image, $auth, $rev); 1018 media_details($image, $auth, $rev, $meta); 1077 * @param int|string $rev revision timestamp or empty string 1082 function media_preview($image, $auth, $rev = '', $meta = false) 1085 $size = media_image_preview_size($image, $rev, $meta); 1092 if ($rev) { 954 media_tab_view($image, $ns, $auth = null, $rev = '') global() argument 1025 media_preview($image, $auth, $rev = '', $meta = false) global() argument 1062 media_preview_buttons($image, $auth, $rev = '') global() argument 1128 media_image_preview_size($image, $rev, $meta = false, $size = 500) global() argument 1203 media_details($image, $auth, $rev = '', $meta = false) global() argument 1306 media_restore($image, $rev, $auth) global() argument [all...] |
/dokuwiki/inc/lang/sk/ |
H A D | onceexisted.txt |
|
/dokuwiki/inc/lang/ku/ |
H A D | diff.txt |
|
/dokuwiki/inc/Remote/ |
H A D | ApiCore.php | 396 * @param int $rev Revision timestamp to access an older revision 401 public function getPage($page, $rev = 0) 403 $page = $this->checkPage($page, $rev, false); 405 $text = rawWiki($page, $rev); 406 if (!$text && !$rev) { 425 * @param int $rev revision timestamp 430 public function getPageHTML($page, $rev = 0) 432 $page = $this->checkPage($page, $rev); 434 return (string)p_wiki_xhtml($page, $rev, false); 445 * @param int $rev revisio 217 rawPage($id, $rev = '') global() argument 299 htmlPage($id, $rev = '') global() argument 474 pageInfo($id, $rev = '') global() argument [all...] |
/dokuwiki/ |
H A D | feed.php |
|