mozilla

Revision 44710 of Template:ReleaseChannelInfo

  • Revision slug: Template:ReleaseChannelInfo
  • Revision title: Template:ReleaseChannelInfo
  • Revision id: 44710
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment one or more formatting changes
Tags: 

Revision Content

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

var u = uri.parts(Page.uri);
var lang = string.tolower(u.path[0]);
if (string.contains(lang, "project") || string.contains(lang, "Project")) {
  lang = string.substr(lang, 8);
}
/* fall back to page.language on a user page */
else if (string.StartsWith(lang, "user:")) {
 lang = page.language;
}

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("ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-" + $3, "currently available") + " on the " + string.ToUpperFirst($3) + " channel.

"); web.html("
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 u = uri.parts(Page.uri);
var lang = string.tolower(u.path[0]);
if (string.contains(lang, "project") || string.contains(lang, "Project")) {
  lang = string.substr(lang, 8);
}
/* fall back to page.language on a user page */
else if (string.StartsWith(lang, "user:")) {
 lang = page.language;
}

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("ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-" + $3, "currently available") + " on the " + string.ToUpperFirst($3) + " channel.</p>");
web.html("<div class="note"><strong>Note:</strong> 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 + ".</div>");

%>