Commit graph

11808 commits

Author SHA1 Message Date
Alex Monk 96421b283c Fix restoration of redirect HTML after exiting without saving
This feels like it's getting far more complicated than it should be.

Bug: T140032
Change-Id: Id951400cead61da37b8bdfa05cf8add6c115547d
2016-08-09 22:43:25 +01: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
jenkins-bot b660084b90 Merge "Update VE core submodule to master (c96c398)" 2016-07-12 21:57:31 +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 53a469954e Update VE core submodule to master (c96c398)
New changes:
5e107a8 Remove references to git.wikimedia.org
f2758d6 Better documentation of the data argument in sequences
45b85ca Ensure getNodesByType always returns an array
c96c398 Improve performance of table move by only setting selection once

Change-Id: I5220bf056fcc39617182fc6afcb63fa12a142315
2016-07-12 09:44:54 -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
jenkins-bot ae85fcf878 Merge "Use debug() for spammy edit stash log messages" 2016-07-11 01:32:36 +00: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
Aaron Schulz e2d7eea8a7 Use debug() for spammy edit stash log messages
Change-Id: I154d6ff867f8b85b91a83f7351dd1f455d308690
2016-07-07 17:00:59 -07:00
jenkins-bot 6f05edcd72 Merge "Revert "Use debug() for stash messages to match core"" 2016-07-07 22:09:23 +00:00
Jforrester 660cae8514 Revert "Use debug() for stash messages to match core"
This reverts commit 693b28a4bb.

Bug: T139469
Change-Id: I54ae58a113977ffa31f0a82b2ca93938b35e842b
2016-07-07 21:59:02 +00:00
Translation updater bot b3c24f620d Localisation updates from https://translatewiki.net.
Change-Id: I3ccef04f9a8d43792438cbe2cf20e1b3ccab32d7
2016-07-07 22:40:56 +02:00
Max Semenik 07da2af53f Fix undefined variable
Change-Id: Iba39e0a26a04cad28179aacd4f25b9aef1cfa7fc
2016-07-06 17:05:10 -07: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
Alex Monk e639525a9c Follow-up I9202066d: array_unique leaves gaps in keys, we need to run array_values on it afterwards
While that commit fixed the issue it was intended to address, it also
completely broke VE everywhere else. Basically you'd end up with a result
like this:

array(5) {
  [0]=>
  int(14)
  [1]=>
  int(6)
  [2]=>
  int(2)
  [5]=>
  int(0)
  [6]=>
  int(250)
}

With the lack of 3 and 4 keys making the JSON formatter think we've got an
object.

Bug: T139094
Change-Id: Ia21fd4bd352afc9170357576a3e0eb17b4528326
2016-06-30 20:35:45 +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
James D. Forrester 52c2ac9582 Update VE core submodule to master (513f0bd)
New changes:
513f0bd Don't restore class attribute on class attribute nodes

Change-Id: Ic818bb997e9b50277d9d14e58908f0989e918495
2016-06-30 17:41:06 +01:00
jenkins-bot a95ffcdc42 Merge "Fix preference namespace list to handle duplicates" 2016-06-30 16:29:48 +00:00
James D. Forrester d9d6a567d8 Follow-up e2f6d798: Make MWTemplateModel#addPromptedParameters work
Change-Id: I27e82aed207e1352ccb5f5a177fd53d5c1868c42
2016-06-30 16:46:38 +01:00
Ed Sanders 3a4ff4eb5f Make edit tab dialog wider to accommodate long messages
Bug: T138731
Change-Id: I96d0a9e5efbe0b462fc4e13a4fa6008987d749cf
2016-06-30 13:43:58 +01:00
jenkins-bot fc8d1b9d25 Merge "screenshots: Restore save button to more settings task" 2016-06-29 22:51:24 +00:00
jenkins-bot c430cbd9bc Merge "screenshots: Add task for plain insert menu" 2016-06-29 22:51:21 +00:00
jenkins-bot 750078ab63 Merge "MWTemplateDialog: When opening the dialog, add in any unset suggested and required parameters" 2016-06-29 22:42:25 +00:00
Alex Monk ea1a621c47 Fix preference namespace list to handle duplicates
Change-Id: I9202066d23eca527571ac817cf3ae64bc2d57bea
2016-06-29 23:24:34 +01:00
Ed Sanders 0246f77cb6 screenshots: Restore save button to more settings task
Change-Id: I847cf81f3092be50f0fcf019eea3226decedd445
2016-06-29 23:02:43 +01:00
David Lynch 3c5695e87d Don't use array_merge for namespace configs
array_merge renumbers numeric keys. The namespace configs can be either
numeric or names. If they're numeric, they shouldn't be renumbered. So just
add them.

Bug: T138980
Change-Id: I3e3ecb3e9e65443ba0d44f8eeb67d6b390eca0bd
2016-06-29 16:13:21 -05:00
Alex Monk bf0953b07b Remove consideration of extension registry configured namespaces until we can find the correct way to merge them
This will disable ProofreadPage's addition of the Page namespaces (e.g. on
wikisources), but this is more important right now.

Bug: T138980
Change-Id: I23ee26fa95a01b3e0881a4ca16e70247839d9cd9
2016-06-29 21:48:33 +01:00
Ed Sanders 2780c86bff screenshots: Add task for plain insert menu
Change-Id: Id77df7ff88e030b283b1f94ff85537bfd4f20345
2016-06-29 20:39:42 +01:00
James D. Forrester e1b2734ce0 Update VE core submodule to master (3ea50c4)
New changes:
67c1d75 DesktopContext: Positioning a maybe-floated not-embeddable popup
d5b6725 Localisation updates from https://translatewiki.net.
3ea50c4 Update OOjs UI to v0.17.5

Change-Id: I84ebf1947778446c573b0791c915e99fde1487a1
2016-06-29 18:02:27 +01:00