https://bugzilla.wikimedia.org/show_bug.cgi?id=21827

           Summary: Make DoubleWiki output apropriate lang attributes for
                    included content of various languages
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: need-review, patch
          Severity: enhancement
          Priority: Normal
         Component: DoubleWiki
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bawolff...@gmail.com


Created an attachment (id=6873)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6873)
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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to