Commit Graph

2478 Commits

Author SHA1 Message Date
Niklas Laxström
bc7ee1ed19 LanguageNameIndexer: sort buckets
Change-Id: Ib33bc432d5f61de2fbb6e83f3566baebb184c441
2016-08-08 13:18:30 +00:00
Nikerabbit
760fe1ad39 Merge "LanguageNameIndexer: Remove directionality chars that cannot be typed" 2016-08-08 13:18:08 +00:00
jenkins-bot
f8c94b2cb4 Merge "Add languages in which there is a featured article" 2016-08-08 12:47:08 +00:00
Niklas Laxström
42f4f9650b LanguageNameIndexer: Remove directionality chars that cannot be typed
Change-Id: I8e5b9f300a3307a90054e4e759279f91594a2fa3
2016-08-08 10:56:39 +00:00
Niklas Laxström
b3ba423354 LanguageNameIndexer: Generate PHP file instead of serialized file.
Serialized format is no longer in style for data. PHP files can
take advantage of AutoLoader and caching so they can even be faster
than serialized files. As side bonus we can have readable diffs
for updates.

Only downside is that the file generation takes about ten lines of
ugly string manipulation.

Change-Id: If09704d1172daa13c72a308814534cac1fe9899f
2016-08-08 07:55:42 +00:00
jenkins-bot
8bb0c2f683 Merge "LanguageNameIndexer/Search: use unicode aware lowercasing" 2016-08-08 07:06:57 +00:00
Niklas Laxström
9daeacf1c5 LanguageNameIndexer/Search: use unicode aware lowercasing
With this MEÄNKELI with typos=1 finds results.

Updated test case for lowercased result. Renamed variables in test
file for clarity. Updated the default value for MW_INSTALL_PATH to
work with the default layout.

Change-Id: Id93c84d308705f55b4d2378fc8c7b7f243e1b53f
2016-08-08 08:43:15 +02:00
jenkins-bot
40f695b6b5 Merge "LanguageNameIndexer: Simplify code" 2016-08-08 05:08:43 +00:00
Translation updater bot
73bd0655b5 Localisation updates from https://translatewiki.net.
Change-Id: I2c3b59977a2f8801f5b91862cb1b2f127248fd5f
2016-08-07 22:42:44 +02:00
Translation updater bot
ed51b1282a Localisation updates from https://translatewiki.net.
Change-Id: I8ee7a10007f4a1df8e0b6266290b18d785a224e8
2016-08-05 22:34:55 +02:00
James D. Forrester
a7078fe878 build: Fix stylelint devDependencies
Change-Id: I98c1bee541a5c35c0252835e6092de976518ba0e
2016-08-05 10:56:11 -07:00
Amire80
43f62e601c Add languages in which there is a featured article
Bug: T70071
Change-Id: I5ed2f1ece5b11b96ec6416bc1c6c2266ac6b4388
2016-08-04 19:42:46 +03:00
jenkins-bot
9c1decf616 Merge "CompactLinks: support sortPrepend from WikiBaseClient" 2016-08-02 05:14:55 +00:00
jenkins-bot
5c9215317e Merge "Update jquery.uls to e1de794" 2016-08-01 10:14:57 +00:00
Niklas Laxström
8bc603a528 Update jquery.uls to e1de794
Bring localisation updates as well as fix for displaying worldwide
languages in other sections.

Change-Id: I9c43f7102f43f3728a1458db3204bda44ca001b4
2016-08-01 10:24:45 +02:00
jenkins-bot
b8c79727d8 Merge "Show languages that appear in the page's text" 2016-08-01 06:31:24 +00:00
Translation updater bot
1e98d12984 Localisation updates from https://translatewiki.net.
Change-Id: I00b210a2b644226492e943e39443db8f16e539a8
2016-07-31 22:27:38 +02:00
Translation updater bot
f5dcb99b33 Localisation updates from https://translatewiki.net.
Change-Id: Ibb0674aa12128f49b94b57511cf6e98648e002f6
2016-07-30 22:32:53 +02:00
Translation updater bot
e19e760484 Localisation updates from https://translatewiki.net.
Change-Id: Iaca21818f7916242723495616a03a739a0a95bda
2016-07-28 23:05:49 +02:00
Santhosh Thottingal
df70f941b2 Show languages that appear in the page's text
This is just a simple search for elements with lang attribute.

