Commit graph

263 commits

Author SHA1 Message Date
Piotr Miazga 05060a3073 Inform users about conflicting gadgets/customizations
Changes:
 - Added a default help copy under Page Previews enable switch

Bug: T151058
Change-Id: I4f24906147e1e9d8a8f132a9a84606153c8694d7
2017-01-17 20:49:34 +01:00
Piotr Miazga 211f1d1658 Disable Page Previews preferences when NavPopups are enabled
Changes:
 - introduced PopupsGadgetsIntegration class handles all checks
 - show help message on Preferences page when NavPopups is enabled
 - unit test everything

Bug: T151058
Change-Id: Ia474b1b30378efe84dedf3ad47c1f833e88d69b5
2017-01-11 01:06:48 +01:00
Piotr Miazga 05c57ef05f Update enable previews copy
Changes:
 - change english copy for enable previews radio button

Bug: T151058
Change-Id: If52c0ccad1d7345dd7f4063f802cbf7c36cd35f2
2017-01-09 19:41:44 +01:00
Piotr Miazga f597e341af Introduce Opt-In option on user preferences page
This changes introduces new option on Special:Preferences page that
allows users to enable/disable Page Previews feature.
By default feature is disabled. Temporarily option in Preferences
page is smoke and mirrors as switching logic is still WIP.

Bug: T146889
Change-Id: Ifdd17ce265d2d4c7583433ed4991443c563f1fe3
2016-12-16 01:06:59 +01:00
Sam Smith b2f9ffa9b0 previews: Add generic fallback preview
Changes:
* Make the gateway handle missing pages, which are characterised by the
  MediaWiki API response having both the missing property set to truthy
  and the page not having any revisions.
* Add the preview-empty template and associated "mwe-popups-is-empty"
  CSS class, which describe what an empty preview contains and how it
  should look.

Supporting changes:
* Move the original preview template into the ext.popups module.

Bug: T151054
Change-Id: Ife75bf9c6bafdfe0a6cc3e20eea853b4ac8f951b
2016-12-02 12:02:43 +00:00
Sam Smith 89975c4942 Remove mobile support
Note well that mobile support is a consideration in the refactoring
effort (see T149801).

