Manual:Huggle/Configuration

Configuration settings for Huggle are stored in one of four locations depending on their scope:

All configuration files consist of a series of lines of the form option:value, where option is one of the values listed below. Option names are not case-sensitive. Blank lines, lines starting with // and unrecognized options are ignored. Values can break across lines provided these extra lines begin with one or more spaces.

Most user and local configuration settings may be changed through the Options window within Huggle. Preset value

User configuration
Settings on user configuration subpages apply only to that user, and only on that project. Huggle will not work unless this is present and set to true. Whether to show the contributions of anonymous users. Available values: "yes", "no", "only". Default: yes. After reverting a revision, automatically advance to the next diff. Default: false. Whether to automatically whitelist users. Default: false. Ask for confirmation if reverting multiple edits by the same user. (Does not ask for confirmation when explicitly reverting to an older revision in the page history, as it is obvious in such cases that multiple edits are to be reverted). Default: false. Ask for confirmation if the revision being reverted to was made by the same user that is being reverted. Default: true. Whether to extend vandalism reports in the event of further vandalism. Default: true. Port to use when connecting to IRC. Use any integer from 6664–6669, inclusive. Default: 6667. Types of edit to mark as minor. Available values: "reverts", "warnings", "tags", "reports", "notifications" and "other". Use "none" for none. Default: 'reverts'. Note that reverts will always be marked as minor edits. Namespaces to check for vandalism. Use "article" for main namespace, "all" for all namespaces, "alltalk" for all talk namespaces. Prefix by "-" to exclude. Default: all. Whether to include new pages in the queue. Default: false. How many diffs to preload in advance. Preloading reduces wait time for diff loads but slows other requests slightly. Set to 0 to disable preloading. Do not set to more than about 5. Default: 2. Disabling this is recommended if you have a slow connection. What to do when asked to warn a user with a final warning. Use "none" to do nothing, "prompt" to prompt for a user report, and "auto" to issue the report automatically. Default: auto Summaries available in the revert drop-down menu. Use \, to include a literal comma. Use rollback if available. Default: true. If the page currently being viewed is edited, jump to a diff of that edit. Default: true. Whether to show the revision queue. Default: true. Templates to show in the templates drop-down menu. Each item of the list is a pair of values separated by a semicolon; the first is the text displayed in the menu, and the second is the name of the template to be used. Use \, to include a literal comma, \; to include a literal semicolon. Display an icon in the notification area, allows application to be minimized to the tray. Default: false. Whether to update the shared whitelist on exit. Default: true. Types of edit which should add the page to your watchlist. Available values: "reverts", "warnings", "tags", "reports", "notifications" and "other". Use "none" for none. Default: none.
 * enable – true/false.
 * anonymous - string.
 * auto-advance</tt> – true/false.
 * auto-whitelist</tt> - true/false.
 * confirm-multiple</tt> – true/false.
 * confirm-same</tt> - true/false.
 * extend-reports</tt> - true/false.
 * irc-port</tt> – integer.
 * minor</tt> – comma-separated list.
 * namespaces</tt> – comma-separated list.
 * new-pages</tt> - true/false.
 * preload</tt> – integer.
 * report</tt> - string.
 * revert-summaries</tt> - comma-separated list.
 * rollback</tt> – true/false.
 * show-new-edits</tt> – true/false.
 * show-queue</tt> - true/false.
 * templates</tt> - comma-separated list.
 * <tt>tray-icon</tt> - true/false.
 * <tt>update-whitelist</tt> – true/false.
 * <tt>watchlist</tt> – comma-separated list.

Administrator options The following options have effect only when used with an administrator account: Use administrator functions (block/delete) if available. Default: true. Whether to show the block form if asked to warn a user with a final warning. Default: true. Default block reason on block form. Default: ' Vandalism '. Default block expiry time when blocking logged-in users. Default: indefinite. Default block expiry time when blocking anonymous users. Default: 31 hours.
 * <tt>admin</tt> - true/false.
 * <tt>block-prompt</tt> - true/false.
 * <tt>block-reason</tt> – string.
 * <tt>blocktime</tt> – string.
 * <tt>blocktime-anon</tt> – string.

Project configuration
Settings on project configuration pages apply to all users of a single project. The user configuration settings listed in the section above also work on project configuration pages, and serve as defaults for those values, but are overridden by the user's configuration settings.

Access control

