Commit Graph

316 Commits

Author SHA1 Message Date
Niklas Laxström
883e87ea56 Help links for ime selector menu
Change-Id: Ia6a0db9af25216f3d03c5130de96000141ccaa57
2013-07-15 13:24:12 +00:00
jenkins-bot
a14f941f48 Merge "Help links for input settings" 2013-07-15 13:23:46 +00:00
Niklas Laxström
da1baaf663 Help links for input settings
Bug: 42373
Change-Id: I30c8d6cbe916ac026ad70974755942c5bbea7162
2013-07-15 11:08:17 +00:00
Kartik Mistry
482a7488bf Update UnifrakturMaguntia font to latest version
Bug: 49510
Change-Id: I4227d31696a4d956cc5ea2ddf5df36eb0e8fe7d0
2013-07-15 11:33:12 +05:30
Kartik Mistry
9ae40d5910 Add free and open licensed font for Urdu script
Font homepage is not available, but Debian confirms that font is
licensed to GPL-2.

Also see: http://groups.yahoo.com/group/urdu_computing/message/1081

Bug: 46693
Change-Id: I249f5a36a620ef00235f674cba92a1615a4a785f
2013-07-15 10:50:05 +05:30
jenkins-bot
fd80ea5017 Merge "Add Canadian Syllabic font" 2013-07-15 04:30:22 +00:00
Kartik Mistry
aaa1c515e7 Add Canadian Syllabic font
Bug: 42421

Change-Id: I3d791c3752cf73c33b74ee6f531b7fb605419560
2013-07-15 09:47:34 +05:30
S Page
234692ba6c Stop uls-previous-languages cookie varying by path
Set path to '/' otherwise you get one cookie for /w and another for
/wiki locations.

Bug: 49155

Change-Id: I4756fdf06b0580b5b57a41cd771b94723bb5cdbf
2013-07-12 13:17:31 -07:00
Siebrand
489b949aa9 Revert "Disable default web font for language code "ml""
No longer needed given bug 51019.

This reverts commit 13dcfc9abc.

Change-Id: Iae57333f4e0a22a371e83491a73e4685e9c044ff
2013-07-09 09:13:53 +00:00
Siebrand Mazeland
13dcfc9abc Disable default web font for language code "ml"
Bug: 49894
Change-Id: I33c08203f19688ffdf00e7ca3da23a9dd1fb05aa
2013-07-09 09:01:58 +02:00
Ori Livneh
1603fd97a8 Use $.Callbacks to queue events until EL has loaded
This patch provides a workaround for bug 50746. It modifies mw.uls.eventLog so
that it does not directly attempt to log events but instead adds them to a
$.Callbacks('memory once') queue. If EventLogging is not enabled, the Callbacks
object never fires. If EventLogging is enabled, it is requested via
mw.loader.using, but only after $(document).ready. This prevents ResourceLoader
from attempting to inject it via document.write. The mw.loader.using callback
sets the schema defaults and calls .fire on the Callbacks object, causing the
EventLogging event queue to be processed. Tested on Opera 12 and Chrome 30 on
OS X.

Bug: 50746
Change-Id: I89cf06990ee85e70698149b4812d7900218e4fb4
2013-07-09 01:48:06 +00:00
Siebrand Mazeland
96705c0ed9 Remove redundant value assignment
Also redistribute variables over 2 lines instead of 3.

Change-Id: I4127173f84ef59d4de2199ff45b52243c761a87d
2013-07-08 14:38:05 +02:00
Siebrand Mazeland
160ee87f15 Pass integer instead of string
Change-Id: I8b831108d6f40a2e764fbbd46f4241530d7f6153
2013-07-08 14:32:25 +02:00
Siebrand Mazeland
b5b6aa15f4 Simplify if-statement
Change-Id: Icc91ed0650297935538a6398f4a540899b677317
2013-07-08 14:29:00 +02:00
Santhosh Thottingal
e4cefe06fd Apply webfonts to the IME selector too
It get added to DOM after DOM is ready, and does not inherit styles
(by design)

