Translation updater bot
a026a8cc32
Localisation updates from https://translatewiki.net .
...
Change-Id: I3835cf5657641dffabbfd41951156902129875f2
2016-08-30 23:03:50 +02:00
Leszek Manicki
6502728184
Add button to have revision slider expanded automatically
...
This adds a button which allows a user to make revision slider
automatically expand on each diff page (disabled by default).
User's choice is stored as a hidden user preference.
This is a bit hacky as it squeezes a button on top
of another button (100% wide expand/collapse button).
This also adjusts styles of ToggleButtonWidget so
the button looks more like a frameless button, although
it is created as a framed one (to have inverted behaviour
when button is in its "on" state).
The button only gets visible when Resource Loader finishes
loading JS and CSS to avoid button jumping around the top
of slider window before "right" styles are applied.
Bug: T142196
Change-Id: Id561485344cba9b136666fe31b086151467de19e
2016-08-30 13:57:12 +02:00
Leszek Manicki
6c8c275690
Do not include Revision Slider in the printable version of the page
...
Change-Id: I477e80b82a74ac02e48759fc912200350cfc1824
2016-08-29 08:23:00 +00:00
jenkins-bot
1153261782
Merge "Reload category links when reloading the diff after revisions change"
2016-08-29 08:07:00 +00:00
Translation updater bot
0b0bebf817
Localisation updates from https://translatewiki.net .
...
Change-Id: I95459fbf536e5e754d313b3968f6db367c00048f
2016-08-28 22:41:12 +02:00
Translation updater bot
9526cc2971
Localisation updates from https://translatewiki.net .
...
Change-Id: I11149d4b64b4e46a8a8c32edef69103dfe285dcc
2016-08-26 22:33:50 +02:00
Leszek Manicki
a64dc43963
Reload category links when reloading the diff after revisions change
...
Bug: T143843
Bug: T143204
Change-Id: I6871ef106729e598329647d2726bef4755c45299
2016-08-25 14:01:42 +02:00
Translation updater bot
741f4079d2
Localisation updates from https://translatewiki.net .
...
Change-Id: I4992dceefde56f5ce51ae6e94c843e665380fff3
2016-08-24 22:38:25 +02:00
Translation updater bot
ab238ebc4c
Localisation updates from https://translatewiki.net .
...
Change-Id: I6792cec94d94e10c7a36b50a75d51844c32ed282
2016-08-24 10:36:19 +02:00
jenkins-bot
805b92dd1a
Merge "Use moment.js's localized date and time format"
2016-08-23 10:19:07 +00:00
Leszek Manicki
4df5bab52b
Rephrase the label of the slider visibility toggle button
...
Bug: T142651
Change-Id: I64ef7db74e24a0fcb0f34f96e5de2419a4ac53bb
2016-08-23 11:36:19 +02:00
jenkins-bot
3c1c284de5
Merge "Highlight revision bar when hovering revision wrapper."
2016-08-21 11:04:45 +00:00
jenkins-bot
923d9608e2
Merge "Expand draggable/clickable pointer area."
2016-08-21 11:01:23 +00:00
jenkins-bot
01cf07fc12
Merge "Remove transition on revision wrapper hover."
2016-08-21 10:58:14 +00:00
jenkins-bot
6c365b1274
Merge "Remove 1px height from pointer container."
2016-08-21 10:54:45 +00:00
Translation updater bot
0998da3b98
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibeb8423d672da2264b9bfaae0e63f2eb11f1833b
2016-08-19 22:42:24 +02:00
Jakob Warkotsch
188c5d58c8
Remove transition on revision wrapper hover.
...
Bug: T143116
Change-Id: I85dbb9e9c46a022d701dc956051304090daa44fc
2016-08-19 16:18:17 +02:00
Jakob Warkotsch
c5687cde9a
Highlight revision bar when hovering revision wrapper.
...
Bug: T143115
Change-Id: I4e4d749e4d1b9644db66a476731a052c450caa3c
2016-08-19 14:57:11 +02:00
Jakob Warkotsch
19d98c55df
Remove 1px height from pointer container.
...
Bug: T143113
Change-Id: Id9eee9451cc2437adbf3c3e109b26bec028134ca
2016-08-19 14:44:05 +02:00
Jakob Warkotsch
2625c6f1aa
Expand draggable/clickable pointer area.
...
Bug: T143091
Change-Id: I43d8635542e489d816aea0b8ab3366207f27546c
2016-08-19 14:15:06 +02:00
Leszek Manicki
4f81f54272
Add type hints to getBetaFeaturePreferences
...
Change-Id: I3f72dbfae1e35a65789a420a71a7aab4f49ad05b
2016-08-19 12:05:17 +02:00
WMDE-leszek
2a00a235cf
Merge "Reload side panel when loading a new diff."
2016-08-18 13:55:58 +00:00
Jakob Warkotsch
2a25f73fc5
Remove unused message.
...
Change-Id: I3a266e1576aeec50c618568d7a05ab3ad29d39f1
2016-08-18 15:26:54 +02:00
Jakob Warkotsch
a88c05c1f6
Reload side panel when loading a new diff.
...
Bug: T143204
Change-Id: I1034c756f094c9a3b12cfdd65c94f036fc0e4eee
2016-08-18 15:00:55 +02:00
Leszek Manicki
d2a4c63107
Expand slider if there are space for more revision at the beginning
...
After resizing a window there might be more space at the beginning
of the slider "axis" than there are revisions loaded so far. In such
case the slider should be expanded, so more revisions are loaded
to fill the whole available space.
Change-Id: Ied8abe294967328112afb1fe4d14b2e29ed2c092
2016-08-17 14:35:01 +02:00
jenkins-bot
d353e0db32
Merge "Reload the page menu when loading a new revision."
2016-08-17 11:36:05 +00:00
jenkins-bot
a1a6c372fb
Merge "Resize revision slider when resizing the browser window."
2016-08-17 11:18:39 +00:00
Jakob Warkotsch
567ebde9fa
Reload the page menu when loading a new revision.
...
This avoids opening the edit page for the wrong revision when clicking
"Edit".
Bug: T143151
Change-Id: Iac2954449689c290c5f81a1a3a8505197d93dc14
2016-08-17 12:31:26 +02:00
Translation updater bot
c946d605f6
Localisation updates from https://translatewiki.net .
...
Change-Id: I49a4f0282b84a428db3b9b6836bdf1f5f90f3e7b
2016-08-16 22:45:03 +02:00
Jakob Warkotsch
4d6233f842
Resize revision slider when resizing the browser window.
...
Bug: T139101
Change-Id: I57c7d9e553f02c2e8eaa76ee729f85ec4ae2ec3b
2016-08-16 16:08:44 +02:00
jenkins-bot
18974dbd2c
Merge "Fix loading state of diff page"
2016-08-16 12:07:16 +00:00
jenkins-bot
e631281400
Merge "Abort pending requests"
2016-08-16 12:06:46 +00:00
Translation updater bot
0b23abcf29
Localisation updates from https://translatewiki.net .
...
Change-Id: I2e40a108aad37214c1b4901a7882cd0fe27c0b73
2016-08-15 23:01:40 +02:00
Ed Sanders
6c9e3e36a6
Fix loading state of diff page
...
* The jQuery for appending the 'darkness' mask was broken (not nesting)
* Use a more semantic name
* Simplify styling to just set opacity to 50%.
* Remove browser compatibility hacks as all MediaWiki's JS
supported browsers also support CSS opacity.
Change-Id: Id893a75bb90a4e6e2e8a26ebc3863de565d8a4ee
2016-08-15 11:20:34 -07:00
Ed Sanders
6997f135db
Abort pending requests
...
Ensure all requests are abortable promises, and abort if
a new, conflicting request is made.
Change-Id: Ie05142f6da8cba6dde4f73c1b22960b726af4764
2016-08-15 11:19:15 -07:00
Translation updater bot
b90451def8
Localisation updates from https://translatewiki.net .
...
Change-Id: I97abc3482736ab02e6a16a62cf778368564b8113
2016-08-14 22:29:27 +02:00
Translation updater bot
c526065fc8
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic60d52346ebb7e06f6bd3a349d2cf167d031b768
2016-08-13 22:31:45 +02:00
Translation updater bot
c0d5de15bd
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia86bdd5fc1460bccee21aaba79677562337c12a7
2016-08-12 23:14:39 +02:00
addshore
1ab20bf772
Also track the hook run count
...
This will give us a better idea of how many times the
slider is being sent out in by the php code as oposed
to how many times the JS code is running.
This number is important as client side the code will
listed to things like DoNotTrack and not send data!
The difference between the initphp and init numbers
should give us an idea of how often this is heppening!
Change-Id: I01db4318b08851de4c6b8c96cbf2740324160140
2016-08-12 10:31:18 +01:00
jenkins-bot
db8a5b7396
Merge "Convert the few instances of IDs to classes"
2016-08-12 07:43:50 +00:00
Translation updater bot
8045ac1318
Localisation updates from https://translatewiki.net .
...
Change-Id: Iebfc7b678b7e27a5e969f923987afeedbe518b7c
2016-08-11 23:57:58 +02:00
Leszek Manicki
90d652adef
Use moment.js's localized date and time format
...
Localized format of date containing month name, day, year and time
is used instead of format enforcing the order of time and date,
and use of short month name.
Bug: T141167
Change-Id: I39b2844e777beb986cefb3097d52d481bb038a63
2016-08-11 11:40:30 +00:00
jenkins-bot
d2f74b819b
Merge "Use natural language when referring to feature (but not extension/project)"
2016-08-11 10:40:59 +00:00
Leszek Manicki
9e4320cd31
Bump up the version in package.json
...
extension.json already states 1.0.0
Change-Id: I9265b96b932d3ebb88af201f724ee13aaab67e76
2016-08-11 09:31:05 +02:00
Ed Sanders
bfcee90aa6
Use natural language when referring to feature (but not extension/project)
...
Bug: T142651
Change-Id: I9fe75a04208049c4cc7c64bff182abec5fb52349
2016-08-10 15:44:42 -07:00
Ed Sanders
f6a44f43fe
Convert the few instances of IDs to classes
...
Makes for more modular code.
Change-Id: Ic71d7421aea548e5b4a9c4841cd4af49a3d385a5
2016-08-10 15:32:12 -07:00
Translation updater bot
c1beb0e03a
Localisation updates from https://translatewiki.net .
...
Change-Id: I7f30c3c9cc3fc39175b49c75b8b26c4ba6a7f0ed
2016-08-10 22:39:08 +02:00
Leszek Manicki
e243ca2746
Do not load RevisionSlider initially, add a button to show/hide it
...
Instead of loading RevisionSlider only add a little button
to expand RevisionSlider on top of the diff page.
This makes RevisionSlider only steal a bit of space over the
diff, and only inserts quite a big slider to users that want
to have it visible for the particular diff.
API calls are only made once RevisionSlider has been expanded.
This is re-submit of b0f229d75f
that was reverted in I26427faaa00b38c2aa1377a66224c9062dcca302.
Bug: T141871
Change-Id: I879de5774b2cce7b908e73cbbe869fd48d6afa23
2016-08-10 16:26:54 +02:00
Translation updater bot
e779aba4ff
Localisation updates from https://translatewiki.net .
...
Change-Id: I296a2cd7508ea94115edf40ecf02b937cfb6d727
2016-08-09 22:32:31 +02:00
jenkins-bot
4027c5d852
Merge "Revert "Do not load RevisionSlider initially, add button to load it""
2016-08-09 16:37:55 +00:00