Page MenuHomePhabricator

Validation issues with meta tags
Closed, ResolvedPublic

Description

  1. Bad value X-UA-Compatible for attribute http-equiv on element meta.",
  1. link rel="edit" should be an absolute URL. Bad value edit for attribute rel on element link: Not an absolute URL. The string edit is not a registered keyword or absolute URL.

The markup causing these issues is as follows:
<link rel="edit" title="Edit" href="/w/index.php?title=W3CValidationTest&amp;action=edit" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />

These should at the very least be moved out of OutputPage into the skin or be configurable via OutputPage->setProperty. The mobile skin has no need for the X-UA-Compatible meta tag and wishes to use HTML Validation tests as part of its continuous integration testing to catch problems such as unclosed tags.

On a side note: headElement should do with a massive refactor and imo should probably be part of Skin.php so that it can be tweaked where necessary.


Version: unspecified
Severity: normal

Details

Reference
bz62886

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:06 AM
bzimport set Reference to bz62886.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 62885 ***
  • Bug 62889 has been marked as a duplicate of this bug. ***