Commit Graph

818 Commits

Author SHA1 Message Date
Niklas Laxström
da255cdc77 Fix Undefined offset notice
Also removed some dead code that never ran, there is no variable named
"$buckets" so it'll never have an offset.

Bug: 45327
Change-Id: I1f70ef0ec4f2434f9f072e718140ff8050b81ba3
2013-04-26 14:29:08 +00:00
Siebrand Mazeland
a46721412b Ignore libs for JSHint
Change-Id: Id37846ae10e0eef8132f99467a6f7190e4221fed
2013-04-26 15:43:07 +02:00
Niklas Laxström
6b143320ad Introduced $wgULSAnonCanChangeLanguage
This allows us to enable web fonts and input methods for all
users by disabling just the interface language selection.

Updated the documentation of the variables to make it clearer
what each does. Summary:
* Enabling: $wgULSEnable and $wgULSEnableAnon
* Workarounds: $wgULSAnonCanChangeLanguage and $wgULSLanguageDetection

Cleaned up hooks, in particular rewritten getLanguage to separate
the logged in vs. logged out steps for easier understanding.

A followup commit is needed to disable language selection UI for
anon if $wgULSAnonCanChangeLanguage is false.

Change-Id: Ia8d21c394ff5efac0ce94664710c97dc3b74ec18
2013-04-26 12:21:23 +00: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
2b2477c36c Update ULS from upstream
Change-Id: Ic1bcfb82ad433600ebb4896e303f3cf205d384e1
2013-04-25 15:17:44 +03:00
jenkins-bot
1844228c35 Merge "Show the web fonts selectors only if they are enabled" 2013-04-25 08:26:09 +00:00
Amir E. Aharoni
c61ff7d376 Add help text above the buttons
Change-Id: I73dfb7e9386f965a49ae8734d136972286f82605
2013-04-25 00:53:38 +03:00
Translation updater bot
d67b3fb9de Localisation updates from http://translatewiki.net.
Change-Id: Ie1601c3b81f4fbde92bc714c994b994bdee740cf
2013-04-24 20:09:05 +00:00
Translation updater bot
6abd976f4a Localisation updates from http://translatewiki.net.
Change-Id: I62eede2e0abdfd2d7dbc104ec71041a6c259c253
2013-04-23 20:14:28 +00: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
jenkins-bot
0fdedff4bc Merge "Update from upstream" 2013-04-23 14:32:14 +00:00
Amir E. Aharoni
552cd25ae6 Update from upstream
Change-Id: I8affdf79e5a2f33c88f7661082d2cbd7777240fb
2013-04-23 16:03:28 +03: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
c92afdb20d Merge "Remove uls-select-content-language" 2013-04-22 08:55:39 +00:00
Amir E. Aharoni
530149704c Cleanup CSS
Removed overqualified and repeating selectors and fixed whitespace.

Change-Id: I139a892a577351167c9193c24b3684680f2d0e97
2013-04-22 10:18:49 +03:00
Amir E. Aharoni
fdb58375bf Remove uls-select-content-language
Doesn't seem to be used.

