Commit Graph

930 Commits

Author SHA1 Message Date
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
jenkins-bot
b95b7d75d5 Merge "Remove redundant value assignment" 2013-07-08 13:15:47 +00:00
jenkins-bot
5f33fa04bb Merge "Pass integer instead of string" 2013-07-08 12:41:51 +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
jenkins-bot
1be7eadbd1 Merge "Update jquery.uls from upstream" 2013-07-08 12:34:14 +00: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
ebdc446a73 Update jquery.uls from upstream
Change-Id: Id8ac99b0ae473272a83c083ac9da0fd25919b0a8
2013-07-08 15:28:09 +05:30
Santhosh Thottingal
2f61970301 Update jquery.ime from upstream
Change-Id: I37d3f1e6b0ebff3ddfd46b2c155e4f5fe590cb4b
Version: 0.1.0+20130708
2013-07-08 15:23:47 +05:30
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
jenkins-bot
9e9efa3993 Merge "Load messages from a fallback chain" 2013-07-08 06:57:17 +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
Translation updater bot
eae84c3b72 Localisation updates from http://translatewiki.net.
Change-Id: Ib6afb2eea5a3f600d56ccc987b4f119ffe3db16e
2013-07-07 19:46:37 +00:00
jenkins-bot
e211c477cc Merge "Update jquery.ime from upstream" 2013-07-07 15:50:41 +00:00
Santhosh Thottingal
69e037862c Update jquery.ime from upstream
Bug: 50790
Change-Id: I3755581136cca9958e31b20694c4285c14646c38
2013-07-07 21:01:57 +05:30
Amir E. Aharoni
cd32d36911 Load messages from a fallback chain
Initial commit was simplified by Niklas.

Change-Id: Ic45766ebeca0104de0f26441099de4e04064325d
2013-07-07 15:35:31 +03:00
Translation updater bot
9f2817f3df Localisation updates from http://translatewiki.net.
Change-Id: Iedb1e96e6ebe4c20c277e536c7da2168838fb0d2
2013-07-06 19:04:35 +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
6d530cbf33 Merge "Add a license for the Akkadian font" 2013-07-06 12:26:40 +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
Translation updater bot
70d6a7febc Localisation updates from http://translatewiki.net.
Change-Id: I351bd69f74099a36130382725a69e6f089175792
2013-07-05 21:40:33 +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
Kartik Mistry
fc84f728f2 Iranian Sans is missing source in font.ini
Until we've official page for font available, keeping Fedora page is
 better. It also says that official site will be available soon based
 upon Google Groups discussion about font license.

 Bug: 50648

Change-Id: Iae9be3788d6d05c86c66984faa8057d147b0561b
2013-07-05 16:14:23 +03:00
jenkins-bot
f7d222b874 Merge "Possible license issue with Utkal font" 2013-07-05 13:11:46 +00:00
Pau Giner
d8c1f40f66 Cog size adjustments
SVG and PNG versions have been modified to be of the same dimensions.
The sprite now is a 14x14px cog with an additional transparent pixel
above and below. resulting in two 14x16px areas. The added margin solves
the problem of image being cropped when zooming.

Bug: 50742
Change-Id: Iab4f578bdb1ea55c51eb528527fc38ce44c7be69
2013-07-05 13:05:20 +00:00
Translation updater bot
8df7b1ea02 Localisation updates from http://translatewiki.net.
Change-Id: I2f945ed168b38b13ecb8dbea0032f7cb5c26cccf
2013-07-04 20:09:29 +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
jenkins-bot
fcf27188f6 Merge "Calculate the position of the menu near the cog properly" 2013-07-04 12:38:45 +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
Santhosh Thottingal
44c6b50d84 Update jquery.uls from upstream
Performance improvements by matmarex

Change-Id: Ie89bd56702dec231a8c27f9cf8eeb7bbffe9b251
2013-07-04 16:20:35 +05:30
Kartik Mistry
bb153e59bc Possible license issue with Utkal font
* Font license is unclear, but 'strings utkal.ttf' gives enough
  information about license which is GPL.

Bug: 50650
Change-Id: I57dde88749858fd4e5d44007a83ab627feecbdcb
2013-07-04 10:41:03 +05:30
Translation updater bot
f9498661a2 Localisation updates from http://translatewiki.net.
Change-Id: If0759603e14d96625bedc045e1eabfcccbb9e85f
2013-07-03 20:03:36 +00:00
jenkins-bot
d2c5e03a81 Merge "Add missing license and url for Madan" 2013-07-03 11:21:42 +00:00
jenkins-bot
7b9f4c863c Merge "Prepare ULS for EventLogging" 2013-07-03 10:42:43 +00:00
Kartik Mistry
8ac72e31fe Add missing license and url for Madan
Bug: 50649
Change-Id: Ifc74a8b87435f4258157d22a8b18ad37de6da7d5
2013-07-03 15:05:47 +05:30
Amir E. Aharoni
94524979c4 Add a license for the Akkadian font
Bug: 50647
Change-Id: I732a12d2fd414419bcf25862c3e8b104426fbfa8
2013-07-03 11:48:59 +03:00
Translation updater bot
7c91efad4e Localisation updates from http://translatewiki.net.
Change-Id: I00fec84da714821b012a8db944b3a3641c501afd
2013-07-02 19:24:04 +00:00