This script will hide wikis from the main Wiki drop-down that you no longer need, but don't want to fully delete. They are still accessible in the Wiki -> Manage Wikis page. To use it, set the array to the list of wiki numbers. You can get them (the "W" number) from the URL when you hover over the link to each.
e.g. if you want to hide wiki default.asp?W1 and default.asp?W254, change the list [243, 376, 3054] below to [1, 254]:
name: Hide Un-needed Wikis
description: Removed un-needed wikis from the Wiki drop-down. They are still listed in the Manage Wikis page
author: Adam Wishneusky
version: 1.0.0.0
minApi: 1.0
js:
var wikisToHide = [243, 376, 3054];
wikisToHide.forEach(function(element, index, array) {
$('#wikiPopup').find('div a[href="default.asp?W' + element + '"]').hide();
});
Or if you prefer a CSS solution:
name: CSS Hide Wikis
description: Removes wikis from the Wiki drop-down
author: Michel de Ruiter
version: 1.1.0.0
css:
#wikiPopup div a[href="default.asp?W243"],
#wikiPopup div a[href="default.asp?W376"],
#wikiPopup div a[href="default.asp?W3054"] {
display: none !important;
}