<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>

<xwikidoc>
<web>XWiki</web>
<name>WebDAV</name>
<language></language>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<parent>XWiki.WebHome</parent>
<creator>XWiki.Admin</creator>
<author>XWiki.Admin</author>
<customClass></customClass>
<contentAuthor>XWiki.Admin</contentAuthor>
<creationDate>1231841324000</creationDate>
<date>1231841652000</date>
<contentUpdateDate>1231841652000</contentUpdateDate>
<version>3.1</version>
<title></title>
<template></template>
<defaultTemplate></defaultTemplate>
<validationScript></validationScript>
<comment></comment>
<minorEdit>false</minorEdit>
<syntaxId>xwiki/1.0</syntaxId>
<hidden>false</hidden>
<object>
<class>
<name>XWiki.JavaScriptExtension</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
<cache>
<cache>0</cache>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>cache</name>
<number>5</number>
<prettyName>Caching policy</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<unmodifiable>0</unmodifiable>
<values>long|short|default|forbid</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</cache>
<code>
<name>code</name>
<number>2</number>
<prettyName>Code</prettyName>
<rows>20</rows>
<size>50</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
</code>
<name>
<name>name</name>
<number>1</number>
<prettyName>Name</prettyName>
<size>30</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</name>
<parse>
<displayFormType>select</displayFormType>
<displayType>yesno</displayType>
<name>parse</name>
<number>4</number>
<prettyName>Parse content</prettyName>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</parse>
<use>
<cache>0</cache>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>use</name>
<number>3</number>
<prettyName>Use this extension</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<unmodifiable>0</unmodifiable>
<values>onDemand=On demand|always=Always</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</use>
</class>
<name>XWiki.WebDAV</name>
<number>0</number>
<className>XWiki.JavaScriptExtension</className>
<guid>f085b166-b508-43b6-8aaa-b1706ab51fa4</guid>
<property>
<cache>default</cache>
</property>
<property>
<code>function davEdit(davURL) {
  if (window.ActiveXObject) {
    var editor;
    try {
      editor = new ActiveXObject("SharePoint.OpenDocuments");
    } catch (err) {
      window.alert("Could not initialize a required ActiveX object.");
      return;
    }
    if (editor) {
      editor.EditDocument(davURL);
    } else {
      window.alert("Error while initializing the share point editor.");
      return;
    }
  } else if (window.InstallTrigger) {		
    if ("createEvent" in document) {
      var element = document.createElement("FoXWikiDomEventData");
      element.setAttribute("davURL", davURL);
      element.setAttribute("foxwiki", "false");
      document.documentElement.appendChild(element);
      var evt = document.createEvent("Events");
      evt.initEvent("FoXWikiDomEvent", true, false);
      element.dispatchEvent(evt);
      if (element.getAttribute("foxwiki") == "false") {
        if (window.confirm("A Firefox extension is required to perform this action, install it ?")) {
	  InstallTrigger.install( {"FoXWiki" :"https://addons.mozilla.org/en-US/firefox/downloads/file/39674/foxwiki-1.0b-fx.xpi"});
	}
      }
    } else {
      alert("Unexpected Error");
    }			
  } else {
    window.alert("Sorry, to use this feature you need either Firefox or Internet Explorer.");
  }
}</code>
</property>
<property>
<name>WebDAVJSX</name>
</property>
<property>
<parse>0</parse>
</property>
<property>
<use>onDemand</use>
</property>
</object>
<object>
<class>
<name>XWiki.TagClass</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
<tags>
<cache>0</cache>
<displayType>input</displayType>
<multiSelect>1</multiSelect>
<name>tags</name>
<number>1</number>
<prettyName>Tags</prettyName>
<relationalStorage>1</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>30</size>
<unmodifiable>0</unmodifiable>
<values></values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</tags>
</class>
<name>XWiki.WebDAV</name>
<number>0</number>
<className>XWiki.TagClass</className>
<guid>fce21b4c-a63c-423c-a4a8-bc4bfab7edd1</guid>
<property>
<tags/>
</property>
</object>
<content>#info("This is a hosting page for webdav related functions.")</content>
</xwikidoc><commit_msg>XAWEBDAV-2 : Internationalizing the XWiki WebDAV Application<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>

