Commit graph

12167 commits

Author SHA1 Message Date
Translation updater bot 1a60f06623 Localisation updates from https://translatewiki.net.
Change-Id: Ic34dabbe76174f46e403d7287a3359d20c9c367f
2016-09-01 23:28:29 +02:00
jenkins-bot 41ac54e8e8 Merge "Update VE core submodule to master (da920dc)" 2016-09-01 20:05:19 +00:00
jenkins-bot 69b7a262ec Merge "Follow-up 51dd790 & c40070b: Drop T135171 debug tracking" 2016-09-01 19:26:14 +00:00
James D. Forrester df536d49c6 Update VE core submodule to master (da920dc)
New changes:
f83e572 Remove items from DTH factory indexes when unregistering
7a4082b Don't remove selected content in beforePaste
9337fc8 ve.init.Target: Unset this.surface when destroying it
87a749b Check surface has been added before setting

Change-Id: Iff620659c5e25e26b7fd864b177d0f74e057d3f5
2016-09-01 10:54:13 -07:00
jenkins-bot b656f3d5f1 Merge "Use super property to call parent methods" 2016-09-01 17:04:39 +00:00
jenkins-bot dcbb8e2e90 Merge "Fix restoration of redirect HTML after exiting without saving" 2016-09-01 16:12:05 +00:00
Alex Monk d907e973fd DesktopWikitextArticleTarget#switchToVisualEditor: Use correct revision ID property
So we ensure we send the actual revision ID, not potentially undefined, to the
method. If we send undefined, it'll give us an etag for revision number 0...
And that will cause issues when we later attempt (in a future editor switch) to
pass an etag for revision 0 along with the correct revision.

Bug: T143920
Change-Id: I0c27956abdd26ae4f5f1b91010a5eab8ee0354ab
2016-09-01 02:45:22 +01:00
Translation updater bot 355f16e0b9 Localisation updates from https://translatewiki.net.
Change-Id: I4211dc8f05263175d5dbdd4a031c050f08505c14
2016-08-31 22:39:03 +02:00
jenkins-bot b769415142 Merge "Increase Mocha and Selenium timeout for language screenshots to 40 s" 2016-08-31 10:11:09 +00:00
Željko Filipin a7e216dd94 Increase Mocha and Selenium timeout for language screenshots to 40 s
Bug: T139613
Change-Id: I06499f89f340cfda2f30d80c2f8b721b71627bac
2016-08-31 10:00:48 +00:00
jenkins-bot 572e7375d7 Merge "Preserve data when switching from NWE to VE" 2016-08-30 23:33:43 +00:00
Translation updater bot 9151afca86 Localisation updates from https://translatewiki.net.
Change-Id: I3ddd0d7432427ef021cf30e44a9750b4fd5dcabb
2016-08-30 23:05:20 +02:00
James D. Forrester a14ea9f688 Update VE core submodule to master (599c6e1)
New changes:
5195713 Make ve.dm.IndexValueStore ordered, append-only and slicable
8fbad4d Localisation updates from https://translatewiki.net.
ce10786 Use super property to call parent methods
9f20e05 Rename overlapsRange to isTouching
7e0e13a Fix typo in plain text file handler (extension -> extensions)
599c6e1 ElementLinearData: don't sanitize away newlines within <pre>

Change-Id: I6837b71a4270bbdfb8c15e9027f721c3f85ea907
2016-08-29 16:35:04 -07:00
jenkins-bot dabddaa798 Merge "Avoid master queries from getUserPermissionsErrors()" 2016-08-29 22:20:30 +00:00
Translation updater bot aa3dcd35b3 Localisation updates from https://translatewiki.net.
Change-Id: I3b0565e6b6690091bdacf4b6759f4aa43530f64b
2016-08-29 22:41:25 +02:00
James D. Forrester ba4532aa9d Rename EditButtonPublishNotSave to EditSubmitButtonLabelPublish
Depends-On: I4fbe54876095378a476399bf5e336c8df3e91e14
Change-Id: Iface24f77775216a0ab9eb464e7e10624af7719d
2016-08-29 10:46:49 -07:00
Translation updater bot fb16967972 Localisation updates from https://translatewiki.net.
Change-Id: Ie985146be37405dd3a37e91f321b35f49446c44f
2016-08-28 22:43:43 +02:00
Aaron Schulz 3718757f59 Avoid master queries from getUserPermissionsErrors()
Change-Id: I4f5bcd7e89a78f8b52bce445a83deb1581ec1641
2016-08-28 10:16:08 -07:00
Translation updater bot 0559a1ba4e Localisation updates from https://translatewiki.net.
Change-Id: I1dece529d19466a72af1dffdbaa0954a38bc93d9
2016-08-27 23:29:02 +02:00
Translation updater bot 990ce5b345 Localisation updates from https://translatewiki.net.
Change-Id: I57242c6dd7e6da74bf5753b3e5441c3094b04a17
2016-08-26 22:35:15 +02:00
Ed Sanders 56c56e81fe Move image-paste blocking to transfer handler match function
By not matching, we allow other types of paste to happen, e.g. HTML/plain text.