This will be executed only when previous languages, geo-IP based languages,
browser, UI, content languages etc. are not filling the defined compact size.

Bug: T70077
Change-Id: I77d1efa5e29deeaaf595753fb5519c8b70c7f2b5
2016-07-28 17:32:10 +02:00
jenkins-bot
c62baa387b Merge "Add Niharika to authors" 2016-07-28 14:22:54 +00:00
jenkins-bot
c9a32d17c1 Merge "Update Skeirs II font" 2016-07-28 13:47:22 +00:00
Kartik Mistry
d4ea8550fa Update Skeirs II font
This fixes display of Latin text in Gothic script.

Bug: T124785
Change-Id: Iaf2cc6b05591368356c241e7b65ce4a8e33c24e0
2016-07-28 15:32:27 +02:00
jenkins-bot
797476588e Merge "tests: Fix path of jquery.webfonts" 2016-07-28 05:21:53 +00:00
Kartik Mistry
38748392a0 tests: Fix path of jquery.webfonts
Otherwise test page is not working.

Change-Id: I6a220f9fa03828d78668b4852c1af634330b0972
2016-07-27 21:30:03 +05:30
Kartik Mistry
1fe7d5bcf4 Remove reference to removed eot fonts
Change-Id: I0be9dae3433afe9868672d7fc45f48e15aba9e98
2016-07-27 20:51:06 +05:30
Niklas Laxström
217aefdb7a Move als->gsw override to ext.uls.init
So that it is loaded for compact language links. The ext.mediawiki.uls
module is starting to look very empty now can could be removed easily
in follow-up. ext.uls.init depends on jquery.uls.data so this is safe.

Bug: T139949
Change-Id: Icac10f073e122284723c48782c2a1cf7f10b45ec
2016-07-27 06:16:51 +00:00
Niklas Laxström
89175716ec CompactLinks: lowercase language codes for internal use
Not outputting language codes with proper casing should
be solved upstream in jquery.uls.

Bug: T139795
Change-Id: Ide81c76135b23a031f1f09a33462e767e57a50b0
2016-07-27 05:57:03 +00:00
Translation updater bot
4dc5f2b996 Localisation updates from https://translatewiki.net.
Change-Id: Id13747a8c13823c8f8b004ce4f29796426082143
2016-07-26 22:57:16 +02:00
Niklas Laxström
4f4051a40d CompactLinks: support sortPrepend from WikiBaseClient
Bug: T138973
Change-Id: I64b7aa37d8a6b3cac92d492a33fe6f8cb04ce0e6
2016-07-26 13:36:26 +00:00
Translation updater bot
0240e0aed6 Localisation updates from https://translatewiki.net.
Change-Id: If02bad767b318174c420e88de6eb71ace57209da
2016-07-25 22:26:18 +02:00
Amire80
c3ada477a3 Add Niharika to authors
Niharika was the developer of the Compact Language Links feature.

