<commit_before><div i18n:domain="zeit.cms"> <!-- lightbox -->
<h1 i18n:translate="">Publish</h1>

<ol tal:condition="view/can_publish">
<li id="publish.checkin">Check in</li>
<li id="publish.publish">Publish</li>
<li id="publish.checkout">Check out</li>
</ol>

<div id="publish.errors">
  <tal:block tal:condition="not: view/can_publish">
    <p>Cannot publish since validation rules are violated.</p>
  </tal:block>
</div>

<script type="text/javascript">
new zeit.content.cp.publish.Publisher();
</script>
</div><commit_msg>Re #5661: don't start the publish process if we already know we can't publish<commit_after><div i18n:domain="zeit.cms"> <!-- lightbox -->
<h1 i18n:translate="">Publish</h1>

<tal:block condition="view/can_publish">
<ol>
<li id="publish.checkin">Check in</li>
<li id="publish.publish">Publish</li>
<li id="publish.checkout">Check out</li>
</ol>

<script type="text/javascript">
new zeit.content.cp.publish.Publisher();
</script>
</tal:block>

<div id="publish.errors">
  <tal:block tal:condition="not: view/can_publish">
    <p>Cannot publish since validation rules are violated.</p>
  </tal:block>
</div>
</div>
{'fraction_non_alphanumeric': 0.2022867194371152, 'fraction_numerical': 0.014072119613016711, 'mean_word_length': 5.81437125748503, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '2634680', 'n_tokens_mistral': 418, 'n_tokens_neox': 399, 'n_words': 86}