Commit Graph

752 Commits

Author SHA1 Message Date
Santhosh Thottingal
000d04c14e Update jquery.ime from upstream
Change-Id: Iac3c14f82c982396c4bcecfb3c5cc97df82c41cb
Version: 0.1.0+20130531
2013-05-31 16:43:46 +05:30
jenkins-bot
44dbfbba4f Merge "Show input methods for selected language correctly" 2013-05-29 11:49:49 +00:00
Santhosh Thottingal
66e1fab8a8 Exclude does not apply if the editfont preference is default
'editfont' == 'default' means 'Browser default' font setting. We can
apply webfonts there.

Change-Id: Iff522e0016d8284dc785580e6eb3dd2967c58289
2013-05-29 15:23:34 +05:30
Santhosh Thottingal
b9462e709f Update jquery.webfonts from upstream
Change-Id: Ic3baa18b01a972f08e51e84217e82d0939e674c0
2013-05-29 15:22:36 +05:30
Santhosh Thottingal
931cb6dc22 Do not use "System" as a font
Regression from I62860f9d62538915628ad21e5d904e56bdcc9430
Bug: 48871

Change-Id: I72f5c40739928244cd402c000b48af9911c5b0c7
2013-05-28 21:15:47 +05:30
jenkins-bot
e7b010c917 Merge "Don't show anonymous users tipsy with setlang" 2013-05-28 13:43:37 +00:00
jenkins-bot
37dcbe5cd2 Merge "Clarify labels for input methods" 2013-05-28 13:34:41 +00:00
Amir E. Aharoni
30aaafcaaa Don't show anonymous users tipsy with setlang
Bug: 47970
Change-Id: Ib7744b2d5f826ed781fff8359b5a4482b0bda522
2013-05-28 06:14:55 +00:00
jenkins-bot
c4ba77a6f3 Merge "Allow ULS language settings accessed from user preference screen." 2013-05-28 06:14:13 +00:00
Siebrand Mazeland
fb459cfd88 Clarify labels for input methods
Bug: 48536
Change-Id: I12fa43a9402f64f6da7ba040ff37363a2cc027bb
2013-05-28 07:54:27 +02:00
Santhosh Thottingal
8b46d34004 Allow ULS language settings accessed from user preference screen.
Adds a link in 'personal/i18n' section of user preferences

Bug: 47240
Change-Id: I04d1ea7d36db45f9a0af04e11dade9ae0b524e8e
2013-05-27 16:33:40 +03:00
Santhosh Thottingal
65711c312d Fix cancel behaviour of display settings
Font selection becomes persistent despite cancelling it
Bug: 47976

Change-Id: Iea4b65a8a13da3cb4a86f5b6521d62cb1372b42a
2013-05-27 18:24:14 +05:30
Santhosh Thottingal
8655504371 Refactor interface integration code
Reduce document.ready code by moving functions outside and grouping
tooltip related code to a function.

Also remove window and document from wrapper anon function since
browser: true is defined in .jshintrc

Bug: 48156
Change-Id: I7228285cdcb33b915e96e7e2c59e4dbc90f5fc96
2013-05-27 12:35:49 +00:00
jenkins-bot
702197a8a7 Merge "Get the saved font using the fontSelector defined in mw.webfonts.setup" 2013-05-27 11:05:45 +00:00
jenkins-bot
4861ff1ea7 Merge "Remove document from anon cover function" 2013-05-27 11:02:34 +00:00
Amir E. Aharoni
282b6c7644 Show input methods for selected language correctly
Remove redundant calls to prepareInputmethods
and redundant button styling.

Rename firstLanguauge to the clearer currentLanguage.

Switch checking for imeLanguage and the prereferences language
to make sure that the last one is shown.

Done in pair programming with Santhosh.

