Lines Matching refs:duplicatePage
648 $duplicatePage = $databasePage->getMarkupPath();
649 if ($duplicatePage->getPathObject()->toUriString() === $this->markupPath->toUriString()) {
652 $message = "The page ($this->markupPath) cannot be replicated to the database because it has the same page id abbreviation ($pageIdAbbr) than the page ($duplicatePage)";
990 $duplicatePage = MarkupPath::createMarkupFromId($id);
991 if (!$duplicatePage->exists()) {
993 $this->deleteIfExistsAndAddRedirectAlias($duplicatePage);
1004 $duplicatePage->unsetMetadata($canoncialName);
1069 $duplicatePage = MarkupPath::createMarkupFromId($attributeValue);
1070 if (!$duplicatePage->exists()) {
1071 $this->addRedirectAliasWhileBuildingRow($duplicatePage);
1299 $duplicatePage = MarkupPath::createMarkupFromId($wikiIdInDatabase);
1300 if (!FileSystems::exists($duplicatePage)) {
1303 $this->addRedirectAliasWhileBuildingRow($duplicatePage);