Last modified: 2014-09-02 16:47:24 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 T70077, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68077 - [Compact links] Prioritise interwiki to language "X" if a lang="X" attribute is present in the page's HTML
[Compact links] Prioritise interwiki to language "X" if a lang="X" attribute ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
master
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 64793
  Show dependency treegraph
 
Reported: 2014-07-15 22:55 UTC by Nemo
Modified: 2014-09-02 16:47 UTC (History)
12 users (show)

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


Attachments

Description Nemo 2014-07-15 22:55:34 UTC
Copied from Pau's specifications:
*'''Surface languages used in content.''' Articles contain content in different languages (e.g., an article about a Russian city will have the name in Russian even on the english wikipedia). Those languages indicate a special connection between the topic and the language. This may not be a language the user understands (so this criteria should not be a priority) but it may be a good option if there are remaining slots in the initial list of languages.

Example:
* I visit https://en.wikipedia.org/wiki/Leo_Tolstoy with compact interlanguage linbks enabled
* The page contains <b>Lev Nikolayevich Tolstoy</b> (<a href="/wiki/Russian_language" title="Russian language">Russian</a>: <span lang="ru">Лев Никола́евич Толсто́й</span>
* Whatever interface language and other conditions apply to me, the interwiki to "ru" is displayed.

As long as we limit it to 1-2 languages per page this should be a rather effective trick in the lucky (but important) cases where it applies, but it depends how efficient it is to scan the whole page like that.

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


Navigation
Links