Last modified: 2009-07-12 20:13:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14672, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12672 - Monobook skin doesn't take care of $wgDocType and $wgDTD
Monobook skin doesn't take care of $wgDocType and $wgDTD
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.12.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-17 22:33 UTC by Alexandre Emsenhuber [IAlex]
Modified: 2009-07-12 20:13 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
proposed patch (2.04 KB, patch)
2008-01-17 22:33 UTC, Alexandre Emsenhuber [IAlex]
Details

Description Alexandre Emsenhuber [IAlex] 2008-01-17 22:33:45 UTC
Created attachment 4556 [details]
proposed patch

It should be possible to change de document type and the dtd of any page. However the document type and the dtd are harcoded in skins/MonoBook.php. I propose to use these variables to output the document type and the dtd as not SkinTemplate based skins does and also to add an <?xml ... ?> if the mime type is text/xml, application/xhtml+xml or application/xml (taken from OutputPage::headElement()).
Comment 1 Alexandre Emsenhuber [IAlex] 2009-07-12 20:13:25 UTC
was fixed in r52864 and 53029

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links