Change-Id: I725ebf7fe6e2e739048dc22ac8ad46c48eb36c0c
2016-07-25 14:33:01 +03:00
Translation updater bot
4477debca1 Localisation updates from https://translatewiki.net.
Change-Id: Iedebd41be53c9f35c38a1c6688cbbbd9576f8301
2016-07-22 22:42:55 +02:00
Translation updater bot
8c555075be Localisation updates from https://translatewiki.net.
Change-Id: If0ed82a1b600a28d59f0a8e892fd2888f184ea3f
2016-07-21 23:02:04 +02:00
jenkins-bot
423a5fff4e Merge "Compact language links: Use smaller callout arrow" 2016-07-21 09:08:19 +00:00
Translation updater bot
4f38318ed3 Localisation updates from https://translatewiki.net.
Change-Id: I148e35d507766f288e6a3d078a147bf8aa63fd89
2016-07-20 22:43:15 +02:00
Translation updater bot
5c65f1431e Localisation updates from https://translatewiki.net.
Change-Id: I0aaf02480f4938c5349d9f8a22d14cef30812925
2016-07-19 22:29:33 +02:00
Amire80
b04be933c8 Update jquery.uls from upstream
To this version:
008a9f67ce

Changes:
* Redirect chm to mhr (different codes for the Mari language, see Bug T136164).
* Add Tulu (tcy) localization.

Change-Id: Ia45e9c3bd023b94339a4e49524d1c7e54f948663
2016-07-19 22:31:42 +03:00
Niklas Laxström
3dd3224a02 Update jquery.uls to d8e29b0efe
Contains l10n updates for common -> suggested languages

Change-Id: Iafb6fb5b7eb11fbb908f333287c6a73c2346a6c6
2016-07-18 14:55:01 +02:00
Translation updater bot
1ad3749aa8 Localisation updates from https://translatewiki.net.
Change-Id: I6706a75d8ab09ae7e5f8a2d579870a6f2d41824e
2016-07-17 22:31:27 +02:00
Translation updater bot
d1db67dacc Localisation updates from https://translatewiki.net.
Change-Id: I21faefde77a1f697532c02e441a001f01d046086
2016-07-16 23:00:57 +02:00
Translation updater bot
e8adff7b67 Localisation updates from https://translatewiki.net.
Change-Id: Idc813c786575d0e4ec559ef3b2262cfea16db326
2016-07-15 22:32:09 +02:00
jenkins-bot
1d6ac89667 Merge "Update jquery.uls to fa67b19" 2016-07-14 06:34:19 +00:00
Translation updater bot
7d876f69c9 Localisation updates from https://translatewiki.net.
Change-Id: Ib1e7e71543c52159dfdbb88f3ae142e5585a290a
2016-07-13 22:39:13 +02:00
Niklas Laxström
024bc8985f Update jquery.uls to fa67b19
* Localisation updates.
* Renaming of common languages to suggested languages.
* Addition of language fax.

Bug: T137867
Change-Id: I72f700f562107ad1bfbe797329f4900c191bca20
2016-07-13 11:26:34 +02:00
Translation updater bot
7473bcf55c Localisation updates from https://translatewiki.net.
Change-Id: Icfbe11e6ef59a32b996e6f631d2fc9989e634b8a
2016-07-12 22:53:25 +02:00
Amire80
13a81d89f8 Update jquery.ime to 839fa42
Changes:
* Fix bug T102455 in Punjabi.
* Add Akan language keyboard.

Bug: T102455
Change-Id: I144e1cde2bb2bc7fa38a7620ef621f7ec0a32285
2016-07-12 10:43:35 +00:00
Santhosh Thottingal
26cfea8ef4 Compact language links: Use smaller callout arrow
Uses equilateral triangle with 16px side.

Bug: T138235
Change-Id: If81342876d59e3041d0ea4029e301c3cc76f6641
2016-07-12 12:17:33 +05:30
jenkins-bot
29cc89398a Merge "Compact links: Execute the compact strategies on need basis" 2016-07-11 09:07:31 +00:00
Santhosh Thottingal
d109bddf20 Compact links: Execute the compact strategies on need basis
We were executing all compacting strategies even when we have
more than enough items as candidates. If the strategy is expensive,
(performance wise) this is a problem.

In this commit, we execute them one by one and stop when we have enough
candidates.

The methods in CompactInterlanguageList class also arranged as
individual function declarations than comma seperated method list.

Change-Id: Idce6489387d139852125f4448d0e192f6a7e1353
2016-07-11 10:58:00 +02:00