Commit graph

624 commits

Author SHA1 Message Date
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 8d91433b61 Open links in the "tutorial" in the new window
In particular, link to a Meta page on the related community wish
should open in the new window/tab.

Bug: T140875
Change-Id: Ib0d7bf679c9ac8a3ee2fdf2289fc53cfdfdaa671
2016-07-20 12:28:20 +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
jenkins-bot e017abc3f3 Merge "Make sure that positive/negative sign in displayed correctly" 2016-07-18 12:34:54 +00:00
Amire80 bee97e111f Make sure that positive/negative sign in displayed correctly
In RTL UI the positive and negative numbers will
appear on the wrong side unless the direction is
defined explicitly.

Change-Id: I39ef512993878daf10008e967ffd0492f7e1e80a
2016-07-18 11:24:08 +00: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
WMDE-leszek 6b95bbf194 Merge "Account for suppressed comments and users" 2016-07-15 10:20:43 +00:00
addshore f0cb111671 Account for suppressed comments and users
Bug: T140397
Change-Id: Ie3a4d81da38f6b721c80738d725fc59cc4fec345
2016-07-15 09:27:59 +01:00
aude 7ec0c426b3 Get user from context instead of global
DifferenceEngine extends ContextSource, so we can
get the user from there instead of using a global.

Change-Id: I46e7a244729f2d8259319bed2c905e2971b37bf0
2016-07-14 15:43:42 -04: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
jenkins-bot 0b2928c0ae Merge "Browser tests for history feature" 2016-07-06 16:05:24 +00:00
jenkins-bot e901b847a5 Merge "Fix parameter type in docblock" 2016-07-06 08:28:08 +00:00
Translation updater bot a9679f2d5e Localisation updates from https://translatewiki.net.
Change-Id: Ia6442c5c982841e28d0d1e55c44b58daef00b838
2016-07-05 22:34:37 +02:00
addshore bad7298b8f Browser tests for history feature
Bug: T133278
Change-Id: I5ba8d7766e91d733504f488d1f277850e8fab945
2016-07-05 17:35:37 +01:00
addshore 590742edd8 Pointers browser tests
Bug: T133278
Change-Id: Id94681550aa3e2f02137e6b432dfe06d2b80b9b7
2016-07-05 13:47:31 +01:00
WMDE-Fisch 4f4f500854 Simplify conditions
Change-Id: I7e1a46c865c070f5c804833b9f0b05c5208ff163
2016-07-05 13:23:16 +02:00
addshore 1e65ec602f Tooltip browser tests
Bug: T133278
Change-Id: I7ee7143ab3fcd9c2fe41604c370d9c4e2e7a9d20
2016-07-05 11:57:36 +01:00
jenkins-bot 7d00324b5c Merge "Timeline browser tests" 2016-07-05 09:59:07 +00:00
addshore 50fdb7b1c9 Timeline browser tests
This adds tests for navigating the timeline using the back
and forward buttons.
It also makes sure that the buttons are disabled / enabled
at the correct times.

Bug: T133278
Change-Id: I9834dd3d3bf107557b15fdd105a946902d53b8f2
2016-07-05 11:44:23 +02:00
jenkins-bot 36f4020b9f Merge "Make RevisionList expect list of Revision object" 2016-07-05 08:32:47 +00:00
Leszek Manicki 8e2365502b Make RevisionList expect list of Revision object
Despite its documentation the "constructor" of RevisionList tends
to expect array of revision data in a format returned by API instead
of array of Revision objects.
Due to different name of ID fields in Revision object and in API array,
if "real" Revision object is passed to RevisionList, its ID is lost.

This changes RevisionList so that it only accepts an array of Revision
objects. This provides better abstraction.

This is basically a revert of I147270f28381038d05f8bcfd2317e8c269b2e458
which aimed at the same problem but suggested solution doesn't seem right.

