| /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 | 50 … * assertions against changelog entries and attic after external edit, create or deletion of page 89 * Execute a whole bunch of saves on the same page and check the results 91 * 1.1 create a page 93 * 1.3 update the page with new text 104 $page = 'page'; 105 $file = wikiFN($page); 108 // 1.1 create a page 109 saveWikiText($page, 'teststring', '1st save', false); 121 $pagelog = new PageChangeLog($page); 127 saveWikiText($page, 'teststring', '2nd save', false); [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/_test/tests/Ui/ |
| H A D | PageDiffTest.php | 8 * Tests for the page diff view dokuwiki\Ui\PageDiff. 20 * @param string $page page id to diff 23 private function resolveDefaultDiff($page) argument 29 $INFO['id'] = $page; 31 $diff = new PageDiff($page); 40 * Without rev parameters, the diff of an existing page compares the previous 45 $page = 'pagediff_existing'; 46 // the page file's mtime after each save is that revision's timestamp 47 saveWikiText($page, 'first content', 'create', false); 49 $previous = filemtime(wikiFN($page)); [all …]
|
| /dokuwiki/_test/tests/ChangeLog/ |
| H A D | PageChangeLogTest.php | 13 * A page deleted through DokuWiki is recorded as its own revision, newer than the 19 $page = 'changelog_deleted'; 20 saveWikiText($page, 'first content', 'create', false); 22 saveWikiText($page, 'second content longer', 'edit', false); 25 $editRev = (new PageChangeLog($page))->currentRevision(); 27 saveWikiText($page, '', 'delete', false); 30 $changelog = new PageChangeLog($page); 54 $page = 'changelog_extdeleted'; 55 saveWikiText($page, 'first content', 'create', false); 57 saveWikiText($page, 'second content longer', 'edit', false); [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/Search/ |
| H A D | Indexer.php | 24 * Manages the page search index by delegating to Collection classes. 93 * @return string[] list of page names (keys are the RIDs in the page index) 97 $pageIndex = new MemoryIndex('page'); 105 * Check if a page needs (re-)indexing 107 * @param string $page 111 public function needsIndexing(string $page, bool $force = false): bool argument 113 $idxtag = metaFN($page, '.indexed'); 118 // the index tag is written when the page is indexed; the page only needs 122 return $last < @filemtime(wikiFN($page)); 126 * Add/update the search index for a page [all …]
|
| /dokuwiki/inc/Remote/ |
| H A D | ApiCore.php | 13 use dokuwiki\Remote\Response\Page; alias 201 * This call allows to check the permissions for a given page/media and user/group combination. 209 * @param string $page A page or media ID 216 public function aclCheck($page, $user = '', $groups = []) argument 221 $page = $this->checkPage($page, 0, false, AUTH_NONE); 224 return auth_quickaclcheck($page); 238 return auth_aclcheck($page, $user, $groups); 279 * @param bool $hash Whether to include a MD5 hash of the page content 280 * @return Page[] A list of matching pages 307 return array_map(static fn($item) => new Page( [all …]
|
| /dokuwiki/_test/tests/Search/ |
| H A D | MetadataSearchTest.php | 28 … $this->assertEquals(['test:page1' => null, 'ns:page2' => null], $search->pageLookup('page')); 29 $this->assertEquals(['test:page1' => null], $search->pageLookup('page @test')); 30 $this->assertEquals(['ns:page2' => null], $search->pageLookup('page ^test')); 58 saveWikiText('hidden:page', 'content', 'init'); 59 saveWikiText('visible:page', 'content', 'init'); 61 $pages = ['hidden:page' => true, 'visible:page' => true]; 65 $this->assertArrayNotHasKey('hidden:page', $result); 66 $this->assertArrayHasKey('visible:page', $result); 70 $this->assertArrayHasKey('hidden:page', $result); 71 $this->assertArrayHasKey('visible:page', $result); [all …]
|
| H A D | IndexerTest.php | 17 * Test basic page indexing via addPage 26 // page should be in the entity index 27 $pageIndex = new FileIndex('page'); 29 $this->assertNotEmpty($result, 'testpage not found in page.idx'); 43 // page entity persists in page.idx but data is cleared 44 $pageIndex = new FileIndex('page'); 46 $this->assertNotEmpty($result, 'delpage should persist in page.idx'); 56 saveWikiText('old_name', 'Old page content words.', 'Test initialization'); 62 $pageIndex = new FileIndex('page'); 63 …$this->assertNotEmpty($pageIndex->search('/^new_name$/'), 'new_name not found in page.idx after re… [all …]
|
| /dokuwiki/_test/tests/Search/Query/ |
| H A D | NamespacePredicateTest.php | 18 'wiki:sub:page' => 2, 19 'other:page' => 4, 39 'wiki:sub:page' => 2, 48 $this->assertArrayHasKey('wiki:sub:page', $result->getPages()); 53 // "other:" must not match "otherstuff:page" 55 'other:page' => 1, 56 'otherstuff:page' => 2, 61 $this->assertEquals(['other:page' => 1], $result->getPages()); 70 'other:page' => 4, 106 $this->assertEquals(4, $result->getPages()['other:page']);
|
| /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 | 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_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 | edit.txt | 1 …page et cliquez sur « Enregistrer ». Voyez le [[:wiki:syntax|guide de mise en page]] pour une aide…
|
| 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.
|
| /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/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/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 …]
|