Commit Graph

172 Commits

Author SHA1 Message Date
jenkins-bot
f56bab62e6 Merge "Don't show tipsy for an unknown language" 2013-04-26 09:38:19 +00:00
Amir E. Aharoni
6168c77924 Don't show tipsy for an unknown language
Includes an update from upstream.

Bug: 46841
Change-Id: I5a221037af72319f2220bb54230a9549046b6024
2013-04-25 19:21:38 +03:00
Amir E. Aharoni
0d5a4780e2 Scroll the ULS panel into view automatically
Change-Id: I9c46fcaaa13de62147ca0a8151e4e8706a6b09ee
2013-04-25 16:30:10 +03:00
jenkins-bot
74941191fc Merge "Add help text above the buttons" 2013-04-25 12:26:40 +00:00
Amir E. Aharoni
c61ff7d376 Add help text above the buttons
Change-Id: I73dfb7e9386f965a49ae8734d136972286f82605
2013-04-25 00:53:38 +03:00
Amir E. Aharoni
b27d0a902b Show the web fonts selectors only if they are enabled
Change-Id: I70b9f9468154b542a80a9717afdb414530bd0d37
2013-04-23 18:54:11 +03:00
Amir E. Aharoni
865ac4d380 Split language settings view into two tabs
Change-Id: I539b9794227e0aeac9a759b7e4aa3daf8b73a5c8
2013-04-23 14:33:48 +00:00
Amir E. Aharoni
f4f332a459 Add the sidebar ULS cog icon and $wgULSPosition variable
Change-Id: I6acf1e21316a41ab8fcb4fd65e065be68693430f
2013-04-23 14:53:58 +02:00
jenkins-bot
6ead4b9e12 Merge "Add Divehi font" 2013-04-01 13:45:43 +00:00
Santhosh Thottingal
305e883eb1 Add Divehi font
Using the font from GNU FreeFont(subset)

Bug: 42812

Change-Id: I55c5045ac764d9a40e7ee9b7e9881414816863f4
2013-04-01 13:41:08 +00:00
Pau Giner
a2bb12e332 Make sections more clear in settings panel
CSS adjustments to visually distinguish settings sections from the
settings panel. Sections in the left use a light gray background to
provide contrast with the specific settings of each category.

Change-Id: Ie56020d6b8886cb9296f9ac9defe6ad81a6cc184
2013-03-27 12:15:04 +01:00
Santhosh Thottingal
453912fdf2 Provide a base ULS RL module and seperate UI language selection
ULS is disabled for anonymous users on WMF projects. But to provide
rest of the features - apis, language database, language selection for
many use cases, we need to provide a minimal ULS. RL module
ext.uls.init does that job now.

For using ULS as interface language selection tool, new RL module
ext.uls.interface is introduced. That will add UI language selection,
webfonts, ime features, if enabled.

Change-Id: I796a7c9cce0de42bf8aa06b26e383e0075dbe1dd
2013-03-26 07:20:01 +00:00
Amir E. Aharoni
95253cfd47 Adding the Alef font for Hebrew
Change-Id: Ie0936a690613e31204a967cb693b1ef615fad3f0
2013-03-21 18:43:14 +02:00
jenkins-bot
f76ce1a4b4 Merge "Add Tuladha Jejeg font for Javanese" 2013-03-18 07:08:32 +00:00
Santhosh Thottingal
7178b0eb5a (Bug 42378) Make "disable IME tools" effects immediate as a preview
Change-Id: I76560e4c4bc0ddaa1c7cc78202e14a46b6e7ac76
2013-03-15 14:20:43 +00:00
Santhosh Thottingal
629947ea8b Add Tuladha Jejeg font for Javanese
for jv as non default font, for jv-java as default font

Change-Id: I86a60a510f2d2b070a4aaa7549c1e0c6936a4a01
2013-03-13 22:10:59 +05:30
Santhosh Thottingal
77383aa26a Simplify variables and clean up comments
Not supposed to have any functional changes