<xwikidoc>
<web>XWiki</web>
<name>WebDAV</name>
<language></language>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<parent>XWiki.WebHome</parent>
<creator>XWiki.Admin</creator>
<author>XWiki.Admin</author>
<customClass></customClass>
<contentAuthor>XWiki.Admin</contentAuthor>
<creationDate>1231841324000</creationDate>
<date>1231841652000</date>
<contentUpdateDate>1231841652000</contentUpdateDate>
<version>1.1</version>
<title></title>
<template></template>
<defaultTemplate></defaultTemplate>
<validationScript></validationScript>
<comment></comment>
<minorEdit>false</minorEdit>
<syntaxId>xwiki/1.0</syntaxId>
<hidden>false</hidden>
<object>
<class>
<name>XWiki.JavaScriptExtension</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
<cache>
<cache>0</cache>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>cache</name>
<number>5</number>
<prettyName>Caching policy</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<unmodifiable>0</unmodifiable>
<values>long|short|default|forbid</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</cache>
<code>
<name>code</name>
<number>2</number>
<prettyName>Code</prettyName>
<rows>20</rows>
<size>50</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
</code>
<name>
<name>name</name>
<number>1</number>
<prettyName>Name</prettyName>
<size>30</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</name>
<parse>
<displayFormType>select</displayFormType>
<displayType>yesno</displayType>
<name>parse</name>
<number>4</number>
<prettyName>Parse content</prettyName>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</parse>
<use>
<cache>0</cache>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>use</name>
<number>3</number>
<prettyName>Use this extension</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<unmodifiable>0</unmodifiable>
<values>onDemand=On demand|always=Always</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</use>
</class>
<name>XWiki.WebDAV</name>
<number>0</number>
<className>XWiki.JavaScriptExtension</className>
<guid>f085b166-b508-43b6-8aaa-b1706ab51fa4</guid>
<property>
<cache>default</cache>
</property>
<property>
<code>function davEdit(davURL) {
  if (window.ActiveXObject) {
    var editor;
    try {
      editor = new ActiveXObject("SharePoint.OpenDocuments");
    } catch (err) {
      window.alert("$msg.get('xe.webdav.initialize.activex')");
      return;
    }
    if (editor) {
      editor.EditDocument(davURL);
    } else {
      window.alert("$msg.get('xe.webdav.initialize.error')");
      return;
    }
  } else if (window.InstallTrigger) {		
    if ("createEvent" in document) {
      var element = document.createElement("FoXWikiDomEventData");
      element.setAttribute("davURL", davURL);
      element.setAttribute("foxwiki", "false");
      document.documentElement.appendChild(element);
      var evt = document.createEvent("Events");
      evt.initEvent("FoXWikiDomEvent", true, false);
      element.dispatchEvent(evt);
      if (element.getAttribute("foxwiki") == "false") {
        if (window.confirm("$msg.get('xe.webdav.install.foxwiki')")) {
	  InstallTrigger.install( {"FoXWiki" :"https://addons.mozilla.org/en-US/firefox/downloads/file/39674/foxwiki-1.0b-fx.xpi"});
	}
      }
    } else {
      alert("$msg.get('xe.webdav.error')");
    }			
  } else {
    window.alert("$msg.get('xe.webdav.sorry')");
  }
}</code>
</property>
<property>
<name>WebDAVJSX</name>
</property>
<property>
<parse>0</parse>
</property>
<property>
<use>onDemand</use>
</property>
</object>
<object>
<class>
<name>XWiki.TagClass</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
<tags>
<cache>0</cache>
<displayType>input</displayType>
<multiSelect>1</multiSelect>
<name>tags</name>
<number>1</number>
<prettyName>Tags</prettyName>
<relationalStorage>1</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>30</size>
<unmodifiable>0</unmodifiable>
<values></values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</tags>
</class>
<name>XWiki.WebDAV</name>
<number>0</number>
<className>XWiki.TagClass</className>
<guid>fce21b4c-a63c-423c-a4a8-bc4bfab7edd1</guid>
<property>
<tags/>
</property>
</object>
<content>#info($msg.get('xe.webdav.info'))</content>
</xwikidoc>
{'fraction_non_alphanumeric': 0.18064642124792502, 'fraction_numerical': 0.02450932526120496, 'mean_word_length': 6.759090909090909, 'pattern_counts': {'":': 0, '<': 519, '<?xml version=': 2, '>': 519, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3630052', 'n_tokens_mistral': 3772, 'n_tokens_neox': 3593, 'n_words': 474}