mozilla

Revision 238021 of Template:ReleaseChannelInfo

  • Revision slug: Template:ReleaseChannelInfo
  • Revision title: Template:ReleaseChannelInfo
  • Revision id: 238021
  • Created:
  • Creator: markg
  • Is current revision? No
  • Comment
Tags: 

Revision Content

/* parameters: Firefox version, Gecko version, target release date, channel name */
/* get the page language */

var lang = env.locale;

var url = "";

switch(string.tolower($3)) {
  case 'nightly':
  default:
    url = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/";
    break;
  case 'aurora':
    url = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/";
    break;
  case 'beta':
    url = "http://www.mozilla.com/en-US/firefox/channel/";
    break;
}

web.html("

Firefox " + $0 + ", based on Gecko " + $1 + ", will ship in " + $2 + ". This article provides information about the changes in this release that will affect developers. Nightly builds of what will become Firefox " + $0 + " are " + web.link(url, "currently available") + " on the " + string.ToUpperFirst($3) + " channel.

");
Note: Items listed here are tentatively slated for Firefox $0; however, they may be held for a future release if testing shows they're not ready by the time Firefox $0 is due to ship. Please keep an eye on this page to stay up to date on the plans for Firefox $0.

Revision Source

<pre class="script">
/* parameters: Firefox version, Gecko version, target release date, channel name */
/* get the page language */

var lang = env.locale;

var url = "";

switch(string.tolower($3)) {
  case 'nightly':
  default:
    url = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/";
    break;
  case 'aurora':
    url = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/";
    break;
  case 'beta':
    url = "http://www.mozilla.com/en-US/firefox/channel/";
    break;
}

web.html("<p>Firefox " + $0 + ", based on Gecko " + $1 + ", will ship in " + $2 + ". This article provides information about the changes in this release that will affect developers. Nightly builds of what will become Firefox " + $0 + " are " + web.link(url, "currently available") + " on the " + string.ToUpperFirst($3) + " channel.</p>");
</pre>
<div class="note"><strong>Note:</strong> Items listed here are tentatively slated for Firefox <span class="script">$0</span>; however, they may be held for a future release if testing shows they're not ready by the time Firefox <span class="script">$0</span> is due to ship. Please keep an eye on this page to stay up to date on the plans for Firefox <span class="script">$0</span>.</div>