Page MenuHomePhabricator

Output contains script tags without type=text/javascript specified
Closed, InvalidPublic

Description

Author: webmaster

Description:
The HTML output contains raw <script> tags when they should be <script type="text/javascript">. This will have some effect on different browsers, and contribute to misinterpreted JavaScript bugs.


Version: 1.17.x
Severity: minor

Details

Reference
bz25803

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:12 PM
bzimport set Reference to bz25803.

From release notes (trimmed):

  • The default output format is now HTML 5 instead of XHTML 1.0 Transitional. This can be disabled by setting $wgHtml5 = false;. Specific features enabled if HTML 5 is used:
    • Unnecessary type="" attribute removed for CSS and JS.