Commit graph

9352 commits

Author SHA1 Message Date
Translation updater bot 2871ef41bc Localisation updates from https://translatewiki.net.
Change-Id: I73b1a6f72561397b8cacf798b7b877f09ba0bfb4
2016-07-27 22:40:42 +02:00
Translation updater bot e7e1ce91e9 Localisation updates from https://translatewiki.net.
Change-Id: Ib0e0dc671cdb6ada07657429ebcac1fa31a321b8
2016-07-26 22:57:37 +02:00
Ed Sanders 6064eb3dc4 Fix preview to use a valid document slice
An inline content node must exist inside a content branch node (paragraph).

Bug: T141306
Change-Id: I6bf2f99938940c1a5e34db16fbe582b15991a7c6
2016-07-26 16:06:07 +01:00
Roan Kattouw 5483b25657 Reduce mayhem caused by ?oldid=currentRevId
If you viewed a page with an ?oldid= query parameter set to the ID
of the current revision, some parts of VE would believe we were
in oldid mode (because there's an oldid present), but others
wouldn't (because the revid we're editing equals the newest revid).
This caused bugs when opening the editor a second time after saving
(which is normally impossible to do after an oldid-mode edit, because
we navigate to a new page after an oldid save, but we don't do that
in this case).

Ensure that:
* The internal state of DesktopArticleTarget is updated correctly
  after saving in this case
* The ?oldid= parameter is removed from the URL after saving
* DesktopArticleTarget.init doesn't preload the article HTML
  on a second/subsequent editor load: this causes issues because
  it caches the oldid, and generally speaking the Target's internal
  state is not considered

Bug: T141330
Change-Id: I74034328797c59f7249f1f6f4f53a92ee1c26334
2016-07-25 20:04:47 -07:00
Translation updater bot 519cdb2c34 Localisation updates from https://translatewiki.net.
Change-Id: I70c9b99aec2170e4634b369348f0b9bc668bd5e6
2016-07-25 22:26:36 +02:00
Ed Sanders d86bdccf89 Only apply font fix to global overlay
Bug: T141262
Change-Id: I6a99eefc683bb72c79bf13de2a1f89c37c443310
2016-07-25 14:48:49 +01:00
Translation updater bot a8dfd811ac Localisation updates from https://translatewiki.net.
Change-Id: I4282b43db782928122f4562cd3f9d07e284a4c56
2016-07-24 22:26:36 +02:00
Translation updater bot 392a67134c Localisation updates from https://translatewiki.net.
Change-Id: I76baa57bfcb3ad9c773f125390fc3232c1eb90ec
2016-07-23 22:28:33 +02:00
Translation updater bot ec39ae9cda Localisation updates from https://translatewiki.net.
Change-Id: I62ac51cb828ac616bb7000bbec38deb0af504681
2016-07-22 22:43:35 +02:00
Translation updater bot 874fdae6e7 Localisation updates from https://translatewiki.net.
Change-Id: I640d1db416d3a4d586b2a2b14ab90449b51144aa
2016-07-21 23:02:36 +02:00
jenkins-bot 522b3498ce Merge "MWGalleryDialog: Add new 'slideshow' mode" 2016-07-21 00:54:08 +00:00
Translation updater bot abce5019b1 Localisation updates from https://translatewiki.net.
Change-Id: I848446feb5d49c7e1d5e63c6d458a34ea8588aa4
2016-07-20 22:43:27 +02:00
David Lynch e9b99d8181 MWSaveDialog: Give checkboxes a class based on their origin's name
Bug: T138631
Change-Id: I2c31becd57c7988c4dd26c09ee01b4f7820c7aaa
2016-07-19 11:21:36 -05:00
Translation updater bot 3da7110f0c Localisation updates from https://translatewiki.net.
Change-Id: Ia0845ba1cde9cac124cd0a72767657798cc9fbda
2016-07-18 22:31:44 +02:00
jenkins-bot 53cd8923d0 Merge "Pass ve.dm.Document to addSurface as documented" 2016-07-18 16:04:47 +00:00
jenkins-bot 6b17cf7194 Merge "Move internal-link detection into the InternalLinkAnnotationWidget" 2016-07-18 10:30:44 +00:00
Ed Sanders e50aa6fa34 Pass ve.dm.Document to addSurface as documented
Change-Id: Ic4ef3763e20d0f954e21dd651309b0e9eee65fd2
2016-07-18 11:13:54 +01:00
Translation updater bot e9c281b888 Localisation updates from https://translatewiki.net.
Change-Id: I116e6522473e9bf2dc4b271814cc130dbd0a1781
2016-07-16 23:01:07 +02:00
David Lynch ef7652fdfc Move internal-link detection into the InternalLinkAnnotationWidget
If internal link detection is in the LinkAnnotationInspector, it falls down
when a valid URL which isn't also a valid page title (e.g. percent-encoded
titles) is pasted into the input. This is fixed by moving the detection to the
input's change handler before any validation can occur.