Change-Id: I82adc1550b66d0a456aa299ad6c8d2d097fbb7ae
2016-11-08 09:32:04 +00:00
Translation updater bot 6cacefcfd9 Localisation updates from https://translatewiki.net.
Change-Id: I48ed4406c244ac1a6d79aebdce5fd11ee424074c
2016-11-05 22:56:56 +01:00
Translation updater bot 7b2528c600 Localisation updates from https://translatewiki.net.
Change-Id: Id3fa589c63c04d333d14965e14320a2caac1e346
2016-10-17 22:34:56 +02:00
Translation updater bot 945920f33e Localisation updates from https://translatewiki.net.
Change-Id: Iecd06481e59285c6ccec8e4ad85c968c1869a768
2016-10-11 22:47:51 +02:00
Translation updater bot fe66ae3940 Localisation updates from https://translatewiki.net.
Change-Id: I7bf5458880af0e54bb9eda99949032438bfc8663
2016-10-05 22:44:01 +02:00
Translation updater bot 5180dd6de3 Localisation updates from https://translatewiki.net.
Change-Id: I99980fd55da0e826c25fd83a1e51e8229c57792b
2016-09-07 22:45:35 +02:00
Translation updater bot 1a708bd6db Localisation updates from https://translatewiki.net.
Change-Id: I1f6c36f0939d89ae2e8949fbf62b3bf1b50fca69
2016-09-04 00:23:59 +02:00
Translation updater bot 010b0417a8 Localisation updates from https://translatewiki.net.
Change-Id: If89d2beaae917e4488010f41462fbea241f1fb30
2016-09-01 23:26:35 +02:00
Translation updater bot 023943eb8a Localisation updates from https://translatewiki.net.
Change-Id: Ib0e278269b8be88671ad06851a4a1c1273349221
2016-08-29 22:38:41 +02:00
Translation updater bot fb0306469f Localisation updates from https://translatewiki.net.
Change-Id: I4bcf2a8b62dd041a8df58aa5e0d0e6bffe342410
2016-08-28 22:40:43 +02:00
Translation updater bot 004c645ea3 Localisation updates from https://translatewiki.net.
Change-Id: I5479769f1ddae50be5cf209dada6df32c4b63e6e
2016-08-25 22:38:22 +02:00
Translation updater bot ff4281cdb7 Localisation updates from https://translatewiki.net.
Change-Id: Ifb81ddd701006c210a56effdf325843cc4d89302
2016-08-24 22:38:10 +02:00
Translation updater bot a4ec6b28f0 Localisation updates from https://translatewiki.net.
Change-Id: I47c2c106b2420d8be756b984acdafa0b24dd5e0d
2016-08-24 10:35:37 +02:00
Translation updater bot 053d9c14ac Localisation updates from https://translatewiki.net.
Change-Id: I37a82774677bdf89c20bebdf9bcdce383f8ae375
2016-08-21 22:53:58 +02:00
Translation updater bot 06081b13e8 Localisation updates from https://translatewiki.net.
Change-Id: I1cdcd4551a016dc81a9c8892b67ad01a42762aa0
2016-08-19 22:41:58 +02:00
Translation updater bot dabbadf956 Localisation updates from https://translatewiki.net.
Change-Id: Ib2a6a9ab41f5ebdb69152bcd54f3c2166e4ad125
2016-08-17 22:40:47 +02:00
Translation updater bot c8f5002792 Localisation updates from https://translatewiki.net.
Change-Id: I2c92576c2ce4602e024f8f65c740677f16a4ce2d
2016-08-16 22:44:37 +02:00
Translation updater bot fb0e580d01 Localisation updates from https://translatewiki.net.
Change-Id: I1b7c1c0c58d1e5a2afd02e375e515e75fb27f6be
2016-08-15 23:01:03 +02:00
Translation updater bot defed308a5 Localisation updates from https://translatewiki.net.
Change-Id: If0dd533cce1d247d9c699b4490f63977bb1de39b
2016-08-14 22:29:03 +02:00
Translation updater bot dc191edb0b Localisation updates from https://translatewiki.net.
Change-Id: Iee8a7960a52ab499ada125ef265407cbc7a990e3
2016-08-12 23:14:12 +02:00
Translation updater bot 974368b396 Localisation updates from https://translatewiki.net.
Change-Id: Ie3173d98adb0f24fecc1b1025f853158fa28bc1c
2016-08-11 23:57:14 +02:00
Translation updater bot 988beaa221 Localisation updates from https://translatewiki.net.
Change-Id: I90fda465bf198a74c6a255f3fd8f9d037b0fbdc5
2016-08-10 22:38:42 +02:00
Volker E 0282b9648f Hovercards: Improve layout of settings dialog to design spec
Improving Hovercards' settings dialog to fulfill design specification.
Also fixing HTML structure by removing invalid `radiogroup` element and
adding missing `</div>` element, fixing related QUnit test.

Changes:
 * Add close icon instead of using text
 * Style header as a table for alignment
 * Remove redundant "OK" button and have it replace "Save" instead
 * Update text of "OK" button to "Done"
 * Fix description for translation of "Done" button
 * Fix qunit and selenium tests
 * Remove unnecessary markup and less
 * Add mediawiki-ui-button and mediawiki-ui-icon dependencies
 * Shrink dialog width some per design spec
 * Fix dialog horizontal position calculation to remove hard-coded value

