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

           Summary: Value of $wgDocType has no effect in default 1.16.2
                    install
           Product: MediaWiki
           Version: 1.16.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The MediaWiki documentation suggests that $wgDocType defaults to XHTML
Transitional and that changing the value of this variable with alter the
doctype that appears in the live pages. Neither of these things is correct in
the default install.

In actuality, there is another config value, $wgHtml5, which defaults to True
and overrides the value $wgDocType. The actual doctype value will always be
XHTML Strict regardless of what is set in $wgDocType unless you first set
$wgHtml5 to false.

I'm not certain what the intended behavior is here. Since I'd like to have the
XHTML Transitional doctype, which is described by the documentation as the
default, this seems like a bug in MediaWiki to me. But if the intended behavior
is to support only XHTML strict, then the bug is possibly in the documentation,
which should say that $wgDocType is deprecated.

-- 
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