Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Last week, Wikia released an update to the search function, which meant that using the searchbar took you to a list of results instead of a matching page. The reason for this is simple: to make searching for terms which are also page names easier.
You may already be aware of this code thanks to various blog comments. However, I thought I'd make a blog about it, as there seems to be a lot of confusion about various aspects.
What it does
As I said before, the code makes two changes to the search bar:
- It adds a second button (the one with the arrow), which takes you to a page whose title matches the search term, if it exists. Essentially, as it was before the change.
- It changes the functionality of the enter key, so that is performs the same function as before.
Let's make this clear first. This code is for personal use only. This means it can only be used on your own personal global script page.
- You further agree:
In short, the default search for the other users of a wiki should not be changed, even if there is a community consensus.
Now here comes the fun part! To install the code, edit your personal global.js page, and add the following to the top:
Save the page, then clear your cache. This is very important. I have seen many users remove the code immediately after adding it because it 'doesn't work'. Just give the server time to catch up.
Also, disable the 'Enable Go-Search' option in your user preferences, so that the script can work properly.
Help and comments
Leave a comment below if you are still having trouble, and I will try to help you as best I can. Please do not use the comment section this blog to complain about the changes. Direct these complaints instead to Dopp's blog post.