Commit Graph

455 Commits

Author SHA1 Message Date
jenkins-bot
c632290b07 Merge "Fix CodeSniffer errors and warnings" 2013-08-05 07:22:07 +00:00
Niklas Laxström
0af4375e7c Fix spelling mistake in variable name
Change-Id: I791555dc4a04beb6109e212314f8f4747fc8b6d9
2013-08-05 04:04:19 +00:00
Siebrand Mazeland
102f257427 Fix CodeSniffer errors and warnings
More fixes will be submitted upstream.

Change-Id: Ib22997f8756537b063fd6eed3f1f74f3eda315d7
2013-08-05 05:55:03 +02:00
jenkins-bot
52b8c80092 Merge "Log language-change for interface language" 2013-08-05 03:29:17 +00:00
jenkins-bot
bd035b2a6f Merge "Add event logging for more languages in input settings" 2013-08-04 08:57:20 +00:00
Amir E. Aharoni
8c8b82ac4b Add event logging for more languages in input settings
Change-Id: I98b048ad8fdb923bc7e0834d2021c49b687ad9da
2013-08-04 08:56:19 +00:00
jenkins-bot
b5c89aa14a Merge "Add event logging for more languages in display settings" 2013-08-04 08:53:01 +00:00
Amir E. Aharoni
f2f006788c Add event logging for more languages in display settings
Change-Id: I5d358d4e4d2a526381cd06fdeba98e7254418a24
2013-08-04 08:51:37 +00:00
jenkins-bot
4369a413a7 Merge "Add newline at end of file." 2013-08-03 15:46:03 +00:00
Niklas Laxström
425709cdb3 Log language-change for interface language
Change-Id: Icf8067078043be0f3a1c4f2c645835d88414b616
2013-08-02 13:43:18 +00:00
jenkins-bot
b1c2abe773 Merge "Log ui-lang-revert" 2013-08-02 13:17:53 +00:00
jenkins-bot
c7e32cfe82 Merge "Log login-click event" 2013-08-02 13:14:28 +00:00
Niklas Laxström
e8479a070d Log ui-lang-revert
Change-Id: Ic48dbd7a9d4d43812f437e3c9f17d1ee208166e8
2013-08-02 13:14:27 +00:00
Niklas Laxström
8e1726e745 Log login-click event
Our logEvent wrapper now returns jQuery.Promise too.

Added timeout out parameter to our logEvent wrapper. Unlike
GettingStarted, I didn't create separate logUnlessTimeout
function.

Chrome apparently emulates enter on links as a click, so
this catches enters, left and middle clicks, but not if
the link is opened via right click menu. Might not catch
enter in all browsers.

Change-Id: I4b0eb56e7c7d6e56f8fd99d536f9b60b94a2e09e
2013-08-02 13:03:15 +00:00
Siebrand Mazeland
b3677810c4 Add newline at end of file.
Change-Id: I96f7633e3a0251e0ba836ca0c1b5265cdc3958e1
2013-08-02 14:15:31 +02:00
jenkins-bot
4332421aae Merge "Fonts for angwiki" 2013-08-01 06:05:19 +00:00
Kartik Mistry
baf0efd40a Fonts for angwiki
Fonts for angwiki (Old English Wikipedia) and other Old English
wikis.

* Fonts are from later Git snapshop (2013-01-17)
* Stripped hints to reduce sizes.

Bug: 51917
Change-Id: I276b3de4b1b11565c5fa25cfd8312bc4dbc8fab1
2013-08-01 10:06:37 +05:30
Santhosh Thottingal
c4631fdf51 Top position the ULS for IME menu wrt the input field
Currently it is positioned relative to the ... menu item.
It caused weird positioning at some places.
Positioning it relative to the input field makes more sense.

lazyload option was removed from jquery.uls. Removing it from here.

Change-Id: I331051a38d7dfd97466601bfcc2facaf446d0db9
2013-07-30 15:55:42 +03:00
Santhosh Thottingal
82fbfe62e7 Load jquery.ime only when user focus on editable fields
To reduce javascript size for page load.

