Commit graph

6164 commits

Author SHA1 Message Date
Translation updater bot 9dfe4bbdc7 Localisation updates from https://translatewiki.net.
Change-Id: I2195f7cb1d274f73a32a35237f6e0b9b23e29749
2017-09-13 22:56:59 +02:00
jenkins-bot 1809344c8a Merge "URL decode file names in gallery, as in PHP parser" 2017-09-13 18:00:56 +00:00
jenkins-bot 714f43c8c2 Merge "Fix typos in gallery attribute names" 2017-09-13 17:34:52 +00:00
jenkins-bot 779dcc2164 Merge "ArticleTarget: Make save commands triggerable from anywhere" 2017-09-13 15:40:19 +00:00
jenkins-bot d6fb66e70c Merge "Use lowerCamelCase for javascript var oldId" 2017-09-13 13:45:20 +00:00
jenkins-bot cd6dfaa42b Merge "Remove pageName/revision from ArticleTarget constructor" 2017-09-13 13:45:19 +00:00
jenkins-bot 15ba6dbc53 Merge "Change ArticleTargetLoader#requestPageData API to use options object" 2017-09-13 13:42:10 +00:00
Ed Sanders a6ac6d0cec Fix typos in gallery attribute names
The MW attributes are 'style' and 'class'. The plural
forms are used internally only to avoid JS keywords.

Change-Id: I1b7d14872aab4b6b3882d00165924fd1639e1744
2017-09-13 14:06:44 +01:00
Ed Sanders 280696ad3f URL decode file names in gallery, as in PHP parser
Bug: T175816
Change-Id: I3ec9c1f6db57798cdc1b5a787dd0bd9b4d3beef1
2017-09-13 14:03:20 +01:00
Ed Sanders f9562838bf ArticleTarget: Make save commands triggerable from anywhere
Change-Id: Iea5b2ff1210b0b28a58017f198f55124c9a3348d
2017-09-13 12:00:19 +00:00
Ed Sanders d515d418c1 Use lowerCamelCase for javascript var oldId
Change-Id: Idd04578a0035320f85dc911a2f4ddbc6f378887f
2017-09-13 12:57:37 +01:00
Ed Sanders ebce67b6ab Remove pageName/revision from ArticleTarget constructor
Other page state is read directly, rather than passed in.
If we come up with a use case for passing this in at a later
date we can reconsider the best way to do this.

Change-Id: Iee7e608c969776b89dbb38b3b56a5177e48344af
2017-09-13 12:57:37 +01:00
Ed Sanders 682787f312 Change ArticleTargetLoader#requestPageData API to use options object
Change-Id: I02e6218a8359b1cbc8fed1a34d68206a2a154d46
2017-09-13 12:57:37 +01:00
Translation updater bot c2b8de09a5 Localisation updates from https://translatewiki.net.
Change-Id: Ib39c3b33100062858098f2f803e1fad751f837d2
2017-09-12 22:56:25 +02:00
jenkins-bot 508fdf1543 Merge "Don't require a selection to run any of the save actions" 2017-09-11 15:10:23 +00:00
jenkins-bot 822db7eacf Merge "Add feedback link for visual diff inside save dialog" 2017-09-11 12:01:39 +00:00
Translation updater bot caa7341d49 Localisation updates from https://translatewiki.net.
Change-Id: If867adb27d970653090e741b90ed503f49a13842
2017-09-10 22:50:20 +02:00
Ed Sanders 13ef05b489 Don't require a selection to run any of the save actions
Change-Id: I3a8f7e1e9e3714f226ac240a429a62d011112285
2017-09-10 14:53:14 +01:00
Translation updater bot bf27796935 Localisation updates from https://translatewiki.net.
Change-Id: I09865a7a366e768cdb5ac6dcbcbb7ab15ac67420
2017-09-09 22:53:44 +02:00
Translation updater bot dc2366cbba Localisation updates from https://translatewiki.net.
Change-Id: I768e3e14ff1b0becdba08daa7694b22625792fab
2017-09-09 00:22:20 +02:00
Translation updater bot b80952158a Localisation updates from https://translatewiki.net.
Change-Id: I10f4721b977be987129d271ba1534887bcaabd4d
2017-09-07 23:42:28 +02:00
David Lynch 569f917edc MWExtensionWindow: clean up originalMwData on teardown
Not doing this makes adding a new extension node with the exact same content
as a previously-viewed one have the Done button disabled.

