Jump to content

Wikipedia talk:WikiProject User scripts/User-script manager

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jitse Niesen (talk | contribs) at 13:34, 13 August 2006 (use special:mypage). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Instructions

This is an experimental tool to manage your user script.

To enable it, you need to put the following in your monobook.js :

if (location.href == "http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/User-script_manager")
  {{subst:js|User:Jitse_Niesen/Client-side_preferences/Main.js}}

Then go back to Wikipedia:WikiProject User scripts/User-script manager, choose the scripts you want, and press the button. Your new and shiny user script will be generated.

By default, the script will overwrite your old user script. This can be prevented by placing comments around the fragment as follows:

// jncsp-start
if (location.href == "http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/User-script_manager")
  {{subst:js|User:Jitse_Niesen/Client-side_preferences/Main.js}}
// jncsp-end

If you try this out, please leave some comments below, even if just to say that it worked. Thanks. -- Jitse Niesen (talk) 13:11, 13 August 2006 (UTC)[reply]