Forum:Moving the search box

Hi there. Recently you might have noticed Wikipedia have moved their search box (the one on the left sidebar) further up the page. I've been fiddling around with the mediawiki stuff and can't find out how to do it - I was wondering if there is any way of achieving this on Wikia? Specifically, I want to shift Illogicopedia's search box above the community pane.

Also, can we have Uncyclopedia's skin for Illogicopedia yet? It mustn't be that hard to do...

Oh, this only concerns Monobook, and pleeeease don't give me any Monaco nonsense. I have already made my thoughts clear on the issue. -- 11:22, 22 July 2008 (UTC)


 * this feature is a new one that has been added recently to the mediawiki codebase and hasnt yet been released in the standard codebase and therefore installed yet --Markie 22:00, 22 July 2008 (UTC)


 * Use the following JavaScript code: --Ciencia Al Poder (talk) -WikiDex 20:55, 23 July 2008 (UTC)

function repositionSearchBox{ var beforeElement = document.getElementById('p-Community'); beforeElement.parentNode.insertBefore(document.getElementById('p-search'),beforeElement); }

addOnloadHook(repositionSearchBox);


 * This evidently should only be added to Monobook.js and not in Common.js nor Monaco.js ?? — TulipVorlax 04:22, 24 July 2008 (UTC)


 * Aha! It works. Thank you very much sir/madam! I offer you one Nutri Grain as a token of my gratitude. -- 12:07, 25 July 2008 (UTC)


 * Here's solution better than JS: Edit MediaWiki:Sidebar and insert  before navigation list. like this:

*SEARCH ... On my wiki it works - P4 20:10, 30 September 2008 (UTC)
 * navigation
 * mainpage|mainpage