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

<xwikidoc>
<web>Panels</web>
<name>EditModes</name>
<language></language>
<defaultLanguage>en</defaultLanguage>
<translation>0</translation>
<parent>Panels.WebHome</parent>
<creator>XWiki.Admin</creator>
<author>XWiki.Admin</author>
<customClass></customClass>
<contentAuthor>XWiki.Admin</contentAuthor>
<creationDate>1194554016000</creationDate>
<date>1194558497000</date>
<contentUpdateDate>1194558497000</contentUpdateDate>
<version>1.1</version>
<title></title>
<template></template>
<defaultTemplate></defaultTemplate>
<validationScript></validationScript>
<comment></comment>
<minorEdit>false</minorEdit>
<object>
<class>
<name>Panels.PanelClass</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
<category>
<cache>0</cache>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>category</name>
<number>5</number>
<prettyName>Category</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<unmodifiable>0</unmodifiable>
<values>Information|Navigation|Tools|Administration|Other</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</category>
<content>
<editor>Text</editor>
<name>content</name>
<number>4</number>
<prettyName>Content</prettyName>
<rows>25</rows>
<size>60</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
</content>
<description>
<editor>Text</editor>
<name>description</name>
<number>3</number>
<prettyName>Description</prettyName>
<rows>5</rows>
<size>40</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
</description>
<name>
<name>name</name>
<number>1</number>
<prettyName>Name</prettyName>
<size>40</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</name>
<type>
<cache>0</cache>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>type</name>
<number>2</number>
<prettyName>Panel type</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<unmodifiable>0</unmodifiable>
<values>view|edit</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</type>
</class>
<name>Panels.EditModes</name>
<number>0</number>
<className>Panels.PanelClass</className>
<property>
<category>Navigation</category>
</property>
<property>
<content>#largepanelheader($msg.get("chooseeditor"))
###
### Edit mode tabs
###
###
&lt;ul&gt;
#if($doc.getSyntaxId() == "xwiki/2.0" &amp;&amp; $xwiki.wysiwyg.enabled)
&lt;li id="xwikieditwysiwygnew"#if($editor &amp;&amp; $editor == "wysiwygnew") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=wysiwygnew&amp;amp;$param")" onclick="if (checkAdvancedContent('$msg.get("checkadvancedcontent")')==false) return false; return Try.these(function() {document.forms.${formname}.action='$doc.getURL("edit", "editor=wysiwygnew&amp;amp;$languageparams&amp;amp;$param")'; document.forms.${formname}.submit(); return false;});"&gt;NEW WYSIWYG&lt;/a&gt;&lt;/li&gt;
#end
&lt;li id="xwikieditwysiwyg"#if($editor &amp;&amp; $editor == "wysiwyg") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=wysiwyg&amp;amp;$param")" onclick="if (checkAdvancedContent('$msg.get("checkadvancedcontent")')==false) return false; return Try.these(function() {document.forms.${formname}.action='$doc.getURL("edit", "editor=wysiwyg&amp;amp;$languageparams&amp;amp;$param")'; document.forms.${formname}.submit(); return false;});"&gt;$msg.get("editVisual")&lt;/a&gt;&lt;/li&gt;
&lt;li id="xwikieditwiki"#if($editor &amp;&amp; $editor == "wiki") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=wiki&amp;amp;$param")" onclick="return Try.these(function() {document.forms.${formname}.action='$doc.getURL("edit", "editor=wiki&amp;amp;$languageparams&amp;amp;$param")'; document.forms.${formname}.submit(); return false;});"&gt;$msg.get("editWiki")&lt;/a&gt;&lt;/li&gt;
#if($isAdvancedUser)&lt;li id="xwikieditobject"#if($editor &amp;&amp; $editor == "object") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=object&amp;amp;$param")"&gt;$msg.get("editObject")&lt;/a&gt;&lt;/li&gt; #end
#if($isAdvancedUser)&lt;li id="xwikieditclass"#if($editor &amp;&amp; $editor == "class") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=class&amp;amp;$param")"&gt;$msg.get("editClass")&lt;/a&gt;&lt;/li&gt; #end
&lt;li id="xwikieditrights"#if($editor &amp;&amp; $editor == "rights") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=rights&amp;amp;$param")"&gt;$msg.get("editRights")&lt;/a&gt;&lt;/li&gt;
#if($isAdvancedUser)&lt;li id="xwikiedithistory"#if($editor &amp;&amp; $editor == "history") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=history&amp;amp;$docvariant&amp;amp;$param")"&gt;$msg.get("editHistory")&lt;/a&gt;&lt;/li&gt;#end
&lt;/ul&gt;
#panelfooter()</content>
</property>
<property>
<description>Panel Description</description>
</property>
<property>
<name>EditModes</name><commit_msg>Reverting "XZPANELS-55: Add the new WYSIWYG editor on EditorModes panel" because the old and the new WYSIWYG editors will be uses in different situations. The old editor will be used only for pages having xwiki/1.0 syntax.<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>

