Last modified: 2014-01-18 07:35:34 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 T62176, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60176 - Auto-wrap posted content blocks in source language
Auto-wrap posted content blocks in source language
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
MassMessage (Other open bugs)
master
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-17 18:30 UTC by James Forrester
Modified: 2014-01-18 07:35 UTC (History)
6 users (show)

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


Attachments

Description James Forrester 2014-01-17 18:30:21 UTC
From http://lists.wikimedia.org/pipermail/wikimedia-l/2014-January/129723.html

When messages are posted in languages other than the content language of the wiki, please wrap them in a <div> with the lang and dir attributes set correctly, so users' browsers know how to handle them.
Comment 1 Liangent 2014-01-17 20:41:15 UTC
Is this a bug in the extension itself? I think it's message senders' responsibility to use proper markups.
Comment 2 Liangent 2014-01-17 20:46:39 UTC
For example some senders may use:

{{subst:#switch:{{subst:CONTENTLANGUAGE}}
|en=some text
|he=some other text in Hebrew
|#default=<div lang=en dir=ltr>some text ''Please translate me''</div>
}}

It doesn't make sense to wrap text in <div lang=en dir=ltr></div> when the Hebrew branch is used.
Comment 3 Kunal Mehta (Legoktm) 2014-01-18 06:38:16 UTC
(In reply to comment #1)
> Is this a bug in the extension itself? I think it's message senders'
> responsibility to use proper markups.

Agreed. MassMessage very little knowledge of message text and it could get complex trying to figure out what language a message is written in. For now [[m:MediaWiki:massmessage-summary]] has a note about this.

In the future when bug 54839 is fixed, it might make sense to automatically do this if we know a message is going to a wiki in a different language/direction.
Comment 4 Kunal Mehta (Legoktm) 2014-01-18 07:35:34 UTC
(In reply to comment #3)

> Agreed. MassMessage very little knowledge of message text and it could get

MassMessage has*

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


Navigation
Links