Lines Matching defs:tooltip
960 * Renders the page link, plus tooltip, abstract, casing, etc...
982 if ($type === 'tooltip') {
983 $tooltip = str_replace("\n\n", "\n", $abstract);
984 $tooltip = htmlentities($tooltip, ENT_QUOTES, 'UTF-8');
985 $link = $this->addTooltip($link, $tooltip);
1018 * @param string $tooltip title
1021 private function addTooltip(string $link, string $tooltip): string
1023 $tooltip = str_replace("\n", ' ', $tooltip);
1024 return preg_replace('/title=\".+?\"/', 'title="' . $tooltip . '"', $link, 1);