From 2e9dffb7f06470e25170407e619f9a5deb372d67 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Sat, 17 Dec 2022 22:44:36 -0500 Subject: [PATCH] =?UTF-8?q?fix(search):=20=F0=9F=90=9B=20correct=20URL=20f?= =?UTF-8?q?or=20MediaSearch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Somehow it has to have the type parameter or it'll just go directly to a page if exists --- resources/skins.citizen.search/typeahead.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.citizen.search/typeahead.js b/resources/skins.citizen.search/typeahead.js index f2fed6cc..1f05bab9 100644 --- a/resources/skins.citizen.search/typeahead.js +++ b/resources/skins.citizen.search/typeahead.js @@ -421,7 +421,7 @@ function updateTypeahead( messages ) { if ( config.isMediaSearchExtensionEnabled ) { updateToolItem( { id: 'mediasearch', - link: `${config.wgScriptPath}/index.php?title=Special:MediaSearch&search=`, + link: `${config.wgScriptPath}/index.php?title=Special:MediaSearch&type=image&search=`, icon: 'imageGallery', msg: 'citizen-search-mediasearch' } );