<commit_before><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<tiles:insertTemplate template="SiteTemplate.jsp">
  <tiles:putAttribute name="title"><c:out value="svnwiki - ${pageInfo.title} - ${pageInfo.revisionName}"/></tiles:putAttribute>
  <tiles:putAttribute name="heading"><c:out value="${pageInfo.title}"/></tiles:putAttribute>
  <tiles:putAttribute name="content">
    <c:if test="${not empty preview}">
      <h2>Preview <a href="#editForm">(skip)</a></h2>
      <div id="wiki-rendering">
      ${preview}
      </div>
    </c:if>
    
    <form id="editForm" name="editForm" action="" method="post">
      <textarea rows="25" cols="80" name="content"><c:out value="${pageInfo.content}"/></textarea>
      <input type="hidden" name="baseRevision" value="<c:out value="${pageInfo.revision}"/>"/>
      <input type="hidden" name="lockToken" value="<c:out value="${pageInfo.lockToken}"/>"/>
      <hr/>
      <label for="description">Describe your change</label><input style="width:19em;margin-left:0.2em;margin-right:0.2em;" id="description" name="description" type="text"/>
      <input style="width:5em;" name="preview" type="submit" value="Preview"/>
      <input style="width:5em;" name="action" type="submit" value="Save"/>
      <input style="width:5em;" name="action" type="submit" value="Cancel"/>
      <br />
      <label for="minorEdit">Minor edit?</label><input type="checkbox" id="minorEdit" name="minorEdit"/>
    </form>
    <script type='text/javascript'>document.editForm.content.focus();</script>
    <jsp:include page="cheatsheet.html"></jsp:include>
  </tiles:putAttribute>
</tiles:insertTemplate><commit_msg>Only focus the edit box when there isn't a preview showing or we may skip past it (depending on browser).<commit_after><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<tiles:insertTemplate template="SiteTemplate.jsp">
  <tiles:putAttribute name="title"><c:out value="svnwiki - ${pageInfo.title} - ${pageInfo.revisionName}"/></tiles:putAttribute>
  <tiles:putAttribute name="heading"><c:out value="${pageInfo.title}"/></tiles:putAttribute>
  <tiles:putAttribute name="content">
    <c:if test="${not empty preview}">
      <h2>Preview <a href="#editForm">(skip)</a></h2>
      <div id="wiki-rendering">
      ${preview}
      </div>
    </c:if>
    
    <form id="editForm" name="editForm" action="" method="post">
      <textarea rows="25" cols="80" name="content"><c:out value="${pageInfo.content}"/></textarea>
      <input type="hidden" name="baseRevision" value="<c:out value="${pageInfo.revision}"/>"/>
      <input type="hidden" name="lockToken" value="<c:out value="${pageInfo.lockToken}"/>"/>
      <hr/>
      <label for="description">Describe your change</label><input style="width:19em;margin-left:0.2em;margin-right:0.2em;" id="description" name="description" type="text"/>
      <input style="width:5em;" name="preview" type="submit" value="Preview"/>
      <input style="width:5em;" name="action" type="submit" value="Save"/>
      <input style="width:5em;" name="action" type="submit" value="Cancel"/>
      <br />
      <label for="minorEdit">Minor edit?</label><input type="checkbox" id="minorEdit" name="minorEdit"/>
    </form>
    <c:if test="${empty preview}">
      <script type='text/javascript'>document.editForm.content.focus();</script>
    </c:if>
    <jsp:include page="cheatsheet.html"></jsp:include>
  </tiles:putAttribute>
</tiles:insertTemplate>
{'fraction_non_alphanumeric': 0.21382771117925845, 'fraction_numerical': 0.008363534987454697, 'mean_word_length': 5.122866894197952, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2876745', 'n_tokens_mistral': 1187, 'n_tokens_neox': 1163, 'n_words': 200}