License Boilerplate
This table contains preformatted versions of the boilerplate
text that goes at the top of files which are licensed under the
MPL/
LGPL/
GPL (the
preferred mozilla.org license for new Mozilla code) or
the MPL.
Please always use these templates when adding files to
the tree: they are carefully formatted so that future
updates to the boilerplate will be easy to make.
Usage
The usage of the license boilerplate text is as
follows:
- All new Mozilla files should use the
MPL/
LGPL/
GPL
tri-license unless you know of some specific
reason why they should not. In the latter case,
please ask in
netscape.public.mozilla.license before checking the
file into the codebase.
- Other projects, such as Bugzilla and other Web
tools, may be using the MPL only. Please use
the license your project is using in these cases.
- Binary files are covered by the same license as any
text files in that directory. If a certain directory
has a mixture of licenses, add a file called
COPYING explaining the situation.
- Use the "Save Link As..." feature in your browser
to download them.
- All ______ fields must be filled in with appropriate text.
- No sections of the boilerplate text may be removed
or changed.
- When changing a file, be sure to update its
Contributors section as
well as the years of copyright, if appropriate.
License Usage
|
.c, .cpp, .css, .h, .idl, .js, .java, .msg |
.sh, .pl, .mk, Makefile, makefile.win,
MANIFEST |
.in |
.html, .xml, .xul, .rdf, .dtd |
.txt |
|
MPL/
LGPL/
GPL
tri-license |
mpl-tri-license-c |
mpl-tri-license-sh |
mpl-tri-license-m4 |
mpl-tri-license-html |
mpl-tri-license-txt |
| MPL |
mpl-c |
mpl-sh |
mpl-m4 |
mpl-html |
mpl-txt |
Questions about license usage? Post to netscape.public.mozilla.license
. See our community page for
more information about this and other mozilla.org forums.