label: _t(AB_advanced_actions_label)
position: 1999
previewHeight: 200px
actions:
  tocjs:
    label: _t(AB_advanced_action_tocjs_label)
    properties:
      align:
        label: _t(AB_advanced_action_tocjs_position_label)
        advanced: true
        type: list
        options:
          right: _t(AB_advanced_action_tocjs_position_right_option)
          left: _t(AB_advanced_action_tocjs_position_left_option)
      size:
        label:  _t(AB_advanced_action_tocjs_size_label)
        advanced: true
        type: list
        options:
            - 2
            - 3
            - 4
  trail:
    label: _t(AB_advanced_action_trail_label)    
    properties:
      toc:
        label:  _t(AB_advanced_action_trail_toc_label)
        type: page-list
        required: true
  progressbar:
    label: _t(AB_advanced_action_progressbar_label)
    properties: 
      val:
        label: _t(AB_advanced_action_progressbar_val_label)
        hint: _t(AB_advanced_action_progressbar_val_hint)
        required: true
        type: number
        min: 0
        max: 100
      class:
        label: _t(AB_template_actions_class)
        type: text
        advanced: true
  # textsearch: # moved to /doc/actions/textsearch.yaml (onlyEdit)
  newtextsearch:
    label: _t(AB_advanced_action_newtextsearch_label)
    properties:
      label:
        label:  _t(AB_advanced_action_textsearch_label_label)
        type: text
      size:
        label:  _t(AB_advanced_action_textsearch_size_label)
        type: number
        default: ''
        min: 1
      button:
        label:  _t(AB_advanced_action_textsearch_button_label)
        type: text
      phrase:
        label:  _t(AB_advanced_action_textsearch_phrase_label)
        type: text
        advanced: true
      separator:
        label:  _t(AB_advanced_action_textsearch_separator_label)
        type: text
        advanced: true
  include:
    label: _t(AB_advanced_action_include_label)
    properties:
      page:
        label: _t(AB_advanced_action_backlinks_page_label)
        type: page-list
        required: true
  redirect:
    label: _t(AB_advanced_action_redirect_label)
    properties:
      page:
        label: _t(AB_advanced_action_backlinks_page_label)
        type: page-list
        required: true
  listpages:
    label: _t(AB_advanced_action_listpages_label)
    properties:
      sort:
        label: _t(AB_advanced_action_listpages_sort_label)
        type: list
        default: ''
        options:
          - 'tag'
          - 'user'
          - 'owner'
          - 'time'
      tree:
        label: _t(AB_advanced_action_listpages_tree_label)
        hint: _t(AB_advanced_action_listpages_tree_hint)
        type: page-list
        default: ''
      levels:
        label: _t(AB_advanced_action_listpages_levels_label)
        hint: _t(AB_advanced_action_listpages_levels_hint)
        type: number
        default: ''
        min: 1
        max: 7
      exclude:
        label:  _t(AB_advanced_action_listpages_exclude_label)
        hint:  _t(AB_advanced_action_listpages_exclude_hint)
        type: page-list
      owner:
        label:  _t(AB_advanced_action_listpages_owner_label)
        hint:  _t(AB_advanced_action_listpages_owner_hint)
        type: checkbox
        default: ''
        checkedvalue: 'owner'
        uncheckedvalue: ''
      user:
        label:  _t(AB_advanced_action_listpages_user_label)
        hint:  _t(AB_advanced_action_listpages_user_hint)
        type: checkbox
        default: ''
        checkedvalue: 'user'
        uncheckedvalue: ''
  backlinks:
    label: _t(AB_advanced_action_backlinks_label)
    properties:
      page:
        label: _t(AB_advanced_action_backlinks_page_label)
        hint: _t(AB_advanced_action_backlinks_page_hint)
        type: page-list
  mychanges:
    label: _t(AB_advanced_action_mychanges_label)
    properties:
      bydate:
        label:  _t(AB_advanced_action_mychanges_bydate_label)
        type: checkbox
        default: ''
        checkedvalue: '1'
        uncheckedvalue: ''
  mypages:
    label: _t(AB_advanced_action_mypages_label)
  configuration:
    label: _t(AB_advanced_action_configuration_label)
    properties:
      param:
        label: param
        required: true
        type: list
        options:
          - root_page
          - base_url
          - navigation_links
          - meta_keywords
          - meta_description
          - wakka_name
          - yeswiki_release
          - yeswiki_version
          - favorite_theme
          - favorite_style
          - favorite_squelette
          - default_language
          - charset
          - lang
          - theme_path
          - wakka_version
          - wikini_version
  listusers:
    label: _t(AB_advanced_action_listusers_label)
    properties:
      last:
        label:  _t(AB_advanced_action_listusers_last_label)
        hint:  _t(AB_advanced_action_listusers_last_hint)
        type: number
        default: ''
        min: 1
  recentchanges:
    label: _t(AB_advanced_action_recentchanges_label)
    properties:
      max:
        label:  _t(AB_advanced_action_recentchanges_max_label)
        type: number
        default: ''
        min: 1
      period:
        label:  _t(AB_advanced_action_recentchanges_period_label)
        hint:  _t(AB_advanced_action_recentchanges_period_hint)
        type: text
  recentcomments:
    label: _t(AB_advanced_action_recentcomments_label)
    properties:
      max:
        label:  _t(AB_advanced_action_recentcomments_max_label)
        type: number
        default: ''
        min: 1
  pageindex:
    label: _t(AB_advanced_action_pageindex_label)
  pageonlyindex:
    label: _t(AB_advanced_action_pageonlyindex_label)
  wantedpages:
    label: _t(AB_advanced_action_wantedpages_label)
  orphanedpages:
    label: _t(AB_advanced_action_orphanedpages_label)
  bazarrecordsindex:
    label: _t(AB_advanced_action_bazarrecordsindex_label)
  login:
    label: _t(AB_advanced_action_login_label)
    properties:
      template:
        label: _t(AB_advanced_action_login_template_label)
        type: list
        default: "default.twig"
        options:
          "default.twig": _t(AB_advanced_action_login_template_default)
          "modal.twig": _t(AB_advanced_action_login_template_modal)
          "horizontal.twig": _t(AB_advanced_action_login_template_horizontal)
          "dropdown.twig": _t(AB_advanced_action_login_template_dropdown)
      signupurl:
        label: _t(AB_advanced_action_login_signupurl_label)
        hint: _t(AB_advanced_action_login_signupurl_hint)
        type: page-list
        default: ""
      incomingurl:
        label: _t(AB_advanced_action_login_incomingurl_label)
        type: page-list
        default: ""
      loggedinurl:
        label: _t(AB_advanced_action_login_loggedinurl_label)
        hint: _t(AB_advanced_action_login_loggedinurl_hint)
        type: page-list
        default: ""
        advanced: true
      loggedouturl:
        label: _t(AB_advanced_action_login_loggedouturl_label)
        hint: _t(AB_advanced_action_login_loggedouturl_hint)
        type: page-list
        default: ""
        advanced: true
      userpage:
        label: _t(AB_advanced_action_login_userpage_label)
        type: checkbox
        default: ""
        checkedvalue: "user"
        uncheckedvalue: ""
      lostpasswordurl:
        label: _t(AB_advanced_action_login_lostpasswordurl_label)
        hint: _t(AB_advanced_action_login_lostpasswordurl_hint)
        type: page-list
        default: ""
      profileurl:
        label: _t(AB_advanced_action_login_profileurl_label)
        hint: _t(AB_advanced_action_login_profileurl_hint)
        type: page-list
        default: ""
        advanced: true
      class:
        label: _t(AB_advanced_action_login_class_label)
        type: text
        default: ""
        advanced: true
      btnclass:
        label: _t(AB_advanced_action_login_btnclass_label)
        type: text
        default: ""
        advanced: true
      nobtn:
        label: _t(AB_advanced_action_login_nobtn_label)
        type: checkbox
        default: "false"
        checkedvalue: "true"
        uncheckedvalue: "false"
        showif:
          template: modal\.(?:twig|tpl\.html)
  # interwikilist:
  #   label: _t(AB_advanced_action_interwikilist_label)