X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=opensearch_desc.php;h=b06b7feecf51617d72823837750d20ff46225271;hb=7f987e906ded6dc082dd8db123b98ae776f3da5a;hp=90bfe7d9dd0c2a97b40c7c6427e3c810676f88db;hpb=cfff337cc6b8b331285cd76c9c7035609a77bb94;p=lhc%2Fweb%2Fwiklou.git diff --git a/opensearch_desc.php b/opensearch_desc.php index 90bfe7d9dd..b06b7feecf 100644 --- a/opensearch_desc.php +++ b/opensearch_desc.php @@ -16,7 +16,7 @@ if ( !preg_match( '/^https?:/', $wgFavicon ) ) { $favicon = htmlspecialchars( $wgFavicon ); } -$title = Title::makeTitle( NS_SPECIAL, 'Search' ); +$title = SpecialPage::getTitleFor( 'Search' ); $template = $title->escapeFullURL( 'search={searchTerms}' ); $suggest = htmlspecialchars($wgServer . $wgScriptPath . '/api.php?action=opensearch&search={searchTerms}');