Change-Id: Ic45cdd3e7b707a8c6a19eecf0a84d4c11696cd1f
2016-07-05 00:01:46 +02:00
Leszek Manicki a5c441ecd3 Fix parameter type in docblock
Change-Id: I62e9f2035d869aec5bee02f628623962fab17be9
2016-07-04 23:58:22 +02:00
Translation updater bot 64050f8736 Localisation updates from https://translatewiki.net.
Change-Id: I0bc805b58ecd33f3302a63cb69d5588652039dc5
2016-07-04 22:33:24 +02:00
addshore 1671a07d7d Allow browser tests to add more revisions easily
This allows an arbitrary number of revisions to be created
on a page very easily.
The page created will have a name relating to RevisionSlider
suffixed by a random float.

The base logic for this is taken from:
Ic165f108517c534a4b1c12883621b3624c7b0336

This patch also removes the @vagrant tags as RevisonSlider
is not yet in vragrant.
Please see T139296 for the ticket to add it.

Bug: T133278
Change-Id: I8a25db411bee2fa44555a23d1a840907a185c998
2016-07-04 14:58:14 +01:00
addshore 6101897460 Add browser tests for tutorial / help dialog
Testing the visibility / presence of things around
the dialog appears to be hard and the DOM for the dialog
remains unchanged when shown / hidden as far as I can see.

These tests test that the dialog is only shown once per
user.
And that the sequence of the dialog works in regards to the correct
buttons being present at the correct times.

Bug: T133278
Change-Id: Ia86cb69573da3e888c2897b8b50f1d2e5c61d8d4
2016-07-04 13:39:19 +00:00
jenkins-bot 488f8ec8a8 Merge "Make QUnit tests language-setting-proof" 2016-07-04 13:29:13 +00:00
WMDE-Fisch 471ee2eb47 Remove empty test file
Change-Id: Ica247e802cb9f2abfb1de97b87a6100af4376aef
2016-07-04 14:02:01 +02:00
WMDE-Fisch a27925152a Make QUnit tests language-setting-proof
There seems to be no good way to enforce language on the QUnit tests. It works
for the number formatting by setting the user language on the fly but for everything
else it fails. I simplified some tests and skip some tests or asserts when the language
is not 'en'.

I also added a helper to have conditions for skipping tests. This should be part of
QUnit IMO.

Still I dont know if this is something we should care about at all or just assume, that
devs will know what they do when they try to run tests.

Change-Id: I624ccf3984434e06200abffe7ccdd25b396251af
2016-07-04 11:59:49 +00: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 4c70dea9f4 Merge "Prefix all classes and IDs with mw-revslider" 2016-07-01 15:06:16 +00:00
jenkins-bot 24f800e88f Merge "Fix linting path for test files and make a pass" 2016-07-01 10:46:40 +00:00
jenkins-bot 804b95240e Merge "Add remoteExtPath to tests module" 2016-07-01 10:46:37 +00:00
jenkins-bot 0d3e78bcef Merge "Replace csslint with stylelint and make a pass" 2016-07-01 10:46:35 +00:00
Ed Sanders a5f36af0f3 Prefix all classes and IDs with mw-revslider
Bug: T139105
Change-Id: Ia92396ec4f8acea39398173c81842d66257dc519
2016-07-01 11:27:23 +01:00
Ed Sanders cdd4a6bd83 Fix linting path for test files and make a pass
Change-Id: Iee023c901d6e87c6d23ce78a57c16c73d90e3efb
2016-07-01 11:26:18 +01:00
Ed Sanders 237c181c69 Add remoteExtPath to tests module
Change-Id: If923759dfdb9979f91d707c685f91b24ef2aeb33
2016-07-01 11:24:59 +01:00
Jakob e822d1420d Merge "Add PLURAL hint to qqq" 2016-07-01 10:11:21 +00:00
Ed Sanders 7b463c52eb Replace csslint with stylelint and make a pass
Change-Id: I7f3d1cd867399fa23b087daa89970ebe305c46d9
2016-06-30 21:21:28 +01:00