Jump to content

User:Salvatore Ingala/Notes/HotCat.preferences

From mediawiki.org
{
  "fields": [
    {
      "type": "label",
      "label": "For more info, see documentation"
    },
    {
      "name": "noAutoCommit",
      "type": "boolean",
      "default": false,
      "label": "Don't commit changes automatically"
    },
    {
      "name": "delay",
      "type": "range",
      "default": 100,
      "label": "Delay for suggestions",
      "min": 0,
      "step": 50,
      "max": 1000
    },
    {
      "name": "editBoxWidth",
      "type": "range",
      "default": 40,
      "label": "Width of edit field (in characters)",
      "min": 40,
      "max": 100
    },
    {
      "name": "suggestions",
      "type": "select",
      "default": "combined",
      "label": "Search engine for suggestions",
      "options": [
        {
          "name": "Search index",
          "value": "searchindex"
        },
        {
          "name": "Page list",
          "value": "pagelist"
        },
        {
          "name": "Combined",
          "value": "combined"
        }
      ]
    },
    {
      "name": "fixedSuggestions",
      "type": "boolean",
      "default": false,
      "label": "Don't allow search engine selection"
    },
    {
      "name": "changedBackground",
      "type": "color",
      "default": "#f8ccb0",
      "label": "Color of unsaved changes"
    },
    {
      "name": "useCategoryLinks",
      "type": "boolean",
      "default": true,
      "label": "Use category links"
    },
    {
      "name": "listSize",
      "type": "range",
      "default": 5,
      "label": "Size of suggestions list",
      "min": 5,
      "max": 15
    },
    {
      "name": "minorSingleChanges",
      "type": "boolean",
      "default": true,
      "label": "Single changes are minor"
    },
    {
      "name": "dontAddToWatchlist",
      "type": "boolean",
      "default": false,
      "label": "Don't add to watchlist"
    }
  ]
}