Change-Id: Ibf2ccd5b5501720837051d6e268b122e8a9f8590
2013-07-30 14:18:55 +03:00
jenkins-bot
b0b1768771 Merge "Add Shapour font for Pahlavi script" 2013-07-26 22:42:43 +00:00
Amir E. Aharoni
56dd512725 Revert "Load jquery.ime only when user focus on editable fields"
This reverts commit 63d547915f.

Bug: 52115
Change-Id: I1d6b65622e8a103a8a892beacf268e77b9e1b2d0
2013-07-27 00:56:18 +03:00
Santhosh Thottingal
63d547915f Load jquery.ime only when user focus on editable fields
To reduce javascript size for page load.

Change-Id: I71928ac5149cbcf2cc75073fdf628403e6abe456
2013-07-26 16:08:35 +03:00
Santhosh Thottingal
d92c75518b Delay loading of language settings javascript
Load them when language settings is opened using cog or ULS icon click

Change-Id: I472497c549bff0fd578156fa0113dae2d6a7a7fb
2013-07-26 15:55:07 +03:00
jenkins-bot
b96e6ed20a Merge "Lazy initialization of language settings and ULS from interface triggers" 2013-07-26 12:32:42 +00:00
jenkins-bot
04342f86a8 Merge "Lazy initilization of language settings from ULS" 2013-07-26 11:20:09 +00:00
jenkins-bot
3ae89279fb Merge "Lazy initialization of language settings for IME menu" 2013-07-26 11:06:48 +00:00
Ebrahim Byagowi
b0b81f1d7f Add Shapour font for Pahlavi script
Bug: 44076
Change-Id: I4f04298628f799a60350707b6870efb16c6a9de0
2013-07-25 14:41:09 +00:00
jenkins-bot
49ef0058a4 Merge "Typo fix" 2013-07-25 12:32:31 +00:00
Santhosh Thottingal
81586572ab Lazy initialization of language settings and ULS from interface triggers
1. For interlanguage position, initialize language settings on first
click on cog
2. For personal toolbar position, initialie ULS on first click of
ULS trigger

Change-Id: Icda498f676d1d3ddaefad75fd9212150f6966666
2013-07-25 12:10:46 +05:30
Santhosh Thottingal
472432517a Lazy initilization of language settings from ULS
For personal toolbar position, initialize langauge settings only
after user clicks on the settings links

Bug: 48211

Change-Id: Ib3e2372e982de890db614a81c06fbbe170ce0d01
2013-07-25 12:10:38 +05:30
Ebrahim Byagowi
bebf6c4885 Adding Old Persian web font
Change-Id: I4ebabcd3c79b5507d87fc710dee8c986898e6c30
2013-07-25 09:39:22 +05:30
Santhosh Thottingal
eff459eea6 Lazy initialization of language settings for IME menu
Initialize it only when first time user clicks on it

In a page like Special:Translate where lot of input fields
appearing, the previous approach was adding many language settings
div to the page.

Bug: 48211

Change-Id: If063df6782c6a51ac77ed5531dfa253c7f3ddbc4
2013-07-24 11:12:01 +00:00
Santhosh Thottingal
1aafd31cf5 Typo fix
Change-Id: I496d137a706bd1672ea12f4d6d465d858a399794
2013-07-24 15:28:33 +05:30
jenkins-bot
36862734f2 Merge "Add the Gentium font" 2013-07-24 07:15:59 +00:00
Kartik Mistry
c0c748730f Add the Gentium font
Bug: 51159
Change-Id: Ie501b60778c02dcac6b1850643e2e75529380212
2013-07-24 10:12:54 +05:30
Santhosh Thottingal
7284215879 Fix javascript error with language fallbacks
Fallbacks are handled with ApiULSLocalization.

Bug: 51923

