Niklas Laxström
d574548d41
Refactor showULSTooltip
...
Makes the code easier to understand and fixes T52743
Bug: T52743
Change-Id: If508f26b5133284f3059b50d420066a8b4fefb07
2015-03-27 15:02:09 +00:00
jenkins-bot and Gerrit Code Review
db44516b27
Merge "When changing language first time, language code was shown"
2015-03-27 08:37:45 +00:00
Niklas Laxström and Santhosh Thottingal
9bc291522b
When changing language first time, language code was shown
...
Now it shows the language autonym as expected
Change-Id: I1f2c3bca2b5582b917d65533b08545d1332782ab
2015-03-27 14:03:52 +05:30
jenkins-bot and Gerrit Code Review
411bb1e0aa
Merge "Clunky workaround for putting link into escaped message"
2015-03-27 08:23:58 +00:00
Niklas Laxström
231ab2dca0
Clunky workaround for putting link into escaped message
...
Not escaping the message trips up my unescaped message checker
Change-Id: I7e4de4c5b9008988f9d3eedd83c825b3a050849b
2015-03-26 13:26:41 +01:00
Santhosh Thottingal
faa1d2412c
Fix javascript error in inputsettings module
...
Change-Id: I77262c98a4a2efb91785b19bc1c306e3f2f16954
Followup: Id186ece6513f154
2015-03-23 17:11:17 +05:30
Evan McIntire and Nikerabbit
30d26a4fd2
Update inputs to use mw-ui styles
...
Replaces many of the styles with the new standard ones in mw-ui, which is
present in v1.22 of Mediawiki, the current lowest supported version of
ULS.
Might require a follow-up to reduce the amount of redundant CSS present
Bug: T52599
Change-Id: Id186ece6513f154e0388bc4170c21bdabb59038a
2015-03-19 08:51:31 +00:00
Ori Livneh
57b617f775
Don't force #p-lang to show using jQuery.fn.show
...
It's a performance anti-pattern; see
<https://github.com/jquery/jquery.com/issues/88#issuecomment-72400007 >
Change-Id: If6e521c27975f7d64932268fde5778aa63fd08ee
2015-03-07 18:31:04 -08:00
Fomafix and Nikerabbit
69475f0308
Prevent predefined object methods to be interpreted as valid language
...
Change-Id: I97bb0f8eef6a9361118527cecb4680aeac51b7e1
2015-02-14 12:08:07 +00:00
Fomafix and [[mw:User:Fomafix]]
0833c990e7
Apply coding conventions for JavaScript
...
Change-Id: Id158ac08d32cc7421e47ae6abdd2bd80879f04d9
2015-02-07 19:34:21 +00:00
Divya
ee94df2890
Margin below disable input tools button
...
Fixed bottom rule to extend within dialog
Bug: T1169
Change-Id: If15c52e2c06c2c267f6599bd40e147e095896e80
2015-01-08 12:24:00 -05:00
Fomafix and [[mw:User:Fomafix]]
78d9d155f3
Remove support for MediaWiki version < 1.22
...
On https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector
MediaWiki 1.22 or later is required.
Change-Id: Ib1b1db6cddb48318dbcae64797b2fa57d3198747
2014-12-04 22:37:55 +00:00
Niharika Kohli and Santhosh Thottingal
bdb7b9c3d3
Compact Links: Redesign the more languages button
...
Change-Id: Ie4d1cb5bf89ac47bac141b0f5a83452cfa9a0783
2014-12-01 14:32:31 +05:30
Niklas Laxström and Amire80
4a09ed96d5
Fix JavaScript error on pages without headings
...
Error was caused because .css( 'font-family' ) returns undefined for
elements which do not exist.
Merged two blocks both extending the default settings.
Bug: 67676
Change-Id: Ic33f3934166f4feb6dd088ca0d14e249fcf237a3
2014-11-08 20:08:43 +00:00
eranroz and Santhosh Thottingal
7865a65bb0
Compact links: Set href for langugage links in ULS panel
...
Based on jquery.uls upstream version 982e2c32e7b3
https://github.com/wikimedia/jquery.uls/commit/982e2c32e7b3
Bug: 64797
Change-Id: Ia8b2ad22913693d2f88693091d288ca74d7d8c87
2014-09-25 13:40:41 +05:30
Niklas Laxström and Santhosh
d25f7f3307
Fix ULS QUnit tests
...
Tests were failing for two reasons: wrong modules as dependencies of the
test module and test timing out due to incorrect usage of QUnit.asyncTest
and QUnit.start() and QUnit.Stop.
While at it, did some small cleanups and converted the number of
assertions to use non-deprecated QUnit.expect() instead.
Options are saved using postWithToken of mw.API. This also rises minimum
MediaWiki version to 1.22. This allowed removing hundred lines of code.
MLEB is already 1.22 and above.
Change-Id: I46a1674e4ede48a0e331c8d201d1d847db51d9dd
2014-09-18 11:40:39 +00:00
Santhosh Thottingal
dec7b34f1a
Use prop instead of attr for changing 'selected' state
...
Bug: 68998
Change-Id: I4f9231dde31e570e45c4af9e635d7bd9144a7db0
2014-08-25 17:13:08 +05:30
jenkins-bot and Gerrit Code Review
7b09200f24
Merge "uls- prefix classes and IDs"
2014-08-25 04:27:04 +00:00
jenkins-bot and Gerrit Code Review
d38d3cc6e8
Merge "Compactlinks: Use an actual button to build a button"
2014-08-25 04:13:08 +00:00
Derk-Jan Hartman and Niharika29
1b81fa1e49
Compactlinks: Use an actual button to build a button
...
Bug: 68075
Change-Id: Id9c72975df7b3dc9a38aca2a9d6165275bb39731
2014-08-23 14:30:19 +00:00
Ed Sanders
d20c067b76
uls- prefix classes and IDs
...
Needs to merged with https://github.com/wikimedia/jquery.uls/pull/147
in core.
Change-Id: I860e5ac7f2fc17508cc76fb756d39cbd61aa1afe
2014-08-22 20:56:15 +00:00
Kartik Mistry
b8d2081b80
Update UnifrakturMaguntia to new upstream release
...
Version: 2014-07-06
Upstream URL: http://unifraktur.sourceforge.net/maguntia.html
Change-Id: I2a757bc8e5833063e30d72fde1b0bf2df3a8e7f3
2014-08-19 09:22:47 +05:30
Reedy and Krinkle
e0bcfb770b
Add Comic Neue
...
http://comicneue.com/
Change-Id: Ic010455ef73c63828123f42c376db3769218e404
2014-08-06 14:55:42 +00:00
Niklas Laxström
fe4e101851
Stop using deprecated jquery.json module
...
Not loading the "json" module either, because of backwards compatibility
and because we are likely already blacklisting browsers which don't
support json natively (mainly IE7 and older and IE8 not in standards mode)
Change-Id: I80b9eb9a7c224b5c843d42c36aca4c5e9f20c207
2014-07-12 19:20:22 +02:00
Amir E. Aharoni
6de6bdf8f2
Remove tofu detection logging
...
Change-Id: I2b808bae2ee19062c16d8aaff2bdf0b2986e8ad0
2014-06-26 16:02:49 +03:00
Federico Leva and Amire80
b8517a2a1d
Replace #p-lang-list for monobook as well
...
Followup to I154919a54b032dd481fe080204a2a16819d85140
Change-Id: Ibbfccfe2300f10808a45ee2bb1ecb45dcf3eb079
2014-06-12 13:42:30 +00:00
Thiemo Mättig
91018834c3
Keep Monobook skin intact
...
Bug: 64741
Change-Id: I5f54537f66d72785744221c64a6705d98f1689f9
2014-05-30 22:49:04 +02:00
jenkins-bot and Gerrit Code Review
84f07fe5f8
Merge "Remove unwanted anonymous functions"
2014-05-27 10:25:58 +00:00
jenkins-bot and Gerrit Code Review
518a7ae3c0
Merge "Always display assistant languages where available"
2014-05-27 04:04:12 +00:00
Nemo bis and Santhosh
625334fe63
Always display assistant languages where available
...
Assistant languages are chosen by users in a wiki with
Translate extension. If assistant languages are defined,
use that also for predicting the languages in compact list.
Bug: 62342
Change-Id: I25f42f3802e80baf5d4724ba6e42e00b8be2349e
2014-05-27 04:03:50 +00:00
Santhosh Thottingal
0c16041f5b
Fix the missing close icon in ULS
...
Regression after the patch I39005ef2425c01b8623bf9df6d75c1e27f1c5bda
and I4a2542b3b745b8b749845a7e8dbb926dd5c4f0e4
Missed to rename the class in MW ULS.
Change-Id: If44d225a2e859dafa544b4a99ee554cecbfd8aca
2014-05-26 14:11:27 +05:30
Santhosh Thottingal
2d9a28b694
Remove unwanted anonymous functions
...
Change-Id: Ieefbd58fbc829182048df1d89921b97599a3392c
2014-05-26 11:51:59 +05:30
florianschmidtwelzow and Santhosh
2794039142
Close the tipsy tooltip when clicked on it
...
We want to close tipsy when user clicks on itself, not on trigger.
Bug: 65664
Change-Id: I0de52d3917a984e675e42b83b9f5b767bd7f2e4b
2014-05-26 06:14:58 +00:00
jenkins-bot and Gerrit Code Review
eb600dfbee
Merge "Replace #p-lang-list with #p-lang .body ul"
2014-05-23 09:31:54 +00:00
Amir E. Aharoni and Nemo bis
50f6bdce29
Replace #p-lang-list with #p-lang .body ul
...
The #p-lang-list id was removed from core (I028880cfa),
and this broke the compact links beta feature.
This commit replaces it with a different selector.
Change-Id: I154919a54b032dd481fe080204a2a16819d85140
2014-05-22 13:17:15 +00:00
Santhosh Thottingal and KartikMistry
e3a480205c
Update the class names per update jquery.uls lib
...
jquery.uls renamed settings-block class to uls-settings-block.
Similarly icon-close to uls-icon-close
Change-Id: I39005ef2425c01b8623bf9df6d75c1e27f1c5bda
2014-05-22 11:27:08 +00:00
jenkins-bot and Gerrit Code Review
f716a176f8
Merge "Add Hussaini Nastaleeq font for Urdu"
2014-05-12 05:45:11 +00:00
Kartik Mistry
5e9550431c
Add Hussaini Nastaleeq font for Urdu
...
* Added Hussaini Nastaleeq font.
* Added custom license text for Hussaini Nastaleeq.
* Updated licenses/README for new license.
Bug: 56939
Change-Id: Icd28de1172783c794ac16aaa60e27056b728fb28
2014-05-12 11:03:36 +05:30
Nemo bis
131ca48d0b
Misc typofixes
...
Change-Id: I0da399382082ad0d197f48641050b6813e3bdc6e
2014-05-11 15:52:13 +02:00
Santhosh Thottingal
8e665c5607
Allow overriding the header styles from typography refresh
...
Bug: 63718
Change-Id: Ifa36c6718694158c44da09ae8eb62d31ef5fd0a0
2014-04-16 04:07:36 +00:00
jenkins-bot and Gerrit Code Review
53a4d8b087
Merge "Allow always logging tofu detection"
2014-04-14 03:46:01 +00:00
Amir E. Aharoni and Santhosh Thottingal
10a25c1cc9
Allow always logging tofu detection
...
This commit allows to log tofu detection always,
even if the rest of the webfonts library is not loaded.
By default this is disabled.
To enable it, set the variable $wgULSTofuLoggingChance
to a number between 0 and 100, indicating the chance of it
getting logged. The idea of the lottery is that even a partial
sample can be useful.
Change-Id: Ia08fe0de348b7eebfa95498a6be58ae41608ba3b
2014-04-14 09:14:14 +05:30
Amir E. Aharoni and Santhosh Thottingal
7c5b750700
Localize the number in the "more languages" message
...
Change-Id: I11c88423b048f31c8a6fc9be1af63e32835717b4
2014-04-06 20:17:08 +05:30
Amir E. Aharoni and Santhosh Thottingal
2ac455bd2a
RTL positioning for compact interlanguage links
...
Bug: 62981
Change-Id: If68975431eb58a7fcafcb7fec9f8a95f5e09ad80
2014-04-06 19:48:56 +05:30
Amir E. Aharoni
d4c2053fc0
Whitespace and comments cleanup
...
Change-Id: Ic1f3d3acbb8d6473d6cc5c2d04f3689dca49f911
2014-04-04 18:52:50 +03:00
Amir E. Aharoni
debc1db7e6
Update the comment for $.fn.webfonts.defaults.fontSelector
...
Suggested by Niklas in the comments on
If68fce9c0bd281019de6e2992c856bdbe843aec8
Change-Id: I3d61b757c72504cac961d13f89f0b3df58746c7b
2014-04-01 14:50:09 +03:00
jenkins-bot and Gerrit Code Review
7b8b1c1f8b
Merge "Simplify tofu detection cache"
2014-04-01 11:30:07 +00:00
Niharika Kohli and Santhosh
28d5d8da03
Unhide a language instead of adding it
...
Solves a few bugs. Displays language titles and quality indicators
are not lost.
Bug: 62376
Change-Id: I0d597eec3b70bb33c96086eefe14edcd92029aaa
2014-04-01 10:42:31 +00:00
jenkins-bot and Gerrit Code Review
430544be2d
Merge "Reorganize the compact links code, make it a jquery plugin"
2014-04-01 10:42:13 +00:00
Santhosh Thottingal
92652c11b1
Reorganize the compact links code, make it a jquery plugin
...
No change in functionality. Refactored the code a lot and made it as
a jquery plugin, similar to the other components of ULS
Change-Id: I69199ba37b13ec7fd4a9b7b8eba5b3aa28f0edb5
2014-03-29 10:02:55 +05:30