Santhosh Thottingal
ec0ea0407d
Introduce Api for loading jquery.i18n json files
...
To avoid CORS issue with old browsers
Bug: 45958
Change-Id: I37638e06f21ab573c9ce37a4e9fb20bc763ac98f
2013-06-04 10:21:32 +00:00
Amir E. Aharoni
361eb95f33
Make "Cancel" reset preferences and "Apply" save and close
...
Bug: 48898
Change-Id: I9f5444ffd57ddf46d197ebdb23a18c0c4600b196
2013-06-04 10:42:29 +03:00
Santhosh Thottingal
8640964f95
Clicking on the 'Apply Settings' does not close the ULS panel
...
Bug: 48898
Change-Id: I0c05a9a1be14c1036110f84c7a0080b98f93ee1d
2013-06-03 15:10:38 +05:30
jenkins-bot
56d719ec50
Merge "Make sure languages section is visible when adding ULS cog icon"
2013-06-03 09:01:06 +00:00
Santhosh Thottingal
d1988bb3c7
Blacklist old browsers
...
Blacklist browsers not supporting boxModel
Change-Id: I19bd7e3dbaec2454d8512e5d6f394c21fb6ce5cd
2013-06-03 08:51:04 +03:00
Santhosh Thottingal
2a6cb597f5
Position the language settings in RTL with interlanguage position
...
The left position of the window was wrong.
Change-Id: I3353d930cb8251021f206ed5f1a0821d17059fe8
2013-06-03 05:44:55 +00:00
Santhosh Thottingal
73716f3f67
Remove lot of scroll to view related code
...
Just use javascript scrollIntoView to do that.
Also remove duplication of code related to this
Change-Id: Ied1235a85f4fe2d99afa127737979c24d3591118
2013-06-03 05:44:17 +00:00
Santhosh Thottingal
11fc0347ea
Make sure languages section is visible when adding ULS cog icon
...
Make sure element #p-lang shown.
Bug: 49005
Change-Id: I4cc238f87fdce0c5813b82516599ba3c0d3bf44c
2013-05-31 11:04:16 +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
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
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
Santhosh Thottingal
170be2068e
Reset the dirty bit after preferences are saved.
...
Bug: 48703
Change-Id: I5768c455324396d503646a4c803e9d512f47c0e1
2013-05-23 15:36:33 +05:30
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
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
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
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
2174740bb6
Revert "Add a MediaWiki preference for enabling ULS IME"
...
This reverts commit 6ae0fe3e44 .
The commit was duplicating the preferences in 2 places
making the syncing hard.
As per discussion with Pau, we will try alternate approach.
Bug: 48642
Change-Id: I5c97838ed875364dc35b66a3d6c33d9975b5107e
2013-05-22 07:46:05 +00:00
jenkins-bot
b887608e78
Merge "Scroll the window to show language settings if necessary"
2013-05-20 10:36:11 +00:00
Santhosh Thottingal
bf270812f5
Fix all jshint errors
...
Change-Id: Ib8fb350132bb34c1e063eb644af5aeff833f95e8
2013-05-20 15:07:42 +05:30
Santhosh Thottingal
146f0fc2a4
Scroll the window to show language settings if necessary
...
Restores the feature removed while refactoring in
Iafb15ac9a7140fcce9e71ed933be6c55be81dc7e
Change-Id: I3aec168457190b7bfb40c09c97252e0cbb3dd1de
2013-05-20 14:01:58 +05:30
Santhosh Thottingal
b1563040ab
Cog icon can be used to close the language settings panel
...
Bug: 47971
Change-Id: I7b6d6142e113bf3f90feef1650bc384a5edc42cb
2013-05-20 07:59:43 +00:00
Santhosh Thottingal
bb3e72f5a0
Simplify the language settings display
...
Directly show language settings instead of showing ULS language selector
and then simulating click on language settings
Change-Id: Iafb15ac9a7140fcce9e71ed933be6c55be81dc7e
2013-05-20 10:21:38 +05:30
jenkins-bot
ee9fe23599
Merge "Scroll language settings on all changes"
2013-05-16 09:52:35 +00:00
jenkins-bot
394f4ab943
Merge "Set the position of display settings to match ULS"
2013-05-16 09:52:15 +00:00
jenkins-bot
381a73a4d1
Merge "Replace id uls-more-languages with class"
2013-05-16 09:49:12 +00:00
Amir E. Aharoni
07465bf20c
Set the position of display settings to match ULS
...
Bug: 47822
Change-Id: I7b04a831b2c5d7932564a3cdde94be0e233f7a7b
2013-05-16 09:48:44 +00:00
Amir E. Aharoni
73e6e01c22
Scroll language settings on all changes
...
Change-Id: I550f309d713cb6aac6b18b326379b879dc0b9589
2013-05-15 15:33:26 +03:00
Santhosh Thottingal
3b2e39d822
Avoid duplicate languagesettings dialog in page source
...
Bug: 48211
Change-Id: I78ad47b1875f9f6f40707fb05f948c939fe91b39
2013-05-15 14:46:46 +05:30
Amir E. Aharoni
977b36ade6
Replace id uls-more-languages with class
...
Change-Id: I51f74f0b3bcec1b45dd5588638346a6d02a44e52
2013-05-15 10:45:35 +03:00
Amir E. Aharoni
6ae0fe3e44
Add a MediaWiki preference for enabling ULS IME
...
Bug: 47240
Change-Id: I957d9f409b0c29f956bcf8a49187cdf27c4f42f8
2013-05-13 15:48:00 +03:00
Niklas Laxström
2f4e9cfff9
Reduce rerenderings in input settings
...
Change-Id: Ia929bbbb2cd6be18e37d9b73b4eea199bd0ad4b8
2013-05-09 16:28:21 +03:00
jenkins-bot
254a61182e
Merge "Fixes for empty interlanguage links list"
2013-05-07 12:56:55 +00:00