<commit_before><!DOCTYPE html>
<html <%= rtl? ? "dir=rtl" : "" %>>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <% before = content_for?(:before_title) ? yield(:before_title) : '' %>
    <% after = content_for?(:after_title) ? yield(:after_title) : '' %>
    <title><%=  "#{before}#{Figaro.env.dashboard_title}#{after}" %></title>

    <%= logo_favicon_tag %>

    <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Myapp" %>">

    <%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', media: 'all' %>
    <%= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Droid+Serif', media: 'all' %>
    <%= stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Roboto:300,400,500', media: 'all' %>
    <%= stylesheet_link_tag fingerprinted("/stylesheets/#{rtl? ? 'rtl/' : nil}", 'main.css'), media: 'all' %>
    <%= javascript_include_tag '/javascripts/i18n' %>
    <%= javascript_include_tag '/javascripts/i18n/' + I18n.locale.to_s %>
    <script type="text/javascript">
      I18n.defaultLocale = "<%= I18n.default_locale %>";
      I18n.locale = "<%= I18n.locale %>";
    </script>

    <%= javascript_include_tag '/javascripts/vendor.js' %>

    <%= javascript_include_tag fingerprinted('/javascripts/', 'main.js') %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <div>
      <aside>
        <div class="container">
          <div class="logo">
            <a class="logo__link" href="/"><%= logo_tag %></a>
          </div>
          <div class="home">
            <p>
              <%= link_to 'Home', root_url, class: 'inline' %>
              <%= link_to 'FAQ', 'http://wikiedu.org/dashboard-faq/', class: 'inline', target: '_blank' %>
              <% if current_user && current_user.admin? %>
                <%= link_to 'Recent Activity', '/recent-activity', class: 'inline' %>
              <% end %>
            </p>
          </div>
          <div class="login">
            <% if user_signed_in? %>
              <p><b><%= link_to current_user.wiki_id, :root, class: 'inline' %></b>.&nbsp;&nbsp;&nbsp;<%= link_to "Log Out", :destroy_user_session %></p>
            <% else %>
              <p><%= link_to "Login / Sign Up", user_omniauth_authorize_path(:mediawiki) %></p>
            <% end %>
          </div>
        </div>
      </aside>
      <main role="main" id="main" data-user-id=<%= current_user.try(:id) %>>
        <%= yield %>
      </main>
    </div>
    <%= piwik_tracking_tag %>
  </body>
</html>
<commit_msg>reinstate raven logging<commit_after><!DOCTYPE html>
<html <%= rtl? ? "dir=rtl" : "" %>>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <% before = content_for?(:before_title) ? yield(:before_title) : '' %>
    <% after = content_for?(:after_title) ? yield(:after_title) : '' %>
    <title><%=  "#{before}#{Figaro.env.dashboard_title}#{after}" %></title>

    <%= logo_favicon_tag %>

    <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Myapp" %>">

    <%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', media: 'all' %>
    <%= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Droid+Serif', media: 'all' %>
    <%= stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Roboto:300,400,500', media: 'all' %>
    <%= stylesheet_link_tag fingerprinted("/stylesheets/#{rtl? ? 'rtl/' : nil}", 'main.css'), media: 'all' %>
    <%= javascript_include_tag '/javascripts/i18n' %>
    <%= javascript_include_tag '/javascripts/i18n/' + I18n.locale.to_s %>
    <script type="text/javascript">
      I18n.defaultLocale = "<%= I18n.default_locale %>";
      I18n.locale = "<%= I18n.locale %>";
    </script>

    <%= javascript_include_tag '/javascripts/vendor.js' %>

    <!-- Temporary Raven logging -->
    <script src="//cdn.ravenjs.com/1.1.19/jquery,native/raven.min.js"></script>
    <script>Raven.config("<%= ENV['sentry_public_dsn'] %>").install();</script>

    <%= javascript_include_tag fingerprinted('/javascripts/', 'main.js') %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <div>
      <aside>
        <div class="container">
          <div class="logo">
            <a class="logo__link" href="/"><%= logo_tag %></a>
          </div>
          <div class="home">
            <p>
              <%= link_to 'Home', root_url, class: 'inline' %>
              <%= link_to 'FAQ', 'http://wikiedu.org/dashboard-faq/', class: 'inline', target: '_blank' %>
              <% if current_user && current_user.admin? %>
                <%= link_to 'Recent Activity', '/recent-activity', class: 'inline' %>
              <% end %>
            </p>
          </div>
          <div class="login">
            <% if user_signed_in? %>
              <p><b><%= link_to current_user.wiki_id, :root, class: 'inline' %></b>.&nbsp;&nbsp;&nbsp;<%= link_to "Log Out", :destroy_user_session %></p>
            <% else %>
              <p><%= link_to "Login / Sign Up", user_omniauth_authorize_path(:mediawiki) %></p>
            <% end %>
          </div>
        </div>
      </aside>
      <main role="main" id="main" data-user-id=<%= current_user.try(:id) %>>
        <%= yield %>
      </main>
    </div>
    <%= piwik_tracking_tag %>
  </body>
</html>

{'fraction_non_alphanumeric': 0.21074226035061544, 'fraction_numerical': 0.011189854531891086, 'mean_word_length': 2.784756527875794, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 147, 'https://': 2, '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': '3732081', 'n_tokens_mistral': 2027, 'n_tokens_neox': 1821, 'n_words': 296}