Bug: T138612
Change-Id: I7395e3438836149becdd576942bdaf6f21b4163f
2016-08-10 14:01:36 -04:00
Translation updater bot b7962f1c6a Localisation updates from https://translatewiki.net.
Change-Id: I3adec844baa83c4b4f39406249ff0e48ba906dcf
2016-08-02 22:44:50 +02:00
Translation updater bot 644dd27c92 Localisation updates from https://translatewiki.net.
Change-Id: Ic03eec88517f484b46b53a82c5fbc8207edef359
2016-07-30 22:29:54 +02:00
Translation updater bot c4dbbeb2e2 Localisation updates from https://translatewiki.net.
Change-Id: I7fb926a6c2d60e196b4c791171e90a4ab2fbf94c
2016-07-26 22:55:00 +02:00
Translation updater bot 4ab4827bfb Localisation updates from https://translatewiki.net.
Change-Id: I5b84d706c03de634dec1a47680f7e292412c04c9
2016-07-23 22:27:17 +02:00
Translation updater bot c9a7d15f1e Localisation updates from https://translatewiki.net.
Change-Id: Icb0820ae1863e96036e0872ae22ac21b1ba16c4c
2016-07-21 22:59:43 +02:00
Translation updater bot f1172ad9c2 Localisation updates from https://translatewiki.net.
Change-Id: Ia6871c973d6e29d689931a2f7ece5d56138454c2
2016-07-20 22:40:38 +02:00
Translation updater bot 4b7afe0279 Localisation updates from https://translatewiki.net.
Change-Id: Id8485cc7ee647f25996e78c71786a9603da77c7f
2016-07-16 22:59:14 +02:00
Translation updater bot 73127e6fa8 Localisation updates from https://translatewiki.net.
Change-Id: Ib821f6ed44ea191e3e104796c0aabb2bc60fb31d
2016-07-15 22:30:18 +02:00
Translation updater bot e2f36935e8 Localisation updates from https://translatewiki.net.
Change-Id: I1197e6ba4e24dfc6203037003ea2496f0ea98c90
2016-07-14 23:27:49 +02:00
Translation updater bot 8b7ef26bc5 Localisation updates from https://translatewiki.net.
Change-Id: I2053eefe00716a35f5eece6efd9ac4d4ce83589c
2016-07-13 22:37:48 +02:00
Translation updater bot 4d28e21f1d Localisation updates from https://translatewiki.net.
Change-Id: I50a469b7cad0e60c27e44c2bb6bdcdb801098c41
2016-07-12 22:51:45 +02:00
Translation updater bot 5db83902f4 Localisation updates from https://translatewiki.net.
Change-Id: Iea54b8f1086d71e2fed31a162b1ecc0e3794baa8
2016-07-11 22:58:36 +02:00
Translation updater bot 5c9a64759f Localisation updates from https://translatewiki.net.
Change-Id: I4ab8a3d86433bdbf09edd616b7a471a0f755eb49
2016-07-10 22:22:43 +02:00
Translation updater bot 2cf2d3b1f9 Localisation updates from https://translatewiki.net.
Change-Id: I41309050c43b974219e107b5e0a28f1ded26fa3f
2016-07-09 22:54:47 +02:00
Translation updater bot 09a0fec6ca Localisation updates from https://translatewiki.net.
Change-Id: I789b477e56c2ef878a7600cace852c9710255e1b
2016-07-08 23:10:48 +02:00
jenkins-bot 787f0d2179 Merge "Tweaks to settings page" 2016-07-08 05:19:24 +00:00
jdlrobson c1cb976ba2 Tweaks to settings page
* Change labels in English for settings options
* Update description for enable option
* Remove description for disable option

Bug: T138233
Change-Id: Id23dcc7b7e655f7939bb2e455b8680ed5a2c6331
2016-07-07 10:02:08 -07:00
Translation updater bot 9c8aaf06ab Localisation updates from https://translatewiki.net.
Change-Id: I15b12119d6ae117d31be99adb19984a0c3157ce4
2016-07-06 22:30:13 +02:00
Translation updater bot 60b821847e Localisation updates from https://translatewiki.net.
Change-Id: Iff42f6adbb608a7b096d347564e04de61c866c10
2016-07-04 22:32:43 +02:00
Translation updater bot 9f1832213f Localisation updates from https://translatewiki.net.
Change-Id: I63e7a92257b3a34a1829d456d53dbb5723f88107
2016-07-02 22:53:48 +02:00
Translation updater bot 74ae72127b Localisation updates from https://translatewiki.net.
Change-Id: Ia1e6b8ee17e969247ae3ebc9864e101f35578a64
2016-07-01 23:26:02 +02:00
Translation updater bot 5343a9435e Localisation updates from https://translatewiki.net.
Change-Id: I91f6b653048c68b3f5f02542281c9a2742c28a2d
2016-06-26 14:19:54 +02:00