Change-Id: Ibb16af9144f183d85b985bcb3133a4244e310cda
2013-03-07 17:49:52 +02:00
Santhosh Thottingal
3cce3dd599 Cache the options token for preferences system
Change-Id: I2e9a4326119db390aba36cc5bc6da20c5c16eed1
2013-03-07 14:49:39 +05:30
Amir E. Aharoni
4f651fa0e2 Cleanup for JSHint
Change-Id: I35d2d41640f405f4e1e94b18ddac751437a84bb5
2013-03-05 14:50:12 +02:00
Amir E. Aharoni
16424982eb Check that ime was defined before selecting a language
Fixes a regression from I759c01f894569372d69d3b879e34aafda2ed41b1.

Change-Id: I5c3998b687fb92e3c90301edecb25b6a8306f423
2013-03-05 07:57:46 +02:00
Amir E. Aharoni
1df008a146 Make the IME selector state consistent in all textareas
Fixes:
https://mingle.corp.wikimedia.org/projects/internationalization/cards/2478

Change-Id: I759c01f894569372d69d3b879e34aafda2ed41b1
2013-03-04 18:58:11 +02:00
Amir E. Aharoni
dfbae630a5 Add 'ar' as a language supported by the Amiri font
It is used as the default in the Arabic Wikipedia, so it should be
used in jquery.webfonts, too.

Change-Id: I862e313add75e494fce9e85172b3b9ce869f3716
2013-02-08 17:35:38 +05:30
Amir E. Aharoni
f47b54819b Make disabling input methods work
Mark isDirty correctly.

Change-Id: I1c5219c9f63dec15272dd97341295e346cdabcb3
2013-01-17 18:35:03 +00:00
Santhosh Thottingal
076b9af4cf (bug 44021) WebFonts font drop-down menu has "Opendyslexic" instead of "OpenDyslexic"
Change-Id: Ibcdf2a915085a1b0560db609a8971d837fb2b8c9
2013-01-16 09:24:33 +05:30
Amir E. Aharoni
d0a340374e Fix variable name
Change-Id: Ic3e39197e62ddbd25da006d660dc10135bf1218e
2013-01-15 17:40:07 +02:00
Santhosh
f5790aaef3 Merge "(bug 42375) Show current IME language in ULS input settings" 2013-01-09 14:36:46 +00:00
Amir E. Aharoni
ba7c921b55 (bug 42148) Saving the preferences only if they changed
Change-Id: I46a6fa85bc5ebfe6f34a957c302b1bf997cb3576
2013-01-09 20:01:57 +05:30
Amir E. Aharoni
027776c85f (bug 41763) Add a hook for support uls-preferences
Change-Id: I8fdc1a0527c9a99b6e5eb95c183955a162233b1d
2013-01-09 16:12:20 +02:00
Amir E. Aharoni
e0e4ffa950 (bug 42375) Show current IME language in ULS input settings
Change-Id: I5240b1cb42b98ecb5dec96be838fbcf7736f81e6
2013-01-07 23:54:05 +02:00
Amir E. Aharoni
c81c2170c3 Add redirect from als to gsw
The 'als' is used in a non-standard way in MediaWiki -
it may be used to represent the Allemanic language,
the standard code of which is 'gsw', while 'als'
is ISO 639 3 refers to Tosk Albanian, which is
not currently used in any way in MediaWiki.
This local fix adds a redirect for it.

Also add a test to check that it works correctly.

Change-Id: Id904cab129eb58f8b96ce493e77d21da7c44ea8b
2013-01-07 17:54:02 +02:00
Siebrand
ca9a7e6f3c Merge "Fix the webfonts preferences" 2013-01-02 15:21:19 +00:00
Amir E. Aharoni
80ce8e068b (bug 42440) Fix button state when canceling
Also changed class names to make finding cancel buttons easier.

Change-Id: Ieaf242eb03add06038307d913a87a196d41ba01d
2013-01-02 08:04:50 +00:00
Nikerabbit
e7d1965f7c Merge "Whitespace" 2013-01-02 07:47:55 +00:00
Santhosh Thottingal
086ee5ff1d Fix the webfonts preferences
Disabling was not working actually. If disabled donot call
webfonts() on body. Also addresses Bug 39992.