Change-Id: I1ed94d165ccdc8d67278e8ad447322a5e637464e
2013-04-21 23:51:41 +03:00
Siebrand Mazeland
e5f3f95b2f Update .jshintrc
Change-Id: I9e2add1dac6bf76b4efc0bdf799b731333b28376
2013-04-17 23:29:04 +00:00
Amir E. Aharoni
02654e58ef Update from upstream
Change-Id: Ibc85020501e8193d7d104b13a966920c3de0f655
2013-04-17 15:18:00 +03:00
Translation updater bot
c8dcc35ef7 Localisation updates from http://translatewiki.net.
Change-Id: I6f11e35efcd52115b6583ef4f8f1bdf20fb97e98
2013-04-15 21:04:40 +00:00
jenkins-bot
61c13f600e Merge "Consistency changes" 2013-04-12 20:26:34 +00:00
Translation updater bot
8309d27af4 Localisation updates from http://translatewiki.net.
Change-Id: I7cba6c77a5b98e8c3000d471e51a70e24f789a7b
2013-04-12 18:20:07 +00:00
Amir E. Aharoni
943ac6bc6a Update from upstream
Change-Id: I7675edf85004272d63d0129c3a29034e6015ad16
2013-04-12 17:46:54 +03:00
Translation updater bot
32b89ed263 Localisation updates from http://translatewiki.net.
Change-Id: I9e32566a7e5c153511903c99d89d669c64014020
2013-04-11 20:24:46 +00:00
Niklas Laxström
e34163b9d3 Consistency changes
Change-Id: Id5c62940ef7084b97573cfd62974f3bc27dd418a
2013-04-10 12:52:14 +00:00
Translation updater bot
52c02f5743 Localisation updates from http://translatewiki.net.
Change-Id: I11bc7c709ec5c31bc664af68406b857bf84d6d8a
2013-04-06 20:06:25 +00:00
aude
b93e53ab23 Fix resource path fatal error
Bug: 46927
Change-Id: I8073c844682b1d8816704e1dc0e39bc197e08833
2013-04-06 15:59:17 +00:00
Translation updater bot
f21b8a8716 Localisation updates from http://translatewiki.net.
Change-Id: Ifd8583cb575ff0cc076311596cc8f970756e9b11
2013-04-04 20:10:00 +00:00
jenkins-bot
ac21e9e101 Merge "Update jquery.ime from upstream" 2013-04-03 23:26:47 +00:00
Niklas Laxström
977640a40f Add $resourcePaths
Change-Id: I2b3ef5f57566fe5bcc6549157e09c47fdc61e95f
2013-04-03 11:13:52 +00:00
Santhosh Thottingal
d3ce43b1d7 Update jquery.ime from upstream
Fixes the positioning of the menu if there is not enough space
in the left side.

Bug: 41738
Change-Id: I64d40acb41559b0b6376c03a4076d17dcedbc466
2013-04-03 05:50:14 +00:00
Santhosh Thottingal
38e1ab2e5d Monobook's CSS shouldn't change ULS language name case
Adds a skin specific css

Bug: 46725
Change-Id: I85e29515280ea2af6262c20937a0d9bd960244b3
2013-04-03 09:30:46 +05:30
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
jenkins-bot
6b29a229d4 Merge "Sort modules alphabetically" 2013-04-01 13:37:35 +00:00
Santhosh Thottingal
5bbdd16aa7 Version update
Change-Id: I52b4c9c7d5f8172dffe51c9fdfd1213f58d73b14
2013-04-01 09:44:36 +05:30
Translation updater bot
97009a3468 Localisation updates from http://translatewiki.net.
Change-Id: Ib74f5bdea10964fa77158cd203b4f35aa7b7c0ec
2013-03-28 19:16:54 +00:00
Niklas Laxström
9692a17671 Sort modules alphabetically
Change-Id: Id8a0daabe6204e2a4c52d702e29d891fd80b89ae
2013-03-28 11:11:18 +00:00
jenkins-bot
355b7bd4b4 Merge "Make sections more clear in settings panel" 2013-03-28 08:12:58 +00:00
Translation updater bot
07cfbe579c Localisation updates from http://translatewiki.net.
Change-Id: Ib0575481bd4b1cccf799726d125dd8b454dc109d
2013-03-27 21:07:01 +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
Niklas Laxström
7158b0adeb Add separate Resources.php
Change-Id: Ie02fbdd1bb8a1c83f66eacff8de0ca0bd6c67ab4
2013-03-27 15:09:59 +05:30
Translation updater bot
52fcc9888e Localisation updates from http://translatewiki.net.
Change-Id: I621bbc286f7b9f4b2a0326895a2eab1dc7623831
2013-03-26 21:21:45 +00:00
Niklas Laxström
00189afa66 Add ext.uls.geoclient back to deps
Change-Id: I4e1aa22edd89ff666b29c7b26c1928885e8bc896
2013-03-26 10:18:44 +00: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
Santhosh Thottingal
d4cea039b4 Update jquery.uls and make it more modular
jquery.uls RL module split to
* jquery.uls (language selector UI/UX)
* jquery.uls.grid (Foundation grid framework)
* jquery.uls.data (language database)
* jquery.uls.compact (compact mode ULS)

This contains updates from jquery.uls upstream

Change-Id: Iaddb1228c076f698498d3b0554061624b6e433c6
2013-03-26 07:17:58 +00:00
Translation updater bot
c4f0438597 Localisation updates from http://translatewiki.net.
Change-Id: I59347bd357665d6fc158bcc727c57b220804ccc6
2013-03-25 20:15:18 +00:00