Commit graph

573 commits

Author SHA1 Message Date
Translation updater bot 8045ac1318 Localisation updates from https://translatewiki.net.
Change-Id: Iebfc7b678b7e27a5e969f923987afeedbe518b7c
2016-08-11 23:57:58 +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
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
WMDE-Fisch c5690ba763 Revert "Do not load RevisionSlider initially, add button to load it"
This reverts commit b0f229d75f.

Change-Id: I26427faaa00b38c2aa1377a66224c9062dcca302
2016-08-09 16:34:53 +00:00
jenkins-bot 18d6c7df05 Merge "Do not load RevisionSlider initially, add button to load it" 2016-08-09 15:36:30 +00:00
Leszek Manicki 33b32155b9 Add link to extension talk page to the help popup
Bug: T142200
Change-Id: I119894e05f610850d1e4819a145c84653e138117
2016-08-09 15:06:17 +02:00
Leszek Manicki b0f229d75f Do not load RevisionSlider initially, add button to load 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.

Bug: T141871
Change-Id: Ib312f6225b85b9ebdf4ac5d16e254a57d5cf6411
2016-08-09 14:54:59 +02:00
jenkins-bot fe9a7f39c5 Merge "Make the "show help" button a OOjs ButtonWidget" 2016-08-09 08:08:42 +00:00
Translation updater bot cf3e4e7b78 Localisation updates from https://translatewiki.net.
Change-Id: Iad82add98ef11e2b6cc99ef00c28c8e7132dfde8
2016-08-08 22:35:33 +02:00
Leszek Manicki 0af4fe35d5 Make the "show help" button a OOjs ButtonWidget
This also adjusts position of the help icon so it better fits
the available space.

Bug: T139150
Change-Id: Iec7ec31a83a1a847cd68a994ecac12acf960d699
2016-08-08 13:14:31 +00:00
Translation updater bot 120dc61947 Localisation updates from https://translatewiki.net.
Change-Id: Ib7c42f2c1ed9e8de1c593ad3c56a9bc2de2b172b
2016-08-07 22:40:56 +02:00
Translation updater bot 33917d94f7 Localisation updates from https://translatewiki.net.
Change-Id: If13b1f70ed5c6ea8bf9200a56c463fd9d319dc52
2016-08-05 22:34:12 +02:00
Translation updater bot 456341344a Localisation updates from https://translatewiki.net.
Change-Id: I9cb45c668d692c44b75ac6f06412e327d0daf15d
2016-08-04 23:29:52 +02:00
Translation updater bot e9eba8e74c Localisation updates from https://translatewiki.net.
Change-Id: Iff4fbe5a443b0be046bf16115d9be09abb8d7ae3
2016-08-03 22:40:59 +02:00
jenkins-bot 7010b98d7f Merge "Include a number in messages showing a number with a unit" 2016-08-03 10:03:39 +00:00
Translation updater bot acfbebf28b Localisation updates from https://translatewiki.net.
Change-Id: I28e096672bba3d471ef01bdd2b365e72cc16380e
2016-08-02 22:45:33 +02:00
Translation updater bot c836f8b60d Localisation updates from https://translatewiki.net.
Change-Id: I7340bad03e24247877c2109c83dc5d735a21cdc4
2016-08-01 22:36:56 +02:00
Translation updater bot 49d07b80dd Localisation updates from https://translatewiki.net.
Change-Id: Ic960336193b1a7c5f83dd6a97075c4c1fb61a7a9
2016-07-30 22:30:46 +02:00
Translation updater bot 524457c156 Localisation updates from https://translatewiki.net.
Change-Id: I5b9673344e309e7f700885fdca74ba1c664b6577
2016-07-28 23:04:55 +02:00
Leszek Manicki 3cc218391c Include a number in messages showing a number with a unit
Extension should not enforce English order with number being followed
by unit "bytes" in messages related to byte size.
This also splits a message into two messages: one for page size value,
and other for change size. The latter size is signed and value to be
shown is colour-coded HTML element so it is a bit more complicated
case than the page size.