Bug: 48163
Change-Id: Ie8441f29eb20caa05534c8589481a26cb415a27f
2013-05-27 13:38:32 +03:00
Santhosh Thottingal
540ada592d Access i18n json files from same domain for IE8 and IE9
IE8 and IE9 does not support ajax with CORS. So make sure they
load json files from same domain.
See http://bugs.jquery.com/ticket/8283

Bug: 45958
Change-Id: I8442a5efbd4ca7db0f0a407ff94772ea8e213b29
2013-05-27 09:54:03 +00:00
Santhosh Thottingal
f23666a15a Get the saved font using the fontSelector defined in mw.webfonts.setup
Also make sure that correct language is passed to the getFont
It was wrong in current version - UI language was passed always
(introduced in a refactoring to avoid code duplication for content
and ui language- commit: 98bb1c200c )

Change-Id: I62860f9d62538915628ad21e5d904e56bdcc9430
2013-05-27 14:43:30 +05:30
Santhosh Thottingal
164568e516 Remove document from anon cover function
jshintrc has browser:true setting

Change-Id: I30acfb63f132473611be9da4edf12c3b6ea42523
2013-05-27 13:59:36 +05:30
jenkins-bot
c4536a063c Merge "Remove webfonts enabling checkbox and associated preference" 2013-05-27 06:30:31 +00:00
jenkins-bot
c4e631512c Merge "Remove unused resources" 2013-05-27 06:08:07 +00:00
Amir E. Aharoni
2ef2376bfe Remove webfonts enabling checkbox and associated preference
Bug: 48535
Change-Id: If735a733717596fae03042c5e277bd538bd8501f
2013-05-27 07:59:45 +03:00
jenkins-bot
3066c79174 Merge "Display notification when disabling input methods from keyboard icon menu" 2013-05-26 14:15:41 +00:00
jenkins-bot
c1a9e44f80 Merge "Update jquery.uls from upstream" 2013-05-26 13:48:16 +00:00
jenkins-bot
2eb9775cac Merge "Reset the dirty bit after preferences are saved." 2013-05-26 13:46:08 +00:00
jenkins-bot
c57cab0403 Merge "Reduce use of globals" 2013-05-26 11:07:01 +00:00
Siebrand Mazeland
264652b1fd Reduce use of globals
Or reduce the scope where they are available.

Change-Id: Idce74bda8f64cc6be62b58b2624629408ca18d4b
2013-05-26 11:46:12 +02:00
Siebrand Mazeland
17c1ce60e5 Update formatting
Break or shrink long lines.

Change-Id: I729dffe3f0d9e1132d9232779dc60647a1dc5a97
2013-05-26 11:23:17 +02:00
jenkins-bot
64b3ff6cde Merge "Fix some incorrect hook annotations" 2013-05-26 09:12:23 +00:00
Translation updater bot
4f3483f6f6 Localisation updates from http://translatewiki.net.
Change-Id: I414d8d6648d3049bc4332f0e9312aa03c63d0d14
2013-05-26 08:44:53 +00:00
Niklas Laxström
15b57bc315 Fix some incorrect hook annotations
Change-Id: I2594b50c07eafbee68df29152066c81a79035a9e
2013-05-25 08:43:27 +00:00
Translation updater bot
a2d770f7b3 Localisation updates from http://translatewiki.net.
Change-Id: Ie6385afeb17316272a03bac7d9f8232cd118c383
2013-05-25 08:29:23 +00:00
Niklas Laxström
d10f685eb9 Remove unused resources
Change-Id: I80eb3dc02e99fd0dda5990a3a690d897e054cfcd
2013-05-24 18:51:28 +00:00
Santhosh Thottingal
1248d24fb2 Update jquery.uls from upstream
* i18n update
* Fixes Bug 48151
* Adds Syriac language

