Closed Bug 361714 Opened 18 years ago Closed 18 years ago

Change user.js tips to about:config

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cilias, Assigned: cilias)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Now that bug 361623 is fixed, and we have an about:config tutorial on the support site, we should change each instance in which the user is instructed to add a line to their user.js, so that they are instructed to use about:config instead. Looks like the Firefox FAQ doesn't have any; so this only applies to the Tips & Tricks page.
Whoops. I referenced the wrong bug in the summary. :-) Should be say bug 357349.
While I understand that the preferred way of editing prefs.js is through about:config, user.js does have its utility for those of us who have had to install Fx/Moz/SM/Tb on multiple machines, since it provides a simple way in which to keep track of prefs that aren't exposed in the UI. Indeed, there is at least one pref that can only be properly edited either directly through prefs.js or by using user.js: |user_pref("mailnews.reply_header_colon", ": \n");|. Might I suggest that it might be worthwhile to include some indication of the existence of user.js and its possible utility?
Brian, mailnews.reply_header_colon does not apply to Firefox. I think we'll keep the user.js tutorial anyway. The reason for changing instructions is so we don't confuse users, by giving them more than one method to accomplish the same goal. It may be okay for troubleshooting, but not for tips/tricks. If we change the tips to about:config, without removing the user.js instructional, we're still fixing the problem. I was working on the patch for this and came across <http://www.mozilla.org/support/firefox/tips#beh_bookmarks>. Using about:config, the double backslashes aren't needed; but there's a note about using the pref on dual-boot systems. If the user uses about:config to add the pref, does anyone know if the pref will still work on a dual-boot?
Attached patch Draft using <em> class for prefs (obsolete) — Splinter Review
I figured, using about:config to change browser.bookmarks.file writes the value with two backslashes in the prefs.js, thus it probably works; so I changed that tip. There's an instance at <http://www.mozilla.org/support/firefox/tips#oth_usb>, which already references about:config, and uses the <var> tag. I changed that as well. I also used <tt> for pref values. There are a couple of instances (custom bookmarks and cache), in which the values are file paths. I feared that users may use the text that is actually there, rather than figuring out their own paths; so I added a note to each of those instances. There are a couple of obsolete items. I changed them too, and plan on filing another bug later, for removing them. Same goes for updating references to the old Options panel. For a preview, see <http://ilias.ca/bugs/361714/tips.htm>.
Attachment #247307 - Flags: review?(djst.mozilla)
Comment on attachment 247307 [details] [diff] [review] Draft using <em> class for prefs Got an email from David saying to use <var> instead of <em>.
Attachment #247307 - Attachment is obsolete: true
Attachment #247307 - Flags: review?(djst.mozilla)
New patch, using <var> for pref names. I also noticed an oddity in my last patch. The angle brackets in "Tools > Options" were convert to the proper "Tools &gt; Options". That must have been done automatically by HTML-Kit or Firefox. I tried to undo that for this patch. If David wants to change those, I would rather it be filed as a separate bug report. validator.w3.org doesn't report them as invalid.
Attachment #247364 - Flags: review?(djst.mozilla)
Comment on attachment 247364 [details] [diff] [review] Draft using <var> class for prefs The reason why the literal > is allowed is probably because of the HTML 4.01 doctype. The original code on texturizer.net/firefox used XHTML 1.0 strict. The patch looks good, let's check this in and see how people react to it.
Attachment #247364 - Flags: review?(djst.mozilla) → review+
/cvsroot/mozilla-org/html/support/firefox/tips.html,v <-- tips.html new revision: 1.26; previous revision: 1.25 done attachment 247364 [details] [diff] [review] checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: