Last modified: 2012-12-31 16:32:43 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 T42385, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40385 - HTML validation: Bad value edit for attribute rel on element link: Keyword edit is not registered.
HTML validation: Bad value edit for attribute rel on element link: Keyword ed...
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-20 11:15 UTC by Gadget850
Modified: 2012-12-31 16:32 UTC (History)
1 user (show)

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


Attachments

Description Gadget850 2012-09-20 11:15:27 UTC
This validation error shows for all pages with an edit link. As noted, the "edit" keyword is not registered with the W3C.

This can easily be fixed by adding the keyword:
http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions

This needs to be evaluated by a developed, and if it is determined that registration is the fix, then a developer should do this to ensure that the proper descriptions are added.

See also Bug 40384, which would have a similar fix.

HTML validation is important. When editors manually create HTML ids, such as
certain citation templates, we recommend they validate the page to ensure they
have no duplicates. They get bogged down in endemic validation errors.
Comment 1 Brion Vibber 2012-09-20 21:25:20 UTC
Hmmm...

Looks like UniversalEditButton may or may not have actually adopted the
rel="edit" form -- http://universaleditbutton.org/Suggestions#Linking_Scheme
lists it and includes a mention of me adding it, but
http://universaleditbutton.org/Add_The_Link still lists the rel="alternate"
format.

This is the kind of thing that's really meant to be open-ended though, I'm a
bit baffled by the idea of rel values being registered. Is that new in
HTML5-land?
Comment 2 Andre Klapper 2012-12-31 15:14:04 UTC
Gadget850:

> This is the kind of thing that's really meant to be open-ended though, I'm a
> bit baffled by the idea of rel values being registered. Is that new in
> HTML5-land?
Comment 3 Gadget850 2012-12-31 16:32:43 UTC
To resolve this, see http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions

The description must include:
* "Effect on link"
* "Effect on a and area"
* a link to a spec that documents the keyword as an HTML rel keyword

One the keyword is registered, then the validator will pick it up and no longer generate this annoying error.

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


Navigation
Links