Bug: T141507
Change-Id: I96992eafd4cd8a5aed3fcd5944129bcd83139a16
2016-07-28 15:04:25 +02:00
jenkins-bot 6aea17b627 Merge "Fetch more revisions as the user moves back and forward" 2016-07-28 11:38:53 +00:00
Leszek Manicki dc838bc87d Fetch more revisions as the user moves back and forward
This changes the previous behaviour of fetching always up to
500 most recent revisions.

Now the extensions fetches N revisions including the newer
revision selected to diff as the most recent revision.
N is number of revisions that would fit in the current
window when rendered as bars.
When user is close to either "end" of the slider, extensions
fetches another batch of up to N older or newer revisions,
as long as user does not reach the oldest or the newest
revision of the page.

Among others, this removes the limitations of the previous
approach: showing only 500 revisions, and failing to show
anything when any of selected revisions was older than
500 recent revisions.

This change also simplifies usage of Api class.

Bug: T135005
Change-Id: Ib3f4a6ac57ff17008f9d8784c4716bd294443096
2016-07-28 12:58:35 +02:00
Translation updater bot aa855ba729 Localisation updates from https://translatewiki.net.
Change-Id: Ic46b8ada908583c36ca1abf3ad3f0e9503a10254
2016-07-27 22:39:36 +02:00
Leszek Manicki 633e7421e1 Remove HTML tags from i18n messages
This moves all HTML formatting out of messages and makes all
formatting happen in code. This should make work of translator
easier and the UI of the extension no longer rely on HTML tags
being included or not in i18n messages.

In particular "tooltip" rows are now generated in code, with
only their labels being translatable.

Change-Id: I2af9b9f0e231a7b2827a202d9ac7161b8c95855a
2016-07-27 10:28:37 +02:00
Translation updater bot 9b8fc8d968 Localisation updates from https://translatewiki.net.
Change-Id: I527e6835c041caebfe2c1a112d3a05517f2fa864
2016-07-26 22:55:45 +02:00
Leszek Manicki c7190cf97d Add support for GENDER to the username label in the tooltip
After fetching a batch of revision data, user names are extracted
and another API query is made to get gender preferences for users.

This change also moves a code responsible for MediaWiki API calls
to its own class.

Bug: T136367
Change-Id: Id11fe14e9ca37829141ae92b13b51f10f992eb96
2016-07-26 11:50:59 +02:00
Translation updater bot ed24aff549 Localisation updates from https://translatewiki.net.
Change-Id: Ie4339842ef4b7f19d5cdcdc7d1caf64c2eb7511d
2016-07-25 22:25:39 +02:00
Translation updater bot ea9860b7cd Localisation updates from https://translatewiki.net.
Change-Id: I2aea0b57c8d580a106ca583470769be3153cc91e
2016-07-22 22:41:19 +02:00
WMDE-Fisch 23348bae74 Fix naming issues in some messages
Change-Id: I36873a72ea28748f5355f9bca32893512fbadd78
2016-07-22 10:03:17 +02:00
Translation updater bot d55b254ba7 Localisation updates from https://translatewiki.net.
Change-Id: Idb059dd1fffe806b37219fd4b65e79eea7cc81dd
2016-07-21 23:00:07 +02:00
Translation updater bot 147fa86bab Localisation updates from https://translatewiki.net.
Change-Id: Ic0686fdd31d7a7f2699e1ed02b517b373e8adb9b
2016-07-20 22:41:23 +02:00
Leszek Manicki 133585fe1d Update a link to Meta page on the Technical Wishlist
The Meta page has been moved so the link should also reflect that.
The old Meta page is redirecting to the new one, so this is not
a critical change.

Bug: T140875
Change-Id: Id07c94aa28290b616693ee379451f30c278a75fb
2016-07-20 18:08:47 +02:00
Leszek Manicki f13e71e9cd Fix spelling of RevisionSlider
Use consistently "RevisionSlider" and not "Revision Slider" in messages

