# limitations under the License.
#
-actions :create, :delete
+actions :create, :update, :delete
default_action :create
attribute :name, :kind_of => String, :name_attribute => true
attribute :email_sender, :kind_of => String, :default => ""
attribute :email_sender_name, :kind_of => String, :default => "MediaWiki Mail"
attribute :commons, :kind_of => [TrueClass, FalseClass], :default => true
-attribute :skin, :kind_of => String, :default => "vector"
+attribute :skin, :kind_of => String, :default => "vector"
attribute :site_notice, :kind_of => String, :default => ""
attribute :site_readonly, :kind_of => [TrueClass, FalseClass], :default => false
attribute :admin_user, :kind_of => String, :default => "Admin"
attribute :private, :kind_of => [TrueClass, FalseClass], :default => false
attribute :recaptcha_public_key, :kind_of => String
attribute :recaptcha_private_key, :kind_of => String
+attribute :extra_file_extensions, :kind_of => [String, Array], :default => []
attribute :reload_apache, :kind_of => [TrueClass, FalseClass], :default => true
def after_created
:site_notice => site_notice,
:site_readonly => site_readonly,
:ssl_enabled => ssl_enabled,
+ :extra_file_extensions => extra_file_extensions,
:private_accounts => private_accounts,
:private => private
}