Last modified: 2014-10-16 13:32:43 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 T60955, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58955 - lang and dir attributes are not applied to mw-content-text on redirects
lang and dir attributes are not applied to mw-content-text on redirects
Status: NEW
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: rtl
  Show dependency treegraph
 
Reported: 2013-12-25 08:34 UTC by Amir E. Aharoni
Modified: 2014-10-16 13:32 UTC (History)
7 users (show)

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


Attachments

Description Amir E. Aharoni 2013-12-25 08:34:53 UTC
lang and dir attributes are not applied to mw-content-text on a page that redirects to a file.

On a redirect to a content they are applied.

This causes the arrow in the redirect icon to point the wrong way when the user changes the UI language, and may cause other problems as well.

Example:
https://commons.wikimedia.org/w/index.php?title=File:Yhaplotree_svg.svg&redirect=no&uselang=he
Comment 1 Nemo 2014-08-30 15:58:00 UTC
It's the same with any redirect: random example from Meta https://meta.wikimedia.org/w/index.php?title=!vote&redirect=no&uselang=he 

<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="redirectMsg"><img src="//bits.wikimedia.org/static-1.24wmf18/skins/common/images/redirectltr.png" alt="#REDIRECT" /><span class="redirectText"><a href="/wiki/Don%27t_vote_on_everything" title="Don't vote on everything">Don't vote on everything</a></span></div>

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


Navigation
Links