Bug: T140875
Change-Id: If5474041198fc65f57cfae1199c9528871536373
2016-07-20 09:46:44 +00:00
Translation updater bot 129d8b8127 Localisation updates from https://translatewiki.net.
Change-Id: Ib685a112854d7d66ada01aa25a4bd3ca9fdc15e1
2016-07-19 22:29:06 +02:00
Translation updater bot d14b2f2f25 Localisation updates from https://translatewiki.net.
Change-Id: I3b4e739c2598a4f99690459b1e56a2fbdb14d326
2016-07-18 22:30:48 +02:00
addshore b6d1e3962e Add ellipsis to loading message
Bug: T140579
Change-Id: I28add40fb9c9e88a5352a70d07a77521b74ffe03
2016-07-18 11:15:44 +01:00
Translation updater bot f0c29b2ddc Localisation updates from https://translatewiki.net.
Change-Id: I7294af5531a5123d4553e6549515033feab03197
2016-07-17 22:30:37 +02:00
Translation updater bot 96d0760c53 Localisation updates from https://translatewiki.net.
Change-Id: Ic0e47f4cb4f5c25a7dc536deecfd80197efc082e
2016-07-16 22:59:41 +02:00
Translation updater bot b727bae8f2 Localisation updates from https://translatewiki.net.
Change-Id: I75fa4eff1961f76542b5f6d3cbca4da87f991cfd
2016-07-15 22:30:51 +02:00
Translation updater bot c39fb397d2 Localisation updates from https://translatewiki.net.
Change-Id: I947cb21a1ad1e12d24f0479b95767909dd17d3a9
2016-07-10 22:23:11 +02:00
Translation updater bot 916b853b0a Localisation updates from https://translatewiki.net.
Change-Id: Ib4e53688b3040a95f9d6bb6aabe3393fe3f72783
2016-07-08 23:10:59 +02:00
Translation updater bot 4dfd1bde8a Localisation updates from https://translatewiki.net.
Change-Id: Ib9a0a6a2015bc3f10c79ab9f428220c745347b4b
2016-07-07 22:39:05 +02:00
Translation updater bot a9679f2d5e Localisation updates from https://translatewiki.net.
Change-Id: Ia6442c5c982841e28d0d1e55c44b58daef00b838
2016-07-05 22:34:37 +02:00
Translation updater bot 64050f8736 Localisation updates from https://translatewiki.net.
Change-Id: I0bc805b58ecd33f3302a63cb69d5588652039dc5
2016-07-04 22:33:24 +02:00
Translation updater bot b4acd41f22 Localisation updates from https://translatewiki.net.
Change-Id: Id4ea958d6e219fe8126fd0a71bb0583c61d803ca
2016-07-03 22:41:33 +02:00
Translation updater bot 4e228a8721 Localisation updates from https://translatewiki.net.
Change-Id: I4a8453bcd0f95ef7d29b9470aa254d243bce5b2f
2016-07-02 22:54:03 +02:00
Translation updater bot 33653a359f Localisation updates from https://translatewiki.net.
Change-Id: I735f0813117e932ee2885a8da9b5af640c209d04
2016-07-01 23:26:49 +02:00
Jakob e822d1420d Merge "Add PLURAL hint to qqq" 2016-07-01 10:11:21 +00:00
WMDE-leszek 2964b673d5 Merge "Show a tooltip for the questionmark that opens the help text." 2016-06-30 13:11:46 +00:00
Jakob Warkotsch 80aafa27d9 Show a tooltip for the questionmark that opens the help text.
Bug: T138945
Change-Id: I6c3235bdf228d051c7039f188ff62d1137377bca
2016-06-30 15:07:18 +02:00
Leszek Manicki 946c7656f3 Make username in the toolip a link, another approach
This makes Mediawiki render the link. Unfortunately, it is
not rendering redlinks for not exisiting pages.

Also updates qqq.json i18n file which was missing in
Ifb2f33febbdf0f7c9584941b71596abb47fb8088

