Manual:Huggle/Configuration/it

Le impostazioni di Huggle vengono salvate in posti diversi a seconda dei casi:

Tutti i file di configurazione contengono una serie di righe del tipo, dove ogni   è una di quelle elencate qui sotto. I nomi delle opzioni non sono case sensitive.

Vengono ignorate tutte le linee vuote, le linee che iniziano con  (commenti) e le opzioni non riconosciute.

I valori possono continuare nella riga di codice successiva, purché quest'ultima inizi con uno o più spazi.

La maggior parte delle opzioni relative al singolo utente e al singolo progetto possono essere cambiate direttamente dalla finestra Opzioni di Huggle. Valore predefinito

User configuration
Settings on user configuration subpages apply only to that user, and only on that project.
 * – true/false. Huggle will not work unless this is present and set to true.
 * - string. Whether to show the contributions of anonymous users. Available values: "yes", "no", "only". Default: yes.
 * – true/false. After reverting a revision, automatically advance to the next diff. Default: false.
 * - true/false. Whether to automatically whitelist users. Default: false.
 * – true/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.
 * - true/false. Ask for confirmation if the revision being reverted to was made by the same user that is being reverted. Default: true.
 * - true/false. Whether to extend vandalism reports in the event of further vandalism. Default: true.
 * – integer. Port to use when connecting to IRC. Use any integer from 6664–6669, inclusive. Default: 6667.
 * – comma-separated list. 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.
 * – comma-separated list. 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.
 * - true/false. Whether to include new pages in the queue. Default: false.
 * – integer. 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.
 * - string. 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
 * - comma-separated list. Summaries available in the revert drop-down menu. Use  to include a literal comma.
 * – true/false. Use rollback if available. Default: true.
 * – true/false. If the page currently being viewed is edited, jump to a diff of that edit. Default: true.
 * - true/false. Whether to show the revision queue. Default: true.
 * - comma-separated list. 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.
 * - true/false. Display an icon in the notification area, allows application to be minimized to the tray. Default: false.
 * – true/false. Whether to update the shared whitelist on exit. Default: true.
 * – comma-separated list. 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.

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

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


 * : true/false. If true, user list acts as an approval list, and only users listed there may use Huggle. Default false
 * : true/false. If false, Huggle will not work for any user. For use only in exceptional circumstances. Default true
 * : true/false. If true, Huggle will only work if the user is an administrator. Default false
 * : boolean. If true, Huggle will work only if the user is autoconfirmed.
 * : true/false. If true, all users must have a configuration page with  set to 'true'. This allows administrators to prevent use of Huggle by a user account by blanking and protecting its configuration page. Default false
 * : integer. 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
 * : true/false. If true, Huggle will only work if the user has rollback. Default false
 * : integer. 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.)
 * : version number. Versions older than this will not work.


 * Other


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

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.


 * : boolean. Whether to use the IRC recent changes feed. Default false
 * : string. File path to which Huggle activity will be written.
 * : string. Last project used.
 * : proxy settings. Default false
 * : string. Last username used.
 * : integers. Location and size of Huggle's main window.
 * : boolean. Whether the main window is maximized.
 * : comma-separated list. Keyboard shortcuts.
 * : comma-separated list. Summaries that have been entered into the "Revert with summary" dialog.

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