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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12672 - Monobook skin doesn't take care of $wgDocType and $wgDTD
Monobook skin doesn't take care of $wgDocType and $wgDTD
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  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: ---

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

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.