Bug: T138944
Change-Id: If336984362358193a6c43144ace2f818dbe0633d
2016-06-30 14:27:16 +02:00
jenkins-bot 7152202b17 Merge "Add own message for minor edit" 2016-06-28 21:09:35 +00:00
WMDE-Fisch 6ea3775f46 Add PLURAL hint to qqq
Change-Id: I86107d8b7e58a5554eef43b201b3529ea944467b
2016-06-28 16:47:55 +02:00
WMDE-Fisch cd6c95f387 Replace article by page
Since the compared revisions do not only resemble article
revisions, using page everywhere might be the better option.

Change-Id: Ic215a02970bf39c35d4f516cdf292be95b590c77
2016-06-28 15:11:33 +02:00
WMDE-Fisch 64c84fd573 Add own message for minor edit
Change-Id: I644d200c05e9d3cad6ef14aa48757e8d58e919f0
2016-06-28 13:48:25 +02:00
Translation updater bot 3d77a27c1e Localisation updates from https://translatewiki.net.
Change-Id: Ida00ff02f83ef66b277f25b12e451974a1d70b38
2016-06-27 23:08:19 +02:00
Translation updater bot 7dea8d75e1 Localisation updates from https://translatewiki.net.
Change-Id: I7a44209440935699e473f57bfd2658e364e19a95
2016-06-26 14:20:56 +02:00
WMDE-Fisch a2d4b2cbc8 Use username for username label
After changing this several times to address concerns related to
GENDER, decided to use the mediawiki standard here also used
in the core code. For translators a hint was added that GENDER
is not supported here so an appropriate translation should be
chosen by them.

Bug: T136367
Change-Id: Icc2a8e6fc08761367c4ab6bb2a446262f8aa86e6
2016-06-25 16:12:44 +02:00
WMDE-leszek 33cf55a6f4 Merge "Bold tooltip labels and color-coded change size" 2016-06-25 14:07:55 +00:00
Translation updater bot bea73a100f Localisation updates from https://translatewiki.net.
Change-Id: I80b9bbd505e83295f2e04b0d4f54b8d17361fd8a
2016-06-25 14:55:47 +02:00
WMDE-Fisch 1d436fcfea Bold tooltip labels and color-coded change size
Also introduced language specific number formating. Therefore removed the
'bytes' message. Plural form will be computed in the size messages directly.

Comment label and value were split so the parsed comment can be used
plain without parsing the html again.

Bug: T137183
Change-Id: I12f30cb518e3cc5210528d5b22737dde868a0325
2016-06-24 17:51:36 +02:00
Leszek Manicki cd12add2cb Make a symbol on the "Show help" button translatable
Change-Id: I60ae368f59203f63fb352ec861db5d75d488f8fa
2016-06-24 15:55:03 +02:00
Translation updater bot 253c951a1c Localisation updates from https://translatewiki.net.
Change-Id: I03306422521337145e7cadb50b1cbe48d3f429cd
2016-06-24 11:16:09 +02:00
Translation updater bot 34ad9973f2 Localisation updates from https://translatewiki.net.
Change-Id: I3adec816172659474a9adf9c99ba1fe8a643eced
2016-06-21 23:31:41 +02:00
Translation updater bot a4af0ebbf3 Localisation updates from https://translatewiki.net.
Change-Id: I7ab7884cd1fdacdeaf04a1d6bfbf503bfcfab83b
2016-06-20 22:22:28 +02:00
Translation updater bot 43665ce83f Localisation updates from https://translatewiki.net.
Change-Id: Idb3aff11b02aed25529283b847afac8d1965f204
2016-06-19 22:45:02 +02:00
Translation updater bot d51c000b8e Localisation updates from https://translatewiki.net.
Change-Id: Id8f107c4045664a5ef590f5de2b7b389ea1634ec
2016-06-18 22:49:02 +02:00
Translation updater bot 7e332e35ec Localisation updates from https://translatewiki.net.
Change-Id: Ia2cc847523eb1f5f2555e78aaca9d9098f98999e
2016-06-17 22:31:49 +02:00
WMDE-Fisch d56ced5a8c Minor helptext improvements
Bug: T136830
Change-Id: I116a969f5db03ad179ace7a8c3d4c25fc92b159e
2016-06-17 12:52:08 +02:00
Leszek Manicki 202e76e78b Add a link to Meta page describing a community wish
Link is added to the first "slide" of the help dialogue.

