Commit Graph

1395 Commits

Author SHA1 Message Date
Santhosh Thottingal
a2627e444f Update TuladhaJejeg font for Javanese to 2.0.1 version
Change-Id: Id7690d8efdb8eaec0d06cb1b8c0106c742a8e126
2013-08-27 15:25:20 +05:30
Santhosh Thottingal
a5d79594a3 Simplify the cancel logic for input and display settings
Restore the language(ui, content), font values, input method values.

Rest of the UI resetting will be done by redrawing the settings
area whenever the language settings is accessed again.

Change-Id: Ia1488d1501f9c9f61726cea3637624f22a7ba135
2013-08-26 14:56:38 +00:00
Santhosh Thottingal
0d9bbd8113 Make the behavior of close button same as cancel button
Bug: 53255
Change-Id: If27a770c531d78538c70dd86199f1791b1171c2d
2013-08-26 14:31:09 +00:00
Amir E. Aharoni
a1ad38d715 Show an autonym for languages that don't have input methods
Bug: 51025
Change-Id: I4a6cc9a79f186941cc79533de90ab0fb7e104673
2013-08-26 13:31:27 +03:00
Amir E. Aharoni
60e038b0db Update jquery.ime from upstream
Adds support for specifying the input method menu header text.

Change-Id: I4c0b8c4879ef49b58a4c897b9131dbfddea524f0
2013-08-26 10:22:08 +00:00
jenkins-bot
e636528457 Merge "Update jquery.webfonts from upstream" 2013-08-26 06:43:03 +00:00
Santhosh Thottingal
35f7172a11 Update jquery.webfonts from upstream
Bug: 49151
Change-Id: I9dd87f44c0465801ac225a1bdc6268e85f89911e
2013-08-26 11:44:37 +05:30
jenkins-bot
c59a1f0122 Merge "Make Phetsarath font default for Lao" 2013-08-26 06:04:08 +00:00
jenkins-bot
313ce86021 Merge "Pass an actual array to fontStack option to webfonts" 2013-08-26 05:57:47 +00:00
Kartik Mistry
a66be7dca8 Make Phetsarath font default for Lao
Bug: 52962

Change-Id: I5da0d2d3ca08f3eb3a09800e03e9d25ecdba0286
2013-08-26 11:20:33 +05:30
jenkins-bot
831339a3c0 Merge "Make OskiEast font default for Canadian Syllabic" 2013-08-26 04:52:00 +00:00
Santhosh Thottingal
c793a9bd31 Pass an actual array to fontStack option to webfonts
Change-Id: Id836d7ce82e22e7d0679a5c615be014b1fce08b3
2013-08-26 09:43:00 +05:30
Translation updater bot
39440baa24 Localisation updates from http://translatewiki.net.
Change-Id: Ibba4895baff9705a8a7ed060abbd7645ccc9f49c
2013-08-25 13:31:11 +00:00
Translation updater bot
479f2bbb87 Localisation updates from http://translatewiki.net.
Change-Id: I4014cd32417c1ff6d87c79684b73c1c69c3221ea
2013-08-23 19:49:50 +00:00
Kartik Mistry
e0d63bce05 Make OskiEast font default for Canadian Syllabic
Change-Id: Ie928de294ec0dee5482fb93d4333ab5df9d1c843
2013-08-23 16:59:36 +05:30
Santhosh Thottingal
17956d5af8 Update jquery.webfonts from upstream
Upstream: https://github.com/wikimedia/jquery.webfonts
Changes:
* Fixes Bug 53203
* More documentation and code cleanup

Bug: 53203
Change-Id: Ieb48ba532cc1d9880d2fde1b185af7cbed1a3eff
2013-08-23 13:52:35 +05:30
Translation updater bot
1b55342049 Localisation updates from http://translatewiki.net.
Change-Id: I3a708ec15c3e3f5cf08a6061e46ef5bf850edf43
2013-08-22 19:50:29 +00:00
Amir E. Aharoni
e018a52498 Update jquery.ime from upstream
Change-Id: I904dfd1e089e92deaa2da50510d0975a8e317a94
2013-08-22 15:36:02 +03:00
Kartik Mistry
9f51d8a4ea README Updates
1. Updated instruction to enable ULS in LocalSettings.php
2. Wrapped text to 80 chars.
3. Removed unused Change Log section.
4. Added short information about ULS.
5. Updated 'For developers' information.

