Page MenuHomePhabricator

Set lang attrib in <html> to the variant used
Closed, ResolvedPublic

Description

This helps search engine to index pages and browsers to render pages better.


Version: 1.17.x
Severity: enhancement

Details

Reference
bz24747

Event Timeline

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

PhiLiP.NPC wrote:

This feature has been added in r75617.

I'm thinking whether we should set lang=(uselang param) in <html> and lang=(variant param) in #bodyContent...

PhiLiP.NPC wrote:

(In reply to comment #2)

I'm thinking whether we should set lang=(uselang param) in <html> and
lang=(variant param) in #bodyContent...

or both?