Change-Id: I6abf375951b11331fe1d67993e7d06a2bb0c8f51
2016-06-17 10:59:48 +02:00
jenkins-bot d816b399b6 Merge "Show a help dialog." 2016-06-17 08:32:18 +00:00
Jakob Warkotsch 5f6b3c8556 Show a help dialog.
- slide show dialog using OOJS UI
 - setting a user option to only show it once
 - translatable content
 - images of the slides

Bug: T136830
Change-Id: Ia820aecb20aa6b239f1a64dd328683639baf399e
2016-06-16 18:05:10 +02:00
Translation updater bot 9885c1b39d Localisation updates from https://translatewiki.net.
Change-Id: Ic2d95a13f2847a25050ab314f1c5324a3c289bb3
2016-06-13 22:59:28 +02:00
Translation updater bot cb6fa7a5a6 Localisation updates from https://translatewiki.net.
Change-Id: Id244253f63ac912cd62eb3b14e99804419a8a8b8
2016-06-12 22:17:03 +02:00
Translation updater bot d4c1f72e83 Localisation updates from https://translatewiki.net.
Change-Id: If87df92449c187a98a6233ec82ce541b34ed0379
2016-06-11 22:23:33 +02:00
Translation updater bot 6f22c31778 Localisation updates from https://translatewiki.net.
Change-Id: I0c26709e4520b4dbd05e47daade8c4f5426592d1
2016-06-10 22:19:23 +02:00
Translation updater bot f61ce9af4e Localisation updates from https://translatewiki.net.
Change-Id: I1997d6a5a1a9605c35dbb2c57ed46db06425b8c7
2016-06-09 22:40:25 +02:00
Translation updater bot 01b09766fd Localisation updates from https://translatewiki.net.
Change-Id: I287fefb832060b094f0ec731bbee25ca02d2d176
2016-06-08 22:30:30 +02:00
Translation updater bot 503ba6cff2 Localisation updates from https://translatewiki.net.
Change-Id: I050a19e56fefc2a67ed549a24e66280e6707879e
2016-06-07 22:45:51 +02:00
Jakob Warkotsch 183abd6286 Merge "Use a gender-neutral label for user." 2016-06-07 08:54:13 +00:00
Jakob Warkotsch 78a691ca06 Use a gender-neutral label for user.
Gender-specific labels here would be to expensive.

Bug: T136367
Change-Id: Id66790cd5c921ae536cbc5bede71f61d0e55a043
2016-06-06 15:51:29 +02:00
Translation updater bot 675f9cfe14 Localisation updates from https://translatewiki.net.
Change-Id: Iff6a27c9db25e5578878771556ffe055ea3c146b
2016-06-05 22:22:44 +02:00
Translation updater bot b2fe28c2ec Localisation updates from https://translatewiki.net.
Change-Id: I37975863fd9e74f792180f26305ab8ce4526191d
2016-06-04 22:24:38 +02:00
Translation updater bot a3134b0daf Localisation updates from https://translatewiki.net.
Change-Id: Idc16b3db3fd5c8b62803c1c6bd3a5b45f58cefbd
2016-06-03 23:22:58 +02:00
Translation updater bot b1e0412ba0 Localisation updates from https://translatewiki.net.
Change-Id: Id49d75cb6fb79c822c7d23753034222c14aba5eb
2016-06-02 22:25:37 +02:00
Brian Wolff 39d8d9229a Make files not executable
I know it doesn't matter, but it was kind of bothering me.

Change-Id: Iae9f8b17a3fb5ced362dc2da95e67e20db8af5a5
2016-06-02 13:48:09 +00:00
Jakob 3482b4a968 Merge "Add change size to tooltip" 2016-06-02 12:01:12 +00:00
Translation updater bot 5c779f606f Localisation updates from https://translatewiki.net.
Change-Id: I379b747715841e0d459df0c82f9f44184eee34c4
2016-06-01 23:13:39 +02:00
WMDE-Fisch da43204662 Add change size to tooltip
Bug: T135740