Change-Id: Iebc8b923cbfcbb8f39e45e12d1e2e5c835076dd2
2013-08-22 08:37:54 +00:00
jenkins-bot
ee70cf04c9 Merge "Use mw.hook for notifying cancel of settings window to modules" 2013-08-22 08:03:38 +00:00
Amir E. Aharoni
7330295ce2 Use the old way of checking browser support for MW < 1.22
Bug: 52322
Change-Id: I346c1119b2ae841b3dbb2e7b8a5a2d924269b150
2013-08-22 09:32:59 +03:00
Santhosh Thottingal
4704cf5182 Use mw.hook for notifying cancel of settings window to modules
This avoids mandate of having 'cancel' method defined in settings module.
Also avoids looping of all modules while cancel is happening.

Change-Id: I87d0975f2ef1bdee61f71d66eabe3040b81876b8
2013-08-22 11:51:26 +05:30
jenkins-bot
00e248e1f9 Merge "Provide mw.hook when not provided by older MediaWikis" 2013-08-22 04:17:09 +00:00
Niklas Laxström
ec518a03b4 Provide mw.hook when not provided by older MediaWikis
Change-Id: I8d0826722064551cc46be26215ffb954f39babb0
2013-08-22 09:46:07 +05:30
Translation updater bot
48a96ba674 Localisation updates from http://translatewiki.net.
Change-Id: Ife5ec182bf071a2510f605f073f8c778795fc5cd
2013-08-21 21:01:02 +00:00
Ebrahim Byagowi
0ff6ab13cb Add Nazli as a serif font for Persian Script
It is the font used in book maker for Persian Wikipedia. Its font
family (Nazanin) is one of widely used font on Persian documents.
It is needed for print output of Persian Wikipedia articles

Change-Id: I2c658f599b5c05882673f42c29c80ae826ddc047
2013-08-21 16:56:15 +03:00
jenkins-bot
612058f645 Merge "Code conventions" 2013-08-21 11:43:50 +00:00
Translation updater bot
d4d12c25fd Localisation updates from http://translatewiki.net.
Change-Id: Idd9653954a9c3ee63d28870b87113bd86e89b6c5
2013-08-20 19:36:00 +00:00
Amir E. Aharoni
628923c812 When applying settings, log ime-change only if needed
Change-Id: I62b4ce777948c18cec5117279523198f4514c3a6
2013-08-20 12:42:52 +03:00
jenkins-bot
b2aafc435d Merge "Fire the ime-enable/disable hook upon saving the preferences" 2013-08-20 08:55:24 +00:00
Amir E. Aharoni
4e04182ecd Fire the ime-enable/disable hook upon saving the preferences
Change-Id: I98e502cd8dc1990b10b1f824614c84d3bf5b993f
2013-08-20 08:31:21 +00:00
Amir E. Aharoni
2dd6cf74b8 Update jquery.ime from upstream
Fixes bug 53041 (upstream patch by Matmarex)

Bug: 53041
Change-Id: I8653404833d83a6d798551a47e37d87e6c0c1eaf
2013-08-20 07:22:16 +00:00
jenkins-bot
6cf1486399 Merge "Log ime-change event" 2013-08-20 05:44:08 +00:00
Amir E. Aharoni
3b6d5cc83e Log ime-change event
Change-Id: I6dfc769f0de536e2ef35b165fe7a35f196bb181b
2013-08-20 08:34:52 +03:00
Niklas Laxström
3a6e5d312a Code conventions
Change-Id: I0f58d4675cf26050ea1e2f58fb748e0aed74b54d
2013-08-20 05:34:16 +00:00
Amir E. Aharoni
a3bca89a42 Implement language-selection-method event
Change-Id: If2d207f8a221c8f2a560b1399ad69a3032b2064b
2013-08-20 05:16:35 +00:00
Kartik Mistry
e5891b83b5 Add a Lao web font
Bug: 52962
Change-Id: Ia8cf7fa8c8f2832da35af52899b4a7c5bc05e5d3
2013-08-19 23:49:06 +03:00
jenkins-bot
10bc0b1641 Merge "Add a Sinhala web font" 2013-08-19 20:45:50 +00:00
Translation updater bot
bbcb3a8d53 Localisation updates from http://translatewiki.net.
Change-Id: I335e784727dc1719d4a70e8bd3b0c24d5b04b400
2013-08-19 19:35:22 +00:00
Kartik Mistry
f244ef66d1 Add a Sinhala web font
Bug: 52964
Change-Id: I04a05c01c079ac6a4b109fe0c4a6c36c7732fcae
2013-08-19 23:30:43 +05:30
Amir E. Aharoni
0f34b4d934 Fixing "Common language" functionality
If was broken in
Icda498f676d1d3ddaefad75fd9212150f6966666

