Commit graph

1655 commits

Author SHA1 Message Date
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
jenkins-bot 8bfed7caf1 Merge "Make a symbol on the "Show help" button translatable" 2016-06-25 11:40:18 +00: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
jenkins-bot 6633a87147 Merge "Make revision tooltips hoverable." 2016-06-24 15:50:37 +00:00
Leszek Manicki cd12add2cb Make a symbol on the "Show help" button translatable
Change-Id: I60ae368f59203f63fb352ec861db5d75d488f8fa
2016-06-24 15:55:03 +02:00
Jakob Warkotsch ec9caea004 Make revision tooltips hoverable.
Bug: T138392
Change-Id: Ic43345839cf8d04486141d24074a4d735c9c5c1f
2016-06-24 15:13:20 +02:00
Translation updater bot 253c951a1c Localisation updates from https://translatewiki.net.
Change-Id: I03306422521337145e7cadb50b1cbe48d3f429cd
2016-06-24 11:16:09 +02:00
Leszek Manicki 94405e7f6d Add a simple JSDuck config file
Running jsduck command generates API documentation to docs directory.

Change-Id: I1f9acbaf7868ebf48a56d20d6906cbcf23ef9748
2016-06-22 14:40:27 +02:00
Translation updater bot 34ad9973f2 Localisation updates from https://translatewiki.net.
Change-Id: I3adec816172659474a9adf9c99ba1fe8a643eced
2016-06-21 23:31:41 +02:00
jenkins-bot da0ee1560c Merge "Enhance code documentation." 2016-06-21 11:30:37 +00:00
Jakob Warkotsch 11ceffab2f Enhance code documentation.
Bug: T137965
Change-Id: Ice393838545f1545ee085ecdcddfa35f60b32ecd
2016-06-21 13:25:50 +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 8d1745749e Add RTL helptext SVG
Bug: T136830

Change-Id: I0cd51d01fa451f027252f9f98ef8b9df2206d60d
2016-06-17 14:46:48 +02:00
Jakob b2f8deba1c Merge "Reduced helptext svg height to max size of drawings" 2016-06-17 12:36:13 +00:00
WMDE-Fisch 8ce4d433f8 Bump version number to 1.0.0 and add authors
Bug: T137948
Change-Id: Ibcd39fbb503d0a603dae35c8ae515b5bb19178ee
2016-06-17 13:50:13 +02:00
jenkins-bot d4ea6b838f Merge "Add button to reopen the help dialog." 2016-06-17 11:23:56 +00:00
Jakob Warkotsch 079f5607c9 Add button to reopen the help dialog.
Bug: T137086
Change-Id: Ifef5c8451a53bf43b10418ace8e6651801480bb2
2016-06-17 13:11:38 +02:00
WMDE-Fisch d56ced5a8c Minor helptext improvements
Bug: T136830
Change-Id: I116a969f5db03ad179ace7a8c3d4c25fc92b159e
2016-06-17 12:52:08 +02:00
WMDE-Fisch 20c05fdab0 Reduced helptext svg height to max size of drawings
Change-Id: I45a765bac0706e6f0fc2005511750a2bf266faa9
2016-06-17 12:05:14 +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
Leszek Manicki 3b9c3e73ad Escape HTML message in the "help slideshow"
Change-Id: I6854da2d8c6d7176956394f4f4733d0c2529d295
2016-06-17 10:55:42 +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
WMDE-Fisch ace6ec3ed3 Add BetaFeatures images
Bug: T137969
Change-Id: Ifee3deb60d5ce2aad42c4f18efa25c2fcfe3007f
2016-06-16 17:28:29 +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
jenkins-bot bb0ca2441a Merge "RTLize RevisionSlider's behavior" 2016-06-08 22:34:53 +00:00
Translation updater bot 01b09766fd Localisation updates from https://translatewiki.net.
Change-Id: I287fefb832060b094f0ec731bbee25ca02d2d176
2016-06-08 22:30:30 +02:00
Moriel Schottlender abfcd2c01b RTLize RevisionSlider's behavior
Allow RevisionSlider to work properly in both LTR and RTL contexts
by making sure that when the interface language is RTL, the entire
interface flips. "Backwards" and "Forwards" are reversed in RTL
context, and the code and behavior should respond to that.

Changes made:
* Make sure the container has a direction set
* Change the placement of the revision divs from absolute
  positioning (that requires re-calculations when the page
  is flipped to RTL) to divs that are display: inline-block
  and have no right/left setting. This means that the DOM
  will automatically flip its own visual order when the
  container is set to RTL.
* Flip the calculation of positioning and the calculation
  of which element the pointer is on when it is dragged
  if the document is RTL.
* Mirror all scroll animations when the page is in RTL.
* Rename the scroll buttons to 'backwards' and 'forwards'
  for clarity, as they are flipped when the interface is
  RTL.
* Rename pointers to 'older' and 'newer' instead of
  trusting their order in the DOM.

Bug: T136277
Change-Id: I7c903c2e9d8ee2a0ef2eeb7b99f2251f230a794e
2016-06-08 13:26:43 +00: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
Moriel Schottlender 7b75c1ebf2 Use momentjs to display internationalized timestamps
MediaWiki uses the momentJS module to display standard timestamps;
this means you can avoid calculating the user offset, but also, it
means that all timestamps are internationalized and translated, and
use the standard view that MW uses in its interfaces.

We can store the user's offset in a RevisionSlider variable so we can
refer to it in timestamp construction, as well as manipulate it in
tests without touching any global user options that may affect other
tests.

Bug: T136825
Change-Id: I67d9859b8f33ab8a217128822e246e7ab67f6511
2016-06-03 13:20:35 +00:00
WMDE-Fisch 05ea211e8b Fire event for wikipage.content hook
Bug: T136827
Change-Id: If3e92716c4db71b9aeae3fb624c17174cf909b7d
2016-06-03 11:52:49 +02:00
Jakob 815a6e3e64 Merge "Use ->text() to get message content" 2016-06-03 09:42:15 +00:00
Jakob 9ec481052a Merge "Add resize cursor to pointers" 2016-06-03 09:14:47 +00:00
WMDE-Fisch 1a7fe36941 Add resize cursor to pointers
Also prevent cursor flickering when dragging.

Bug: T136099
Bug: T136833
Change-Id: Ie04c5ad9669c1e839b34bc8f649cc9264f70b666
2016-06-03 11:12:49 +02:00
Jakob dcd4be9651 Merge "Move dependencies to extension.json" 2016-06-03 08:58:37 +00:00
Translation updater bot b1e0412ba0 Localisation updates from https://translatewiki.net.
Change-Id: Id49d75cb6fb79c822c7d23753034222c14aba5eb
2016-06-02 22:25:37 +02:00
WMDE-Fisch 1a8a4312de Move dependencies to extension.json
Also removed unused dependency.

Bug: T135198
Change-Id: I1ee53ec9d7e123bdca84701b9557aeeeade815ff
2016-06-02 18:16:23 +02:00