<xwikidoc>
<web>Panels</web>
<name>EditModes</name>
<language></language>
<defaultLanguage>en</defaultLanguage>
<translation>0</translation>
<parent>Panels.WebHome</parent>
<creator>XWiki.Admin</creator>
<author>XWiki.Admin</author>
<customClass></customClass>
<contentAuthor>XWiki.Admin</contentAuthor>
<creationDate>1194554016000</creationDate>
<date>1194558497000</date>
<contentUpdateDate>1194558497000</contentUpdateDate>
<version>1.1</version>
<title></title>
<template></template>
<defaultTemplate></defaultTemplate>
<validationScript></validationScript>
<comment></comment>
<minorEdit>false</minorEdit>
<object>
<class>
<name>Panels.PanelClass</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
<category>
<cache>0</cache>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>category</name>
<number>5</number>
<prettyName>Category</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<unmodifiable>0</unmodifiable>
<values>Information|Navigation|Tools|Administration|Other</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</category>
<content>
<editor>Text</editor>
<name>content</name>
<number>4</number>
<prettyName>Content</prettyName>
<rows>25</rows>
<size>60</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
</content>
<description>
<editor>Text</editor>
<name>description</name>
<number>3</number>
<prettyName>Description</prettyName>
<rows>5</rows>
<size>40</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
</description>
<name>
<name>name</name>
<number>1</number>
<prettyName>Name</prettyName>
<size>40</size>
<unmodifiable>0</unmodifiable>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</name>
<type>
<cache>0</cache>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>type</name>
<number>2</number>
<prettyName>Panel type</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<unmodifiable>0</unmodifiable>
<values>view|edit</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</type>
</class>
<name>Panels.EditModes</name>
<number>0</number>
<className>Panels.PanelClass</className>
<property>
<category>Navigation</category>
</property>
<property>
<content>#largepanelheader($msg.get("chooseeditor"))
###
### Edit mode tabs
###
###
&lt;ul&gt;
&lt;li id="xwikieditwysiwyg"#if($editor &amp;&amp; $editor == "wysiwyg") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=wysiwyg&amp;amp;$param")" onclick="if (checkAdvancedContent('$msg.get("checkadvancedcontent")')==false) return false; return Try.these(function() {document.forms.${formname}.action='$doc.getURL("edit", "editor=wysiwyg&amp;amp;$languageparams&amp;amp;$param")'; document.forms.${formname}.submit(); return false;});"&gt;$msg.get("editVisual")&lt;/a&gt;&lt;/li&gt;
&lt;li id="xwikieditwiki"#if($editor &amp;&amp; $editor == "wiki") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=wiki&amp;amp;$param")" onclick="return Try.these(function() {document.forms.${formname}.action='$doc.getURL("edit", "editor=wiki&amp;amp;$languageparams&amp;amp;$param")'; document.forms.${formname}.submit(); return false;});"&gt;$msg.get("editWiki")&lt;/a&gt;&lt;/li&gt;
#if($isAdvancedUser)&lt;li id="xwikieditobject"#if($editor &amp;&amp; $editor == "object") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=object&amp;amp;$param")"&gt;$msg.get("editObject")&lt;/a&gt;&lt;/li&gt; #end
#if($isAdvancedUser)&lt;li id="xwikieditclass"#if($editor &amp;&amp; $editor == "class") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=class&amp;amp;$param")"&gt;$msg.get("editClass")&lt;/a&gt;&lt;/li&gt; #end
&lt;li id="xwikieditrights"#if($editor &amp;&amp; $editor == "rights") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=rights&amp;amp;$param")"&gt;$msg.get("editRights")&lt;/a&gt;&lt;/li&gt;
#if($isAdvancedUser)&lt;li id="xwikiedithistory"#if($editor &amp;&amp; $editor == "history") class="active"#end&gt;&lt;a href="$doc.getURL("edit", "editor=history&amp;amp;$docvariant&amp;amp;$param")"&gt;$msg.get("editHistory")&lt;/a&gt;&lt;/li&gt;#end
&lt;/ul&gt;
#panelfooter()</content>
</property>
<property>
<description>Panel Description</description>
</property>
<property>
<name>EditModes</name>
{'fraction_non_alphanumeric': 0.21999220576773187, 'fraction_numerical': 0.01558846453624318, 'mean_word_length': 11.503045066991474, 'pattern_counts': {'":': 0, '<': 379, '<?xml version=': 2, '>': 379, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5450307', 'n_tokens_mistral': 3887, 'n_tokens_neox': 3751, 'n_words': 433}