Bug: T142622
Change-Id: I3a2224ab23b5073eb7b031134ecc3170ccc782c0
2016-08-26 00:54:39 +00:00
jenkins-bot f071b0380d Merge "Vary the 'save' labels to 'publish' for public wikis" 2016-08-25 21:36:41 +00:00
Translation updater bot 5af089bc13 Localisation updates from https://translatewiki.net.
Change-Id: Ieb87b5a04ece4b7931a8e9def6b5c8da3e1e5043
2016-08-25 22:40:56 +02:00
jenkins-bot 3063a9f23e Merge "init: Discard attempts to activate while we're already activating" 2016-08-25 20:12:45 +00:00
Ed Sanders 134b62eb09 Preserve data when switching from NWE to VE
Bug: T143917
Change-Id: I910e731914bd71fdb131dae79d233d4306facc5d
2016-08-25 11:06:40 -07:00
jenkins-bot d27863587a Merge "Show a different label for buttons on create vs. modify" 2016-08-25 16:40:21 +00:00
James D. Forrester deef47414a Vary the 'save' labels to 'publish' for public wikis
Bug: T131132
Change-Id: I4a497265661d5ce0f6144988b514509dfa1bddfd
Depends-On: I56634ed223778a0650cf36ac7256151b13c494f1
2016-08-25 09:37:52 -07:00
David Lynch c1a065295f init: Discard attempts to activate while we're already activating
Perhaps in the future we could enhance this so that clicking a different edit
link queues that up for after the current activation finishes / aborts the
current activation cleanly.

Also, error-checking on setting an invalid progress state when loading.

Bug: T143160
Change-Id: I6c78cb19953df6fb564c06bac807e6897b63df19
2016-08-24 19:57:47 -05:00
James D. Forrester b7c7d06968 Show a different label for buttons on create vs. modify
To align with the linked patch in MediaWiki core. Taking advantage of
the opportunity to use core's messages for these, and remove some dead
wood old messages that were never used like "restore" items in mobile.

Bug: T139033
Depends-On: Ie81b5edd275963a965cd44d0fd325cae9ee2f1a6
Change-Id: Ie00e94cc77cb750a7e8d1104366bb3dad65af8a4
2016-08-24 16:01:11 -07:00
jenkins-bot e433326b1b Merge "Fix insertion annotation for wikitext link inspector" 2016-08-24 20:46:58 +00:00
Translation updater bot da737c7854 Localisation updates from https://translatewiki.net.
Change-Id: I340323ac24871f3c4e30e011e0397dcb800eda60
2016-08-24 22:39:02 +02:00
Ed Sanders 5788340b49 Update VE core submodule to master (632f0a9)
New changes:
14b5fbc [BREAKING CHANGE] Move originalDomElements to the IV store and use MD5
c5d21f0 Provide methods to (de)serialize transactions

Local changes to move originalDomElements to IV store

Depends-On: I8a71c1a40ec35108d0a9a388da6f75632f8dc53c
Depends-On: I32c9b5f984fcf96e3354841ecfcd444149e8f159
Change-Id: I0fbb6324eede94558426178cbdad6b5daf0f8318
2016-08-24 18:14:14 +00:00
Željko Filipin 59d771e1ac Fix failing Selenium tests
There were a couple of pieces of language screenshots related Ruby code
left that was breaking Selenium tests.

Bug: T139613
Change-Id: I3d327b3cfd5f52e60fee07095eefdd8feecaba98
2016-08-24 16:47:14 +00:00
Željko Filipin e805163528 The latest version of commons_upload Ruby gem is needed for language screenshots
The previous version used a Ruby 2.3 feature and our Jenkins slaves
have Ruby 2.1.

