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

--- Comment #4 from Helder <[email protected]> ---
Well, currently a page such as
https://www.mediawiki.org/wiki/How_to_contribute/pt?oldid=778914
which is only 33% translated to Portuguese has no visual indication that parts
of it are in English. It could have at least
<SomeElement lang="en">...</SomeElement>
around the English text. Similarly, this attribute could be set to the code of
the variant used in a given part (<translate><!--T:123-->...</translate>) of
the page. And maybe this would allow us (translators?) to add some CSS to mark
the text which is not in our variant. E.g. try the code

mw.util.addCSS( ':not([lang|="en"])[lang]{ background: #FFC; }' );

in the browser console when viewing the page
https://en.wikipedia.org/wiki/Template:Lang

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to