Last modified: 2010-01-09 18:15:09 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 T23827, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21827 - Make DoubleWiki output appropriate lang attributes for included content of various languages
Make DoubleWiki output appropriate lang attributes for included content of va...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
DoubleWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-12 05:56 UTC by Bawolff (Brian Wolff)
Modified: 2010-01-09 18:15 UTC (History)
1 user (show)

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


Attachments
patch to make DoubleWiki output lang codes on the layout table. (2.06 KB, patch)
2009-12-12 05:56 UTC, Bawolff (Brian Wolff)
Details

Description Bawolff (Brian Wolff) 2009-12-12 05:56:18 UTC
Created attachment 6873 [details]
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.
Comment 1 Siebrand Mazeland 2010-01-09 18:15:09 UTC
Applied in r60865. Thanks.

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


Navigation
Links