MIT X11 License

version 1/101023 by Massachusetts Institute of Technology

  • Home page
  • Beginning



  • Documentation

    This extension is designed to make it easy to release your Inform 7 work under the MIT X11 License,
    sometimes known informally as the "MIT license". It is based on the information found at:

        http://en.wikipedia.org/wiki/MIT_license

    as of May 25, 2010.

    This extension implements two commands:

        "license" - which displays the MIT X11 License, including a copyright notice but excluding warranty information
        "warranty" - which displays the warranty defined with the MIT X11 License

    It also includes rules to display both the license and warranty automatically when play begins.

    This extension offers customization of its function as follows:

        * The copyright notice displayed automatically includes the copyright year based on either the I7 'story creation
        year' variable (defined as part of bibliographic data) or the 'copyright year string' text provided in this extension.
        If both of these variables are left undefined, the compilation year will be used as the basis for determining the
        copyright year, and a warning will be printed at the start of a non-release build using this extension to notify the
        author. If both variables are defined, the 'copyright year string' will be displayed.

        * The copyright holder of a work may not be the same as the author. This extension includes a variable called
        'copyright holder' that the author may set explicitly, to have entities other than the author shown as the
        copyright holder in the copyright notice. If this variable is left undefined, a rule in the extension will set it to
        the story author by default, and a warning will be printed at the start of a non-release build using this extension
        to remind the author.

        * For authors who don't want to set the above variables but also don't want to see the warnings, a truth state
        variable called 'suppress X11 license warnings' is provided by the extension. If the author sets this to true in
        the story source, these warnings will not be shown even in a non-release build.