Manual:Hooks/GetCanonicalURL

Details

 * $title: Title object of page
 * $url: string value as output (out parameter, can modify)
 * $query: query options passed to Title::getCanonicalURL
 * $variant: variant passed to Title::getCanonicalURL