https://bugzilla.wikimedia.org/show_bug.cgi?id=28350

Aryeh Gregor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #3 from Aryeh Gregor <[email protected]> 2011-03-31 
22:51:17 UTC ---
This is not a bug in the software.  The semantics of $wgDocType don't make
sense for HTML5, because it's used to output a doctype like

  <!DOCTYPE html PUBLIC "$wgDocType" "$wgDTD">

while the HTML5 doctype is just

  <!DOCTYPE html>

so there's nothing you could set $wgDocType or $wgDTD to to get the default
doctype we want.  So by default I just ignored it in $wgHtml5.

If doctype overriding is actually useful, we could add a new configuration
option like $wgDocTypeOverride that sets the whole doctype as one string, so by
default it could be "<!DOCTYPE html>" but wiki operators could customize it to
whatever they felt like.  This might be useful for Wikimedia deployment of
$wgHtml5 = true, as I remarked recently on wikitech-l.

Note that in 1.17 and later, the default doctype is "<!DOCTYPE html>".  The
default doctype in 1.16 is different for tiresome reasons that I won't bother
explaining, but that's irrelevant for bug-tracking purposes, since branches are
mostly only maintained for security and so we aren't going to be changing
around how 1.16 works.

Why do you want an XHTML Transitional doctype?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to