| /dokuwiki/_test/tests/inc/ |
| H A D | pageutils_clean_id.test.php | 23 ['page', 'page'], 27 ['pàge', 'page'], 28 ['pagĖ', 'page'], 30 ['*page*', 'page'], 37 ['page:page', 'page:page'], 38 ['page;page', 'page:page'], 39 ['page:page 1.2', 'page:page_1.2'], 40 ['page._#!', 'page'], 41 ['._#!page', 'page'], 42 ['page._#!page', 'page._page'], [all …]
|
| H A D | common_pagetemplate.test.php | 9 'id' => 'page-id-long', 10 'tpl' => '"@PAGE@" "@!PAGE@" "@!!PAGE@" "@!PAGE!@"', 12 …$this->assertEquals(parsePageTemplate($data), '"page id long" "Page id long" "Page Id Long" "PAGE …
|
| H A D | auth_aclcheck_caseinsensitive.test.php | 40 'namespace:page @Group1 1', 41 'namespace:page @group2 1', 45 $this->assertEquals(auth_aclcheck('page', '', array()), AUTH_NONE); 46 $this->assertEquals(auth_aclcheck('namespace:page', '', array()), AUTH_NONE); 50 $this->assertEquals(auth_aclcheck('page', 'jill', array('foo')), AUTH_NONE); 51 $this->assertEquals(auth_aclcheck('namespace:page', 'jill', array('foo')), AUTH_NONE); 55 … $this->assertEquals(auth_aclcheck('page', 'jill', array('foo', 'group1')), AUTH_UPLOAD); 56 … $this->assertEquals(auth_aclcheck('namespace:page', 'jill', array('foo', 'group1')), AUTH_READ); 60 … $this->assertEquals(auth_aclcheck('page', 'jill', array('foo', 'Group2')), AUTH_UPLOAD); 61 … $this->assertEquals(auth_aclcheck('namespace:page', 'jill', array('foo', 'Group2')), AUTH_READ); [all …]
|
| H A D | auth_aclcheck.test.php | 35 $this->assertEquals(auth_aclcheck('page', '',array()), AUTH_NONE); 36 $this->assertEquals(auth_aclcheck('namespace:page','',array()), AUTH_NONE); 40 $this->assertEquals(auth_aclcheck('page', 'jill',array('foo')), AUTH_NONE); 41 $this->assertEquals(auth_aclcheck('namespace:page','jill',array('foo')), AUTH_NONE); 45 … $this->assertEquals(auth_aclcheck('page', 'jill',array('foo','user')), AUTH_UPLOAD); 46 … $this->assertEquals(auth_aclcheck('namespace:page','jill',array('foo','user')), AUTH_UPLOAD); 50 $this->assertEquals(auth_aclcheck('page', 'john',array('foo')), AUTH_ADMIN); 51 $this->assertEquals(auth_aclcheck('namespace:page','john',array('foo')), AUTH_ADMIN); 64 'namespace:page @user 1', 68 $this->assertEquals(auth_aclcheck('page', '',array()), AUTH_NONE); [all …]
|
| H A D | common_saveWikiText.test.php | 51 … * assertions against changelog entries and attic after external edit, create or deletion of page 80 $this->assertFileDoesNotExist($attic, 'page does not yet exist in attic'); 85 * Execute a whole bunch of saves on the same page and check the results 87 * 1.1 create a page 89 * 1.3 update the page with new text 100 $page = 'page'; 101 $file = wikiFN($page); 104 // 1.1 create a page 105 saveWikiText($page, 'teststring', '1st save', false); 117 $pagelog = new PageChangeLog($page); [all …]
|
| H A D | indexer_rename.test.php | 16 … saveWikiText($this->old_id, 'Old test content', 'Created old test page for indexer rename test'); 25 …$this->assertTrue($this->indexer->renamePage($this->old_id, $newid), 'Renaming the page to a new i… 28 …otEquals($this->indexer->getPID($this->old_id), $oldpid, 'PID for the old page unchanged after ren… 29 … $this->assertEquals($this->indexer->getPID($newid), $oldpid, 'New page has not the old pid.'); 31 …('old' => array($newid => 1)), $this->indexer->lookup($query), '"Old" doesn\'t find the new page'); 36 saveWikiText($newid, 'Existing content', 'Created page for move_to_existing_page'); 42 …$this->assertTrue($this->indexer->renamePage($this->old_id, $newid), 'Renaming the page to an exis… 44 …$this->assertNotEquals($this->indexer->getPID($this->old_id), $oldpid, 'PID for old page unchanged… 45 …indexer->getPID($this->old_id), $existingpid, 'PID for old page is now PID of the existing page.'); 46 … $this->assertEquals($this->indexer->getPID($newid), $oldpid, 'New page has not the old pid.'); [all …]
|
| /dokuwiki/_test/tests/File/ |
| H A D | PageResolverTest.php | 20 ['context', 'page', 'page'], 21 ['context', '.page', 'page'], 22 ['context', '.:page', 'page'], 25 ['lev1:lev2:context', 'page', 'lev1:lev2:page'], 26 ['lev1:lev2:context', '.page', 'lev1:lev2:page'], 27 ['lev1:lev2:context', '.:page', 'lev1:lev2:page'], 30 ['context', '..page', 'page'], 31 ['context', '..:page', 'page'], 34 ['lev1:lev2:context', '..page', 'lev1:page'], 35 ['lev1:lev2:context', '..:page', 'lev1:page'], [all …]
|
| /dokuwiki/inc/Remote/Response/ |
| H A D | Page.php | 8 * Represents a single page revision in the wiki. 10 class Page extends ApiResponse class 12 /** @var string The page ID */ 14 /** @var int The page revision aka last modified timestamp */ 16 /** @var int The page size in bytes */ 18 /** @var string The page title */ 20 /** @var int The current user's permissions for this page */ 22 /** @var string MD5 sum over the page's content (if available and requested) */ 24 /** @var string The author of this page revision (if available and requested) */ 27 /** @var string The file path to this page revision */ [all …]
|
| H A D | Link.php | 9 /** @var string The wiki page this link points to, same as `href` for external links */ 10 public $page; variable in dokuwiki\\Remote\\Response\\Link 16 * @param string $page The wiki page this link points to, same as `href` for external links 19 public function __construct($type, $page, $href) argument 22 $this->page = $page;
|
| /dokuwiki/inc/Remote/ |
| H A D | ApiCore.php | 13 use dokuwiki\Remote\Response\Page; alias 197 * This call allows to check the permissions for a given page/media and user/group combination. 203 * @param string $page A page or media ID 209 public function aclCheck($page, $user = '', $groups = []) argument 214 $page = $this->checkPage($page, 0, false, AUTH_NONE); 217 return auth_quickaclcheck($page); 227 return auth_aclcheck($page, $user, $groups); 244 * @param bool $hash Whether to include a MD5 hash of the page content 245 * @return Page[] A list of matching pages 272 return array_map(static fn($item) => new Page( [all …]
|
| /dokuwiki/inc/ |
| H A D | indexer.php | 113 * Adds/updates the search index for the given page 117 * @param string $page name of the page to index 124 function idx_addPage($page, $verbose = false, $force = false) argument 126 $idxtag = metaFN($page, '.indexed'); 127 // check if page was deleted but is still in the index 128 if (!page_exists($page)) { 130 if ($verbose) echo "Indexer: $page does not exist, ignoring" . DOKU_LF; 134 $result = $Indexer->deletePage($page); 147 if ($last > @filemtime(wikiFN($page))) { 148 if ($verbose) echo "Indexer: index for $page up to date" . DOKU_LF; [all …]
|
| /dokuwiki/inc/Subscriptions/ |
| H A D | SubscriberManager.php | 22 * Adds a new subscription for the given page or namespace 25 …* *exact* page or namespace. It will *not* modify any subscription that may exist in higher namesp… 29 * @param string $id The target page or namespace, specified by id; Namespaces 67 * Removes a subscription for the given page or namespace 69 * This removes all subscriptions matching the given criteria on the given page or 73 * @param string $id The target object’s (namespace or page) id 100 * $INFO['subscribed'] is either false if no subscription for the current page 104 * @param string $id Page ID, defaults to global $ID 153 * This function searches all relevant subscription files for a page or 156 * @param string $page The target object’s (namespace or page) id [all …]
|
| /dokuwiki/inc/lang/fr/ |
| H A D | locked.txt | 1 ====== Page bloquée ====== 3 …page est actuellement bloquée pour modification par un autre utilisateur. Vous devez attendre que …
|
| H A D | newpage.txt | 1 ====== Cette page n'existe pas encore ====== 3 … lien vers une page qui n'existe pas encore. Si vos permissions sont suffisantes, vous pouvez la c…
|
| H A D | subscr_digest.txt | 3 La page « @PAGE@ » dans le wiki « @TITLE@ » a changé. 13 Pour annuler les notifications de page, connectez-vous au wiki à l'adresse 16 et désabonnez-vous de la page ou de la catégorie.
|
| H A D | onceexisted.txt | 1 ======= Cette page n'existe plus ====== 3 … un lien vers une page qui n'existe plus. Vous pouvez afficher la liste des **anciennes revisions*…
|
| H A D | subscr_single.txt | 3 La page « @PAGE@ » dans le wiki « @TITLE@ » a changé. 16 Pour annuler les notifications de page, connectez-vous au wiki à l'adresse 19 et désabonnez-vous de la page ou de la catégorie.
|
| H A D | edit.txt | 1 …page et cliquez sur « Enregistrer ». Voyez le [[:wiki:syntax|guide de mise en page]] pour une aide…
|
| /dokuwiki/lib/tpl/dokuwiki/css/ |
| H A D | content.less | 2 * This file provides the main design styles for the page content. 11 .dokuwiki .page h1 {margin-left: 0;} 12 .dokuwiki .page h2 {margin-left: .666em;} 13 .dokuwiki .page h3 {margin-left: 1.776em;} 14 .dokuwiki .page h4 {margin-left: 3em;} 15 .dokuwiki .page h5 {margin-left: 4.5712em;} 16 .dokuwiki .page div.level1 {margin-left: 0;} 17 .dokuwiki .page div.level2 {margin-left: 1em;} 18 .dokuwiki .page div.level3 {margin-left: 2em;} 19 .dokuwiki .page div.level4 {margin-left: 3em;} [all …]
|
| /dokuwiki/bin/ |
| H A D | dwpage.php | 31 'force obtaining a lock for the page (generally bad idea)', 41 'Utility to help command line Dokuwiki page editing, allow ' . 49 'a lock for the page. ' . "\n" . 50 'If a working_file is specified, this is where the page is copied to. ' . 51 'Otherwise defaults to the same as the wiki page in the current ' . 56 'The wiki page to checkout', 81 'The wiki page to create or update', 103 'Obtains or updates a lock for a wiki page' 107 'The wiki page to lock', 115 'Removes a lock for a wiki page.' [all …]
|
| H A D | wantedpages.php | 47 'Sort by wanted or origin page', 81 foreach ($this->getPages($startdir) as $page) { 82 $this->internalLinks($page); 150 … $page = ['id' => pathID(substr($dir . '/' . $entry, $trunclen)), 'file' => $dir . '/' . $entry]; 151 $pages[] = $page; 161 * @param array $page array with page id and file path 163 protected function internalLinks($page) argument 166 $instructions = p_get_instructions(file_get_contents($page['file'])); 167 $resolver = new PageResolver($page['id']); 168 $pid = $page['id'];
|
| /dokuwiki/inc/lang/en/ |
| H A D | subscr_digest.txt | 3 The page @PAGE@ in the @TITLE@ wiki changed. 13 To cancel the page notifications, log into the wiki at 16 and unsubscribe page and/or namespace changes.
|
| H A D | subscr_single.txt | 3 The page @PAGE@ in the @TITLE@ wiki changed. 16 To cancel the page notifications, log into the wiki at 19 and unsubscribe page and/or namespace changes.
|
| /dokuwiki/data/pages/wiki/ |
| H A D | welcome.txt | 10 Your wiki needs to have a start page. As long as it doesn't exist, this link will be red: [[:start]… 12 …w that link and create the page. If you need help with using the syntax you can always refer to th… 14 …nt to use a sidebar. To create it, just edit the [[:sidebar]] page. Everything in that page will b… 20 …iting pages you might want to have a look at the [[this>doku.php?do=admin&page=config|configuratio…
|
| /dokuwiki/inc/TreeBuilder/ |
| H A D | ControlPageBuilder.php | 12 * A tree builder that generates a tree from a control page 14 …* A control page is a wiki page containing a nested list of external and internal links. This buil… 15 * parses the control page and generates a tree of nodes representing the links. 30 * Parse the control page 52 throw new \RuntimeException('No instructions for control page found'); 93 // remember this page as the parent for this level 95 // parent is the last page on the previous level
|