mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
fix(search): 🐛 correct URL for MediaSearch
Somehow it has to have the type parameter or it'll just go directly to a page if exists
This commit is contained in:
parent
5946089cbb
commit
2e9dffb7f0
|
@ -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'
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue