<commit_before>{# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. -#}

{% extends "mozorg/base-resp.html" %}

{% block page_title %}{{ _('Mozilla License Headers') }}{% endblock %}

{% block page_desc %}{{ _('Mozilla License Headers') }}{% endblock %}

{% block page_css %}
  {{ css_bundle('mpl') }}
{% endblock %}

{% block content %}

<div id="main-content">
  <h1>Mozilla License Headers</h1>

  <section>
    <p>This page gives copy-and-pasteable license headers for Mozilla code. When adding license headers to new files to be checked in to the Mozilla source tree, always use the appropriate one of the following.</p>
    <h2>MPL 2</h2>
    <p>This license must be used for all new code, unless the containing project, module or externally-imported codebase uses a different license. If you can't put a header in the file due to its structure, please put it in a LICENSE file in the same directory.</p>
<pre id="mpl-c">
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
</pre>
<pre id="mpl-python">
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
</pre>
<pre id="mpl-html">
&lt;!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. --&gt;
</pre>
<pre id="mpl-text">
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
</pre>
  </section>

  <section>
    <h2>Public Domain</h2>
    <p>This license can be used for test scripts and other short code snippets, at the discretion of the author.</p>
<pre id="pd-c">
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */
</pre>
<pre id="pd-python">
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
</pre>
<pre id="pd-html">
&lt;!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ --&gt;
</pre>
<pre id="pd-text">
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
</pre>
    <p>Licensing questions? Ask in <a href="{{ url('mozorg.about.forums.forums') }}#legal">mozilla.legal</a>.</p>
  </section>
</div>
{% endblock %}<commit_msg>Use HTTPS for links to licenses<commit_after>{# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/. -#}

{% extends "mozorg/base-resp.html" %}

{% block page_title %}{{ _('Mozilla License Headers') }}{% endblock %}

{% block page_desc %}{{ _('Mozilla License Headers') }}{% endblock %}

{% block page_css %}
  {{ css_bundle('mpl') }}
{% endblock %}

{% block content %}

<div id="main-content">
  <h1>Mozilla License Headers</h1>

  <section>
    <p>This page gives copy-and-pasteable license headers for Mozilla code. When adding license headers to new files to be checked in to the Mozilla source tree, always use the appropriate one of the following.</p>
    <h2>MPL 2</h2>
    <p>This license must be used for all new code, unless the containing project, module or externally-imported codebase uses a different license. If you can't put a header in the file due to its structure, please put it in a LICENSE file in the same directory.</p>
<pre id="mpl-c">
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
</pre>
<pre id="mpl-python">
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
</pre>
<pre id="mpl-html">
&lt;!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at https://mozilla.org/MPL/2.0/. --&gt;
</pre>
<pre id="mpl-text">
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
</pre>
  </section>

  <section>
    <h2>Public Domain</h2>
    <p>This license can be used for test scripts and other short code snippets, at the discretion of the author.</p>
<pre id="pd-c">
/* Any copyright is dedicated to the Public Domain.
 * https://creativecommons.org/publicdomain/zero/1.0/ */
</pre>
<pre id="pd-python">
# Any copyright is dedicated to the Public Domain.
# https://creativecommons.org/publicdomain/zero/1.0/
</pre>
<pre id="pd-html">
&lt;!-- Any copyright is dedicated to the Public Domain.
   - https://creativecommons.org/publicdomain/zero/1.0/ --&gt;
</pre>
<pre id="pd-text">
Any copyright is dedicated to the Public Domain.
https://creativecommons.org/publicdomain/zero/1.0/
</pre>
    <p>Licensing questions? Ask in <a href="{{ url('mozorg.about.forums.forums') }}#legal">mozilla.legal</a>.</p>
  </section>
</div>
{% endblock %}
{'fraction_non_alphanumeric': 0.13482752582735072, 'fraction_numerical': 0.01225704780248643, 'mean_word_length': 3.5916398713826365, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 9, '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': '1559065', 'n_tokens_mistral': 1903, 'n_tokens_neox': 1788, 'n_words': 755}