Change-Id: I9f68e0744bf0c730aa3a410901a9b536af7623fc
2013-07-24 09:50:02 +05:30
Santhosh Thottingal
f11ef736a4 Fix the logic of apply and cancel actions
* Refactored the Cancel button handler code to cancel method in
display settings and input settings.
* When the user makes changes in multiple modules and clicks the Cancel
button or closes the language settings after that, cancel the changes in
all the modules. See bug 50564.
* The Apply button was always active in input methods module. Fixed the
logic for that.
* Renamed the enableApplyButton method to markDirty in both modules.
* Introduced isDirty attribute to the modules for optimizing the Cancel
method to avoid unnecessary restore actions.
* More minor cleanup and documentation.

Bug: 50564

Change-Id: I71f527bfb7dd7f6724e4365371ac3e4fc0723ed6
2013-07-23 14:09:27 +03:00
Santhosh Thottingal
2159822145 Update jquery.i18n from upstream, use its default message store
In Iddef0805ab a custom message store was introduced for ULS, but
there were updates in jquery.i18n that allows us to use default
message store again.

(see https://github.com/wikimedia/jquery.i18n/pull/40)

Change-Id: I86cb7a44efa83e5811824cd1104c6be11b1e2925
2013-07-23 15:32:45 +05:30
Santhosh Thottingal
f144cd5c16 Fix regression of bf1d62ba4
https://gerrit.wikimedia.org/r/#/c/75076/ had multiple issues:
1. Selecting of input methods stopped working
2. With 'personal' position, ULS windows comes on every page click

Bug: 50559

Change-Id: I0cf815228760d27bca07acd58631713988659831
2013-07-22 11:25:30 +00:00
Santhosh Thottingal
bf1d62ba42 Close language settings when clicked outside
To make the behavior consistent with ULS langauge selection window.

This also avoid multiple language settings screen appearing in rare
case of using two entry points to access language settings one after
another.

Bug: 50559
Change-Id: I990eb6402085290df314db0a75235e0ad7b2fd55
2013-07-22 13:40:23 +05:30
Santhosh Thottingal
6ac12b6584 Better blacklisting of browsers using $.client
Change-Id: Ibc4d15008671700374fdc1e33d2e85f9899f9b35
2013-07-21 19:36:12 +03:00
jenkins-bot
c47e030221 Merge "Update the previous UI and content font whenever font value changes" 2013-07-21 16:20:30 +00:00
jenkins-bot
c7f67bb6ac Merge "Naming convention fix." 2013-07-21 16:08:48 +00:00
jenkins-bot
2dc2f23e0a Merge "Have no-repeat follow url for background images" 2013-07-19 11:53:45 +00:00
Siebrand Mazeland
3d1ab4e8af Have no-repeat follow url for background images
Bug: 51101
Change-Id: I5e355801085f79128d92c77cf78e27d06403b9dd
2013-07-19 12:42:10 +02:00
Santhosh Thottingal
944c74c958 Update the previous UI and content font whenever font value changes
Bug: 50562
Change-Id: I1e89af19149a02ad4ed7a4a6b7f096c258258cf4
2013-07-19 10:40:29 +05:30
Santhosh Thottingal
a3bf6f7e3d Naming convention fix.
Change-Id: If1661a9c35fafb048b2a30b9fefbace7668e98d7
2013-07-19 10:20:31 +05:30
Siebrand
db2f5de7b3 Disable default web font for language code "ml" again.
This reverts commit 489b949aa9.

Part of resolving bug 51019.

Bug: 51019
Change-Id: Ib58e2d567e55f793c449295396989eaea6d10f5f
2013-07-16 08:33:56 +00:00
jenkins-bot
550698aa80 Merge "Help links for ime selector menu" 2013-07-16 06:21:59 +00:00
Santhosh Thottingal
28154206bf Remove jquery.i18n code that the ULS extension overrides
Instead of using the whole jquery.i18n code, use only required parts
that are not customized in MW ULS. For this define a new RL module
ext.uls.i18n.

Also refactor MW message store for jquery.i18n.

Change-Id: Idda9fe505428ade409d937314d7216ebb4232c36
2013-07-15 13:28:12 +00:00