Bug: T119431
Change-Id: I1eb2040dd918fdcc22c28594b5cbad835cf384a8
2016-07-15 13:51:35 -05:00
Translation updater bot c075a17ff7 Localisation updates from https://translatewiki.net.
Change-Id: Icbbe4dd32dde654210f33986191aec614d643155
2016-07-14 23:28:50 +02:00
jenkins-bot c3ab6950bc Merge "DAT.init#setEditorPreference: Change section edit alongside tab labels" 2016-07-14 16:26:02 +00:00
Translation updater bot 015d63d560 Localisation updates from https://translatewiki.net.
Change-Id: I9db5b8d2e755f39039728b7e2a8ccc4a24cd48b1
2016-07-13 22:39:26 +02:00
jenkins-bot 773c13f9d6 Merge "Avoid trying to load unregistered modules" 2016-07-13 15:40:09 +00:00
Ed Sanders 2d23f247f0 Avoid trying to load unregistered modules
Ideally we would get an exception when trying to load
a non-existent module, but there is no difference between
a genuinely missing modules, and one which just doesn't exist
on this target (e.g. a desktop-only module on mobile or vice-versa).

This stops mobile VE from crashing every time a desktop-only
module is added to VE plugins.

Change-Id: Ia9ac0dd21b26c54ad779c6f499e68786c34ec873
2016-07-13 15:21:25 +00:00
jenkins-bot b71160cbd5 Merge "MWGalleryDialog: Don't set blank values for width, height" 2016-07-12 22:32:38 +00:00
Thalia 84919b253b MWGalleryDialog: Don't set blank values for width, height
If width or height attributes are left empty in the form,
they are now undefined in mwData.