Change-Id: I50833c5b65c821eb885b261a15de2088cd15da6d
2016-06-01 17:05:09 +02:00
WMDE-Fisch 45a72df594 Remove deprecated qqq text for noscript message
Although this was removed in I1c66fa4a9fa6e90f8318de3a4f656d629000d9ca together with
the en message, it got added again in I7c658b32e1a14ec3dfbb9158adb03ce17205682a by the
L10n-bot.

Change-Id: I0829e991fae7731fe60757c2a655c519a297443f
2016-06-01 10:28:09 +02:00
Translation updater bot 0c96e918ab Localisation updates from https://translatewiki.net.
Change-Id: I7c658b32e1a14ec3dfbb9158adb03ce17205682a
2016-05-31 22:45:01 +02:00
Leszek Manicki f9d9a4a4b7 When JavaScript disabled do not show RevisionSlider
As suggested in a comment in T135198, do not show anything above the
diff when JavaScript disabled instead of always putting a message
there.

Change-Id: I1c66fa4a9fa6e90f8318de3a4f656d629000d9ca
2016-05-31 19:49:08 +00:00
Translation updater bot b327975bbd Localisation updates from https://translatewiki.net.
Change-Id: I1510d8280c2a97b92e71a650f85e726eac31646f
2016-05-30 22:25:51 +02:00
Translation updater bot 98389b0c0a Localisation updates from https://translatewiki.net.
Change-Id: I8461ead12dc38c44a4e013d50fba4bc1c5eef300
2016-05-29 22:31:56 +02:00
Translation updater bot fcfd276f1f Localisation updates from https://translatewiki.net.
Change-Id: Ic422169ae52d6da72945bf7f67d8839ad422e2d2
2016-05-28 22:20:02 +02:00
Translation updater bot c069df07fb Localisation updates from https://translatewiki.net.
Change-Id: Iea7dc0e4472ae2ea7e9d98dd04f2f502cadb9e87
2016-05-27 22:20:58 +02:00
Translation updater bot c9f9bdfe43 Localisation updates from https://translatewiki.net.
Change-Id: I127f8368fd3d55412ddd58ce3b7990d2bb89bfec
2016-05-26 22:45:49 +02:00
Jakob Warkotsch d4dd4c3576 Add labels to revision tooltips.
This adds labels for user, comment and article size to the revision
tooltip as well as the respective messages needed for the labels.

Bug: T135740
Change-Id: Ia65fb0bbbe3eb2405665d784bad157ea059e2d6e
2016-05-26 17:10:29 +02:00
Leszek Manicki 321659c70f Remove "legend" annotations and move scrolling button hint to a tooltip
This also removes a "diff size" axis legend.

Bug: T136098
Change-Id: I9705d6ab37c8d24b9bdb1fddaa895b2863e98043
2016-05-26 15:19:18 +02:00
Translation updater bot f704459a3f Localisation updates from https://translatewiki.net.
Change-Id: If4c49d9f8e68b018a0ddf6195094079712dc2f25
2016-05-24 23:09:26 +02:00
Translation updater bot 26ddec553c Localisation updates from https://translatewiki.net.
Change-Id: I5fe68e88744d898c333c8d648422b0709dbf1163
2016-05-23 22:27:15 +02:00
Translation updater bot ace5a783ec Localisation updates from https://translatewiki.net.
Change-Id: Ia2b82bafcab1d2d34900db6473ff1ea046301590
2016-05-22 22:27:30 +02:00
WMDE-Fisch e126efa953 Add annotation labels to the slider
Bug: T133270
Change-Id: Ibfc16196d35305a56c63d6c23a174712442f31a8
2016-05-22 12:26:41 +01:00
Moriel Schottlender 2440c52bc0 Internationalize the tooltip pieces
Make sure that username and comment fields are bidi-isolated and
add an i18n message to "bytes".

