<commit_before><!DOCTYPE html>
<html>

<head>
  <meta charset=utf8>
  <meta name="viewport" id="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
  <script src="resources/lib/codemirror/lib/codemirror.js"></script>
  <link rel=stylesheet href="resources/lib/codemirror/lib/codemirror.css">
  <script src="resources/mode/mediawiki/mediawiki.js"></script>
  <link rel=stylesheet href="resources/mode/mediawiki/mediawiki.css">
  <style>
    body {
      margin: 0;
    }
    .CodeMirror {
      height: 100%;
      width: 100%;
      box-sizing: border-box;
      font-family: Menlo, Monaco, monospace;
    }
  </style>
</head>

<body>

  <!--TODO: load config by lang as needed-->
  <script>
  let config
  </script>
  <script src="codemirror-config.js" ></script>


  <script>

    let editor
    
    let codeMirrorSettings = {
      mwConfig: config,
      lineWrapping: true,
      lineNumbers: true,
      mode: "text/mediawiki",
      matchBrackets: true,<commit_msg>SF UI for cotnent, monspaced template names, black text for template content, adjust line height<commit_after><!DOCTYPE html>
<html>

<head>
  <meta charset=utf8>
  <meta name="viewport" id="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
  <script src="resources/lib/codemirror/lib/codemirror.js"></script>
  <link rel=stylesheet href="resources/lib/codemirror/lib/codemirror.css">
  <script src="resources/mode/mediawiki/mediawiki.js"></script>
  <link rel=stylesheet href="resources/mode/mediawiki/mediawiki.css">
  <style>
    body {
      margin: 0;
    }
    .CodeMirror {
      height: 100%;
      width: 100%;
      box-sizing: border-box;
      font-family: -apple-system, sans-serif;
      line-height: 1.5em;
    }
    .cm-mw-template {
      color: #000;
    }
    .cm-mw-template-name, .cm-mw-template-name-mnemonic, .cm-mw-template-argument-name, .cm-mw-template-delimiter, .cm-mw-template-bracket {
      font-family: Menlo, Monaco, monospace; line-height: 1.25em;
    }
  </style>
</head>

<body>

  <!--TODO: load config by lang as needed-->
  <script>
  let config
  </script>
  <script src="codemirror-config.js" ></script>


  <script>

    let editor
    
    let codeMirrorSettings = {
      mwConfig: config,
      lineWrapping: true,
      lineNumbers: true,
      mode: "text/mediawiki",
      matchBrackets: true,
{'fraction_non_alphanumeric': 0.15046491969568893, 'fraction_numerical': 0.011834319526627219, 'mean_word_length': 3.130890052356021, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '6962045', 'n_tokens_mistral': 875, 'n_tokens_neox': 824, 'n_words': 166}