Confirmed users
704
edits
m (→Variables: clarifying) |
|||
(20 intermediate revisions by 3 users not shown) | |||
Line 15: | Line 15: | ||
|- valign="top" | |- valign="top" | ||
| '''addons.mozilla.org:''' | | '''addons.mozilla.org:''' | ||
| https://addons.mozilla.org | | https://addons.mozilla.org/addon/nightly-tester-tools | ||
|- valign="top" | |- valign="top" | ||
| '''Issues:''' | | '''Issues:''' | ||
Line 55: | Line 55: | ||
! Values | ! Values | ||
|- | |- | ||
| nightly. currChangeset | | '''nightly. currChangeset''' | ||
| String | | String | ||
| | | Automatically set at startup, see ${Changeset} [[#Variables|below]]. | ||
|- | |- | ||
| nightly. disableCheckCompatibility | | '''nightly. disableCheckCompatibility''' | ||
| Boolean | | Boolean | ||
| true: <br>false (default): Opposite of the above. | | true: Force add-on compatibility<br>false (default): Opposite of the above. | ||
|- | |- | ||
| nightly. idtitle | | '''nightly. idtitle''' | ||
| Boolean | | Boolean | ||
| true (default): <br> false: Opposite of the above. | | true (default): Use the custom title set by '''nightly. templates. title'''<br> false: Opposite of the above. | ||
|- | |- | ||
| nightly. prevChangeset | | '''nightly. prevChangeset''' | ||
| String | | String | ||
| | | | ||
|- | |- | ||
| nightly. templates. buildid | | '''nightly. templates. buildid''' | ||
| String | | String | ||
| Template for the string inserted by "Tools → Nightly Tester Tools → Copy Build ID to Clipboard" or "Tools → Nightly Tester Tools → Insert Build ID into Textbox". <br>Default: ${UserAgent} ID:${AppBuildID}${Flags} CSet: ${Changeset} | | Template for the string inserted by "Tools → Nightly Tester Tools → Copy Build ID to Clipboard" or "Tools → Nightly Tester Tools → Insert Build ID into Textbox". <br>Default: ${UserAgent} ID:${AppBuildID}${Flags} CSet: ${Changeset} | ||
|- | |- | ||
| nightly. templates. title | | '''nightly. templates. title''' | ||
| String | | String | ||
| Template for the window title. <br>Default: ${DefaultTitle} (Build ${AppBuildID}) | | Template for the window title. <br>Default: ${DefaultTitle} (Build ${AppBuildID})<br>'''Note:''' Used only if '''nightly. idtitle''' is on (which is the default). | ||
|} | |} | ||
==Variables== | ==Variables== | ||
{| border=4 | The following are for use when customizing '''nightly.templates.buildid''' and '''nightly.templates.title''' — they will be replaced at run-time by the appropriate string. | ||
! Name | {| border=4 width=100% | ||
! Value | ! width=10% | Name | ||
! Example | ! width=10% | Value | ||
! Explanation | ! width=50% | Example | ||
! width=30% | Explanation or Remarks | |||
|- | |- | ||
| ${DefaultTitle} | | ${DefaultTitle} | ||
Line 96: | Line 97: | ||
| MozillaWiki | | MozillaWiki | ||
| As set by the <tt><title></tt> of the current page | | As set by the <tt><title></tt> of the current page | ||
|- | |||
| ${TabGroup} | |||
| Current Tab Group | |||
| | |||
| Firefox only (and empty if you haven't set one). On SeaMonkey the value is "Undefined". | |||
|- | |- | ||
| ${AppId} | | ${AppId} | ||
Line 110: | Line 116: | ||
| Application Name | | Application Name | ||
| SeaMonkey | | SeaMonkey | ||
| | | For Firefox it is "Firefox"; compare with ${BrandName} below. | ||
|- | |- | ||
| ${Version} | | ${Version} | ||
| Application Version | | Application Version | ||
| 2. | | 2.20a1 | ||
| | | | ||
|- | |- | ||
| ${AppBuildID} | | ${AppBuildID} | ||
| Application Build Identifier | | Application Build Identifier | ||
| | | 20130421003001 | ||
| Datestamp, YYYYMMDDhhmmss | | Datestamp, YYYYMMDDhhmmss | ||
|- | |- | ||
| ${Changeset} | | ${Changeset} | ||
| | | Application built from that changeset | ||
| | | 1637ab8d5a01 | ||
| With SeaMonkey it is the '''comm-central''' (or comm-aurora, comm-beta, comm-release) changeset | | With SeaMonkey or Thunderbird it is the '''comm-central''' (or comm-aurora, comm-beta, comm-release) changeset. | ||
|- | |- | ||
| ${PlatformBuildID} | | ${PlatformBuildID} | ||
| XUL Platform Build Identifier | | XUL Platform Build Identifier | ||
| | | 20130421003001 | ||
| Same as ${AppBuildID} AFAICT | | Same as ${AppBuildID} AFAICT | ||
|- | |- | ||
| ${PlatformVersion} | | ${PlatformVersion} | ||
| XUL Platform Version | | XUL Platform Version | ||
| | | 23.0a1 | ||
| | | With SeaMonkey it is '''not''' the same as ${Version}. | ||
|- | |- | ||
| ${GeckoVersion} | | ${GeckoVersion} | ||
| Gecko Version | | Gecko Version | ||
| | | 23.0a1 | ||
| | | Same as ${PlatformVersion}. ''Deprecated.'' | ||
|- | |||
| ''${PlatformChangeset}'' | |||
| ''Platform built from that changeset'' | |||
| ''0d50cb959c46'' | |||
| ''Changeset for mozilla-central (or mozilla-aurora, mozilla-beta, mozilla-release). For Firefox, but not for Thunderbird or SeaMonkey, it is the same as ${Changeset} above.'' | |||
|- | |- | ||
| ${BrandName} | | ${BrandName} | ||
| Application Brand Name | | Application Brand Name | ||
| SeaMonkey | | SeaMonkey | ||
| I '''think''' that | | For Firefox-Nightly it is "Nightly", not "Firefox". I '''think''' that a similar distinction applies to Thunderbird-Daily. | ||
|- | |- | ||
| ${UserAgent} | | ${UserAgent} | ||
| User Agent String | | User Agent String | ||
| Mozilla/5.0 (X11; Linux x86_64; rv: | | Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20a1 | ||
| As | | As "User Agent" near the top of "Help → Troubleshooting Information". Also near the bottom of the about: page. | ||
|- | |- | ||
| ${Locale} | | ${Locale} | ||
Line 163: | Line 174: | ||
|- | |- | ||
| ${Processor} | | ${Processor} | ||
| Compilation Processor | | Compilation Processor | ||
| x86_64 | | x86_64 | ||
| | | i686 means 32-bit Intel | ||
|- | |- | ||
| ${Compiler} | | ${Compiler} | ||
Line 182: | Line 193: | ||
| | | | ||
|} | |} | ||
* The variables described ''in italics'' are not yet supported by Nightly Tester Tools 3.5; they are slated to appear in a future release. They are more subject to change than the rest: what appears above is what is currently planned for the next release. '''''Edit:''' At the moment (2014-02-01) they are supported by the "Development" version of the add-on but not by the "latest stable" version, both available at <tt>addons.mozilla.org</tt>.'' | |||
* The variables marked ''Deprecated'' are, well, deprecated. They may disappear at some indeterminate future time. | |||
* The first two depend on the page you are browsing; I showed what appeared on this wiki's [[Main Page]]. | * The first two depend on the page you are browsing; I showed what appeared on this wiki's [[Main Page]]. | ||
* All of these can be seen in the <tt>Tools → Nightly Tester Tools → Customize Titlebar</tt> dialog… if it is present in the current version of NTT on the current application. | * Many of these depend on your current browser or mailer version: I showed what appeared in the version of SeaMonkey with which I updated this table. | ||
* All of these can be seen in the <tt>Tools → Nightly Tester Tools → Customize Titlebar</tt> dialog… if it is present in the current version of NTT on the current application. I showed them in the same order as in that dialog, which is why they may seem unsorted. | |||
* In recent versions (at least in current trunk nightlies of SeaMonkey) <tt>${Changeset}</tt> and <tt>${PlatformChangeset}</tt> display the full 40-nybble changeset ID rather than the 12-nybble abbreviated value. I don't know when the change happened. AFAIK it happened in the app, not in the addon, since I'm still using NTT 3.7pre20131013. — [[User:Tonymec|Tonymec]] ([[User talk:Tonymec|talk]]) 16:38, 31 August 2015 (PDT) | |||
==Ideas== | ==Ideas== | ||
If you'd like to propose ideas on how to make the extension better, feel free to file a bug within [https:// | If you'd like to propose ideas on how to make the extension better, feel free to file a bug within [https://github.com/mozilla/nightlytt/issues/new this handy form]! | ||
We also have a [https:// | We also have a [https://github.com/mozilla/nightlytt/issues list of things to do] already filed that you can look through. |