Or maybe a template {{InstallJS}}, which one can use as a wrapper for the document.write? One could then just add {{subst:InstallJS|MediaWiki:Some-script.js}}.
Some time ago I investigated saving user preferences to wikipages. I believe that I found out that this was not possible using the XMLHTTPRequest object, but I'll look into it again.
On 7/5/07, Magnus Manske magnusmanske@googlemail.com wrote:
While you're working on easier configuration: How about a function "load_user_script(stuff)" that one can add to monobook.js to wrap up the document.write orgy?