Change-Id: I9b77b3eb74ce0050bc854c85e62060855c1268cb
2013-05-24 17:45:37 +05:30
Translation updater bot
c067f32ab7 Localisation updates from http://translatewiki.net.
Change-Id: I4fbbe8ec5b5831266dc770305b31b38a66a5a4bf
2013-05-24 08:38:59 +00:00
Santhosh Thottingal
170be2068e Reset the dirty bit after preferences are saved.
Bug: 48703
Change-Id: I5768c455324396d503646a4c803e9d512f47c0e1
2013-05-23 15:36:33 +05:30
jenkins-bot
bba4896df1 Merge "Optimize images" 2013-05-23 06:49:28 +00:00
Santhosh Thottingal
cea4d81766 Display notification when disabling input methods from keyboard icon menu
Bug: 48534
Change-Id: Id6c1cb22cb09a226cfcc84d597724e5d803392f3
2013-05-23 12:15:49 +05:30
Translation updater bot
432fb327b3 Localisation updates from http://translatewiki.net.
Change-Id: Iee09c425ccddf0742a1826ed5a9747194121289d
2013-05-23 05:44:20 +00:00
Amir E. Aharoni
4221b97ab2 Hide the ULS trigger for users who disabled JS
Bug: 42500
Change-Id: I297a8d3bb9d9031e21dd6842f5d27dd54f469c29
2013-05-22 16:04:20 +03:00
Santhosh Thottingal
3cdcd26b63 Do not show ULS in weird positions
ULS was shown relative to input field position. That will not work
always. Show it in default position - center of screen.

Change-Id: I5fd9f10d955322abd2623ce8b88792b391553dcd
2013-05-22 15:48:59 +03:00
Santhosh Thottingal
8f57432672 Revert "Remove redundant focus handler"
This reverts commit 739d952a81.
Bug: 48703

Change-Id: Ib66ed3c824f0bd5e68258eb5a39b8affc8b50e9f
2013-05-22 17:49:23 +05:30
Santhosh Thottingal
76e205234a Update webfonts test page
This was broken when the ULS javascript files were changed.

Change-Id: I7cb1769957a6514cd303aada459678a2ce8127ae
2013-05-22 11:52:22 +00:00
Niklas Laxström
6705754c75 Optimize images
Change-Id: I8cf0ec50425374e8abb89dcedc9663375e3d1edd
2013-05-22 09:16:42 +00:00
Santhosh Thottingal
4a49c25f10 Provide disable input tools option in IME menu
Bug: 48533
Change-Id: Ie856cbda344ae2624567fb6c2d6206996c3b10dc
2013-05-22 08:52:10 +00:00
Santhosh Thottingal
739d952a81 Remove redundant focus handler
focus on input field and updating language(can be changed from settings,
selector etc) is already handled inside jquery.ime

But focus on the particular input field need to be triggered, without
consuming focus event with in the event handler

Change-Id: I0b3783542e23b194fe141b9aef692a855469ce62
2013-05-22 08:49:47 +00:00
jenkins-bot
5bb2bd9658 Merge "Update jquery.ime from upstream" 2013-05-22 08:38:51 +00:00
Santhosh Thottingal
a73c24f54c Add fonts for Syriac Armaic languages
Fonts added: EastSyriacAdiabene, Estarngelo Edessa and SertoUrhoy
Languages: syc, arc
Bug: 47229

Change-Id: Id4f434c544d71a5b9a95ae73c7fd502cdd083019
2013-05-22 08:10:23 +00:00
Santhosh Thottingal
a93438a14e Update jquery.ime from upstream
Version 0.1.0.20130522

Changes:
* Correct the versioning by adding build date metadata
* Remove an unwanted css style
* Avoid screen jump on click of IME menu items
* AltGr+M doesn't create a µ
* Code cleanup

Change-Id: Ia9ccd89a24f4d8627cf3a16f59984ad79f3d49f5
2013-05-22 13:33:21 +05:30
jenkins-bot
33c4f8ea14 Merge "Revert "Add a MediaWiki preference for enabling ULS IME"" 2013-05-22 07:46:50 +00:00