Commit Graph

1175 Commits

Author SHA1 Message Date
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
Santhosh Thottingal
117cc5bf46 eventlogger module for ULS
Separating event logging out of ULS functionality. Event logging
is now loosely coupled with ULS. ULS core modules can emit an event
whenever EventLogging is required. The eventlogger module will act
on the event if configured.

Change-Id: I59dfcfb25c1acb85376b56239f2355ee7c4aff1e
2013-08-15 17:08:15 +03:00
jenkins-bot
8defd1f4a8 Merge "TypeError: window.navigator.userLanguage is undefined" 2013-08-15 08:39:56 +00:00
Translation updater bot
75bb891bd8 Localisation updates from http://translatewiki.net.
Change-Id: Ife2be5e740782896594ad92907e94e4b948d0baa
2013-08-14 19:28:26 +00:00
jenkins-bot
d0b9d2717f Merge "Log settings-open event" 2013-08-14 09:36:57 +00:00
Translation updater bot
89487ff99a Localisation updates from http://translatewiki.net.
Change-Id: Ieab2057a2e569c0783d4583aa5f2af635581cc86
2013-08-13 19:29:44 +00:00
umherirrender
92a021e147 TypeError: window.navigator.userLanguage is undefined
This can happen, when the user deletes the pref User languages from the
browser.

Change-Id: Ieaf783fbae113724704e2cce2e166e56935e8ce1
2013-08-12 18:14:49 +00:00
Translation updater bot
723d564fe4 Localisation updates from http://translatewiki.net.
Change-Id: I8ecd35d7d3bbe2f776023bcf6be00c7770d17b1a
2013-08-11 19:59:46 +00:00
Translation updater bot
29de2135af Localisation updates from http://translatewiki.net.
Change-Id: Ia71cf6a7ed79fa27756d336ee7de03354813c169
2013-08-09 19:48:10 +00:00
Translation updater bot
f5c2446576 Localisation updates from http://translatewiki.net.
Change-Id: I1239ef6f91c4292278cb9f3cb89c73d463bd9fed
2013-08-08 20:02:12 +00:00
Siebrand Mazeland
64cd234e27 Change comma to semi-colon
Cannot cause confusion this way.

Change-Id: I75e6dcd9e9dd45e8b9c605c28d766f87e06dd271
2013-08-05 17:21:08 +00:00
Siebrand Mazeland
e75b174b10 Make return values consistent
Tipsy does not expect a return value.

Change-Id: I9172dfe18ee1dc6d7773ce861a8a8b52638bc7b6
2013-08-05 17:20:10 +00:00
jenkins-bot
68acea228f Merge "Refactor getCodepoint() to more consistently handle return values" 2013-08-05 15:42:53 +00:00
jenkins-bot
809e81a7f4 Merge "Fix incorrect documentation" 2013-08-05 09:36:48 +00:00
Siebrand Mazeland
a373340aea Fix CSS error and add missing field labels, also update jQuery source
Change-Id: Ie30841d78befc04d58e8ec5c50c9fa51483a4088
2013-08-05 16:27:15 +08:00
Siebrand Mazeland
b19b89374d Refactor getCodepoint() to more consistently handle return values
Change-Id: Ida90e6c78be41e8527eaefd14feb45c57413945e
2013-08-05 09:29:41 +02:00
Siebrand Mazeland
8b1e6b911b Fix incorrect documentation
Change-Id: I646a5ccb2ff9e3e7f8871b4e55b55ec881c4301d
2013-08-05 09:23:19 +02:00
jenkins-bot
3e54cd9de8 Merge "Refactor complex ternary operation" 2013-08-05 07:22:36 +00:00
jenkins-bot
c632290b07 Merge "Fix CodeSniffer errors and warnings" 2013-08-05 07:22:07 +00:00
Niklas Laxström
df18f0a5ff Log settings-open event
Change-Id: I55fb9e4b8b6b210003f6bbad07486e1c2a8cba4f
2013-08-05 15:19:57 +08:00
Siebrand Mazeland
622e388a6a Refactor complex ternary operation
Change-Id: I1b6cc1cf0348bc7e19f9f327c7a3d6d936cfaaf2
2013-08-05 09:06:19 +02:00