Santhosh Thottingal
9a6f1cfd93
Update jquery.uls from upstream
...
* UX fixes
* More localization
Change-Id: I9f0345cbd4b785f4293ab02fe0006df5c7377cd1
2012-11-21 17:34:51 +05:30
Santhosh Thottingal
36a8382763
Do not close when clicked outside
...
Change-Id: I8c62161ee277dcbad9f8989362290b983978c785
2012-11-21 17:34:33 +05:30
Santhosh Thottingal
5e6d44e940
Close the language settings if clicked outside
...
Make the behavior consistant with ULS language selector
Change-Id: I9bfc29f908ebe48a1bb9cdcdede75a5d5aa3839d
2012-11-21 17:05:27 +05:30
Santhosh Thottingal
710e72c2c7
Fix Bug 42100 - Add more languages for OpenDyslexic font
...
nl fy li id tl gl bk nb added
Change-Id: Ie97aabe1e28bd92a7142f21a0b4dcda94ec3019f
2012-11-21 16:50:27 +05:30
Santhosh and Gerrit Code Review
5035f5d739
Merge "Small text styling for 'disabled IME' text"
2012-11-20 11:23:51 +00:00
Santhosh Thottingal
ad094f459f
Just hide the whole window after apply button pressed
...
Change-Id: I6fe8675bddc7fa5fa8e3ac56cdbb3604cc695e22
2012-11-19 15:11:54 +05:30
Santhosh Thottingal and Gerrit Code Review
d8599bee18
Update jquery.uls from upstream
...
* Bug fixes
Change-Id: Ibb57ba4465ddb0878260cc23d4b7fe8a01a272a8
2012-11-19 08:00:51 +00:00
Santhosh Thottingal and Gerrit Code Review
f8947b9686
Update jquery.ime from upstream
...
* UI improvements, fixes
* More input methods
* Misc functionality fixes
Change-Id: I1a516027e9654a498e4e87c83f8d72ad24eb5596
2012-11-19 07:56:53 +00:00
Santhosh Thottingal and Amir E. Aharoni
e3e0be19f2
Update the inputmethod settings as per design
...
Design: http://dl.dropbox.com/u/30377416/i18n/visual/input-settings.pdf
Do not show the language list and input methods if IME is disabled
And do not show descriptive text if IME is enabled.
Change-Id: I49e07cbadf7e253e4fb0d5a59029d9884308c06a
2012-11-19 09:20:41 +02:00
Santhosh Thottingal
7c4646a059
Remove href=#, to fix Bug 41988
...
Change-Id: I8eacaa452eb71d237fc671aa63c4707b8e14a83f
2012-11-19 10:59:26 +05:30
Santhosh Thottingal
5a604d9f3f
Updated webfonts test page with bold, italic, underline options
...
Works with font variants
Change-Id: Ic143498f1fa02f261e5740873a97929a8f6354b0
2012-11-14 17:05:25 +05:30
Santhosh Thottingal
0d11c4ef77
Updated repository with font variants
...
Change-Id: Iddb5dafd60a527b7ce4cb9a9a96e48f460d5fcdf
2012-11-14 15:28:58 +05:30
Santhosh Thottingal
cf8fcf80ee
Add font variants for Amiri
...
Change-Id: I657cd8cd7ff7921cc8973b89356e31a9eb49cf00
2012-11-14 15:25:17 +05:30
Santhosh Thottingal
54f229d72b
Update the font.ini with variant information
...
Change-Id: I9e50fb2be81f8597247458edd8e45073fb924d3e
2012-11-14 15:25:01 +05:30
Santhosh Thottingal
42e3a65131
Support font variants
...
Generate the font listing in javascript with variant support
An example of generated script:
"Opendyslexic": {
"version": "0.6",
"license": "Creative Commons Attribution 3.0 Unported License",
"ttf": "Opendyslexic\/opendyslexic.ttf",
"eot": "Opendyslexic\/opendyslexic.eot",
"woff": "Opendyslexic\/opendyslexic.woff",
"variants": {
"bold": "Opendyslexic Bold",
"italic": "Opendyslexic Italic"
}
},
"Opendyslexic Bold": {
"version": "0.6",
"license": "Creative Commons Attribution 3.0 Unported License",
"fontweight": "bold",
"ttf": "Opendyslexic\/opendyslexic-bold.ttf",
"eot": "Opendyslexic\/opendyslexic-bold.eot",
"woff": "Opendyslexic\/opendyslexic-bold.woff"
},
"Opendyslexic Italic": {
"version": "0.6",
"license": "Creative Commons Attribution 3.0 Unported License",
"fontstyle": "italic",
"ttf": "Opendyslexic\/opendyslexic-italic.ttf",
"eot": "Opendyslexic\/opendyslexic-italic.eot",
"woff": "Opendyslexic\/opendyslexic-italic.woff"
},
Corresponding ini file:
[Opendyslexic]
languages=en,af,pt,es,sw,de,fi,sq,fr,hu,ca,da,fo,ga,is,ms,sv,wa,lb,gd,oc,tr,mi,it,et,cy
version=0.6
license=Creative Commons Attribution 3.0 Unported License
licensefile=http://dyslexicfonts.com/license.php
url=https://github.com/antijingoist/open-dyslexic
ttf=opendyslexic.ttf
eot=opendyslexic.eot
woff=opendyslexic.woff
bold=Opendyslexic Bold
italic=Opendyslexic Italic
[Opendyslexic Bold]
ttf=opendyslexic-bold.ttf
eot=opendyslexic-bold.eot
woff=opendyslexic-bold.woff
fontweight=bold
[Opendyslexic Italic]
ttf=opendyslexic-italic.ttf
eot=opendyslexic-italic.eot
woff=opendyslexic-italic.woff
fontstyle=italic
Change-Id: I55afcd89fe5be5ecf35b4f2fc47ba508fbcfc41e
2012-11-14 15:21:23 +05:30
Santhosh Thottingal
bd8aa89c2b
Update jquery.webfonts from upstream
...
Has proper font variant support
Change-Id: I5af7243106b140ed87e729b3fd6563d57e21ca7d
2012-11-14 15:19:36 +05:30
Santhosh and Gerrit Code Review
1c6876ba8b
Merge changes I83625c21,I93b3329d
...
* changes:
Remove empty @returns comment
Fix possible variable pollution
2012-11-14 05:25:09 +00:00
Santhosh Thottingal
fed90fbacb
Update jquery.ime from upstream
...
Change-Id: I2bf298173918b8b4c8a14fd69242e858f6ec4744
2012-11-13 14:45:18 +05:30
Santhosh Thottingal and Gerrit Code Review
1c5c5deaf8
Follow up of Ie536dbe1 trailing whitespaces
...
Change-Id: I0acf85b946bb0dc55252a4f4b04dfc6070a1ca10
2012-11-12 06:09:38 +00:00
Santhosh Thottingal
743665d9f6
Update jquery.uls from upstream
...
* Multiple bug fixes
* UI changes
* More i18n
Change-Id: I1efc702262ad64b4b37742b343c9ca31dd3c574a
2012-11-11 12:50:49 +05:30
Santhosh Thottingal
c48b270dec
Fix Bug 41804 - Display Settings shows dual labels for Font Selection
...
Change-Id: I46a9a67595840d0e67b95226f6d1fa17de1946e5
2012-11-08 14:48:31 +05:30
Santhosh and Gerrit Code Review
5f14b23bc4
Merge "Avoid contstructing html with concatenation"
2012-11-08 08:44:23 +00:00
Santhosh Thottingal
0b89a50ff6
i18n updates for jquery.uls
...
Change-Id: Iaf7470e0443e4e0124f2b5379045bb2935917f14
2012-11-02 10:38:12 +05:30
Santhosh Thottingal
f6fbf13e05
Update jquery.i18n from upstream
...
Follow up of Id533eb69
Change-Id: Ib32c044433ee6ba8f487a33137a704885003cfbb
2012-11-01 17:43:16 +05:30
Santhosh Thottingal and Gerrit Code Review
63d98b05ea
Update jquery.i18n from upstream
...
Change-Id: Id533eb69c2c192f2cb42749214e5bb23d379e404
2012-11-01 11:47:59 +00:00
Santhosh Thottingal
ef8bad5754
Add z-index for the input selector to avoid hiding behind popup divs
...
update from upstream
Change-Id: Ic8ecb1439f4d2862f592426d9463bdea5ac37c83
2012-11-01 16:43:16 +05:30
Santhosh Thottingal
cccd49163b
Correct the preference overriding for IME
...
Change-Id: I80eddfe7476b1c7ff1562f79bc14f497e4630862
2012-11-01 10:18:20 +05:30
Santhosh Thottingal
e6c0052d1a
Update jquery.ime from upstream
...
Avoid css inheritance for the selector menu.
Change-Id: I407ff816582be9def0e9802a21e8ad06aa0d45ff
2012-10-31 18:03:32 +05:30
Santhosh Thottingal
a388d7cb95
Fix a syntax error
...
$wgULSIMEEnabled was not defined properly
Change-Id: I642c0b84e809e26ff0c98a471c5d092f6f6b6205
2012-10-31 15:43:26 +05:30
Santhosh Thottingal
fc29a7e587
Option for disabling the IME system
...
* It can be a user preference using the ULS Input method settings
* It can be a mediaWiki configuration $wgULSIMEEnabled
Change-Id: Ic5fb4932d62ab18db5d3b10ca81c0f6bfe9fd29e
2012-10-31 12:57:14 +05:30
Santhosh Thottingal
b24d629780
Update jquery.ime from upstream
...
- Namespaces for events
Change-Id: Ife372ec4fc3b9610c6a04ce5a94aa2b83b9c933e
2012-10-31 12:52:16 +05:30
Santhosh Thottingal and Siebrand Mazeland
8069e530e7
i18n for input method settings
...
Change-Id: Id6cf3f24fe355a6757533d3b7f302e3d33cfa0c3
2012-10-30 19:50:35 +01:00
Santhosh Thottingal
7546da7888
Update jquery.ime from upstream
...
Localized named for input methods
Remove capitalize keyboard for English
Change-Id: I3cd64c01adbe9749f8210119070301e0c4cb3488
2012-10-30 20:48:40 +05:30
Santhosh Thottingal and Gerrit Code Review
427c94dbbf
Avoid 404s in non-localized locales
...
* Update jquery.i18n - if messageLocationResolver returns false for
a locale, no server hit will be attempted
* Refactor i18n preparation code to a new method
* Use the ULS RL hooks to find out to which locales it is localized,
pass that list to js to avoid hitting server.
* Also avoid directory scanning in each request by putting
the locale list in cache
Fixes Bug 41454
Change-Id: I0c923b35db01b884e2dd55873dd5fb7384434645
2012-10-30 13:53:47 +00:00
Santhosh Thottingal
4818545939
Add a more settings link instead of the help link
...
It opens the input settings panel of ULS
Change-Id: I6d22585f735073d3d7d3e59eba24befe72238786
2012-10-30 11:33:50 +05:30
Santhosh Thottingal
e10bf2f3ce
Update jquery.ime from upstream
...
Fixes IE8 error on Object.keys
Change-Id: I91e05725ce890edc79b64fbbce3a6e2b920c7216
2012-10-30 11:03:07 +05:30
Santhosh Thottingal
45acc5d7b3
Update jquery.ime from upstream
...
Provides overridable help link along with other code cleanups
Change-Id: I78b8cdcd3ca53c9008674fc775e98aa9cf1e5764
2012-10-29 16:18:49 +05:30
Santhosh Thottingal
87c7d50b01
Move the IME customization code out of document.ready
...
Change-Id: If358cb1639b4a7e847aefac8f4b7b1923209f76d
2012-10-29 14:32:44 +05:30
Santhosh Thottingal
1c72077c89
Cleanup
...
whitepace, unwanted fixmes, wrong comments, jshint
Change-Id: I571b2b3a7e9fbbe7c93262ee9783fbe334d9170e
2012-10-29 14:27:40 +05:30
Santhosh Thottingal
3a621cbfea
Remove unused settingspanel.js
...
This was added in the assumption that there will be common code between
input settings and font settings. After development of both, it turns out
that there is not much common code
Change-Id: Id424122e515e9fa1f74030b0077c35835e6f15fa
2012-10-29 14:19:11 +05:30
Santhosh Thottingal
fc4ca9f823
Callback for preference save action is optional
...
$.noop() was wrong. Changed it to $.noop as callback
Change-Id: Iff935e1a9c1b364efd947ce1bff785dacb81570e
2012-10-29 10:34:43 +05:30
Santhosh Thottingal
e12f80ee75
Save the ime preference when disabled
...
This was causing unwanted activation of IME across page visits
Change-Id: Ibbcb5494154770ca363f8baf8e975973a393f7e2
2012-10-29 10:25:48 +05:30
Santhosh Thottingal
4adb53b01f
Show languages with Input methods in the language selector
...
When accessed from ... of input settings.
Change-Id: I553f1052143c56d5e4e96a2d62d1c3bc35eb4a02
2012-10-26 15:10:56 +05:30
Santhosh Thottingal and Gerrit Code Review
5cbad377e0
Update jquery.ime from upstream and a fix in default preferences
...
Default preferences are kept while loading from localstorage. It may
be empty first time. Handling that case.
Change-Id: If5780006120e401a4df1171146760692b8963363
2012-10-26 08:54:19 +00:00
Santhosh Thottingal and Amir E. Aharoni
3ef527960c
CSS, tooltip fixes for the more button in IME selector menu.
...
Change-Id: Ic1ace1191ad9745c9f02be4e5938ce3fb53da8b9
2012-10-26 10:49:45 +02:00
Santhosh Thottingal
2fb85713cb
Avoid lazyloading when used for input method language selection.
...
That list is small and we can load all the languages initially.
Fixes the scroll not appearing issue. Also fixes English being
appended to America region on scroll
Change-Id: Ic70d3ea30dc0ccf33a172361e0b50c07ed8ff82b
2012-10-26 11:14:03 +05:30
Santhosh Thottingal
10279414ed
Update jquery.uls from upstream
...
Change-Id: I77792a9f48bc3b8d030cdaef5fd2bfb9bd4e4699
2012-10-26 11:14:03 +05:30
Santhosh Thottingal
f13e474e43
Input method integration with ULS
...
The file ext.uls.settingspanel.js is a draft for common
code in the different settings panels.
Change-Id: I057274f16b27b2c18d43d41c1d43f485a18ef0bf
2012-10-26 11:14:02 +05:30
Santhosh Thottingal
90de05cb97
Make the setting item toggle on click
...
Selection was not removed from other items when clicked.
Change-Id: Ie460ecc6504ccbe2abc217ba2e0a027f407c31cc
2012-10-26 11:14:02 +05:30
Santhosh Thottingal
4b09afb2ba
Simplify the preference system
...
* Just use key,value system and drop the concept of groups
* Abstract the preferences for each type of systems(display, input)
to have meaningful APIs
Change-Id: I25423667adf6ca181a4027cdfc4ed378f36a94ba
2012-10-23 09:59:26 +05:30
Santhosh Thottingal
b8b6cc7be7
More jshint fixes
...
Change-Id: I132133b183be28165067f2c023304c00a4cb8f76
2012-10-16 17:10:08 +05:30
Santhosh Thottingal
59da3610f4
Jshint fixes for displaysettings
...
Change-Id: I29549893fa9081f5af3d7108a7515963ecf6bfc9
2012-10-16 16:58:51 +05:30
Santhosh Thottingal
7b30aa7f1a
JSHint fixes
...
* variables in one line
* double quote , single quote consistancy
* Unused variables
Change-Id: Id368190e7c4f46c8ef09deea88a0d5a7b32889ef
2012-10-16 16:55:53 +05:30
Santhosh Thottingal
2d18576bec
Use default font only if webfonts is enabled.
...
Also contains fixes to make code jshint valid.
Change-Id: I40577acfc939512c71ffe607c14a9fe795760588
2012-10-16 16:26:59 +05:30
Santhosh and Gerrit Code Review
400f401d4e
Merge "(bug 39531) Only show the fonts dropdown if there are fonts"
2012-10-16 09:05:30 +00:00
Santhosh Thottingal
1276a35f31
Check for window.GEO in getCountryCode
...
Followup of Id8d7356e
Change-Id: Ib89d72d35e69742797ffb29c0eb10897c410cc83
2012-10-15 11:01:19 +05:30
Santhosh and Gerrit Code Review
148afd77fb
Merge "Fix Hebrew L10n"
2012-10-14 11:32:20 +00:00
Santhosh Thottingal
b04a9bcced
Fix some TODO items in font repository
...
* upstream URLs
Change-Id: I4f2333c5aacab32e27347f056a1197d45b8b0baa
2012-10-14 14:59:45 +05:30
Santhosh Thottingal
c19c0b4db7
Fix Bug 40714 - ULS geoclient needs proper interface
...
Change-Id: Id8d7356ec75e8652c75927736a60b916dd069c28
2012-10-13 20:02:32 +05:30
Santhosh Thottingal and Gerrit Code Review
3ca9bbd8c3
Merge "Add .jshintrc"
2012-10-13 06:19:27 +00:00
Santhosh Thottingal
3dc66fd34c
Add .jshintrc
...
Change-Id: I2d2ee30da8bf6dad928e1027e67537310eb103dd
2012-10-10 18:07:18 +05:30
Santhosh Thottingal
f667c41d51
Update jquery.i18n from upstream
...
Change-Id: I1e913e08a45a899343eef84595374afdc76dff20
2012-10-10 17:54:51 +05:30
Santhosh Thottingal
da05b4e305
Load the fallback locales
...
To avoid message keys appearing for non-translated strings in a locale
Change-Id: I898bcf6ee4085054ae956740ba8d87f8e5ebee27
2012-10-10 17:53:19 +05:30
Santhosh and Gerrit Code Review
c3b26001d0
Merge "(bug 39535) Fix the creation of language buttons"
2012-10-10 11:11:35 +00:00
Santhosh and Gerrit Code Review
d9885d1522
Merge "Refactor font selection HTML"
2012-10-10 11:01:46 +00:00
Santhosh Thottingal
069d9e6915
Update jquery.uls
...
Also update the onReady callback as per the changes in jquery.uls
Change-Id: I9e4968af87258558f7a94900bd9bc735cb0d9662
2012-10-09 19:59:20 +05:30
Santhosh Thottingal and Gerrit Code Review
93ced2526e
Merge "Fix Bug 40539 Add Opendyslexic font"
2012-10-08 15:55:26 +00:00
Santhosh Thottingal
d9215c0585
Fix Bug 40539 Add Opendyslexic font
...
Added it as non-default font for following languages
en,af,pt,es,sw,de,fi,sq,fr,hu,ca,da,fo,ga,is,ms,sv,wa,lb,gd,oc,tr,mi,it,et,cy
Change-Id: Ia4b18cf0429dc9e07c89b84cdae16a8325806618
2012-10-05 10:36:53 +05:30
Santhosh Thottingal
99936c2b80
Update the test for webfonts
...
This was broken when jquery.uls moved to github
Change-Id: I874fb96301726792e7d22d66e71406192c44cf9f
2012-10-02 10:24:09 +05:30
Santhosh Thottingal
68c69fab6f
Respect the system default font for languages
...
If the default font is 'system' do not apply fonts.
Required for languages like English
Change-Id: I4f798c62856d33220b3b1d2d87451bcf6dca41d8
2012-10-02 09:34:39 +05:30
Santhosh Thottingal
68f63e003c
Explicitly mark the default fonts for many languages
...
Change-Id: Ib01e0dbf1bbd2bff6ff8e3aabd6a5ddbdcea6e6b
2012-09-26 21:26:08 -07:00
Santhosh Thottingal and amire80
e7cfb6efcb
Removed a trailing comma in message file
...
Change-Id: I48929297cd3ddcd1c82aaf5ea0ff3826161cc2e8
2012-09-26 21:03:25 -07:00
Santhosh Thottingal
018f8418ad
Internationalize Mediawiki ULS extension
...
Change-Id: I17d6c4d6322e30c96a48788dd34dc11530b809b5
2012-09-25 16:39:40 -07:00
Santhosh Thottingal
f102417791
Update jquery.i18n from upstream
...
Change-Id: I08eca83de39963b03e6b25b12cf1992f42c047e2
2012-09-24 23:23:01 -07:00
Santhosh Thottingal
8a570ec603
Updated README
...
Change-Id: Iddf21725a939884e7d45ae6520d6876b889ab6c5
2012-09-23 21:59:18 -07:00
Santhosh Thottingal
a13f9b739d
Internationalize ULS
...
* Integrate jquery.i18n
* Update jquery.uls from upstream and use the build version
Change-Id: I523444b1f6b177f14a4799a455a16a14649b0e1b
2012-09-23 13:12:45 -07:00
Santhosh Thottingal
569b09712c
Wrong exclude selector for webfonts
...
* It is not textbox. It is textarea. :(
Change-Id: Ib6b170fe09101448ccf231c5c3244b7ad3f7b291
2012-09-17 09:25:48 -07:00
Santhosh Thottingal
6e1f652abc
Update test cases and remove references to AU region
...
AU region does not exist, It was merged with PA
Change-Id: Icb0e8ec92b85db3b771d32c8728c02fd09c29a41
2012-09-14 22:17:15 -07:00
Santhosh Thottingal
ac79f8a205
Fix the broken default module rendering
...
defaultModule option for language settings is module name string
and not the module itself
Change-Id: Ief84cc723157df43c7ec57d6576a707df09b9e2d
2012-09-12 15:30:33 -07:00
Santhosh Thottingal
5c07275300
Fix Bug 39686 - Cancel button in settings should go to the previous context
...
* Add an onClose option for language settings
* Add a close method to language settings and display settings
* some documentation and cleanup
Change-Id: I3040e0740bd8a9f9f7d3ad508a3003415a24e7a9
2012-09-12 10:52:58 +05:30
Santhosh Thottingal and Niklas Laxström
5b728ec413
User region names instead of region codes
...
* Till i18n is in place, use a workaround to show region names in
English
Change-Id: I6e14ab67600ad32263f04eb0aa6b931177425e5a
2012-09-09 07:50:16 +00:00
Santhosh Thottingal
0b2b993b19
Correct selectors, and formatting
...
Fix the issues from Ib2c8cfed
And for ID based selectors removed the element name.
Change-Id: I0016246c3a32b2b3696a1da1c04f507275c2267c
2012-09-07 18:55:02 +05:30
Santhosh Thottingal
805482d9cd
Fix Bug 39529 - Display settings section should be selected by default
...
* add a parameter acitve to renderModule so that it is highlighted
and active
* move the default module render call to renderModule method
Change-Id: I5dca8586dddf1065b4e85642a40c3558f0b6586b
2012-09-07 17:25:02 +05:30
Santhosh Thottingal
5b3f7cc269
Whitespace cleanup, remove deprecated methods
...
* Fixed many white space issues- mainly whitespace missing before
function start paranthesis eg: function()
* Removed the deprecated live methods and replaced with on
* Added file documentation for ext.uls.geoclient
Change-Id: Ib2c8cfed1a6ff3859495e707680d5c19882a33e8
2012-09-07 16:47:03 +05:30
Santhosh Thottingal
5ce0dac72d
JsHint fixes - Move the invocation into the parens that contain the function.
...
Change-Id: I83d4808a9daeb6e0d52f77c718f9e384454d8ecc
2012-09-07 13:46:12 +05:30
Santhosh Thottingal
df34d47723
Fix Bug 39096 - Narayam compatibility with ULS
...
* Correct the event propagation
* Narayam blue background prevents the autocomplete visible. Overriding
background color with transparent, but that does not look good. May be we
should consider this while designing jquery.ime
Change-Id: If8ea8c1f074cc20b743805953a3bd68da62cb55b
2012-09-07 11:06:30 +05:30
Santhosh Thottingal and Gerrit Code Review
6d9bb6f6a5
(bug 39833) Make language code search case insensitive
...
Change-Id: I67b98f058f969cd2fe9fa22085f8f781b29dce3f
2012-09-06 09:59:35 +00:00
Santhosh Thottingal
b7d61c3607
Fix Bug 39930 - Common languages not always shown in the Worldwide region
...
Change-Id: I764af7ad88cf79e9e07b96f899f352ad3082df45
2012-09-06 14:15:05 +05:30
Santhosh Thottingal
cc1cca33d7
Fix Bug 39560 - Monospace font setting overridden
...
* use the exclude option from jquery.webfonts
Change-Id: I5c35c848197ceae0def6cbc31249f887b962365b
2012-09-06 11:18:11 +05:30
Santhosh Thottingal
bad1394c6a
Fix the broken region links in 'noresults' screen.
...
It was commented out in some previous commits.
Also correct the region code of America from NA to AM
Change-Id: I6cec2560393134de1190291e1f49bc0ac4280af0
2012-09-05 18:15:45 +05:30
Santhosh Thottingal and Amir E. Aharoni
8134f523dc
Add grunt to jquery.uls
...
This library is supposed to be hosted outside WMF gerrit. So adding a
build, test system.
* Add js lint and css lint
* minifier for css and js
* css lint does not pass now.
Change-Id: Iaadfad786f5de4b2ab95e24d3ea4f1d21952af75
2012-09-05 15:03:54 +03:00
Santhosh Thottingal
62a8d4f8fd
Update version from upstream
...
* Adds exclude option
Change-Id: Iaa220abf0bc11c26b13a481e1fbf3b307a0e9d0b
2012-09-05 13:46:58 +05:30
Santhosh Thottingal
dd3d214cb5
Misc jshint fixes
...
* Move the invocation into the parens that contain the function.
* unescaped regex
* Do not wrap function literals in parens unless they are to be
immediately invoked.
Change-Id: Ib3360f88fb7674af0e857d8a84a91fdac1fd8487
2012-09-04 16:02:28 +05:30
Santhosh Thottingal
97cbd51b49
Fix Bug 39922 - The "No results found" view lacks suggested languages
...
noresultsview is part of uls.lcd now, moved the html template too.
Change-Id: I9aee0ab1b62e61c3ec0e2c89f7d07b7a4432ef33
2012-09-03 19:31:41 +05:30
Santhosh Thottingal
9354d197d3
Fix Bug 39926 - Australia region inconsistent visibility
...
Removed AU region, using PA instead.
Change-Id: I088baf7de6d0c0d52a0cf42a159b6d3339793dcc
2012-09-03 18:44:25 +05:30
Santhosh Thottingal
3609e1f42e
Fix Bug 39829 - Language Selection does not work while using Language Code
...
This happens when you type language code and hit enter very fast, without
a pause. A matched language is not available when enter is hit, so it goes
noop.
Handled this special case by checking whether the input is a valid language
code and calling onselect on it.
Change-Id: Icaf809f8db8162264d990247a164449b02b2f418
2012-09-03 18:18:53 +05:30
Santhosh Thottingal
7a64e48321
Fix Bug 39921 - World wide languages need not be repeated in all regions.
...
Change-Id: I4470a2a7976df17f6f0f8f97d15ce12163cc3c27
2012-09-03 18:10:31 +05:30
Santhosh Thottingal and Niklas Laxström
ad4b091796
(bug 39687) Better title for display language picker
...
Change the language picker title to
"Select display language" when accessed from display settings
Change-Id: I7396dcfd7f33faa8bfa69f028bbf9e734e6b0b75
2012-09-03 08:57:37 +00:00
Santhosh Thottingal and Niklas Laxström
472cb8ba55
Fix Bug 39535 Recent languages in languages settings
...
* Refactor the code for frequent languages and introduce
mw.uls.getFrequentLanguageList
* Use it for showing previous languages in language settings
* Show the frequent/common language list in the language selector
opened from display settings.
Change-Id: Ic0f8ea6b9e9ba137b22649e8425fce8014ad456c
2012-09-03 08:46:47 +00:00
Santhosh Thottingal
c3201d95a7
Fix Bug 39733 - Setlang should clear uselang
...
When setlang and uselang given, setlang take precedence
Change-Id: I749647985932fe52c3c0d417678d98cd017f1f4d
2012-09-03 11:49:29 +05:30