Home
last modified time | relevance | path

Searched refs:renamePage (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/_test/tests/Search/
H A DIndexerTest.php48 * Test renamePage clears old and indexes new
57 $indexer->renamePage('old_name', 'new_name');
66 * renamePage must preserve the renamed page's outgoing references
92 // mimicking how the move plugin calls renamePage before saving the new page
93 $indexer->renamePage('refsource', 'moved:newsource');
105 * renamePage onto a name that already has its own index entry
120 $indexer->renamePage('src', 'dst');
217 * renamePage returns true when it renamed the page and false for the no-op cases
224 $this->assertFalse($indexer->renamePage('retrename', 'retrename'), 'renamePage shoul
[all...]
/dokuwiki/inc/Search/
H A DLegacyIndexer.php20 * renamePage, clear) to return `true` on success or a string error message
100 * @deprecated 2026-04-07 use {@see Indexer::renamePage()} with try/catch instead
102 public function renamePage(string $oldpage, string $newpage): bool|string
104 DebugHelper::dbgDeprecatedFunction(Indexer::class . '::renamePage()');
106 $result = $this->indexer->renamePage($oldpage, $newpage);
101 public function renamePage(string $oldpage, string $newpage): bool|string global() function in dokuwiki\\Search\\LegacyIndexer
H A DIndexer.php264 public function renamePage(string $oldpage, string $newpage): bool
247 public function renamePage(string $oldpage, string $newpage): void global() function in dokuwiki\\Search\\Indexer