Commit Graph

494 Commits

Author SHA1 Message Date
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
Amir E. Aharoni
d124a118a3 Force anonymous mode also in when the ULS is not shown in the sidebar
Change-Id: Ie82cfa06d32eb45f0c91e01135cff0bd481682b9
2013-05-07 11:50:49 +03:00
Amir E. Aharoni
448340b9da Fixes for empty interlanguage links list
* Change the title near the icon to 'Language'.
* Remove the empty box in the Monobook skin.

Bug: 47972
Bug: 47967
Change-Id: Ie6930509ed7f200cf0bffda91b8d9fd58f1bed8b
2013-05-06 16:47:03 +03:00
Niklas Laxström
f275dbeb98 I18n for System font
Bug: 47819
Change-Id: I9244aab0ec32c27bfc56dd5a441f02a9783e5fb1
2013-05-03 08:43:08 +00:00
Amir E. Aharoni
03546744ba Changes to show the display settings in the sidebar
* Add a caret for the ULS in the sidebar.
* Adjust the panel's position.
* Immediately show the Display settings instead of the language list.

Also added documentation.

Change-Id: I6635092e9e020cb1f5b51f437abde4e81c31ae48
2013-05-02 07:51:49 +03:00
jenkins-bot
93533b0512 Merge "Join some appends to one call" 2013-04-30 18:36:23 +00:00
jenkins-bot
63eb72ffca Merge "Rename confusingly named function" 2013-04-30 18:35:59 +00:00
Niklas Laxström
065948182c Fix tipsy behaviour
* Make it visible in interlanguage position
* Do not get stuck in no-tooltip state if previous lang is invalid

Change-Id: Iaf5727a8a729579c2a0c79d0e0dc49d58bbf66ea
2013-04-29 13:07:31 +00:00
Niklas Laxström
aee1fcff19 Join some appends to one call
Change-Id: Iccf4c7653aff775a6ea0ddc211135dab8b1d99d1
2013-04-29 12:20:42 +00:00
Niklas Laxström
d309c687e9 Rename confusingly named function
Change-Id: I685a1658ec911e28cba4c9d3d7cbaaf4f1cca22e
2013-04-29 12:20:42 +00:00
jenkins-bot
9bb7255467 Merge "Avoid null in the IME languages buttons" 2013-04-29 12:20:09 +00:00
Amir E. Aharoni
3471158dec Avoid null in the IME languages buttons
Change-Id: Ic64763fdba34bdcebde33104f7e6130d93a84e02
2013-04-29 14:52:37 +03:00
Amir E. Aharoni
422371f688 Don't let anonymous users change interface language
Language selector is still opened by default

Change-Id: Iee7d83179e71b4546d8f3cd4f6fb053262ce05e2
2013-04-29 10:47:27 +00:00
Siebrand Mazeland
b1aed294c0 Fix JSHint issues
Change-Id: I0d63ec803f9cc8719f5275717b788812149a94c5
2013-04-29 10:05:02 +02:00
Amir E. Aharoni
cfc66213f1 Cleanup for jslint and coding conventions
Change-Id: I6884759d9622220721840f44220648dce7838ff6
2013-04-28 23:42:47 +03:00
Niklas Laxström
60242e2c53 Use wmf geoip by default
Unlike freegeoip it also works with https

Also moved the getCountryCode function to init, as it should be
available regardless of whether we load the optional geoclient
module.

Bug: 40965
Change-Id: Ia18130890d09f86a93b5b61f7da7c48fcfa480c7
2013-04-28 14:25:26 +03:00
Pau Giner
8ca0733607 Styling for the Language settings panel
CSS adjustments for the font and input dialogs.

Change-Id: I75049afc7a71ed78edb6e17970699a28f2f2d04e
2013-04-26 18:51:38 +02:00
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