Closed
Bug 236942
Opened 20 years ago
Closed 20 years ago
Clean up code and add style with helpFileLayout.css in help files
Categories
(Documentation Graveyard :: Help Viewer, defect)
Documentation Graveyard
Help Viewer
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stefanh, Assigned: stefanh)
Details
Attachments
(11 files, 7 obsolete files)
36.04 KB,
patch
|
rjkeller
:
review+
|
Details | Diff | Splinter Review |
95.28 KB,
patch
|
rjkeller
:
review+
|
Details | Diff | Splinter Review |
144.06 KB,
patch
|
rjkeller
:
review+
|
Details | Diff | Splinter Review |
12.40 KB,
patch
|
Details | Diff | Splinter Review | |
29.50 KB,
patch
|
rjkeller
:
review+
|
Details | Diff | Splinter Review |
82.97 KB,
patch
|
rjkeller
:
review+
|
Details | Diff | Splinter Review |
52.77 KB,
patch
|
rjkeller
:
review+
|
Details | Diff | Splinter Review |
23.02 KB,
patch
|
rjkeller
:
review+
|
Details | Diff | Splinter Review |
42.84 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
42.84 KB,
patch
|
Details | Diff | Splinter Review | |
20.15 KB,
patch
|
Details | Diff | Splinter Review |
Spun-off from bug 235989. Need to (where applicable): * clean up the code in the html files * add style with helpFileLayout.css instead of content_style.css in the html files * clean up structure a bit
Assignee | ||
Comment 1•20 years ago
|
||
Per discussion on irc with rj_kellr: I will convert the html help files to xhtml. Hope it's possible to make them all valid xhtml. target="blank" might be a problem... Some work have alredy been done in bug 95770. I wonder if this bug should be dependent of bug 95770?
Comment 2•20 years ago
|
||
There's already a bug on making external links open in a new window without using target="_blank" somewhere...
Comment 3•20 years ago
|
||
Following on from bug 238267 comment 6 (setting bgcolor and bordercolor attributes in xhtml files), I'd like to add a pointer to the changes I made for the en-GB language pack, which you may want to adopt. <http://www.users.madasafish.com/~tyndall/unready/help.zip> (9kB) (Unfortunately I don't have access to a server which knows about .xhtml or allows modification by .htaccess, or I'd give a pointer to a live demo.) What happens: I rewrote the pages so that the tables are given class="stripe"; then a short piece of Javascript walks through the DOM, finds such tables and assigns a class of "even" to every other tr. .stripe and .even are then appropriately defined in css. Oh, I also changed the table headings into <th>s and styled those appropriately (if you're American, I also misspelt Center). Please feel free to use, modify or criticise as appropriate.
Assignee | ||
Comment 4•20 years ago
|
||
This patch fixes the following things: cs_priv_prefs_popup.html --> cs_priv_prefs_popup.xhtml glossary.html --> glossary.xhtml. The glossary is now in a <dl> and all the anchors are in lower-case. Also found some "--" which I changed to "—" forieusers.html --> forieusers.xhtml Some new styles added in helpFileLayout.css. Did add some padding to the <h2>:s too, so the top border doesn't touch the headings. This patch also fixes the invalid bgcolor (etc) stuff in the shortcuts files and applies a new style to all the tables in the help files with css. The patch will also fix bug 225108 -"Typo in the keyboard shortcuts help section" and parts of bug 235989. The xhtml files are either valid xhtml 1.1 or xhtml Transitional (since the target module isn't included in xhtml 1.1 files with target = "blank" in the code will be in xhtml Transitional) Patches that fix all changed/removed links and anchors will follow
Assignee | ||
Comment 5•20 years ago
|
||
New patch - looks like I'll have to use Unix linebreaks in my files to make it work 100%
Attachment #145879 -
Attachment is obsolete: true
Assignee | ||
Comment 6•20 years ago
|
||
Assignee | ||
Comment 7•20 years ago
|
||
Updated links in the other help files. Also made some other corrections: There where some links to glossary.html with wrong anchors: certificate_authority_(CA) doesn't exist and "p3p" should point to "platform_for_privacy_preferences. Found some old links to mail_help.html as well - now changed to mail_help.xhtml
Assignee | ||
Comment 8•20 years ago
|
||
Fixed a few errors in the last patch
Attachment #145890 -
Attachment is obsolete: true
Assignee | ||
Comment 9•20 years ago
|
||
Sigh, I knew i missed something. This version has the correct path to the stylesheet.
Attachment #145883 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #145903 -
Flags: review?(rlk)
Assignee | ||
Updated•20 years ago
|
Attachment #145898 -
Flags: review?(rlk)
Assignee | ||
Updated•20 years ago
|
Attachment #145888 -
Flags: review?(rlk)
Comment 10•20 years ago
|
||
Stefan: your patch for forieusers.xhtml doesn't apply. Can you repost only that file diff'ed please? The rest of the patches are fine. Thanks!
Comment 11•20 years ago
|
||
Comment on attachment 145903 [details] [diff] [review] New version of patch for shortcuts files, cs_priv_prefs_popup, glossary, forieusers and css file > +table { border-collapse: collapse; border: 1px solid grey; width: 100%; } > + > +td { border: 1px solid grey; padding: 4px; } This (in helpFileLayout.css) breaks the welcome page. You need to modify the welcome page or else a border will appear around the table on that page making it look very bad.
Attachment #145903 -
Flags: review?(rlk) → review-
Comment 12•20 years ago
|
||
(In reply to comment #11) > (From update of attachment 145903 [details] [diff] [review]) > > +table { border-collapse: collapse; border: 1px solid grey; width: 100%; } > > + > > +td { border: 1px solid grey; padding: 4px; } > > This (in helpFileLayout.css) breaks the welcome page. You need to modify the > welcome page or else a border will appear around the table on that page making > it look very bad. > Actually, this messes up a lot of the help pages. I recommend making a class for this and using that class to style tables you want to have borders. This adds borders to way to many tables that shouldn't have any.
Assignee | ||
Comment 13•20 years ago
|
||
This patch adresses the messed up tables - sorry about that - for some reason I assumed that there wasn't any more tables. This patch is the same as the previous one except for the necessary style changes in the css file/help files. I made a new diff of all the files in the patch, so hopefully forieusers.xhtml will work now.
Attachment #145903 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #146200 -
Flags: review?(rlk)
Comment 14•20 years ago
|
||
Comment on attachment 145888 [details] [diff] [review] Changes in help-glossary.rdf, help-index1.rdf, help-toc.rdf and jar.mn r=rlk@trfenv.com, looks good but can't give review for the last patch because for ie users won't apply. Not sure what the problem is. Make sure you're not using an old cvs commit. Most of these files were modified so the line numbers of the patch were off, but For IE Users's canges were too large for the patch to apply.
Attachment #145888 -
Flags: review?(rlk) → review+
Updated•20 years ago
|
Attachment #145898 -
Flags: review?(rlk) → review+
Assignee | ||
Comment 15•20 years ago
|
||
Thanks for the review! Hmm, not sure what happened with forieusers either. I did the last changes (2 april)... I'll try to attach a new diff for just that file. Not sure what to do if that wont help, though.
Assignee | ||
Comment 16•20 years ago
|
||
OK, here's a diff for just forieusers.xhtml. Haven't really done anything more than just created another diff so this might not work.
Comment 17•20 years ago
|
||
stefan_h: Can you email me this file? The patch still won't apply. Thanks
Updated•20 years ago
|
Attachment #146200 -
Flags: review?(rlk) → review+
Assignee | ||
Comment 18•20 years ago
|
||
This patch converts privacy_help.html to xhtml. Changes in help-index1.rdf, help-toc.rdf, jar.mn and updated links/anchors in using_priv_help (only one file!) are included. Fixed some "--" and dead anchors (now removed) in privacy_help as well. Some anchors near the end of the file where obviously in the wrong place: "#browsing_anonymouslyIDX" is now <h2 id="how_can_i_make_sure_unauthorized_..." "#privacy:IP_addressIDX" is now "<h3 id="internet_address">
Assignee | ||
Updated•20 years ago
|
Attachment #146709 -
Flags: review?(rlk)
Updated•20 years ago
|
Attachment #146709 -
Flags: review?(rlk) → review+
Assignee | ||
Comment 19•20 years ago
|
||
Keller: if you have the time - can you do the check-in of the patch?
Comment 20•20 years ago
|
||
Fixed checked in, but the log message says the wrong bug :P, so don't think it isn't checked in by looking at the cvs logs.
Assignee | ||
Comment 21•20 years ago
|
||
> Fixed checked in, but the log message says the wrong bug :P, so don't think it
> isn't checked in by looking at the cvs logs.
Thx! BTW: you can remove the old privacy_help.html from the directory.
Assignee | ||
Comment 22•20 years ago
|
||
This patch converts mail_sec_help.html to xhtml. Changes in jar.mn, help-index.rdf, help-toc.rdf and help files that had links to mail_sec_help are included. This patch also cleans up mail_help.xhtml a bit: - added the default style to the disclaimer - removed the whitespaces around "Return to beginning of section" - removed <hr>:s - removed the date at the bottom of the document and changed the years in the copyright to the correct interval
Assignee | ||
Updated•20 years ago
|
Attachment #147001 -
Flags: review?(rlk)
Comment 23•20 years ago
|
||
Comment on attachment 147001 [details] [diff] [review] Patch 3: mail_sec_help.html --> mail_sec_help.xhtml stefan_h: Do you have a perl script or something like that that you do these with? It used to take me FOREVER to get these done, but you're spitting them out in hours!
Attachment #147001 -
Flags: review?(rlk) → review+
Assignee | ||
Comment 24•20 years ago
|
||
> stefan_h: Do you have a perl script or something like that that you do these
> with? It used to take me FOREVER to get these done, but you're spitting them
> out in hours!
Heh, they're mostly hand-coded :) BTW, found some <span id="ui"> in
mail_help.xhtml that i think we can remove right away - it's just a section of
the file. Looks a bit odd. I'll attach a new diff for just mail_help.xhtml so
you can take a look.
Assignee | ||
Comment 25•20 years ago
|
||
After talking to Keller on irc - the spans should be there.
Comment 26•20 years ago
|
||
Patch 3 checked in! Sorry for the wait. I was having CVS problems.
Assignee | ||
Comment 27•20 years ago
|
||
Complete patch for the conversion of certs_help.html to xhtml. Notice that the file now has a <h1> as a "top" heading. If you look at the TOC:s and sub-TOC:s in the Help viewer that <h1> should be a <h3>... The file shouldn't really have a "In this section" either... But I think it's better to leave that until we have all the files in the xhtml format.
Assignee | ||
Updated•20 years ago
|
Attachment #147347 -
Flags: review?(rlk)
Assignee | ||
Comment 28•20 years ago
|
||
If you look at the TOC:s and sub-TOC:s
> in the Help viewer that <h1> should be a <h3>... The file shouldn't really have
> a "In this section" either... But I think it's better to leave that until we
> have all the files in the xhtml format.
Keller: If you have any suggestions on how to deal with this in a better way
(than just leaving the sub-TOC:s and changing headings so there always will be
at least one <h1> per file) - please add a comment.
Assignee | ||
Comment 29•20 years ago
|
||
Sigh... forget to change Mozilla to &brandShortName. Sorry for all the bugspam.
Attachment #147347 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #147347 -
Flags: review?(rlk)
Assignee | ||
Updated•20 years ago
|
Attachment #147384 -
Flags: review?(rlk)
Comment 30•20 years ago
|
||
Comment on attachment 147384 [details] [diff] [review] Correct version of Patch 4 looks good! Fix checked in.
Attachment #147384 -
Flags: review?(rlk) → review+
Assignee | ||
Comment 31•20 years ago
|
||
Thx for the check-in! Here's a complete patch for the conversion of help_help.html. Did some small changes to the text about printing since I wanted the print button image to line up vertically with the image of the navigation buttons. Looks also more consistent with the image before the list. Removed all the whitespaces, added some — etc etc. Oh, added the Search Tips to the "In this section". Also added the copyright line to welcome_help.xhtml and changed the Doctype to xhtml Transitional - that's not a valid xhtml 1.1 file.
Assignee | ||
Comment 32•20 years ago
|
||
Comment on attachment 147409 [details] [diff] [review] Patch 5: help_help.html --> help_help.xhtml BTW, my indentation isn't really consistent. Just started to indent the lists in a more correct way.
Attachment #147409 -
Flags: review?(rlk)
Comment 33•20 years ago
|
||
Comment on attachment 147409 [details] [diff] [review] Patch 5: help_help.html --> help_help.xhtml I thought I told you, but maybe I forgot, but I got my own special plans for help on help documentation. Sorry :(. I should've remembered to tell you!
Assignee | ||
Comment 34•20 years ago
|
||
Patch for the conversion of ssl_help.html to xhtml. Interestingly, this link in help-index1.rdf didn't exist in ssl_help:"ssl_help.html#SSLIDX". That is now changed to "ssl_help.xhtml". Fixed a typo (Important note re TLS --> Important note regarding TLS) and removed the sub-level "In this section".
Attachment #147409 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #147511 -
Flags: review?(rlk)
Comment 35•20 years ago
|
||
Comment on attachment 147511 [details] [diff] [review] Patch 5b: ssl_help.html --> ssl_help.xhtml Looks good! r=me, and your fix is checked in!
Attachment #147511 -
Flags: review?(rlk) → review+
Updated•20 years ago
|
Attachment #147409 -
Flags: review?(rlk)
Assignee | ||
Comment 36•20 years ago
|
||
Patch that converts page_info_help.html to xhtml. Found two dead anchors in help-index1.rdf: line 1714 -- nc:link="page_info_help.html#privacy:P3P_standard_andIDX"/> line 1734 -- nc:link="page_info_help.html#privacy:viewing_site_policyIDX"/> They were simply changed to "page_info_help.xhtml"
Assignee | ||
Updated•20 years ago
|
Attachment #147744 -
Flags: review?(rlk)
Assignee | ||
Comment 37•20 years ago
|
||
Updated Patch 6 with some more files: profiles_help and privsec_help. So, this new version of the patch also converts these files to xhtml.
Assignee | ||
Updated•20 years ago
|
Attachment #147744 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #147744 -
Flags: review?(rlk)
Assignee | ||
Updated•20 years ago
|
Attachment #148232 -
Flags: review?(rlk)
Comment 38•20 years ago
|
||
Comment on attachment 148232 [details] [diff] [review] New version of Patch 6 including fix for profiles_help and privsec_help Neil, can you take this review? Thanks!
Attachment #148232 -
Flags: review?(rlk) → review?(neil.parkwaycc.co.uk)
Comment 39•20 years ago
|
||
Comment on attachment 148232 [details] [diff] [review] New version of Patch 6 including fix for profiles_help and privsec_help You need to fix the index entry for P -> profile -> deleting a profile to display the right section, and the link from Privacy and Security to Validation.
Attachment #148232 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Comment 40•20 years ago
|
||
(In reply to comment #39) > (From update of attachment 148232 [details] [diff] [review]) > You need to fix the index entry for P -> profile -> deleting a profile to > display the right section Hmm, I'm not sure I follow you on this one. Deleting a profile is in the same section as renaming a profile. If you want the index entry for "deleting a profile" to display just the section that starts with "To delete a profile..." we'll miss the intro on how to open the profile manager.
Comment 41•20 years ago
|
||
Doesn't the link from Contents already do that?
Assignee | ||
Comment 42•20 years ago
|
||
Shouldn't P --> Profile --> deleting a profile display "Deleting or renaming a profile" (it is now)? Or is the problem that "Deleting or renaming a profile" doesn't displays at all?
Comment 43•20 years ago
|
||
(In reply to comment #42) >Shouldn't P --> Profile --> deleting a profile display "Deleting or renaming a >profile" (it is now)? Or is the problem that "Deleting or renaming a profile" >doesn't displays at all? After the patch it doesn't display what it displayed before the patch.
Assignee | ||
Comment 44•20 years ago
|
||
Ah, I got it - a typo...
Assignee | ||
Comment 45•20 years ago
|
||
This is the same diff as the previous, except for the above changes (two lines edited).
Assignee | ||
Comment 46•20 years ago
|
||
This diff includes the changes made in bug 90894.
Comment 47•20 years ago
|
||
Stefan, you've forgotten to change the <i> tag to <em> in those two files : cert_help.xhtml, glossary.xhtml. ssl_help, privacy_help, mail_sec_help, forieusers and cs_priv_prefs_popup aren't affected. I don't know for other xhtml files.
Comment 48•20 years ago
|
||
I checked in attachment 150754 [details] [diff] [review] except for page_info_help.xhtml for which I used attachment 150761 [details] [diff] [review].
Assignee | ||
Comment 49•20 years ago
|
||
Keller, can you remove the obsolete html files?
Assignee | ||
Comment 50•20 years ago
|
||
(In reply to comment #47) > Stefan, you've forgotten to change the <i> tag to <em> in those two files : > cert_help.xhtml, glossary.xhtml. > > ssl_help, privacy_help, mail_sec_help, forieusers and cs_priv_prefs_popup aren't > affected. > > I don't know for other xhtml files. Ah, thx Frédéric! If you find more errors please post them in here. I'll be attaching my xhtml conversion patches in bug 95770 from now on.
Assignee | ||
Comment 51•20 years ago
|
||
> Stefan, you've forgotten to change the <i> tag to <em> in those two files : > cert_help.xhtml, glossary.xhtml. The <em> tags in these two files are fixed in attachment #151759 [details] [diff] [review] in bug 95770.
Comment 52•20 years ago
|
||
Can this bug be resolved/fixed now that all the help files are moved to xhtml format?
Assignee | ||
Comment 53•20 years ago
|
||
(In reply to comment #52) > Can this bug be resolved/fixed now that all the help files are moved to xhtml > format? Yes :) The remaining issues in the xhtml files will be fixed a separate bug.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 54•20 years ago
|
||
Would you please add me to the CC list of that bug please? TIA, Giacomo. :)
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•