Bug: T140094
Change-Id: I76dadbd07a89ce762e42ce714f364ce74a9cc1f0
2016-07-12 22:14:59 +01:00
jenkins-bot 4675e7968b Merge "Use transition timing from OOUI theme config" 2016-07-12 21:10:23 +00:00
Translation updater bot 4acd8d74e2 Localisation updates from https://translatewiki.net.
Change-Id: Ic438c7b39d1ad455477e05959aa8448579047013
2016-07-12 22:53:51 +02:00
James D. Forrester 96ba688a87 MWGalleryDialog: Add new 'slideshow' mode
Change-Id: I73052def5e8c082f27606b2ff094834fd5d11908
2016-07-12 08:08:15 -07:00
Ed Sanders c645295bee Fix vertical positioning of progress bar
Bug: T140029
Change-Id: I5b38d375559449eded559e4443131516b1937b6d
2016-07-12 15:56:50 +01:00
Ed Sanders 12e1de2a76 Use transition timing from OOUI theme config
Depends-On: I00eaa2b815d7c76b6315a3993a9a7921ae503c00
Change-Id: I37098e085c4ee49050d448bed8821d3c0f6ec449
2016-07-12 13:28:33 +01:00
Translation updater bot 4d0d8cb659 Localisation updates from https://translatewiki.net.
Change-Id: Ie87cd1cc30c7a72fd38600742264199cea405681
2016-07-11 23:00:35 +02:00
Translation updater bot 1e3c8d27aa Localisation updates from https://translatewiki.net.
Change-Id: I637cbd4e108cf2ae61fd8f91716c4ab67e2e1491
2016-07-10 22:24:58 +02:00
Translation updater bot 75ebe14ca9 Localisation updates from https://translatewiki.net.
Change-Id: Ib538c282aacbf2099245e6894016beb9625c20e5
2016-07-09 22:56:29 +02:00
Translation updater bot c5d9d74152 Localisation updates from https://translatewiki.net.
Change-Id: Id73fac906e566b859a3c936b4009e329ef15984d
2016-07-08 23:12:43 +02:00
Translation updater bot b3c24f620d Localisation updates from https://translatewiki.net.
Change-Id: I3ccef04f9a8d43792438cbe2cf20e1b3ccab32d7
2016-07-07 22:40:56 +02:00
Translation updater bot 9de8c610b7 Localisation updates from https://translatewiki.net.
Change-Id: I948ab5c4883cac54fe12f91415180854d0ecbd2a
2016-07-06 22:32:18 +02:00
jenkins-bot 67ca0bd32b Merge "Check surface exists when triggering toc rebuild" 2016-07-06 17:56:58 +00:00
Thalia 3e911ba266 Make gallery dialog caption field multiline
Also change remove button label from "Remove" to "Remove image".

Bug: T139421
Bug: T137982
Change-Id: I1b11eb44c672bad0d53d139d66e796a0657457f5
2016-07-06 17:24:12 +01:00
Ed Sanders 066f82f4b1 Check surface exists when triggering toc rebuild
Bug: T139205
Change-Id: I9cc01c3dc2e9bcd822d5498b2a95d01cc4e82953
2016-07-06 17:12:51 +01:00
Translation updater bot fd191b60ec Localisation updates from https://translatewiki.net.
Change-Id: I240da96b82985a2958ff397847577644f02433dc
2016-07-05 22:36:10 +02:00
Translation updater bot 5a0b12bfb4 Localisation updates from https://translatewiki.net.
Change-Id: I92e686fa6e7018b506629fc857fb951f72e84447
2016-07-04 22:35:04 +02:00
jenkins-bot f1bb251814 Merge "Ensure widgets are always torn down when categories page is closed" 2016-07-04 07:11:08 +00:00
Translation updater bot 1ab632bdc7 Localisation updates from https://translatewiki.net.
Change-Id: I39ab5850f7191ab2949b90f854087a2aa972de73
2016-07-03 22:42:48 +02:00
Translation updater bot c6e50ba073 Localisation updates from https://translatewiki.net.
Change-Id: Idb134bcdb855feee475ac60ebc4df2aa00ebb23e
2016-07-02 22:55:37 +02:00
Ed Sanders 34135c7643 Ensure widgets are always torn down when categories page is closed
Previously a return statement meant they weren't.

Bug: T139196
Change-Id: Ic7bc14a929430ac6e9d2546fc9e1a1a02635ca77
2016-07-02 17:38:53 +01:00
Translation updater bot a707459c17 Localisation updates from https://translatewiki.net.
Change-Id: Id47ab520f2d4247ed4ed6fac1371c640cea05d15
2016-07-01 23:29:42 +02:00
jenkins-bot 4a7f208e53 Merge "Hack to not show menu immediately upon meta dialog opening for redirect change" 2016-06-30 21:35:21 +00:00
Alex Monk 134a35ad1a Hack to not show menu immediately upon meta dialog opening for redirect change
Bug: T137309
Change-Id: Iba22b909e8208d2a314de8313db9d910410c9a1d
2016-06-30 20:49:23 +01:00
Ed Sanders 40d606abdc Test removing all table classes
Bug: T138896
Depends-On: I2698428f0aa69e2dcec2680efed44d064bf6e542
Change-Id: I5df5d51fc5b69df6eae40ac29f6b82f446b26ae8
2016-06-30 17:41:42 +01:00