Change-Id: I45a982b5c1c2a39718f38e77a33b79f89e460474
2013-07-08 07:42:49 +00:00
jenkins-bot
2fdf4bffb3 Merge "Accessibility attributes for ULS trigger" 2013-07-08 07:41:59 +00:00
Santhosh Thottingal
d217a2fe73 Make anything with class 'uls-settings-trigger' work like ULS trigger
Usecase:

Reading problems? click [here]. That [here] can be a ULS trigger to open
language settings.

Change-Id: I1561f8b782037bfdb418f33097fc8b4c519ef393
2013-07-08 13:05:44 +05:30
Santhosh Thottingal
1445d02e6e Accessibility attributes for ULS trigger
Bug: 50575
Change-Id: I07a6fa740e6dcdcb0fd4ae8832ba0ad6fd875170
2013-07-08 07:30:04 +00:00
jenkins-bot
870ac4fb16 Merge "Log ime-enable and ime-disable events" 2013-07-08 07:21:35 +00:00
Santhosh Thottingal
0145529035 Documentation for mw.uls.init
Bug: 50858
Change-Id: Iada465a8228955bf24f7a4628bf2288b3fe0c0ac
2013-07-08 12:40:49 +05:30
jenkins-bot
3121b25d02 Merge "jquery.i18n message store for ULS" 2013-07-08 07:04:52 +00:00
Santhosh Thottingal
3d6e4a007f jquery.i18n message store for ULS
Bug: 49935
Change-Id: Iddef0805abbf9b4ff0e606fc311c57e9dfa7107d
2013-07-08 06:55:21 +00:00
Siebrand
f72d552eb1 Merge "Remove default web font for Persian language" 2013-07-08 06:54:30 +00:00
Ebrahim Byagowi
b18c2b9f28 Remove default web font for Persian language
Bug: 49957
Change-Id: Ic77739a9748266eecbede8eeea28ab312ccb8b93
2013-07-08 06:50:51 +00:00
Niklas Laxström
034acf6f0f Log ime-enable and ime-disable events
Change-Id: I96964cb190d1a67bba536458ebadd3bd677d4fa6
2013-07-06 12:26:52 +00:00
jenkins-bot
2ea66a84a1 Merge "Use /** for method documentation blocks" 2013-07-06 12:22:35 +00:00
Amir E. Aharoni
6fdc9241e6 Fix indentation and tweak comments a bit
Bug: 50859
Change-Id: Ic827e200674fb72b8b88e362bab30662cc13e304
2013-07-06 14:00:35 +03:00
Niklas Laxström
c51384e4e1 Use /** for method documentation blocks
Change-Id: I6c7a8b7c2e2e861120caa1f1b5ff9b0dc7537737
2013-07-06 10:33:12 +00:00
jenkins-bot
7d1f6222fa Merge "Allow disabling of IME by a jQuery selector" 2013-07-05 13:38:36 +00:00
Amir E. Aharoni
8205e294d7 Allow disabling of IME by a jQuery selector
Add the variable $wgULSNoImeSelectors to allow custom
disabling of IME in specific elements.

Add captcha input field id to the exclusion list.

Bug: 41675
Change-Id: Ib03a20c50a4f473e6a58638b85da16659268eb09
2013-07-05 13:37:31 +00:00
Santhosh Thottingal
8ddff0b2fc Use single entry point mw.uls.init for all ULS ui initialization
Change-Id: I485ea27deebb530eb89e4b0935eda01a5276f884
2013-07-04 17:05:10 +00:00
jenkins-bot
ea50b8216c Merge "Allow loading redirects in Common languages" 2013-07-04 13:00:49 +00:00
Amir E. Aharoni
b6698228d4 Allow loading redirects in Common languages
Bug: 49847
Change-Id: Ia2380a77ebad789a2f70a7a88a1bb9970199b1c5
2013-07-04 12:55:39 +00:00
Amir E. Aharoni
900f5240bd Calculate the position of the menu near the cog properly
Instead of magic numbers, use a proper calculation according
to the elements' positions.

Bug: 49471
Change-Id: I9093b2c684f557e9e562762b7ef25ced37b8848b
2013-07-04 12:36:47 +00:00
jenkins-bot
7b9f4c863c Merge "Prepare ULS for EventLogging" 2013-07-03 10:42:43 +00:00
Niklas Laxström
4543d43dda Prepare ULS for EventLogging
This change introduces a new configuration variable, $wgULSEventLogging. When
set to true, ULS will register an EventLogging schema module for
<http://meta.wikimedia.org/wiki/Schema:UniversalLanguageSelector>,
making it possible to log events using `mw.uls.logEvent`. When false, the
schema module is not loaded, and `mw.uls.logEvent` is a no-op.

Change-Id: I7139e67cc2f830a6b4b3c8ff1fc72dfcdec9a699
2013-07-02 12:47:22 +00:00
Santhosh Thottingal
acbc10c494 After rendering input and display settings, refresh webfonts
Because those windows are rendered later. The settings window inherits
fonts. But button in those panels doesn't inherit. Make sure all panel
elements have current font applied.

Change-Id: Ibb8b12b3d973023c49ef89a04d534081bf8ee87f
2013-07-02 10:53:21 +00:00
Santhosh Thottingal
2776a28d58 ULS i18n performance fixes
* Since there is an API to load the i18n json files, avoid sending
  list of localizations to client. Previously this list was used to
  avoid 404s for json files. Now API takes care of it. Remove the
  caching for this list too.

* Preload the i18n files on document ready. This avoids delay in
  initializing IME or ULS window after fetch i18n from server.

* ApiULSLocalization can serve messages for all namespaces known if
  namespace parameter is not set

Bug: 50391
Change-Id: I6b848da35f57353790bf460983cdf19a11bb238a
2013-06-30 18:08:19 +05:30
Santhosh Thottingal
8f9cec5835 Sort the language modules by id
Bug: 49735
Change-Id: I82e0d47781f982dd1a6ea7cc1e3cbe07bfd6b616
2013-06-26 10:25:25 +00:00
Santhosh Thottingal
8e27852651 Fonts for nan(Min-nan) - Charis SIL and Doulos SIL
Added Doulos SIL
Mapped Charis SIL to nan

Bug: 47190
Change-Id: I2778f2e432bd9012fc985d8f10708a6ac7153ab3
2013-06-20 15:50:05 +05:30
Santhosh Thottingal
0815b87fe1 Update LinuxLiberine fonts
All fonts are autohinted from upstream
Version: 5.3.0

Bug: 49511
Change-Id: I1ad0c0e4fa2570ae9190be8f3ee8c5d5e21413a8
2013-06-20 11:31:18 +05:30
Santhosh Thottingal
47d4854aba Update Lohit fonts from upstream
All upgraded to 2.5.3 version from upstream
https://fedorahosted.org/lohit/

Bug: 49567
Change-Id: I407fbb84c8466302888d4f3c2390884aee860282
2013-06-20 10:36:05 +05:30
Niklas Laxström
10c1177c1d Remove comma that shouldn't have been introduced
Change-Id: Iaf24bc1cf4ec59fe2c44601eee1a19ccdac757ba
2013-06-19 18:19:42 +00:00
Santhosh Thottingal
7a95d13345 Use content language as default language for ime selector
Change-Id: I9780cefc6585ebcc99bd8a45ccf10ecf6ee54a4d
2013-06-19 10:04:43 +00:00
Siebrand Mazeland
9ac9163ecf Simplify return statement
Change-Id: I6a7a5c2aae4ead9c14208f67abf9f82ff71e165d
2013-06-17 16:39:03 +02:00
Siebrand Mazeland
1f9bf6f82c Update indentation and newlines
Change-Id: Iac833df12a00949d32f2ce2fc26a657bab3d8229
2013-06-17 16:36:34 +02:00
jenkins-bot
44a5d0c3dd Merge "Validate imeId before rendering" 2013-06-17 09:43:22 +00:00
Santhosh Thottingal
3b3e2da332 Disable Webfonts too for blacklisted browsers
Change-Id: I9feb342b091e00ef0279333018b86045932d68de
2013-06-17 09:33:03 +00:00
Santhosh Thottingal
9d75ff9a09 Disable IME too in blacklisted browsers
Change-Id: I140352f723bc4863d14ed6441c9e173310c683b3
2013-06-17 09:31:06 +00:00
jenkins-bot
c57bcd86f7 Merge "Make Display settings the default view for the cog Language settings" 2013-06-17 08:18:34 +00:00