<commit_before>{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}" xml:lang="{{ LANGUAGE_CODE }}" lang="{{ LANGUAGE_CODE }}">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>{% if site_name %}{{ site_name }} : {% endif %}{% block head_title %}{% endblock %}</title>
        <!--[if IE]><style>
            div {
                zoom: 1; /* trigger hasLayout */
            }
        </style><![endif]-->
        <link rel="stylesheet" href="{{ MEDIA_URL }}base.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}tabs.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}quickbar.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}tasks.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}comments.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}pagination.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}wiki.css" />
        {% if LANGUAGE_BIDI %}
        <style type="text/css" media="screen">
            div.right_panel {
                float: left; /* hotfix for sidebar */
            }
        </style>
        {% endif %}
        {% block extra_head %}
        {% endblock %}
    </head>
    
    <body>
        {% if site_wide_announcements %}
            <div id="site_wide_announcements">
                <ul>
                    {% for announcement in site_wide_announcements %}
                    <li>
                        <a href="{{ announcement.get_absolute_url }}">{{ announcement }}</a> -
                        <a href="{% url announcement_hide announcement.pk %}?next={{ request.path }}">{% trans "Hide announcement" %}</a>
                    </li>
                    {% endfor %}
                </ul>
            </div>
        {% endif %}
        
        <div id="tabhead">
            <div class="logo" dir="ltr">{% block logo_link_image %}{% endblock %}</div>
            <div class="login">{% block login %}{% endblock %}{% block locale_switcher %}{% endblock %}<div style="text-align: right;"></div></div>
            <div class="tabs" {% block tab_id %}{% endblock %}>{% block tabs %}{% endblock %}</div>
            <div class="right_tab" {% block rtab_id %}{% endblock %}>{% block right_tab %}{% endblock %}</div>
        </div>
        <div id="subnav" class="clearfix">{% block subnav1 %}{% endblock %}</div>
        
        <div id="outer-body">
            <div id="body">
                {% if messages %}
                    <ul id="messages">
                        {% for message in messages %}
                        <li id="message_{{ forloop.counter }}"><a href="#" onclick="$('#message_{{ forloop.counter }}').fadeOut(); return false;"><small>{% trans "clear" %}</small></a> {{ message }}</li>
                        {% endfor %}
                    </ul>
                {% endif %}
                
                {% block body %}
                {% endblock %}
                
            </div>
            
            <div id="footer">{% block footer %}{% endblock %}</div>
        </div>
        <script src="{{ MEDIA_URL }}jquery-1.3.min.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}quickbar.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}tasks.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}comments.js" type="text/javascript"></script>
        <script>
            quickbar_title = $("title").html().split(" : ").pop();
            quickbar_url = "{{ request.path }}";
        </script>
        {% block extra_body %}
        {% endblock %}
    </body>
</html>
<commit_msg>removed some unused code from base.html<commit_after>{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}" xml:lang="{{ LANGUAGE_CODE }}" lang="{{ LANGUAGE_CODE }}">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>{% if site_name %}{{ site_name }} : {% endif %}{% block head_title %}{% endblock %}</title>
        <!--[if IE]><style>
            div {
                zoom: 1; /* trigger hasLayout */
            }
        </style><![endif]-->
        <link rel="stylesheet" href="{{ MEDIA_URL }}base.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}tabs.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}tasks.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}comments.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}pagination.css" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}wiki.css" />
        {% if LANGUAGE_BIDI %}
        <style type="text/css" media="screen">
            div.right_panel {
                float: left; /* hotfix for sidebar */
            }
        </style>
        {% endif %}
        {% block extra_head %}
        {% endblock %}
    </head>
    
    <body>
        {% if site_wide_announcements %}
            <div id="site_wide_announcements">
                <ul>
                    {% for announcement in site_wide_announcements %}
                    <li>
                        <a href="{{ announcement.get_absolute_url }}">{{ announcement }}</a> -
                        <a href="{% url announcement_hide announcement.pk %}?next={{ request.path }}">{% trans "Hide announcement" %}</a>
                    </li>
                    {% endfor %}
                </ul>
            </div>
        {% endif %}
        
        <div id="tabhead">
            <div class="logo" dir="ltr">{% block logo_link_image %}{% endblock %}</div>
            <div class="login">{% block login %}{% endblock %}{% block locale_switcher %}{% endblock %}<div style="text-align: right;"></div></div>
            <div class="tabs" {% block tab_id %}{% endblock %}>{% block tabs %}{% endblock %}</div>
            <div class="right_tab" {% block rtab_id %}{% endblock %}>{% block right_tab %}{% endblock %}</div>
        </div>
        <div id="subnav" class="clearfix">{% block subnav1 %}{% endblock %}</div>
        
        <div id="outer-body">
            <div id="body">
                {% if messages %}
                    <ul id="messages">
                        {% for message in messages %}
                        <li id="message_{{ forloop.counter }}"><a href="#" onclick="$('#message_{{ forloop.counter }}').fadeOut(); return false;"><small>{% trans "clear" %}</small></a> {{ message }}</li>
                        {% endfor %}
                    </ul>
                {% endif %}
                
                {% block body %}
                {% endblock %}
                
            </div>
            
            <div id="footer">{% block footer %}{% endblock %}</div>
        </div>
        <script src="{{ MEDIA_URL }}jquery-1.3.min.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}tasks.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}comments.js" type="text/javascript"></script>
        {% block extra_body %}
        {% endblock %}
    </body>
</html>

{'fraction_non_alphanumeric': 0.19080741953082378, 'fraction_numerical': 0.004909983633387889, 'mean_word_length': 1.853307392996109, 'pattern_counts': {'":': 0, '<': 140, '<?xml version=': 0, '>': 140, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '4143926', 'n_tokens_mistral': 2339, 'n_tokens_neox': 2119, 'n_words': 486}