If true, user list acts as an approval list, and only users listed there may use Huggle. Default false If false, Huggle will not work for any user. For use only in exceptional circumstances. Default true If true, Huggle will only work if the user is an administrator. Default false If true, Huggle will work only if the user is autoconfirmed. If true, all users must have a configuration page with <tt>enable</tt> set to 'true'. This allows administrators to prevent use of Huggle by a user account by blanking and protecting its configuration page. Default false Number of edits an account must have made before it is able to use Huggle. (Accounts must be autoconfirmed, regardless of this setting.) Default 0 If true, Huggle will only work if the user has rollback. Default false Number of days for which a user account must have been registered before it is able to use Huggle. (Accounts must be autoconfirmed, regardless of this setting.) Versions older than this will not work.
 * <tt>approval</tt>: true/false.
 * <tt>enable-all</tt>: true/false.
 * <tt>require-admin</tt>: true/false.
 * <tt>require-autoconfirmed</tt>: boolean.
 * <tt>require-config</tt>: true/false.
 * <tt>require-edits</tt>: integer.
 * <tt>require-rollback</tt>: true/false.
 * <tt>require-time</tt>: integer.
 * <tt>min-version</tt>: version number.

Other

Page to which vandalism reports are made. Page to which vandalism reports are made by bot accounts; Huggle checks this before making a report itself. Pages to which all edits will be ignored regardless of user. Talk pages of these pages will also be ignored. Use <tt>\,</tt> to include a literal comma. Page to which username reports are made. Page to which username reports are made by bot accounts; Huggle checks this before making a report itself. Location of Huggle's user list. Location of Huggle's user whitelist. Number of edits a user must have before they are added to the user whitelist. use subst: for report templates for AIV, default: false list of months separated by ; and ,
 * <tt>aiv</tt>: string.
 * <tt>aivbot</tt>: string.
 * <tt>ignore</tt>: comma-separated list.
 * <tt>uaa</tt>: string.
 * <tt>uaabot</tt>: string.
 * <tt>userlist</tt>: string.
 * <tt>whitelist</tt>: string.
 * <tt>whitelist-edit-count</tt>: integer.
 * <tt>expand-reports</tt>: bool,
 * <tt>months</tt>:

Local configuration
Settings stored locally apply across all projects and apply only to users of that computer. They will be retained if you log in with a different account, and lost if moving between computers, but for the most part can be thought of as applying to a single user account.

The local configuration file is stored in \huggle\config.txt in the user's Application Data folder. The file is updated automatically when Huggle exits.

Whether to use the IRC recent changes feed. Default false File path to which Huggle activity will be written. Last project used. proxy settings. Default false Last username used. Location and size of Huggle's main window. Whether the main window is maximized. Keyboard shortcuts. Summaries that have been entered into the "Revert with summary" dialog.
 * <tt>irc</tt>: boolean.
 * <tt>log-file</tt>: string.
 * <tt>project</tt>: string.
 * <tt>proxy-enabled, proxy-port, proxy-server, proxy-userdomain, proxy-username</tt>:
 * <tt>username</tt>: string.
 * <tt>window-left, window-top, window-width, window-height</tt>: integers.
 * <tt>window-maximize</tt>: boolean.
 * <tt>shortcuts</tt>: comma-separated list.
 * <tt>revert-summaries</tt>: comma-separated list.

Global configuration
Settings on the global configuration page at Huggle/Config apply to all users and all projects. If false, Huggle will not work on any project. Default false Location of project configuration page on each project. URL for documentation page. URL for feedback page. Location of IRC recent changes server. Hostname used on the IRC recent changes server. Projects on which Huggle can be used. Each item is the project name, followed by its URL. IP ranges that are considered "sensitive". Each item is a regex matching the IP range, followed by a description. The current version of Huggle. Users of older versions will be notified of this, but the older versions will continue to work. User agent string that will be used by Huggle. $1 is replaced by the version number. Location of user configuration pages on each project.
 * <tt>enable-all</tt>: boolean.
 * <tt>config</tt>: string.
 * <tt>documentation</tt>: string.
 * <tt>feedback</tt>: string.
 * <tt>irc-server</tt>: string.
 * <tt>irc-server-name</tt>: string.
 * <tt>projects</tt>: dictionary.
 * <tt>sensitive-addresses</tt>: dictionary.
 * <tt>version</tt>: version number.
 * <tt>user-agent</tt>: string.
 * <tt>user-config</tt>: string.