Bug: T172586
Change-Id: I39105144e17135044ef644b5464b0fbfdfc019d5
2017-09-07 10:40:36 -05:00
Translation updater bot 67ef60629d Localisation updates from https://translatewiki.net.
Change-Id: I6176a308b3b526f068da420473e52d342aa0da14
2017-09-06 23:02:05 +02:00
Bartosz Dziewoński 92cea19890 Use .length instead of .size() for jQuery objects
.size() is deprecated.

Change-Id: Ib28b7fede117de474efea705adf5dc2cdf8cb101
2017-09-06 14:52:40 +02:00
jenkins-bot a13620f49a Merge "MWTemplateDialog: BookletLayout: Use findClosestPage instead of getClosestPage" 2017-09-06 00:38:33 +00:00
Translation updater bot 8980881dd4 Localisation updates from https://translatewiki.net.
Change-Id: I745a308a42416baed8debda4b5e2e7491ef5537d
2017-09-05 23:04:02 +02:00
jenkins-bot 9ef0f71983 Merge "Stop requiring deprecated EditPage::getCheckboxes()" 2017-09-05 18:00:52 +00:00
Thalia a3902ebff8 Add feedback link for visual diff inside save dialog
Bug: T170665
Change-Id: I0b09b1089c834a013ad5fee4ecdf75b483b56323
2017-09-05 13:35:37 +01:00
Prateek Saxena 2b923c0346 MWTemplateDialog: BookletLayout: Use findClosestPage instead of getClosestPage
Bug: T76630
Depends-on: I068dad8c79c4bda6ea37ab6a1eb6ba72ab6f7dc0
Change-Id: Ib4e380aa6cd0cacbadd42bdf447ddee6443f22ef
2017-09-05 12:13:41 +10:00
Translation updater bot 828ce717f3 Localisation updates from https://translatewiki.net.
Change-Id: I09c9579992c49851382f4c0d54af59e1552a6532
2017-09-04 22:52:04 +02:00
Translation updater bot ef753a82ce Localisation updates from https://translatewiki.net.
Change-Id: Ib1ff25374fcf0df6c0e8ffc3d402adbd3b36dfa1
2017-09-03 22:41:47 +02:00
jenkins-bot d743fa7c1f Merge "Disable VE on Special:Undelete" 2017-08-31 23:40:41 +00:00
Bartosz Dziewoński df9e564b73 Stop requiring deprecated EditPage::getCheckboxes()
Instead, use getCheckboxesDefinition(), and build our save form
checkboxes from that rather than extracting them from the HTML.

The ability to have non-checkbox fields there is removed, as that was
never intentional and is now impossible.

