Lines Matching defs:canonical
266 * @param $canonical
270 static function createFromCanonical($canonical): DatabasePageRow
273 WikiPath::addRootSeparatorIfNotPresent($canonical);
276 $row = $databasePage->getDatabaseRowFromAttribute(Canonical::PROPERTY_NAME, $canonical);
486 * Named identifier: canonical
487 * (Note that canonical should become a soft link and therefore a path)
490 $canonical = Canonical::createForPage($markupPath)->getValue();
491 return $this->getDatabaseRowFromCanonical($canonical->toAbsoluteId());
493 // no canonical
660 * Default implements the auto-canonical feature
981 throw new ExceptionNotFound("No canonical row was found");
998 * Check if the error may come from the auto-canonical
1012 $message = "The existing pages ($existingPages) have all the same canonical ($canonicalValue), return the first one";