Change-Id: I6a27cd7fdebf775dd86ccfc6084505aad4e931d2
2016-05-20 16:40:26 +02:00
Translation updater bot 4a92947349 Localisation updates from https://translatewiki.net.
Change-Id: I26ae162ddf408bb5466e562ddff76548103b6639
2016-05-17 22:23:53 +02:00
Translation updater bot b51eab7218 Localisation updates from https://translatewiki.net.
Change-Id: If9ad0d9b8b2dd79e4e604a97c081fc8e4689b5ce
2016-05-14 22:45:28 +02:00
Translation updater bot 94578800a0 Localisation updates from https://translatewiki.net.
Change-Id: Ic4078d7b9e796d0b8f2cec64a26eec81e022c826
2016-05-13 22:22:56 +02:00
addshore 91759f25bd Show useful error if either rev is not in our range
Bug: T135119
Change-Id: I48f3316f2285b987d1a7e4c4a622eb1291de6357
2016-05-12 16:44:34 +01:00
addshore f9471bcfbc If the slider fails to load then fail nicely!
If something goes wrong with the initial api rquest the
slider would either load in a broken state or say that
it is loading forever.

Now a message will be displayed to the user as well
as the error logged to the console.

Change-Id: Id763f31432feb7bd0e9ecbbeb2dd40f7ca6acaaf
2016-05-12 09:46:39 +01:00
Translation updater bot 8038e8edfb Localisation updates from https://translatewiki.net.
Change-Id: I5515d953c4fe011d0876c6b019b8a7f439572b02
2016-05-10 22:29:34 +02:00
Translation updater bot e5fec3d715 Localisation updates from https://translatewiki.net.
Change-Id: I456b9545fefdc22f58249e9d707bdfe5bb890013
2016-05-09 22:14:49 +02:00
addshore 9bd8eb07a8 Add BetaFeatures support
Bug: T133379
Change-Id: I793665cf41ec5624034910d7aedde689ba0854b2
2016-05-09 09:17:47 +01:00
Translation updater bot cfee0dfae9 Localisation updates from https://translatewiki.net.
Change-Id: Ib74eac7a4952f5c6bef36a57d39eb3d95bfbfb65
2016-05-07 10:57:31 +02:00
Translation updater bot a768ca1a8c Localisation updates from https://translatewiki.net.
Change-Id: I8ad4824ebdf22052734181e55099977b96eea0e4
2016-05-04 22:24:53 +02:00
addshore d9ce49d105 Add basic en description
Change-Id: Iedba41447098108b7d0cae309782500399d0a655
2016-05-04 14:04:29 +01:00
addshore ae1c298550 Add noscript sentence to the placeholder
Change-Id: I4a8c9cb5dc49ca3d023ea91932f0317540c455a5
2016-05-03 13:47:35 +00:00
addshore ba4015ed6b Add localizable placeholder message while loading
Change-Id: I762b03c5af8765b90afee81af750880096db6638
2016-05-03 15:35:39 +02:00
addshore 1edc596fef Fix i18n things
this fixes the entry in the extension.json so that
the i18n files are correctly loaded.

It also changes all i18n codes to all lower case.

Change-Id: Ic64ab7e1356837124eb433df1db6a2b875dc5432
2016-04-27 12:27:49 +01:00
addshore d11dfddfb9 Add URL to qqq revisionSlider-desc
Change-Id: If2fcd7b8d310ac63ff94208bd611a8458d32d5d1
2016-04-20 08:43:40 +01:00
Jakob Warkotsch 23b5b2f112 Initial commit.
This turns the prototype code of the Revision Slider into a MediaWiki
extension.
With this extension enabled the slider should appear on diff pages
already but it won't actually show diffs when adjusting the slider
pointers.

Things that changed so far in the prototype JS code:
- pulled out the rainbow function and made it use Math.floor instead of
 the ~~ binary operator
- pulled out the API request that fetches the revisions into its own
 module
- cleaned up and documented some parts of the code

The code is still very much WIP and JSCS still has a couple of
complaints.

Bug: T132576
Change-Id: I2e22365f3b93a76d5b8d3997242b5fed996c6d78
2016-04-19 16:35:37 +02:00