Bug: T139613
Change-Id: I6cce471d9f4aa7e2f94607fcf0ae427ec9d7a39c
2016-08-24 18:05:37 +02:00
jenkins-bot 9103242e13 Merge "Upload language screenshot files using commons_upload Ruby gem" 2016-08-24 15:07:19 +00:00
Željko Filipin 2fb5c18ced Upload language screenshot files using commons_upload Ruby gem
Use the latest version of commons_upload. Delete no longer needed files
from previous Ruby implementation.

Bug: T143563
Change-Id: I7c0ca64aeea54501c51eb56a950143d5af251cf7
2016-08-24 14:47:45 +00:00
Željko Filipin 2777a9fc2d Run language screenshots on Windows
Fonts do not look good on Linux and Mac is slow.

Bug: T141369
Change-Id: I48347dabb8a68c97b615ffda94e515e6347b7d3c
2016-08-24 14:43:05 +00:00
Translation updater bot 6eded3baa0 Localisation updates from https://translatewiki.net.
Change-Id: I13d00f33fb7fa329889ed42381ba1c02d7980434
2016-08-24 10:38:15 +02:00
Ed Sanders 62bdaac13b Use super property to call parent methods
Change-Id: I76982b844cf2871d7583463def4393e5bdc33aa2
2016-08-23 11:56:47 -07:00
jenkins-bot 086202c540 Merge "init: port in isUnModifiedLeftClick without any VE core dependencies" 2016-08-23 00:01:52 +00:00
jenkins-bot e68fc9197c Merge "Restore parent method call in ce.MWHeadingNode#onUpdate" 2016-08-22 21:35:48 +00:00
Ed Sanders 370ac2808a Restore parent method call in ce.MWHeadingNode#onUpdate
Bug: T143604
Change-Id: Ia4f01d4b901404660fbb1f9755feea36b076b71c
2016-08-22 21:28:48 +00:00
James D. Forrester d14c81c9dc Update VE core submodule to master (01e1b22)
New changes:
a91476f Update OOjs UI to v0.17.8
e9b6179 Remove duplicate properties defined in mixin ve.Node
4c5663c SourceSurfaceFragment#insertDocument: Don't insert on failure to convert document
7318df5 Ensure data isn't discarded when moving a row next to sparse cells
ceeb1c1 Localisation updates from https://translatewiki.net.
df12906 Table move tests
6322800 Wrap to the next/previous row when tabbing in a table
951fed5 Simplify table move tests
0feae99 Add a new row when tabbing off the end of a table
519399c Simplify definition of table selections
5e67e00 Localisation updates from https://translatewiki.net.
14479e8 Cursor off tables with up/down

Change-Id: I5643d8dc3c05fb3072b7fca869b86ca09b3a638c
2016-08-22 13:24:38 -07:00
David Lynch 11a4e4e6b9 init: port in isUnModifiedLeftClick without any VE core dependencies
Bug: T143467
Change-Id: I4c0ecf80ecfff04472e136801264d50dafe39575
2016-08-22 14:40:34 -05:00
James D. Forrester 1993c51a49 Follow-up 51dd790 & c40070b: Drop T135171 debug tracking
Apparently this is now fixed, so no need to keep this.

Bug: T135171
Change-Id: Ie5c0f9140c6de4bb73770276011adce23fa69f9e
2016-08-22 11:28:22 -07:00
Ed Sanders 1d6746e89d Fix insertion annotation for wikitext link inspector
Change-Id: Ib769e371743438b530f150fcb8104292288c35f9
2016-08-22 10:59:55 -07:00
jenkins-bot 912f938fea Merge "Fix language screenshots timeout error" 2016-08-22 15:06:45 +00:00
Željko Filipin 15958af7d2 Fix language screenshots timeout error
Increase Mocha and Chrome timeout from 20 to 30 seconds.

Tool groups (headings/text style/indentation/insert/page settings) needs
more than 20 seconds.

Error message: Error: timeout of 20000ms exceeded

Bug: T139613
Change-Id: Id6d943a78d7109012c2372cbd3c00e6a80ed9583
2016-08-22 14:16:00 +00:00
jenkins-bot d21bc1868b Merge "Remove Ruby implementation of language screenshots" 2016-08-22 10:38:09 +00:00
Željko Filipin cbccba89a0 Remove Ruby implementation of language screenshots
It is now implemented in JavaScript/Node.js.

Bug: T132574
Change-Id: I299332ac4f849b951ba24564bd0282ca0e25afd2
2016-08-22 12:19:21 +02:00