Bug: 53035
Change-Id: Ida29364073b07b985050565cacc6634c134f8d6c
2013-08-19 16:34:43 +03:00
Santhosh Thottingal
7649b47f5c Followup I59dfcfb25c, language change work with out event logging
In I59dfcfb25c, for logging events when page is navigating away, we
used callbacks with mw.hook. That is wrong approach. If event logging
is disabled those callbacks will never called: it broke language change
and all use cases which navigates away from current page.

Event logging should not interfere with any ULS functionality. If ULS
functionality depends on callbacks from event logging, it is wrong.

In this patch, we give a small time window to make sure event logging is
fired, but we won't wait for its success or failure.

If eventlogging is disabled, this time window does not exist.

Change-Id: I0b7d9d8b9d1d01b99422010596ebfa80b2589d04
2013-08-19 10:13:56 +00:00
Niklas Laxström
1f66cb22bc Log no-search-results event
Change-Id: Ia272a6783d56c75ba775d71195104aad21214121
2013-08-19 08:13:55 +00:00
Amir E. Aharoni
21fedbb2cb Update jquery.uls from upstream
Change-Id: I2591f5f8e761f08ef07085f3a73001ec3f84ae36
2013-08-19 10:58:39 +03:00
Santhosh Thottingal
44bd73325a Log font-change event
Change-Id: I093e27d74d047a639082a5da6442944f590c67dc
2013-08-19 06:00:26 +00:00
jenkins-bot
80715de3b2 Merge "Add the Nuosu SIL font for the Yi language" 2013-08-19 05:53:01 +00:00
Santhosh Thottingal
8f5be106f5 Update jquery.ime library
upstream: http://github.com/wikimedia/jquery.ime

changes:
* Support for contenteditable, like the VisualEditor surfaces. This
  support is very minimal now. Because of VE bugs on IME support, many
  things are broken. But one-one keyboard mappings should work with less
  issues. The UI of jquery.ime is not integrated with VE toolbar
* More input methods
	- IPA-X-SAMPA by Amir
	- Armenian keymaps by  Aleksey Chalabyan
	- Kurdish keymaps by Ghybu
	- Кыргыз keymap by Amir
	- Central Kurdish keyboards by Çalak
* A lot of input method bug fixes multiple contributors
* Minor UX fixes

Introduces Rangy library.
A module named rangy is defined in VisualEditor extension with more features of rangy.
Here we need only the core library. This module is loaded dynamically from
client when rangy is undefined. If VE is present rangy will be defined, the module
defined in VE will be used. ie, This get loaded only when VE is not present and
user trying to type in a contenteditable.

Bug: 49569
Bug: 50849
Bug: 50220

Change-Id: Iadad5a4e5972fbd1359847526d28e9dbbe00a7c4
2013-08-19 04:40:08 +00:00
Translation updater bot
e13a4e2cb0 Localisation updates from http://translatewiki.net.
Change-Id: I912ef042c7a1071485346e0fbee267584359e0e1
2013-08-18 19:42:57 +00:00
Amir E. Aharoni
100bda017e Whitespace
Change-Id: I8855c3e2f237a9a22573509d70babea701896526
2013-08-18 18:10:40 +03:00
Amir E. Aharoni
8e051c3aaf Add the Nuosu SIL font for the Yi language
Change-Id: I7836f85f0599e4eb3b40168021ac0e3740e03f95
2013-08-17 15:58:11 +03:00