Page MenuHomePhabricator

Make DoubleWiki output appropriate lang attributes for included content of various languages
Closed, ResolvedPublic

Description

patch to make DoubleWiki output lang codes on the layout table.

I was recently testing some javascript code that did different stuff based on what language the text content was. When testing it on wikisource with the match=lang , i noticed it didn't work, since lang attributes wern't set.

Since doubleWiki displays two different languages side by side, it should set the language code for each column, so that other things can figure out what language the content is in.

So basically, it'd be nice if DoubleWiki put lang="en" (replace en with appropriate lang code) on the <td>'s when splitting up the page.

I have attached a patch which should do this.


Version: unspecified
Severity: enhancement

Attached:

Details

Reference
bz21827

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:51 PM
bzimport set Reference to bz21827.
bzimport added a subscriber: Unknown Object (MLST).