Forum:Search logo

I added a search logo to the RuneScape Wiki, but when I click on it, it takes me to Wikia Central. How do I fix this?--Richard (Talk - Contribs) 15:48, 7 April 2007 (UTC)

Never mind, I fixed it. I added this to the Monobook.js:

function loadFunc

document.getElementById('searchform').getElementsByTagName('a')[0].href = "http://runescape.wikia.com/wiki/Special:Search";

}

addOnloadHook(loadFunc);

}

or something like that.--Richard (Talk - Contribs) 16:24, 7 April 2007 (UTC)

Help! It's not working anymore! And our custom edit toolbar button is gone now!--Richard (Talk - Contribs) 20:19, 7 April 2007 (UTC)

It's cause of a JS error: ~Dantman(talk) tricks Apr 7, 2007 @ 20:26 (UTC) Error: syntax error Source file: http://runescape.wikia.com/index.php?title=-&action=raw&smaxage=0&gen=js Line: 78 Source code: }
 * I can't figure out how to fix it. Do I have to many }s?--Richard (Talk - Contribs) 23:02, 7 April 2007 (UTC)
 * At w:c:runescape:MediaWiki:Monobook.js there's a extra } at the very end of the file. Delete it. ~Dantman(talk) tricks Apr 8, 2007 @ 01:22 (UTC)


 * For the billionth time, that was supposed to link to the central wikia, and be a "powered by Wikia" search logo. But nobody uses it for that. Also, as that link only exists if there is a logo, you should have some sort of verification that it is actually there (and you probably only need to link to "/wiki/Special:Search"). --Splarka (talk) 05:59, 8 April 2007 (UTC)

I've never seen that on any Wikia. Whatever, I'll let it link to Wikia.--Richard (Talk - Contribs) 18:09, 8 April 2007 (UTC)