Commit Graph

650 Commits

Author SHA1 Message Date
Translation updater bot
d565cb954b Localisation updates from http://translatewiki.net.
Change-Id: I530fff0131c015ebf23f5ac275263ed6c95b87b1
2013-05-01 20:39:20 +00:00
Translation updater bot
7ca5f76edc Localisation updates from http://translatewiki.net.
Change-Id: I9456385a6cc8b4001ba313c49931b3538bc7fae2
2013-04-30 21:18:39 +00: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
jenkins-bot
d8cc21479a Merge "Add backward compatibility for fetchLanguageNames" 2013-04-30 13:23:00 +00:00
Amir E. Aharoni
c9a5ec7f19 Add backward compatibility for fetchLanguageNames
Bug: 46737
Change-Id: Ife7c2834c2b2c4f2619b4a5d8e0b0aa1db595984
2013-04-30 16:01:47 +03:00
jenkins-bot
35bb9ec608 Merge "Update from upstream" 2013-04-30 12:55:45 +00:00
Amir E. Aharoni
c1fadbd2e1 Update from upstream
Unbreaks escaping.

Change-Id: If7774237ba7993f366c6999c9fcefcd56d9221d2
2013-04-30 15:52:08 +03:00
Translation updater bot
4b5283182e Localisation updates from http://translatewiki.net.
Change-Id: I739de46c9d3053c20a27cbd90423b3aeb7d88d22
2013-04-29 20:03:23 +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
Siebrand Mazeland
16e7b63e41 Fix typo
Change-Id: Ic5a12a89c2442d8c658756db8ff392da5b6d1c2e
2013-04-29 11:20:13 +00: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
jenkins-bot
17a1507692 Merge "Cleanup for jslint and coding conventions" 2013-04-29 07:58:18 +00:00
jenkins-bot
59a85828d0 Merge "Update webfonts and uls libs from upstream" 2013-04-29 07:55:36 +00:00
Translation updater bot
6be768d56f Localisation updates from http://translatewiki.net.
Change-Id: Iea30f6541a1fc5d263c0448059a864e8e0221b31
2013-04-28 23:58:24 +00:00
Amir E. Aharoni
d0b8f24417 Update webfonts and uls libs from upstream
Change-Id: I338950789e94e1638069ca97cf29cea2d78cf3b8
2013-04-28 23:50:22 +03: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
4554c79d51 Load ULS language list from a resource loader module
Having them in the page source of every page view is wasteful.

Bug: 41210
Change-Id: If15e297a4781cc49ded06fbc906529f57a22aafe
2013-04-28 11:26:40 +00: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
jenkins-bot
7416740f95 Merge "Introduced $wgULSAnonCanChangeLanguage" 2013-04-28 11:11:06 +00:00
jenkins-bot
d516d50f7f Merge "Styling for the Language settings panel" 2013-04-28 10:46:01 +00:00
jenkins-bot
b23a76aad0 Merge "Ignore libs for JSHint" 2013-04-28 10:44:22 +00:00
Translation updater bot
9463fba67f Localisation updates from http://translatewiki.net.
Change-Id: If7b60d82e859d9c75952746ccec3adba2e074a64
2013-04-27 20:29:39 +00:00
Translation updater bot
26f6a53a02 Localisation updates from http://translatewiki.net.
Change-Id: If72e3c8b3e57a576122b73566f6ce19c006d071e
2013-04-26 22:15:29 +00: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
Siebrand Mazeland
0bbdabd5ab Update from upstream
Change-Id: If0e2a166c50b1e6c104cb81f01c42e4f22d43c21
2013-04-26 17:31:21 +02:00
jenkins-bot
48c16a2a43 Merge "Fix Undefined offset notice" 2013-04-26 15:27:23 +00:00
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