To avoid transient problems during deployment (old JS code cached in
the user's browser receiving the new format of API responses), the old
property is kept in the API response. We should remove it next week.

Bug: T174613
Bug: T174686
Change-Id: I5bfca5e116fe790302c3b6ac1357e80237fb1ed2
2017-08-31 17:47:15 +02:00
jenkins-bot af756c4c20 Merge "EducationPopup: Add cursor:pointer" 2017-08-30 17:59:26 +00:00
Ed Sanders 24747966b6 EducationPopup: Add cursor:pointer
We still expect the user to click on the tool, and
the actions still works (albeit delayed), so we
should use cursor:pointer.

Change-Id: I6d2b0140f5fd918809f05acc6e405ef430c518fd
2017-08-30 17:48:27 +00:00
jenkins-bot a24be49c01 Merge "ve.ui.MWEducationPopupTool: Position blue dots with CSS only" 2017-08-30 17:42:38 +00:00
jenkins-bot 1a40fd2b71 Merge "ve.ui.MWLanguageVariantNodeContextItem: Fix condition for empty table" 2017-08-30 15:48:07 +00:00
jenkins-bot 61ae9df214 Merge "MWParameterPage: Vertically align actions with label" 2017-08-30 15:42:53 +00:00
Bartosz Dziewoński bff16fb352 ve.ui.MWLanguageVariantNodeContextItem: Fix condition for empty table
For magical HTML reasons, a `<tbody>` node is automatically inserted
inside the `<table>` node. Therefore the table always had exactly one
direct child, this check always failed and table was never shown.
Instead, count the rows.

Change-Id: Ia8a5387c3f605689ab1053c923952ec955b83253
2017-08-29 21:57:48 +02:00
jenkins-bot 50c31a0b29 Merge "mw.ArticleTarget: strip HTML tags entirely from source-mode summary" 2017-08-29 19:50:04 +00:00
David Lynch dc101c6169 mw.ArticleTarget: strip HTML tags entirely from source-mode summary
Bug: T173711
Change-Id: If8b354b2788285ea27472bf9a16544f8e5c091f8
2017-08-29 12:01:33 -05:00
David Lynch 5d4ff082e6 MWLinkAnnotationInspector: check input validity when switching modes
Focusing a TextInputWidget normally unsets validity. However, because we're
kind of pretending this is the same input, just in a different mode, it
doesn't make sense to the user that the focus behavior occurs. So, make it
recheck validity after we switch.

Bug: T172159
Change-Id: I1d9d6670d72483c7510fd5ed3c539b43af8432bf
2017-08-29 11:28:29 -05:00
Bartosz Dziewoński 0a378318bf ve.ui.MWEducationPopupTool: Position blue dots with CSS only
We can place them in bottom center of the toolbar buttons with
just CSS, no need to manually calculate the position (which
doesn't give the correct results if the toolbar is not visible).

Also add z-index for correct rendering inside TargetWidget,
not overlapped by the toolbar border (e.g. in the media dialog).

Bug: T174120
Change-Id: I556ddfcf252669107cf21810fbed7c9a3751e906
2017-08-29 18:21:44 +02:00
Ed Sanders c8e856bfb2 MWParameterPage: Vertically align actions with label
Also make label consistent height, with or without an
indicator using line-height, and move closer to input.

Change-Id: I1b6e6e2f3caa4c949583cafa9448aae6ebc1e0a1
2017-08-29 14:45:21 +01:00
Ed Sanders 550408f863 Increase width of param actions container
Bug: T174202
Change-Id: I61a175593b087219b22c5be91d00054b1c15e1dc
2017-08-29 14:28:26 +01:00
Translation updater bot 498d1dde0c Localisation updates from https://translatewiki.net.
Change-Id: I85367b5829adcc6402905429b09b00302d1c8585
2017-08-29 09:27:05 +02:00
Translation updater bot 632a39446f Localisation updates from https://translatewiki.net.
Change-Id: I86a476a67016ccfec0ece9a6d40576bcc9cc9683
2017-08-28 13:47:03 +02:00
Ed Sanders 3ba918a6ae Disable VE on Special:Undelete
Bug: T173154
Change-Id: I2a7d815a67c9e0f80ab3cdfd3a3755370c831867
2017-08-25 18:09:37 +01:00
Translation updater bot 4677c6837b Localisation updates from https://translatewiki.net.
Change-Id: I5ea49bc6475bf5c10b900b9ade15455ee939b4a8
2017-08-25 10:06:55 +02:00
jenkins-bot b73deb1690 Merge "Create wrapper paragraph when converting block image to inline" 2017-08-24 22:16:16 +00:00