Commit Graph

635 Commits

Author SHA1 Message Date
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
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