Issue Details (XML | Word | Printable)

Key: MDL-9890
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Nick Freear
Reporter: Nick Freear
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Help should be well-formed, XHTML Strict and semantic

Created: 22/May/07 06:12 PM   Updated: 11/Apr/08 06:05 AM
Return to search
Component/s: Accessibility
Affects Version/s: 1.8, 1.8.1, 1.9
Fix Version/s: 1.8.4, 1.9

File Attachments: 1. File patch-MDL-9890-help_access_partb.diff (12 kB)
2. File patch-MDL-9890-help_access_partc22.diff (86 kB)
3. File patch-MDL-9890-help_access_v2.diff (56 kB)
4. File patch-MDL-9890-help_access_v31.diff (131 kB)

Environment:
Issue Links:
Blockers
 
Relates

URL: http://moodle.org/help.php?file=index.html
Participants: Nick Freear and Nicolas Martignoni
Security Level: None
QA Assignee: Nicolas Martignoni
Resolved date: 10/Jan/08
Affected Branches: MOODLE_18_STABLE, MOODLE_19_STABLE
Fixed Branches: MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
Following on from bug MDL-7861 "Strict XHTML 1.0", I am building up a patch to fix stray ampersands, poor semantics, etc. in help HTML files (lang/en_utf8/help/*). This is what I'm tackling:

1 Well-formed XML
    - Stray ampersands, regular expression /&[^a^l^g^q^n^#]/ (Not perfect, but a start). Specific searches &file, &bug, &mod.

2 Semantics
    - Each */index.html should start with a <h2> </h2>, except help/index.html which should start <h1> </h1>
    - Other headings, regular expression /<p><b>(.*?)</b></p>/, should be replaced variously with <h2>$1</h2>, <h3>$1</h3> as appropriate - a headache!

NOTES,
 - I want to be pragmatic. - should we aim for Strict DTD for help? Would Transitional be sufficient?
 - I'm ONLY fixing English language, en_utf8 - how can we systematically fix other languages.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Nick Freear made changes - 22/May/07 06:22 PM
Field Original Value New Value
Attachment patch-MDL-9890-help_access_v2.diff [ 11301 ]
Nick Freear made changes - 23/May/07 11:04 PM
Status Open [ 1 ] In Progress [ 3 ]
Nick Freear made changes - 23/May/07 11:16 PM
Nick Freear made changes - 16/Aug/07 07:09 PM
Nick Freear made changes - 07/Sep/07 09:55 PM
Link This issue has been marked as being related by MDL-11158 [ MDL-11158 ]
Nick Freear made changes - 10/Jan/08 06:34 AM
Link This issue blocks MDL-12902 [ MDL-12902 ]
Nick Freear made changes - 10/Jan/08 06:38 AM
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Fix Version/s 1.8.4 [ 10242 ]
Fix Version/s 1.9 [ 10190 ]
Nicolas Martignoni made changes - 11/Jan/08 04:27 AM
Status Resolved [ 5 ] Closed [ 6 ]
QA Assignee mina
Chris Bandy made changes - 11/Apr/08 06:05 AM
Link This issue has a non-specific relationship to MDL-14319 [ MDL-14319 ]