Change-Id: I8e4d466dd9271604be6ae722c49357b192651950
2013-01-01 08:49:26 +02:00
Amir E. Aharoni
688e15f06d Whitespace
Change-Id: I9946260c314600a2147d4f04cdb4da79aa51985e
2012-12-31 21:57:31 +02:00
Amir E. Aharoni
9bb13f2c4e (bug 42384) Don't show the tooltip if the ULS panel is on
Change-Id: I199d2b0c84f2b682d7b698faff443504207ac466
2012-12-31 20:14:07 +02:00
Amir E. Aharoni
e8ed043352 (bug 42382) Indicate context in input settings/more languages
1. Fix a regression introduced in
27039e1141
- a change in a class name caused the back link not to appear.
Now the link is back.

2. Copy the same logic to the input settings panel.

Change-Id: Ie80032ee2e14853f96cfb3b48dec5c85398c8373
2012-12-10 21:50:36 +02:00
Amir E. Aharoni
c81419cc9e that -> displaySettings
Change-Id: I7233f7703bf6a9f2d79ed9e3cb4b744c703e09ef
2012-12-10 15:25:30 +02:00
Santhosh Thottingal
ff54d8ac13 Update jquery.uls from upstream
Contains CSS grid changes

Change-Id: I064304d0727c9a050935793c44588c6eb93c00b4
2012-12-04 11:07:28 +05:30
Santhosh Thottingal
442561663c Fix Bug 39684 - UI language change preview in display settings
When the user selects a UI language in the display settings dialog, the UI of
the dialog should preview immediately to the selected language. The change will
be only persisted if the user selects "apply changes".

Change-Id: I362e75c38c9d4a9921319f510653e2152d50fbb4
2012-11-26 08:49:41 +00:00
Santhosh Thottingal
45194da68c Add Kannada Gubbi font to repo, replace Kedage
Tcy also use the same font, but not default font.

Change-Id: I791e7d69b4c59867f208f2b3cdfa5305972130df
2012-11-26 09:58:36 +05:30
Santhosh Thottingal
ea8bbfd35d (bug 42374) Provide clear indication of lack of IME support for a language
Change-Id: Id637eed3544a66aac4185f9e9d967691fe481331
2012-11-23 12:38:52 +00:00
Santhosh Thottingal
e3d8189162 No need of IME in language search bar of ULS
Change-Id: Iab5c08f3edd5047200819fa3cde95bfb5d78db35
2012-11-23 09:57:41 +00:00
Amire80
c83ec2abea Merge "Fix the language selection from language selector for IME" 2012-11-23 09:57:23 +00:00
Santhosh Thottingal
59f32ad7fe Fix the language selection from language selector for IME
Change-Id: I40e77680e4832a38a9c0ae03bbf5a3850afa518e
2012-11-23 09:14:34 +00:00
Santhosh Thottingal
8bfe9862fa Avoid hardcoded font fallback stack
Change-Id: I07571d1390f4f68313b786d3dd1371488b6534a6
2012-11-23 09:14:20 +00:00
Santhosh
0f96c29356 Merge "(bug 39685) Disable the Apply button until there are changes" 2012-11-23 06:38:24 +00:00
Amir E. Aharoni
ac32e53fe6 (bug 39685) Disable the Apply button until there are changes
This commit completes the solution of this bug for Input settings.

Change-Id: Iebabb08bdd4138cff278b811a681d684363ecc12
2012-11-22 15:44:19 +02:00
Amir E. Aharoni
d912fbccfe (bug 39685) Disable the Apply button until there are changes
Make the button disabled initially.
Change the disabled property to false on every possible change.

For now this is only for display settings.

Change-Id: Ifea533a9606f66b5dfeb38075186ddec596330a6
2012-11-22 15:03:02 +02:00
pginer
4edd874d2e Visually connect input language and available methods.
Adds a tooltip-like panel to clearly indicate that input methods displayed
are related to the input language selection.

Change-Id: Ib4e9bca48f1f18cfd09a32c25f7ebf404af228e8
2012-11-22 14:01:20 +02:00