Lines Matching +full:continue +full:- +full:on +full:- +full:error
36 'core.getAPIVersion' => (new ApiCall([$this, 'getAPIVersion'], 'info'))->setPublic(),
39 'core.getWikiTitle' => (new ApiCall([$this, 'getWikiTitle'], 'info'))->setPublic(),
42 'core.login' => (new ApiCall([$this, 'login'], 'user'))->setPublic(),
107 * Returns a Unix timestamp (seconds since 1970-01-01 00:00:00 UTC).
146 if ($auth->canDo('external')) {
147 $ok = $auth->trustExternal($user, $pass, false);
170 * @return int 0 on failure, 1 on success
214 $page = $this->checkPage($page, 0, false, AUTH_NONE);
220 $userinfo = $auth->getUserData($user);
256 return $this->getAllPages($hash);
294 $pages = idx_get_indexer()->getPages();
300 continue;
304 if ($hash) $page->calculateHash();
319 * or the page id depending on the wiki's configuration.
364 * @author Michael Hamann <michael@content-space.de>
391 … * A non-existing page (or revision) will return an empty string usually. For the current revision
404 $page = $this->checkPage($page, $rev, false);
422 * If the page does not exist, an error is returned.
433 $page = $this->checkPage($page, $rev);
441 * The call will return an error if the requested page does not exist.
455 $page = $this->checkPage($page, $rev);
458 if ($author) $result->retrieveAuthor();
459 if ($hash) $result->calculateHash();
482 $page = $this->checkPage($page, 0, false);
485 $pagelog->setChunkSize(1024);
487 $revisions = $pagelog->getRevisions($first - 1, $conf['recent']);
491 if (!page_exists($page, $rev)) continue; // skip non-existing revisions
492 $info = $pagelog->getRevisionInfo($rev);
513 * If a link occurs multiple times on the page, it will be returned multiple times.
518 * @return Link[] A list of links found on the given page
528 $page = $this->checkPage($page);
533 // instantiate new Renderer - needed for interwiki links
535 $Renderer->interwiki = getInterwiki();
548 $url = $Renderer->_resolveInterWiki($in[1][2], $in[1][3]);
560 * A backlink is a wiki link on another page that links to the given page.
563 * needs to be readable. Otherwise an error is returned.
572 $page = $this->checkPage($page, 0, false);
592 * operations on multiple pages, locking them all at once beforehand can be useful.
603 if ($id === '') continue;
605 continue;
634 if ($id === '') continue;
636 continue;
656 * @return bool Returns true on success
666 $page = $this->checkPage($page, 0, false, AUTH_EDIT);
684 // autoset summary on new pages
689 // autoset summary on deleted pages
709 * If the page does not exist, it will be created. If a page template for the non-existant
720 * @return bool Returns true on success
726 $currentpage = $this->getPage($page);
730 return $this->savePage($page, $currentpage . $text, $summary, $isminor);
794 * @author Michael Hamann <michael@content-space.de>
839 if ($this->isCurrentMediaRev($media, $rev)) {
855 * The call will return an error if the requested media file does not exist.
876 if ($this->isCurrentMediaRev($media, $rev)) {
885 if ($hash) $info->calculateHash();
886 if ($author) $info->retrieveAuthor();
894 * The call will return an error if the requested media file does not exist.
948 $medialog->setChunkSize(1024);
950 $revisions = $medialog->getRevisions($first - 1, $conf['recent']);
955 $check = $this->isCurrentMediaRev($media, $rev) ? '' : $rev;
956 if (!media_exists($media, $check)) continue; // skip non-existing revisions
958 $info = $medialog->getRevisionInfo($rev);
1000 '-' => '+', // RFC4648 base64url
1080 * - clean the given page id
1081 * - disallow an empty page id
1082 * - check if the page exists (unless disabled)
1083 * - check if the user has the required access level (pass AUTH_NONE to skip)