Alex Monk
0c07caafc7
Open meta dialog to edit categories when user clicks on the category footer
...
Bug: T145267
Change-Id: Ie88c4d9c6327baffdb83c1affbc0515a68c0fc03
2016-09-19 21:35:45 +01:00
jenkins-bot
376a4520ea
Merge "Use correct switch type when opening welcome dialog on NWE"
2016-09-19 18:16:59 +00:00
jenkins-bot
29ff6c43ef
Merge "DesktopArticleTarget: Save scroll position before transformPage"
2016-09-19 17:00:00 +00:00
Translation updater bot
3af6091a58
Localisation updates from https://translatewiki.net .
...
Change-Id: I651c1febf65af00a07103806f428aacc4ef00648
2016-09-17 23:23:29 +02:00
Roan Kattouw
cc8ca8e738
DesktopArticleTarget: Save scroll position before transformPage
...
transformPage() makes significant changes to the DOM, so measuring the
scroll position synchronously right after that results in a slow forced reflow.
Instead, measure the scroll position before reorganizing half the DOM.
Change-Id: I3baee5c11ca228696ddbfb30789745f5f0faa20a
2016-09-17 00:12:39 -07:00
Alex Monk
edf5b60368
(attempt to) make NWE work with SET
...
Ugh.
Bug: T143578
Change-Id: I71e08508eb0914be9d624202b13a4369df512b80
2016-09-17 03:36:47 +01:00
Željko Filipin
f3f432e722
Disable failing Selenium tests
...
The tests are failing with RSpec::Expectations::ExpectationNotMetError
for 2-3 days in a row.
Bug: T145861
Change-Id: Ieec2a67857b90033cdd0ddf63025d2af9de504a5
2016-09-16 13:12:02 +02:00
Translation updater bot
d4177b929d
Localisation updates from https://translatewiki.net .
...
Change-Id: I5caaa5d69075922483a3c354d921ceb34517b9bd
2016-09-15 23:05:10 +02:00
Alex Monk
926212dbae
Use correct switch type when opening welcome dialog on NWE
...
Bug: T145225
Change-Id: I032652733576d1a9797cc3dbb3dd24ca69cb30e5
2016-09-15 01:30:01 +01:00
Translation updater bot
1d297d8bc1
Localisation updates from https://translatewiki.net .
...
Change-Id: I0c5603dd7f98780c10fb58a4a357a3bbc5f702b6
2016-09-14 22:38:50 +02:00
jenkins-bot
f0a819455e
Merge "Load icons where we can via RLIM"
2016-09-13 21:21:22 +00:00
Translation updater bot
ce77acda5a
Localisation updates from https://translatewiki.net .
...
Change-Id: I6d8b7495b94acacad438abb949d5c8573bd80ea4
2016-09-13 22:58:14 +02:00
Alex Monk
7888c688b7
Simplify and fix category popup widget checks
...
Bug: T86357
Change-Id: I9a85267f6da0077e2167a92f25a8dc41074e6548
2016-09-13 04:17:20 +01:00
jenkins-bot
9721998763
Merge "Provide the new wikitext editor as a beta feature"
2016-09-13 00:56:48 +00:00
Translation updater bot
049d059b50
Localisation updates from https://translatewiki.net .
...
Change-Id: I8aace5f4a8d6b59dd9d58ec01ead7397f2a98d61
2016-09-12 23:10:02 +02:00
Bartosz Dziewoński
2b1c3914ec
ve.dm.MWMediaResourceProvider: Use mw.ForeignApi rather than JSONP
...
Bug: T143279
Depends-On: Ic93d733cb9e1b1d7301f8975c68ab7ded778845a
Depends-On: I24c2819ec2adcab468f961c5c46b31c331324567 (for CA wikis)
Depends-On: I372e7bdff35400287b3d961da979d6f094d13bd9 (for CA wikis)
Change-Id: I14a1e5c9956d1b425eaacdf358db384df3be8115
2016-09-12 18:38:58 +00:00
jenkins-bot
645c947359
Merge "Move image-paste blocking to transfer handler match function"
2016-09-12 15:55:19 +00:00
Translation updater bot
590e144686
Localisation updates from https://translatewiki.net .
...
Change-Id: Ied64da27763dd6c9ad790c0c0a28ce4648bc6e1d
2016-09-11 22:53:57 +02:00
Translation updater bot
0f7fb468fa
Localisation updates from https://translatewiki.net .
...
Change-Id: Icc3cb3d9ca0628e21ef2855f268caf3e7895bd61
2016-09-10 23:31:58 +02:00
James D. Forrester
da422b18d5
Load icons where we can via RLIM
...
This gets us the variants (which we need for OOUI 0.17.9); note that I've
cheated and used 0.17.9's colour for the MediaWiki theme's progressive flag
rather than 0.17.8's value of 347bff.
Change-Id: Ic436970e9298ea31f48c6cfdd04b80847aaebbee
2016-09-09 18:10:56 -07:00
Translation updater bot
0d0f13f429
Localisation updates from https://translatewiki.net .
...
Change-Id: Ida1853cd7f0da6d3da7bcf19091932c62e3e2f8e
2016-09-09 23:00:32 +02:00
L10n-bot
229bd7de08
Merge "Localisation updates from https://translatewiki.net ."
2016-09-08 21:49:00 +00:00
Translation updater bot
c994dc216f
Localisation updates from https://translatewiki.net .
...
Change-Id: I3605539ec3980896387c2413e71dd0a6c0237884
2016-09-08 23:49:06 +02:00
James D. Forrester
feeb2c3906
ve.init.mw.Target: Drop <noscript> tags on serialisation
...
These aren't in the Parsoid HTML spec., so there's no valid way that they would
be in the original document from upstream, and we don't—at least intentionally—
allow users to insert them, so we can safely assume that they're resulting from
browser extensions and other items inserting content into anything that sort-of
looks like an HTML page.
Bug: T144891
Change-Id: I330ae05cd53eee5c18b18ad744ea0ec7b2eb09cc
2016-09-08 14:13:11 -07:00
James D. Forrester
1d64e3280c
Provide the new wikitext editor as a beta feature
...
Still needs to be de-feature-flagged later.
Bug: T142644
Change-Id: I8e2588909ff95085b5a4d58f4394d9bc805f5598
2016-09-08 00:38:08 +00:00
Ed Sanders
5e22ef30fe
Add show preview to save dialog when in NWE
...
Bug: T142642
Change-Id: I679eaddfe9037dcf258d3ff7d1eaa44214f0e730
2016-09-07 21:35:49 +00:00
jenkins-bot
8ff3ea60ec
Merge "Cleanup getDocToSave API and use in source mode"
2016-09-07 21:31:19 +00:00
Translation updater bot
22875eaa27
Localisation updates from https://translatewiki.net .
...
Change-Id: I83408d6d2009cc39f4d1a1c3bc89ec201046d645
2016-09-07 22:47:09 +02:00
Ed Sanders
d0bb5511a5
Cleanup getDocToSave API and use in source mode
...
Instead of getting wikitext from the HTML, which is probably
slower and leads to issues with the whitespace stripping hack,
override getDocToSave and get text from the linmod directly.
Bug: T144621
Change-Id: I6b6cf16ee8f3720398ba8f5c85e7715c2e68329f
2016-09-07 12:09:41 -07:00
jenkins-bot
4fbe06a15c
Merge "Fix parent constructor call"
2016-09-07 02:50:03 +00:00
Ed Sanders
7a80fa57bc
Fix parent constructor call
...
Got broken in switch to using 'super'.
Change-Id: Icea95b49ad48849af857bfa3b301d3bcf6039036
2016-09-06 19:16:24 -07:00
Ed Sanders
3c25f3aede
Switch from NWE to VE using 'Edit' tab
...
Bug: T143577
Change-Id: I19d942c879c9ccf70e95beb5f8de589eb6363039
2016-09-06 17:23:24 -07:00
Translation updater bot
ed54a4b676
Localisation updates from https://translatewiki.net .
...
Change-Id: I9ba021a347e63a3d9c923c5bec79d6ddeaabef9b
2016-09-06 22:47:45 +02:00
jenkins-bot
255fedba60
Merge "Search all RDFa attributes when looking for type"
2016-09-06 16:42:28 +00:00
jenkins-bot
06ca8ea7ba
Merge "Disable veaction=editsource if NWE is disabled"
2016-09-06 15:52:27 +00:00
jenkins-bot
c0b49e728f
Merge "Make VE<->NWE switching progress bars non-cancellable and labelled"
2016-09-05 21:51:53 +00:00
Translation updater bot
620e073853
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ea0ab3e8a05c69021aaf4875b4d50b9cf6e780a
2016-09-05 22:46:29 +02:00
Translation updater bot
fa74ca1b12
Localisation updates from https://translatewiki.net .
...
Change-Id: I59d000170b0edce2f8e09ea5e99619517df3401c
2016-09-04 22:34:11 +02:00
Translation updater bot
7d733ff49c
Localisation updates from https://translatewiki.net .
...
Change-Id: Iff76313d140f15e3e1c5f0e0b38a6a8baa49f90f
2016-09-04 00:25:40 +02:00
Ed Sanders
7b3deab5a1
Disable veaction=editsource if NWE is disabled
...
Bug: T144651
Change-Id: I6a1e42b2da267bc42adeee0c818046eab0b387f8
2016-09-02 17:55:37 -07:00
Ed Sanders
edadf530e1
Make VE<->NWE switching progress bars non-cancellable and labelled
...
Soft dependency on Ifa41578164 in core to support the
non-cancellable flag.
Bug: T143582
Change-Id: I886a8f5ca90737938e4c0fedb2b456d851a12326
2016-09-02 16:47:17 -07:00
Ed Sanders
adaa47804f
Search all RDFa attributes when looking for type
...
Bug: T144561
Change-Id: Ib42daa52796cd72babbd8a317bae948cff779c99
2016-09-02 16:43:30 -07:00
Translation updater bot
18b057d984
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifca681562c1834d3df710c29c405d62c4400c62e
2016-09-02 22:58:44 +02:00
jenkins-bot
feb756dfb1
Merge "Update tab and history state when switching between NWE & VE"
2016-09-02 20:43:32 +00:00
Ed Sanders
e3dcf029ce
Update tab and history state when switching between NWE & VE
...
Bug: T143577
Change-Id: I729c0f4a8131f54f81be2d776bddf3020a21e704
2016-09-02 19:31:35 +00:00
Translation updater bot
1a60f06623
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic34dabbe76174f46e403d7287a3359d20c9c367f
2016-09-01 23:28:29 +02:00
jenkins-bot
69b7a262ec
Merge "Follow-up 51dd790
& c40070b
: Drop T135171 debug tracking"
2016-09-01 19:26:14 +00: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
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
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
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
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
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
Ed Sanders
370ac2808a
Restore parent method call in ce.MWHeadingNode#onUpdate
...
Bug: T143604
Change-Id: Ia4f01d4b901404660fbb1f9755feea36b076b71c
2016-08-22 21:28:48 +00: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
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
Translation updater bot
cb8c2ebec7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic4a9b04c553eebc67df75b158614c09ac4b20aa7
2016-08-21 22:56:05 +02:00
Translation updater bot
6c06d056d3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic43cc7b3097d55d6c3d89013e97f3ee3a8c9f414
2016-08-20 22:43:13 +02:00
Translation updater bot
cba27d7b4a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib526d0ed028f4cdd7d96106c700b2f639ce634ef
2016-08-19 22:43:40 +02:00
Alex Monk
166588c726
Fix insertion of templates, media, and various other things into wikitext surface
...
Pretty much fix everything on the insert menu... RB doesn't like it when you
try to specify both title and revision ID, but don't provide an ETag.
Change-Id: Ib25d023309d984ed8848f67b349b23231f27a957
2016-08-17 21:12:00 -07:00
Alex Monk
d24fd1e389
Don't show unsaved-changes warning if user has already saved in wikitext dialog
...
Add an extra surface check - makes sure it's attached.
Change-Id: I1720ba18b5966549fefb839013776ac9dfe0468a
2016-08-17 21:12:00 -07:00
Translation updater bot
7660980ab5
Localisation updates from https://translatewiki.net .
...
Change-Id: I75f5c71990c63b2a21c85ae9217476101b384cc5
2016-08-17 22:42:44 +02:00
jenkins-bot
12e169c9af
Merge "i18n: Reduce 'visualeditor-beta-warning' to just an invite to report issues"
2016-08-17 17:38:00 +00:00
jenkins-bot
02dc269447
Merge "Fix name of mweditmodeve-tool message"
2016-08-17 16:56:44 +00:00
James D. Forrester
557873447c
i18n: Reduce 'visualeditor-beta-warning' to just an invite to report issues
...
The switch notice isn't as urgent now.
Change-Id: Ie2e534d9ab41f2217ff98a669e40cf3fd7863498
2016-08-17 09:55:04 -07:00
Alex Monk
f60730a580
Fix name of mweditmodeve-tool message
...
Change-Id: Ib48a61b4ea56221808d96efd5cf4a5c13b8aeb0c
2016-08-17 06:21:56 +01:00
Translation updater bot
ba2c2ed44e
Localisation updates from https://translatewiki.net .
...
Change-Id: If3311510499f1aa9ea006b86ee31e82c154985de
2016-08-16 22:46:32 +02:00
Translation updater bot
a55424dd80
Localisation updates from https://translatewiki.net .
...
Change-Id: Ife0e4911d0d7bcd58c248fd38ee3ea3d57b846bd
2016-08-15 23:03:18 +02:00
Translation updater bot
0c2f2981ce
Localisation updates from https://translatewiki.net .
...
Change-Id: I1be5f7bf479705830f250968b5f6957708a6857e
2016-08-14 22:30:35 +02:00
Translation updater bot
64fb43836a
Localisation updates from https://translatewiki.net .
...
Change-Id: Id89d44abfc5abf2a77e836d8642112945f9857d9
2016-08-13 22:33:28 +02:00
Translation updater bot
8e0eedb51c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia9359b5ace4cdeaf5c2f6e1682475eeb265f811b
2016-08-12 23:17:05 +02:00
Ed Sanders
c452e134cc
Wikitext surface alpha feature
...
Edit wikitext with the VE interace.
Bug: T104479
Bug: T142138
Change-Id: Ic95b47e0dd378578555c4a2342ca9c87064ed1d5
2016-08-12 18:37:29 +00:00
jenkins-bot
e92b37a700
Merge "Centralize some checks for unmodified left clicks"
2016-08-11 23:24:30 +00:00
Translation updater bot
567bc298c5
Localisation updates from https://translatewiki.net .
...
Change-Id: I77aca2aafa920a83a17af3e67e686f591c38c93a
2016-08-11 23:59:28 +02:00
David Lynch
87ea771ae6
Centralize some checks for unmodified left clicks
...
Change-Id: I59cee4da9bbca4c8a29eaf9d52cb00ab6e70b670
Depends-On: I4f164f7cf1d755c3662571b2a1a8371d9fe756f9
2016-08-11 13:33:26 -07:00
Translation updater bot
8e2eea4ba9
Localisation updates from https://translatewiki.net .
...
Change-Id: I89b98e1377eb41691c1197857994b4410a7b70c7
2016-08-10 22:40:32 +02:00
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
1bb72c1dba
Localisation updates from https://translatewiki.net .
...
Change-Id: Icc1218a5ad574ba676969cf3f4618935daac1d42
2016-08-09 22:34:08 +02:00
jenkins-bot
4cc08e64ba
Merge "Gemfile: Bump mediawiki_api from 1.7.1 to 1.7.2"
2016-08-09 15:48:41 +00:00
jenkins-bot
5d2a08ac11
Merge "Take link fragments into account"
2016-08-08 23:26:04 +00:00
jenkins-bot
1fe827197d
Merge "Add titles to category input menu's items"
2016-08-08 21:56:43 +00:00
Translation updater bot
dfef8c3865
Localisation updates from https://translatewiki.net .
...
Change-Id: I05610d6618a6f7c30b3097365df88f6643784f28
2016-08-08 22:37:27 +02:00
Alex Monk
071291d624
Add titles to category input menu's items
...
To match where they point to.
Bug: T139189
Change-Id: I46454cc9cd90920dc5e445200598a4706a8639c9
2016-08-08 21:09:36 +01:00
James D. Forrester
cad4066bc9
Gemfile: Bump mediawiki_api from 1.7.1 to 1.7.2
...
Bug: T129483
Change-Id: Ief831d41df9352a824f4bd7a2a030cc4681950a2
2016-08-08 10:54:21 -07:00
Translation updater bot
ffe086695f
Localisation updates from https://translatewiki.net .
...
Change-Id: If723d65fed4f0c848c249edab18b41bf35320ee0
2016-08-07 22:46:02 +02:00
Alex Monk
818c6e4928
Take link fragments into account
...
TODO: Do we need to do anything special here to handle multiple hash symbols in a URL?
Bug: T112898
Change-Id: I4773cb04ae2533e8125bc55d9ebb606d63b3bf48
2016-08-06 01:20:24 +01:00
jenkins-bot
cf4c2d41b3
Merge "Rewrite TOCWidget based on Linker::generateTOC"
2016-08-05 22:18:22 +00:00
jenkins-bot
f908b7cad9
Merge "Make ArticleTarget#goToHeading work at all times"
2016-08-05 22:16:15 +00:00
jenkins-bot
c813e5e5a2
Merge "Fix check for non-template-namespace transclusions"
2016-08-05 21:51:30 +00:00
jenkins-bot
89a529edc1
Merge "Fetch default options for gallery dialog"
2016-08-05 21:20:00 +00:00
Ed Sanders
bb7b38575f
Rewrite TOCWidget based on Linker::generateTOC
...
Use the new node cache to find headings.
Change-Id: I5eb75c5db5ca466fd6f16a57c693c2a4458cff7c
2016-08-05 14:11:15 -07:00
Thalia
d156af59aa
Fetch default options for gallery dialog
...
Fetch default options for mode, image heights and image widths
rather than hard-coding them.
Bug: T139632
Change-Id: I1adc7987fdeb1258ee87ce46acbab469ea18116e
2016-08-05 14:08:20 -07:00
Ed Sanders
3970288c8c
Make ArticleTarget#goToHeading work at all times
...
Was previously written to work on initialise when the surface
isn't focused. If the surface is focused, run immediately.
Change-Id: Ie7accd63a4ca3e18448914d34609fe0418f15b4e
2016-08-05 14:00:41 -07:00
jenkins-bot
557ffff7ee
Merge "Update VE core submodule to master (4408c13)"
2016-08-05 20:50:16 +00:00
Translation updater bot
94f32072e5
Localisation updates from https://translatewiki.net .
...
Change-Id: I4bcbfc42151afa8f7fc865c802ff5cf4783a67ec
2016-08-05 22:35:16 +02:00
Ed Sanders
34ff174b85
Update VE core submodule to master (4408c13)
...
New changes:
e7cb202 Mark context wrappers as wrappers
20b75af Localisation updates from https://translatewiki.net .
a4dde9f Annotate pasted external text
8148301 Always preserve leading whitespace when converting for clipboard
82a35b7 TransactionProcessor: Apply annotations to ranges at the highest uniform offset
21fc1eb Restore previous selection when annotation inspector is dismissed
358181c Preserve prior valid DOM selections in showModelSelection
a0f7dba build: Bump various devDependencies to latest
0ae0f7e Follow-up Iabec6a6: Fix typo in mousemove selection update code
d69a4df Provide tools to make text bigger or smaller
Local changes for big/small tools
Change-Id: If418a1a47276cc1e1530c4a3ad6784136d8d14f8
2016-08-05 11:54:52 -07:00
jenkins-bot
dbf3cbb264
Merge "Make image list keyboard accessible in gallery dialog"
2016-08-05 17:07:51 +00:00
Alex Monk
8855ebf586
Fix check for non-template-namespace transclusions
...
These are not just titles beginning with ':'
Change-Id: I9d7063c221561a0e582deb6944eaab6d9ab4e3f7
2016-08-05 03:25:31 +01:00
Thalia
7d4864729b
Make image list keyboard accessible in gallery dialog
...
Bug: T140874
Change-Id: I0f00f1ddb397fb8f543a04d62b94fc5db32180f6
2016-08-04 16:34:12 -07:00
Timo Tijhof
c2897b5a92
mw.ArticleTarget: Fix FancyCaptcha reload button
...
Follows-up 843620632a in ConfirmEdit which now expects a specific class
on one of the image parent elements.
Without this the refresh link is broken as fancyCapatcha.js is
unable to find the image otherwise.
Change-Id: Iad7c8e8c77f58092ca4dbb5cbb3527cacff10f03
2016-08-04 15:40:41 -07:00
Translation updater bot
35f6c7d5da
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaf26584da2b9c63e071eb811bda5f3c0bbfc15fb
2016-08-04 23:31:28 +02:00
jenkins-bot
aac64e6068
Merge "Use .textSelection( 'getContents' ) instead of .val() to get the value of #wpTextbox1"
2016-08-04 16:26:39 +00:00
Translation updater bot
31004d8e3d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia724279eced3f0df76cbbafb1cd4a908098e6f24
2016-08-03 22:41:51 +02:00
Ed Sanders
4ae7bc6a31
Show name of template for invisible templates
...
Soft dependency on Id842389d in core.
Bug: T141861
Change-Id: I24f100dde387549a735ebd93e1c9a21f59f52170
2016-08-03 18:52:20 +00:00
Translation updater bot
530d911dd5
Localisation updates from https://translatewiki.net .
...
Change-Id: I17eb6510ad35f8e60f892b10b4430432601b08ec
2016-08-02 22:47:12 +02:00
Translation updater bot
a27b270255
Localisation updates from https://translatewiki.net .
...
Change-Id: I7df748d430e3d52796e3af6677bf7e8060375df1
2016-08-01 22:37:52 +02:00
jenkins-bot
af13aae426
Merge "Fix z-index
issue on floating toolbar dialog"
2016-08-01 16:42:16 +00:00
Ed Sanders
8d17509031
Blacklist <time> annotation pasting in MW targets
...
Change-Id: Idef20f604023efa767c7510ed768c6f80e472559
2016-08-01 15:53:56 +01:00
Alex Monk
7f39d4e75d
Use .textSelection( 'getContents' ) instead of .val() to get the value of #wpTextbox1
...
To allow gadgets like wikEd to use textSelection to return the latest value.
Bug: T135747
Change-Id: Ie353cf547dea6c100c5f01ab56c9b415be1ffdb8
2016-07-31 21:58:51 +01:00
Translation updater bot
84503e0a81
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie71b6de35192c13339a0dec1aaa2a63d7cb753f4
2016-07-31 22:27:57 +02:00
Translation updater bot
981e878b5d
Localisation updates from https://translatewiki.net .
...
Change-Id: If757b58ee8fff6962e1e5fc3fe338107103fbc95
2016-07-30 22:33:35 +02:00
David Lynch
53ad07ed72
MWLinkAnnotationInspector: change where auto switch to external occurs
...
OnInternalLinkChange happened post-validation, and received an already title-
normalized version of the href. Thus `file://` would become `:File://`. As
such, hook up to the raw internal link input change event, and judge what the
user actually entered.
Bug: T138956
Change-Id: I0f9f3de3b7bf6e5430e55fa69626522b0c74296a
2016-07-28 11:00:36 -05:00
jenkins-bot
11695a8528
Merge "MWLinkAnnotationInspector: switch to external tab on any schema"
2016-07-28 03:35:18 +00:00
David Lynch
a95e6cab08
MWLinkAnnotationInspector: switch to external tab on any schema
...
Currently the switch only happens if it's a valid schema. Instead, switch if
any schema at all is detected, so we can tell the user it's invalid. If they
really meant to link to an internal wiki-page that just happens to start with
a "schema://", they can switch back to the internal tab to force it.
Bug: T138956
Change-Id: Icfd74157fd8439920668a417661265ddd52c9a21
2016-07-27 17:10:52 -05:00
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
Volker E
6fff13b898
Fix z-index
issue on floating toolbar dialog
...
Fixing `z-index` issue of floating toolbar dialog not overlapping when
Special Character dialog is active.
Bug: T140237
Change-Id: I24e9ed5b1f65c6ea4cffbd408953623540542bca
2016-07-13 16:16:08 +02: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
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
Alex Monk
16c38ec27a
DAT.init#setEditorPreference: Change section edit alongside tab labels
...
When our remember-last preference changes work, alongside changing the
label of the edit tab, also change the label of the edit section links.
I seriously have no idea WTF I was thinking back in December when I
put some of this code into #activatePageTarget.
Bug: T137424
Change-Id: I581c0acf0a3ad11ad3bcf4e2e46242907ca9166f
2016-06-30 10:22:44 +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
jenkins-bot
dc59190e64
Merge "Set an automatic summary of empty string when switching from VE into WTE"
2016-06-29 16:16:57 +00:00
jenkins-bot
0d45972cb3
Merge "Fix our display of redirects during and after editing"
2016-06-29 16:15:43 +00:00
jenkins-bot
913d3c0cf4
Merge "New decodeURIComponentIntoArticleTitle method"
2016-06-29 16:15:41 +00:00
jenkins-bot
f0a529085d
Merge "Replace section edit click handlers in DAT instead of doing it badly in init"
2016-06-29 12:18:49 +00:00
Alex Monk
984823a77d
Replace section edit click handlers in DAT instead of doing it badly in init
...
If you deactivate without saving (e.g. using the back button), the page
contents aren't replaced and so adding the page click handlers is pointless
and harmful because they will run twice.
This was my fault in Iad1713e1
Bug: T135387
Change-Id: I3c83009bfc0f42125cdcde7f7a51de9bc2f72abf
2016-06-29 03:58:57 +01:00
jenkins-bot
324ae24f98
Merge "Ensure text version of counter is written to external links when copying"
2016-06-28 16:23:50 +00:00
Ed Sanders
aeca19c9ea
Ensure text version of counter is written to external links when copying
...
Bug: T137503
Change-Id: Iae791253ea272847984fee5d0586dc302027f1bd
2016-06-27 22:17:58 +01:00
Translation updater bot
02ae82fa05
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic177c506be7997c21ef36e492c004f0c37117c14
2016-06-27 23:11:16 +02:00
Translation updater bot
3f284194af
Localisation updates from https://translatewiki.net .
...
Change-Id: I3922a5f891d6ce1b139b80b03bb577f87d233b6d
2016-06-26 14:23:53 +02:00
Translation updater bot
d4cbb9ad8f
Localisation updates from https://translatewiki.net .
...
Change-Id: I3c5d8addff2af948ce7f8a10e180e7151f957895
2016-06-25 14:57:51 +02:00
Tpt
2a2a041933
Allow extensions to register a specific target per content model
...
Bug: T138489
Change-Id: Ic9d2fa34b90afc58f7e31adf38f97a701aac64f9
2016-06-24 15:38:28 +00:00
jenkins-bot
4973740ae3
Merge "Make visualeditor-quick-access-characters.json always exist"
2016-06-24 10:04:53 +00:00
Translation updater bot
3bf1beb981
Localisation updates from https://translatewiki.net .
...
Change-Id: I4481cd584481ee33d3d8fb4403164992ab47053c
2016-06-24 11:18:48 +02:00
Translation updater bot
655a5883c9
Localisation updates from https://translatewiki.net .
...
Change-Id: I6e137f299d6bcd6e45b2075042c7ce9b9e2e5447
2016-06-21 23:33:27 +02:00
Translation updater bot
20b93019a0
Localisation updates from https://translatewiki.net .
...
Change-Id: I5495f3720f4aa2ea5c0ae9bac0c58b3cd0090b6a
2016-06-20 22:24:05 +02:00
Translation updater bot
c7b8be0cac
Localisation updates from https://translatewiki.net .
...
Change-Id: I5dc81d91e2745a236137a90a85d6bc907d0fb492
2016-06-19 22:46:59 +02:00
Translation updater bot
b11b838f6e
Localisation updates from https://translatewiki.net .
...
Change-Id: I7dbad46f1d3d13dff617e7bde9de1d416bc32882
2016-06-18 22:50:50 +02:00
Translation updater bot
3f9c96d891
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie2060e033c338aa707dace9cae8e15db82ebcbb1
2016-06-17 22:32:55 +02:00
Translation updater bot
4310eef86e
Localisation updates from https://translatewiki.net .
...
Change-Id: I801b0ddb3d0c02aff980d2ef811e71838e4a78bc
2016-06-16 22:31:15 +02:00
Translation updater bot
57dd56591d
Localisation updates from https://translatewiki.net .
...
Change-Id: I2d8d2890bbc2e8151b502efaa2be4f59204f1ef0
2016-06-15 22:42:11 +02:00
Alex Monk
4382e18385
Fix our display of redirects during and after editing
...
Change-Id: Ib559eb8fb8a2643af25ad8df858212f3e9d14b13
2016-06-15 20:25:59 +01:00
Alex Monk
3bda9a75aa
Set an automatic summary of empty string when switching from VE into WTE
...
So if the user supplies a summary in VE, WTE with the "Prompt me when entering
a blank edit summary" preference won't moan.
Bug: T135979
Change-Id: I0e2d2b6f8fb03bb56d600f1118daf82fb3715b66
2016-06-15 18:37:56 +01:00
David Chan
367bc2437f
New decodeURIComponentIntoArticleTitle method
...
This replaces ve.safeDecodeURIComponent(...).replace( /_/g, ' ' ) . This action
is really specific to the quirks of mediawiki title processing.
Change-Id: Ia9e525c9340e6de9e485355899996c97867ccb48
2016-06-14 23:31:23 +01:00
jenkins-bot
c3f38c8758
Merge "Decode encoded link titles when generating them from text"
2016-06-14 21:49:41 +00:00
Alex Monk
9900d42816
On serialization failure, reset document opacity.
...
In case we were switching to source.
Normally MWWikitextSwitchConfirmDialog#getActionProcess would do this for us,
but this closeWindow call doesn't trigger that, we can't get it by overriding
MWWikitextSwitchConfirmDialog#close either.
Bug: T134333
Change-Id: I66a12ff6d13601250b9d470e1be54fe38a1ef06c
2016-06-13 23:45:43 +01:00
Alex Monk
0659207900
Call child serializeSuccess/Failure in ArticleTarget#serialize
...
Instead of going straight to ArticleTarget's one.
This causes ve.init.mw.DesktopArticleTarget.prototype.serializeFail
to be called when using that target.
Bug: T134333
Change-Id: I6ec259830178439bc80ea162ba4ad035226022a7
2016-06-13 23:37:27 +01:00
Translation updater bot
b517e5dcf1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia5bda55b4c1a9e4e0ceb6e7fd1f97be0b15ca3b8
2016-06-13 23:00:04 +02:00
David Lynch
cc78cb2d06
Decode encoded link titles when generating them from text
...
Percent-encoded characters are forbidden in titles. Copying URLs around will
tend to wind up when them percent-encoded when you paste. Therefore, when
trying to build a title from a pasted link, decode it first.
Change-Id: Ia0abcb2d903b04d99c7db16eb0a5962480b138d5
2016-06-13 08:58:54 -05:00
Ed Sanders
b104525c8c
Blacklist article/section from external paste
...
Bug: T137441
Change-Id: I9ae85306a3220126462c69e4ea0a2a5e905fffa1
2016-06-13 12:22:10 +01:00
Translation updater bot
be355de128
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia86b578f7b7a5030f084b05c1301ce65bf1104d5
2016-06-12 22:17:49 +02:00
Translation updater bot
a3ee677de3
Localisation updates from https://translatewiki.net .
...
Change-Id: I1082f9833140358ec8b6325bd63c09892ff63716
2016-06-11 22:24:55 +02:00
Translation updater bot
15bfe379a7
Localisation updates from https://translatewiki.net .
...
Change-Id: I27b1b0ac383019aab40bed9aaa8cebe3b745b166
2016-06-10 22:20:21 +02:00
Alex Monk
28c30a3180
Make visualeditor-quick-access-characters.json always exist
...
Bug: T137368
Change-Id: I3f0f88495323b74d156c24939ca12840b4b970c5
2016-06-10 17:15:49 +01:00
jenkins-bot
4837373545
Merge "build: Bump devDependencies to latest and make pass"
2016-06-10 09:36:10 +00:00
Translation updater bot
59b2a2ffd3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib00f7209a94a45eb7a211bf9528794899e1b90c7
2016-06-09 22:41:09 +02:00
jenkins-bot
896a5c2831
Merge "Make dialog for editing galleries"
2016-06-08 22:34:43 +00:00
Translation updater bot
8bb1c2a16d
Localisation updates from https://translatewiki.net .
...
Change-Id: Id74ef5cc3ad7244581027af1c38e6f4e9cd12def
2016-06-08 22:31:59 +02:00
James D. Forrester
832118e051
MWTemplateDialog: When opening the dialog, add in any unset suggested and required parameters
...
Bug: T97482
Change-Id: Iaf280355f442240aba4e1f74d3ee402fc5d329b0
2016-06-08 14:19:09 +00:00
Translation updater bot
953422a605
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibc8094f70202a731d21f954e5bdab8214abc062d
2016-06-07 22:47:17 +02:00
James D. Forrester
5ecf40f51e
build: Bump devDependencies to latest and make pass
...
babel-polyfill 6.8.0 → 6.9.1
grunt-jscs 2.8.0 → 3.0.0
grunt-jsonlint 1.0.7 → 1.0.8
grunt-stylelint 0.3.0 → 0.4.0
stylelint-config-wikimedia 0.2.0 → 0.2.2
Change-Id: I4db467c7f2bc291a94e7bab86d18e48a44f6054c
2016-06-07 17:17:02 +01:00
jenkins-bot
6a6d3b9368
Merge "Fix loading bar opacity"
2016-06-07 14:07:48 +00:00
Thalia
6fdbe9fd7e
Make dialog for editing galleries
...
Make new graphical interface for editing existing
galleries and adding new galleries.
NB The dialog does not yet support rich text in the
image captions, nor does it provide separate fields for
e.g. link, alt text, etc. These are dependent on parsing
the text within the tag, which is yet to be implemented
by Parsoid. For now, these attributes should be
specified in wikitext in the image-specific caption
field.
Bug: T45037
Change-Id: I2b4082e991268241a15b9bbd6d85c94cdc2185f2
2016-06-07 13:53:02 +01:00
James D. Forrester
3b304e6f7b
i18n: Update reference to the switch button being in a dropdown
...
Bug: T137137
Change-Id: I950971871b280e46f7cca4c545a7ce9e37202b0a
2016-06-07 10:23:34 +00:00
Translation updater bot
fc9a4f70a4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib4b67c59fbff35e84c8d07b3a45d3a60ff128c03
2016-06-06 23:00:56 +02:00
Translation updater bot
3af1ddc490
Localisation updates from https://translatewiki.net .
...
Change-Id: I9c271d5ea6ae3f1a8a5c59bd462c71c1740e2a0f
2016-06-05 22:23:23 +02:00
Translation updater bot
9bdc38b864
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib899d193506842d6a278f8e89e8672fa64bb9e73
2016-06-04 22:25:19 +02:00
Translation updater bot
50f6f466ea
Localisation updates from https://translatewiki.net .
...
Change-Id: Id7f35b79ccd28a791648bc0b837c2656c6335643
2016-06-03 23:24:56 +02:00
Ed Sanders
61cb539c7b
Fix config of mobile surfaces
...
Change-Id: I0109a93a41b0387199a0424b60a26a415393bc5d
2016-06-03 10:51:42 +01:00
Translation updater bot
07aeb7b0e0
Localisation updates from https://translatewiki.net .
...
Change-Id: I994944c28e56b1cfac2dde058e58208ee2742053
2016-06-02 22:26:37 +02:00
Translation updater bot
5842e05ac9
Localisation updates from https://translatewiki.net .
...
Change-Id: I1403e5547f9d1bc27b094e7a389c7c7a54d1ecdb
2016-06-01 23:14:28 +02:00
jenkins-bot
6e6d2bf66b
Merge "Move $editableContent computation into overridable method"
2016-06-01 17:40:15 +00:00
Ed Sanders
538959dc49
Move $editableContent computation into overridable method
...
Change-Id: Ibb0b877a01f8982fb895616c4c0d3e897bf37c85
2016-06-01 09:58:17 -07:00
Ed Sanders
0a0ca68d62
Simplify teardown of toolbar save button
...
Bug: T136421
Change-Id: I6829ad75b93c6aa6c6db51b5c9cd84915c75cdb8
2016-06-01 17:52:58 +01:00
Ed Sanders
b33cd5d8f1
Fix loading bar opacity
...
* Ensure ve-loading isn't removed early
* Quickly detach then reattach the loading bar during
activation so it doesn't get moved and marked as original content
Change-Id: I263c9627348953a11966f8bcc435d0d89b0b6084
2016-06-01 14:52:57 +01:00
jenkins-bot
d70485244d
Merge "Allow extensions to support extra namespaces and content models"
2016-06-01 01:02:51 +00:00
Ed Sanders
796da84576
Allow extensions to support extra namespaces and content models
...
Change-Id: If67bab93da355da609b6df274514b5c72a6ed91a
2016-06-01 01:55:03 +01:00
jenkins-bot
04f84d4d37
Merge "ve.init.MWWelcomeDialog: Don't mess with the actions dynamically"
2016-05-31 22:20:10 +00:00
jenkins-bot
67d9929049
Merge "ve.init.MWWelcomeDialog: Fix keyboard focus on dialog actions"
2016-05-31 22:20:03 +00:00
Bartosz Dziewoński
adffe3788c
ve.init.MWWelcomeDialog: Don't mess with the actions dynamically
...
This removes an "ew" comment, which I presume indicates a hack.
Change-Id: I57dfb173d5f37466686f3f9dd9c97a5e7d685199
2016-05-31 23:15:49 +02:00
Bartosz Dziewoński
3dfd203d1b
ve.init.MWWelcomeDialog: Fix keyboard focus on dialog actions
...
Just remove the setTimeout() call. See the task for explanation.
Bug: T135808
Change-Id: I24509046999ef06cef27adb9266167af29d5f76b
2016-05-31 23:05:38 +02:00
Translation updater bot
3d994ac23e
Localisation updates from https://translatewiki.net .
...
Change-Id: I6ab9559b62d7b80727795a612d3e98c4ff271ed6
2016-05-31 22:46:04 +02:00
jenkins-bot
337109fef1
Merge "Un-blacklist Firefox versions 12,13,14"
2016-05-31 16:55:38 +00:00
Ed Sanders
20fa650a6b
Un-blacklist Firefox versions 12,13,14
...
T52720 (link corruption in FF13/14) appears to be fixed.
T52780 (editor not loading in FF11/12) appears to be fixed.
FF11 has a new issue where templates are normalised even
when not touched (T136607)
Change-Id: I34358e3d90b8186e6b89c04c038ab79c908fc81b
2016-05-31 09:46:50 -07:00
Ed Sanders
4d466f16b5
Add fallback selectors if image page has no existing local content
...
Change-Id: I1fac3b35b5d498115c96b07c29cf409be72a1389
2016-05-31 16:42:21 +01:00
jenkins-bot
d5ad1d3ff8
Merge "Use cloneWithData"
2016-05-30 21:21:46 +00:00
Ed Sanders
35c0a0dc69
Use cloneWithData
...
Change-Id: I7ffe3c7ab20d5f785a6642c8293f271f4dc08ff8
2016-05-30 21:40:07 +01:00
Translation updater bot
0f61ca8196
Localisation updates from https://translatewiki.net .
...
Change-Id: Iab577857a9468e5eb02947d7d23469aeb8b9c7af
2016-05-30 22:26:56 +02:00
jenkins-bot
eb9c346221
Merge "Update VE core submodule to master (a4a5afa)"
2016-05-30 17:03:51 +00:00
Ed Sanders
5581394ea3
Update VE core submodule to master (a4a5afa)
...
New changes:
4a5aa37 Clean up debug bar buttons
15f016c Undo sequence input stripping if window is dismissed
e874734 Localisation updates from https://translatewiki.net .
8db33b4 Follow-up e874734: Fix build for added languages 'gom-latn' and 'gor'
79c5d51 build: Update stylelint config version and make it pass
3804f5e build: Remove grunt-cli
cea7b63 Update OOjs UI to v0.17.3
9f648f4 [BREAKING CHANGE] Always get registries/factories via surface
1252814 Add cloneWithData() utility
5ccdef3 [BREAKING CHANGE] Fix debug bar encapsulation
Local changes:
* Fix debug bar encapsulation
Change-Id: I2c5d722278c5f71b59ee2f8849d9babb5aff6af2
2016-05-30 09:53:31 -07:00
Translation updater bot
3a2838f2ba
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieb1a96f43256e8d56d6780e7e30db5bdd3a3670c
2016-05-29 22:33:50 +02:00
jenkins-bot
51ceeda189
Merge "Remove unused namespace class"
2016-05-29 17:19:32 +00:00
jenkins-bot
c2c997081f
Merge "Fix z-index of surface for debug bar"
2016-05-29 17:19:29 +00:00
Ed Sanders
73a1127981
Fix font size in target widget debug bar
...
Change-Id: Ic5120fd1d2cc4955a502fa57478a19851f9f6b33
2016-05-29 17:39:09 +01:00
Ed Sanders
d6a770bb4d
Remove unused namespace class
...
Introduced recently but then abandoned.
Change-Id: Ifa999f0e60fe1b6d68c63813025c9fd48b79ad5f
2016-05-28 20:54:24 +01:00
Ed Sanders
293163131b
Fix z-index of surface for debug bar
...
Change-Id: I938f2d959cd7cb72c43c2efd666838a9cd9d3e39
2016-05-28 20:53:40 +01:00
jenkins-bot
ce149e49d7
Merge "DesktopArticleTarget.init: Make surface hiding hack work with padding"
2016-05-27 18:46:36 +00:00
Ed Sanders
5d9ed11815
DesktopArticleTarget.init: Make surface hiding hack work with padding
...
Change-Id: Ia8508199c80ef3da7f4ae30bd4e053273fe44d8a
2016-05-27 18:33:33 +00:00
jenkins-bot
6334609637
Merge "Track ETag header responses in special event logging schema"
2016-05-26 23:00:52 +00:00
Alex Monk
51dd790710
Track ETag header responses in special event logging schema
...
Bug: T135171
Change-Id: I70d6db0897c3f08c28d5841302ba7e196f362e48
2016-05-26 23:29:02 +01:00
Translation updater bot
6d9ae3c638
Localisation updates from https://translatewiki.net .
...
Change-Id: I033ff3bf6882ae805006f12e89fb7e0235206840
2016-05-26 22:47:49 +02:00
Alex Monk
afd5944bde
Followup I9280fe4d: Merge main case with default, they are identical
...
Change-Id: I280f0eba1c99f5e96ffe5466e8398115fbc5f4f8
2016-05-26 18:15:27 +01:00
jenkins-bot
3fbb170c7a
Merge "Follow-up 1dc933be
: Don't fatal when editing non-NS0/6/14 pages"
2016-05-26 17:03:34 +00:00
jenkins-bot
628e1098af
Merge "Use insertContent with templates when range is collapsed"
2016-05-26 16:32:06 +00:00
Ed Sanders
bc3edc7712
Use insertContent with templates when range is collapsed
...
We may be trying to insert a block into a paragraph. fixUpInsertion
handles this, but not if use a replace transactions.
Bug: T136279
Change-Id: I1401da52676e79f38ef835a32d2c76004b75fb4e
2016-05-26 17:10:52 +01:00
James D. Forrester
1b9427c5dd
Follow-up 1dc933be
: Don't fatal when editing non-NS0/6/14 pages
...
Change-Id: I9280fe4d771cf7ce1ee3874a34d7a14b672b222c
2016-05-26 09:07:07 -07:00
jenkins-bot
02a8369777
Merge "Clear save caches when toolbar is re-attached"
2016-05-26 16:00:08 +00:00
jenkins-bot
24d313c255
Merge "Append surface & toolbar components in the correct places"
2016-05-26 15:59:35 +00:00
Ed Sanders
67d24eb83f
Clear save caches when toolbar is re-attached
...
Change-Id: I14ddcba9fa4fd5f39341312d241ce59980276a2b
2016-05-26 15:53:04 +00:00
Ed Sanders
1c5c1fc6b9
Append surface & toolbar components in the correct places
...
Use setSurface and setupToolbar to position the surface and the
toolbar save button in the DOM.
Change-Id: Ide634848f4e78501724c358bcb1fdab8abd491b9
2016-05-26 08:50:21 -07:00
jenkins-bot
6eac839150
Merge "Genericise target initialisation across namespaces"
2016-05-26 15:49:54 +00:00
Translation updater bot
173067afe6
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib0280407fd858e968666dc55308753b7beaf108a
2016-05-25 22:27:45 +02:00
Ed Sanders
1dc933bead
Genericise target initialisation across namespaces
...
Define $editableContent on target construction, and mark
all non-ancestor nodes between that at the target container
as uneditable (50% opacity, no pointer events).
Bug: T58289
Change-Id: I7fe51104bd5aa1bd53ffc604e5f02752c7553578
2016-05-25 12:50:36 +01:00
jenkins-bot
5698e855e3
Merge "Update stylelint config version and make a pass"
2016-05-24 21:40:41 +00:00
Translation updater bot
b0c0dd65f9
Localisation updates from https://translatewiki.net .
...
Change-Id: I513363bac0fcc34b0b7f5986b8eb6770dbb85342
2016-05-24 23:11:16 +02:00
Ed Sanders
7b8931193a
Update stylelint config version and make a pass
...
Change-Id: I58007c3976019c8cfe96fd1fc0474d9e80f99f64
2016-05-24 13:41:13 +01:00
Translation updater bot
cc1eb58a61
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia13b9d4cce942ff7577bf2effab35ae4eb178754
2016-05-23 22:28:45 +02:00
jenkins-bot
e85d4574b0
Merge "Workaround for T135127: Generate replace transactions in MWTransclusionModel"
2016-05-23 16:16:11 +00:00
Translation updater bot
3c3f7e13d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I2195b91a462d79c97370bcd35dc5d1cf4e1592b9
2016-05-22 22:29:12 +02:00
Bartosz Dziewoński
a86cfc82d1
Remove Wikipedia logo from welcome dialog image
...
The editor can also be used on wikis that are not Wikipedia.
By the way, the logo was incorrectly flipped for the RTL version. Heh.
Bug: T135811
Change-Id: I5635da13e8335658079620a46ac265c4ed6bd167
2016-05-22 16:34:12 +02:00
Translation updater bot
25b339b430
Localisation updates from https://translatewiki.net .
...
Change-Id: I87ae46efa09146f9f6b65d851acbba0e0021da83
2016-05-21 22:25:18 +02:00
Translation updater bot
89866241ef
Localisation updates from https://translatewiki.net .
...
Change-Id: I49c245ddb88cbd50279036adb7ce6cbaada7a9b1
2016-05-20 22:32:43 +02:00
Ed Sanders
61d592bab1
Workaround for T135127: Generate replace transactions in MWTransclusionModel
...
Change-Id: I1d202c3b2e980f1ea52ef90d028886135b0cb748
2016-05-20 10:54:56 +01:00
jenkins-bot
c21229c20a
Merge "Don't show tab preference dialog again if it's already been shown"
2016-05-20 08:32:09 +00:00
Alex Monk
8c3dc0887d
Don't show tab preference dialog again if it's already been shown
...
Bug: T135534
Change-Id: Ifecac607acccc0e18e61b07e8456566d4671aa1b
2016-05-20 02:36:25 +01:00
Translation updater bot
cd37cc8cbb
Localisation updates from https://translatewiki.net .
...
Change-Id: I2235d89637874bac660b6eaeef086f4fa8db50dd
2016-05-19 23:13:02 +02:00
jenkins-bot
709e53189c
Merge "Update VE core submodule to master (eeaf1e2)"
2016-05-18 09:55:21 +00:00
James D. Forrester
8c7ed92288
Update VE core submodule to master (eeaf1e2)
...
New changes:
c54a48a build: Fix watch list (csslint -> stylelint)
58ba3d9 Add stylelint rules for @-rules
3f8c75a Stylelint: Add rule for unsupported browser features
3b96ff3 Fix minimum Opera version (15 -> 12)
9a1110b Stylelint: No ID selectors
9800bb8 build: Remove remaining references to csslint
b6ab14a stylelint: Re-enable features by names
6cc1f3c Move stylelint to npm
1d15fa0 build: Bump stylelint version to v0.2.0
ccc1724 stylelint: Use the preset rather than extending
Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea
2016-05-18 07:06:53 +01:00
Translation updater bot
29148d0e49
Localisation updates from https://translatewiki.net .
...
Change-Id: I10eee6216d5dd63d53aacca6d41e20c8b9080113
2016-05-17 22:25:27 +02:00
jenkins-bot
d2c995594a
Merge "Remove remaining references to csslint"
2016-05-17 12:41:48 +00:00
Ed Sanders
8d749518ec
stylelint: Comment uses of 'unsupported' browser CSS features
...
Change-Id: Ia88575d3fe71c22551cc601f03d8f4dea6d7fe16
2016-05-17 12:28:07 +00:00
Ed Sanders
df49e5deb9
Remove remaining references to csslint
...
Change-Id: I1b5177bf746985a199bcc1ec713f886164c74760
2016-05-17 13:27:47 +01:00
jenkins-bot
224b75472c
Merge "build: Replace csslint with stylelint"
2016-05-16 21:46:18 +00:00
Ed Sanders
99d3320573
build: Replace csslint with stylelint
...
For now just use the rules file in lib/ve, but eventually
this will be a preset.
Change-Id: I7fd79d3e1dce37aef066d416cd969e5fff1e962f
Depends-On: I17e0d23ddfedf64985495ab35d113ea08c03b1df
2016-05-16 22:30:49 +01:00
Translation updater bot
abe98d1eeb
Localisation updates from https://translatewiki.net .
...
Change-Id: Icba1843fe760a436a980a42d9df31d39f10eca97
2016-05-16 22:46:21 +02:00
jenkins-bot
7a69ae68ab
Merge "[BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node"
2016-05-16 08:27:52 +00:00
Ed Sanders
236e3d1241
[BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node
...
Make some of the methods we currently use to render the node
static so we can re-use them before inserting. We do the evaluation
without inserting the node so as not to dirty the document and
transcation history.
In the unlikely case the request fails, just fallback to inline.
This only handles insertions for now as type changes on edit will be
very rare.
This changes the signature of insertTransclusionNode, which is used
in Cite and Citoid extensions.
Bug: T51784
Change-Id: Ibc2fc66e6866084b0a4deeb082c8a1ca412febb2
2016-05-16 09:19:13 +01:00
Translation updater bot
4ebf9de43a
Localisation updates from https://translatewiki.net .
...
Change-Id: I71d8aebfba03d06e4162c51ac2271685bc35402e
2016-05-15 22:33:06 +02:00
Translation updater bot
069bef2fb4
Localisation updates from https://translatewiki.net .
...
Change-Id: I32d1429672c6e6a4b4aab07839bab17e86522ab8
2016-05-14 22:46:27 +02:00
Translation updater bot
3d7352b5ec
Localisation updates from https://translatewiki.net .
...
Change-Id: I536105b8a587b2bcbb579f913c904349ff0c1ec8
2016-05-13 22:24:10 +02:00
Ed Sanders
7f0b56ff6c
Use new action test runner
...
Bug: T90370
Change-Id: Ice209791f323c19743c192c5f864b2f8202b5ca9
Depends-On: I9b9275b55b367a1335bf4c4f8f52a68f6aeb9827
2016-05-13 14:21:49 +00:00
Translation updater bot
e85419c23c
Localisation updates from https://translatewiki.net .
...
Change-Id: Icc2d0c65cbb083959c86423d440315b55447177d
2016-05-12 22:17:54 +02:00
Translation updater bot
c4326346e3
Localisation updates from https://translatewiki.net .
...
Change-Id: I3fe9c30f546d073f47846c35c304b36497e32e5c
2016-05-11 22:30:19 +02:00
Alex Monk
349b1f5e57
Add WTE welcome dialog
...
Bug: T133800
Change-Id: I6eb43274e22f647958c3ab1b6d5c12b3dbea388e
2016-05-10 23:28:21 +00:00
jenkins-bot
d4cb743dd9
Merge "Fix deactivating VE after user explicitly decideas to discard changes"
2016-05-10 22:57:32 +00:00
Alex Monk
1ba035e053
Fix deactivating VE after user explicitly decideas to discard changes
...
Bug: T134794
Change-Id: Idf1941793317a6aff9fe57082b85e3ebff0c72b4
2016-05-10 23:39:57 +01:00
jenkins-bot
b5e4d51273
Merge "ve.ui.MWParameterPage: Remove non-working 'focus' handler"
2016-05-10 21:50:47 +00:00
Translation updater bot
5ee475d107
Localisation updates from https://translatewiki.net .
...
Change-Id: I32a7683e187cb466208d7afcae1049e1c7f14844
2016-05-10 22:30:00 +02:00
Bartosz Dziewoński
13a7a4c5f9
ve.ui.MWParameterPage: Remove non-working 'focus' handler
...
This element is a plain `<div>` with no tabindex, and therefore can't
be focussed. jQuery 'focus' events don't bubble, either, which would
otherwise allow focus events on children to fire this handler.
Change-Id: I68cb7d3bac143565c0a1bdb988312233b2d13ccd
2016-05-10 19:27:52 +02:00
jenkins-bot
6cfed3342c
Merge "Attach template form after building"
2016-05-09 23:02:35 +00:00
Ed Sanders
3678b0c38a
Attach template form after building
...
Building DOM trees while attached is much slower. This makes
things about twice as fast.
Remove unused StackLayout wrapper this.panels.
Bug: T134814
Change-Id: Idb269cf3f06c350ffe28b66e2e883c0a7a3348cd
2016-05-09 23:24:22 +01:00
Translation updater bot
a44b71dace
Localisation updates from https://translatewiki.net .
...
Change-Id: I9d6fd18281e2c3d1f1b4652c8ede12af7261b0b3
2016-05-09 22:16:07 +02:00
Translation updater bot
0153870e30
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieda52ac7aec208e81de8a000d602afe705779145
2016-05-08 22:46:24 +02:00
Translation updater bot
4d9644ea57
Localisation updates from https://translatewiki.net .
...
Change-Id: I988290e9c8e17a8adefc29d9097142a3e98ba456
2016-05-07 10:59:22 +02:00
Translation updater bot
2913bac9bb
Localisation updates from https://translatewiki.net .
...
Change-Id: Id1cc9eef86aecf69aaa8450c028177c21e02e523
2016-05-04 22:25:03 +02:00
Ed Sanders
b25fbd3b7b
Remove redundant about attribute stripping code
...
Change-Id: I2d330c074075734d50d6bf3e0f67e55bade6c072
Depends-On: I8be0a362338ba12d5569e315725386142a66da24
2016-05-04 12:55:36 -04:00
jenkins-bot
6dc85ae92a
Merge "Add regex for detecting labelled external links in pasted wikitext"
2016-05-04 15:56:04 +00:00
Ed Sanders
47508d3245
Add regex for detecting labelled external links in pasted wikitext
...
Bug: T134227
Change-Id: Icb390cca6f4ee299dd59ec5d15894b734879f394
2016-05-04 16:20:05 +01:00
Ed Sanders
f30000ed4c
Wikitext paste: Discard autoGenerated items after conversion
...
Otherwise the reference contents (stored in the reflist) is lost.
Bug: T134228
Depends-On: I718963e3c460a5bed38fba4152b03442bbe6169e
Change-Id: I20171eb97eb1b4757a2c8a25217adb4d680a9057
2016-05-04 10:58:01 -04:00
Translation updater bot
e59a008a1e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib1c3814addf800ff893d224b69812c436f9b27ab
2016-05-03 22:27:39 +02:00
jenkins-bot
2bd7117f89
Merge "Add a hidden link with accesskey=v in SET prefer-wt mode and remember-last wikitext"
2016-05-02 16:16:41 +00:00
Translation updater bot
479b7df11a
Localisation updates from https://translatewiki.net .
...
Change-Id: Iae4463718b77a2f574cd971cb43367ae5df8c441
2016-05-01 23:21:51 +02:00
Alex Monk
3c55bfbb80
Add a hidden link with accesskey=v in SET prefer-wt mode and remember-last wikitext
...
Try to tidy up a bit of code in DAT.init.js as well
Bug: T116406
Change-Id: Iad1713e14ea1f982886ba06e0b722c554ab2b892
2016-05-01 21:01:57 +01:00
Translation updater bot
0bc4aff46c
Localisation updates from https://translatewiki.net .
...
Change-Id: I544b4da2528d98c4f256fc6d6ca1f2e7bbfa0dc3
2016-04-29 22:36:19 +02:00
Translation updater bot
27c4e26684
Localisation updates from https://translatewiki.net .
...
Change-Id: I7ff3517e0d3a2b63a8e6242b17e39494333fedd4
2016-04-28 23:29:56 +02:00
Ed Sanders
ae23f42e14
Add colon to 'Editing mode' label for consistency
...
Bug: T128839
Change-Id: I8e637b30ed11aaeb1225a911ce83da48ed2829b1
2016-04-28 12:27:35 +01:00
Translation updater bot
17fda339a1
Localisation updates from https://translatewiki.net .
...
Change-Id: I97c920d5589015bc260b624a0621c302125e09fe
2016-04-27 22:57:17 +02:00
jenkins-bot
0ec13e0237
Merge "Fix link blacklisting"
2016-04-26 20:36:19 +00:00
Translation updater bot
4f9f090726
Localisation updates from https://translatewiki.net .
...
Change-Id: I29c88b0706e49487fa356659de51a8e41d19c05f
2016-04-26 22:33:31 +02:00
Ed Sanders
8e4c9dba13
Fix link blacklisting
...
Now that we always generate mw link types in the converter,
blacklist mwExternal links, not plain links (which won't exist).
Change-Id: I2ab9fbb9ec50c2e36e8a870d48b6aa06c7e69f8c
2016-04-26 21:20:22 +01:00
jenkins-bot
a9e40b09cd
Merge "Move cursor to end when switching to external"
2016-04-26 15:05:44 +00:00
Ed Sanders
eb839a89a0
Move cursor to end when switching to external
...
Bug: T133677
Change-Id: I2694b6ddd476798b29d2aeb9d3eb4f162da49f7c
2016-04-26 14:00:48 +01:00
jenkins-bot
1ca644a98b
Merge "Select the label properly when converting LinkNode to LinkAnnotation"
2016-04-26 12:40:23 +00:00
jenkins-bot
6cf2af4f5c
Merge "[BrowserTest] Migration of browsertests* Jenkins jobs to selenium* jobs"
2016-04-26 10:58:02 +00:00
Željko Filipin
58049b0c2c
[BrowserTest] Migration of browsertests* Jenkins jobs to selenium* jobs
...
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.
Bug: T128190
Change-Id: I11554b23a0e347736a67766f8c0b9879d5a6bed9
2016-04-26 12:40:45 +02:00
jenkins-bot
80636c235e
Merge "Add a popup after switching into VE from WTE"
2016-04-25 22:42:55 +00:00
Alex Monk
6b7551112d
Use correct case to access ve.ui.MWCategoryItemWidget.prototype.sortKey property
...
Otherwise we just record undefined as the original sort key and never
allow blank sort keys.
Bug: T92632
Change-Id: I7f37a8a33c54186ec6f0f74e374c591d5428b119
2016-04-25 23:18:09 +01:00
Translation updater bot
0c71085d52
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib768ec5b86b9db81ec6730948e7384f831900091
2016-04-25 22:49:44 +02:00
jenkins-bot
fd5e61582e
Merge "Remove IE9 from blacklist, but don't add to whitelist (yet)"
2016-04-25 19:14:34 +00:00
David Lynch
8bb1399c97
Select the label properly when converting LinkNode to LinkAnnotation
...
We were selecting outside the annotation, when converting a LinkNode to a
LinkAnnotation. This meant that typing would overwrite the annotation as well
as the label. Speculatively, this is probably a side-effect of recent changes
to how nails and cursor offsets interact.
Bug: T121448
Change-Id: Ib2274bc5857294c5b691b3c3567b135d68bfa596
Depends-On: I3954c7f8f8e5870b13a8f6c4f0e86fb3b20b3cd3
2016-04-25 11:56:39 -05:00
Ed Sanders
61d5ae3d5d
Don't expand link selections when opening with '[[' sequence
...
This mimics what would happen if you were actually typing wikitext.
Bug: T133516
Change-Id: I737313e6aaa5e4517c9f7f18faa5570a31395e03
Depends-On: If8ab31a7eacb4d8fa6d9787b7ac9872be0de04e7
2016-04-25 08:48:53 -07:00
Translation updater bot
7f9ab36d6a
Localisation updates from https://translatewiki.net .
...
Change-Id: I082b61486f45d155f10df7645c72c32089e2e2a3
2016-04-24 22:37:58 +02:00
Translation updater bot
247a96ab1f
Localisation updates from https://translatewiki.net .
...
Change-Id: Iba208728fdee4e84e230a001e8137d7b6ace2fb0
2016-04-22 22:25:23 +02:00
jenkins-bot
a825845ad5
Merge "Move monobook global overlay styles to generic DesktopTarget"
2016-04-22 16:37:55 +00:00
jenkins-bot
ddb37b3921
Merge "Add method that runs after activation, for overriding"
2016-04-22 16:30:42 +00:00
Ed Sanders
6efd583ff7
Add method that runs after activation, for overriding
...
Change-Id: I046583e61f328baddb0c09eaff122e991c85f992
2016-04-22 17:17:56 +01:00
Ed Sanders
9898b7ea2c
Move monobook global overlay styles to generic DesktopTarget
...
Fixes the font size in non-article desktop targets,
e.g. Flow.
Change-Id: I8f7e0af5061ef5dda2564b62e9b94e606ca77799
2016-04-22 12:42:52 +01:00
jenkins-bot
faed98a7c6
Merge "Create MW targets using a factory"
2016-04-21 22:25:37 +00:00
Translation updater bot
a18be53e3d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifa769984c966bdc6bdcaa5f98168d1828fe67b97
2016-04-21 23:00:09 +02:00
Ed Sanders
7a007e2874
Create MW targets using a factory
...
Move the existing static property 'name' to 'trackingName'
to make way for a real registry index.
Change-Id: Iab0d5be611ece7038234551c4847b07517b4348d
2016-04-21 21:06:39 +01:00
jenkins-bot
4b4c52c334
Merge "Use Array.prototype.indexOf in support check"
2016-04-21 15:27:20 +00:00
Ed Sanders
7576810b28
Use Array.prototype.indexOf in support check
...
The SupportCheck method asserts that the method is available so use it
instead of the confusingly named jQuery version.
Change-Id: I2105384cc4f6f2ec1cdb24a7bf3b0f4cce7672d3
2016-04-21 12:41:13 +01:00
Alex Monk
0bbe2e38ee
Add a popup after switching into VE from WTE
...
Bug: T131066
Change-Id: I2294da7d09dfbacb9187aba5e6e703511cec3c9f
2016-04-20 18:46:00 -07:00
Translation updater bot
ad436e29ff
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib7b2fce6436cb6d4407f08724cd396e9553033de
2016-04-20 23:15:50 +02:00
Ed Sanders
4479633159
Remove IE9 from blacklist, but don't add to whitelist (yet)
...
This puts IE9 on the greylist, meaning it will open but with
a warning.
Bug: T133094
Depends-On: I817b286e16b7923dd4dd456467466a0128805da1
Change-Id: I55fcbd1b7c4a82e11d61d3b93b4fdb7e992fba1d
2016-04-20 00:10:26 +00:00
jenkins-bot
0f60df5d9e
Merge "Defer before restoring scroll position, and allow 0"
2016-04-20 00:01:14 +00:00
Ed Sanders
a6aa6daa28
Defer before restoring scroll position, and allow 0
...
Bug: T131791
Change-Id: Id48b913effe5313c193ce62b19faf5655278ff6d
2016-04-19 21:42:09 +01:00
Translation updater bot
411b2e5421
Localisation updates from https://translatewiki.net .
...
Change-Id: I76cac451fdc00f764ecf03a074436322323cf2de
2016-04-19 22:24:01 +02:00
James D. Forrester
be1809c35d
Update VE core submodule to master (d6c6a85)
...
New changes:
c48d7cc Add support for placing a toolbar dialog in the side margin
ee7e14b FindAndReplaceDialog#renderFragments: Protect against null surface
fc61463 Fix dm.Surface#getHistory to not return undone items
f1dff2f Introduce ve.Range#overlapsRange method
f608958 Introduce dm.Surface#getModifiedRanges
db114ed Move debugging data-url GIFs to a debug only file
1dd8194 Update RangeFix to 0.2.0
706ff4e Add 'Support: [browser]' to browser hack comments
4f52afc Inline slugs: Limit Firefox hack to versions <38
bf73326 Add classList polyfill for IE9
59d78aa Fix access of iframe-created document in IE9
a886ae1 Hide borders on linked images in IE9
5293974 Fix double-click to edit table cells in IE9
a49a02f Add some more Support: comments
Depends-On: I9c5cea3e8df1fae001d4d98c0782a04dec803776
Change-Id: I460368f509a213464e57bb95f2d726305ef608de
2016-04-18 18:34:20 -07:00
Translation updater bot
c8359c9c5d
Localisation updates from https://translatewiki.net .
...
Change-Id: Iee3d68d581c1392ef45cfcd2710c36d83cf95043
2016-04-18 22:23:58 +02:00
Translation updater bot
ddbafee1e4
Localisation updates from https://translatewiki.net .
...
Change-Id: If9d3d7ff71b15c2ff3519ee9bf59154be6d99417
2016-04-17 22:20:31 +02:00
jenkins-bot
d4f9a85f27
Merge "Set mw.libs.ve.EditingTabDialog.static.message instead of passing it to setup data"
2016-04-17 17:49:28 +00:00
jenkins-bot
227de9cfef
Merge "Close VE SET dialog when we deactivate"
2016-04-17 17:43:01 +00:00
jenkins-bot
299027e528
Merge "Don't select edit tab when VE is opened while user has prefer-wt pref"
2016-04-17 17:39:56 +00:00
jenkins-bot
25fb8ce692
Merge "Only style originalContent when VE is active"
2016-04-17 17:31:05 +00:00
jenkins-bot
e357f19f6b
Merge "EducationPopup: Give pulsating blue dot an initial opacity of 0"
2016-04-17 17:28:03 +00:00
jenkins-bot
09ed9130e0
Merge "Replace transitionend event with setTimeout"
2016-04-17 17:24:30 +00:00
Translation updater bot
7c18e19eaf
Localisation updates from https://translatewiki.net .
...
Change-Id: I379df9b3b27dfc8b007da7710faf02b71502ae04
2016-04-16 23:16:25 +02:00
Translation updater bot
3f33dd5309
Localisation updates from https://translatewiki.net .
...
Change-Id: I52858a699489c4fa8d2ef09963f9e57a0cce8a7f
2016-04-15 22:21:49 +02:00
Alex Monk
4ccc1ad5af
Don't select edit tab when VE is opened while user has prefer-wt pref
...
You can still open VE with prefer-wt mode by going to veaction=edit, and
T116406 proposes making it accessible with a keyboard shortcut as well.
Change-Id: Ifc25b5147a96a200ac3a7de465d5cdf67e2e255b
2016-04-15 02:37:46 +01:00
Alex Monk
89ed0ccbf5
Only style originalContent when VE is active
...
Otherwise there is a white block above the resulting content after save
Change-Id: If9239556ed5b1038aa86e4ba161da2abfd9e6bf2
2016-04-15 02:26:44 +01:00
Translation updater bot
3a05797ea5
Localisation updates from https://translatewiki.net .
...
Change-Id: I3f0b46e53c0dd708d744452925e274a3ad024445
2016-04-14 22:38:43 +02:00
Ed Sanders
4d40a9df80
EducationPopup: Give pulsating blue dot an initial opacity of 0
...
This makes it degrade to a small dot instead of a huge dot in
browsers which don't support animation (IE9).
Change-Id: Ia457b3caf35ff0ffe7287b2b1e395860d5dbd7d0
2016-04-14 16:22:04 +01:00
Ed Sanders
011ff4e133
Replace transitionend event with setTimeout
...
transitionend events seem like a neater solution, but we should
migrate all of our code at once, and provide a polyfill for
browsers which don't support it (IE9).
Change-Id: If6ae030856f8e69cc8bb26f21bfed30d5d22775c
2016-04-14 16:21:41 +01:00
Alex Monk
f3c5e2f410
Set mw.libs.ve.EditingTabDialog.static.message instead of passing it to setup data
...
Change-Id: I2bfb79e258253e00c9f856bbbb3c4efae55a128c
2016-04-13 22:46:14 +01:00
Alex Monk
47cfc03d72
Close VE SET dialog when we deactivate
...
You can trigger deactivation by browsing back.
Bug: T132494
Change-Id: I8f66e22a745d84a3ca4b144c389c3ae654974789
2016-04-13 22:41:27 +01:00
Translation updater bot
a6974c0c81
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieaf3137f26d599edcc19c42af321fded1e6d135e
2016-04-13 22:22:36 +02:00
Translation updater bot
716a7d64c8
Localisation updates from https://translatewiki.net .
...
Change-Id: I4409a473d8217eaf7c1fa93505422709f1172b6c
2016-04-12 22:59:48 +02:00
jenkins-bot
b779743208
Merge "[BrowserTest] Fix i18n files lookup"
2016-04-12 00:50:13 +00:00
Alex Monk
9170bd8acd
Try to make client and server code to get last editor work the same
...
On the client: getLastEditor in ve.init.mw.DesktopArticleTarget.init.js
On the server: VisualEditorHooks::getUserEditor in VisualEditorHooks.php
Change-Id: I9cc0f367aee2dda43cffc6918bfb042ac8ae3bb2
2016-04-11 23:58:31 +01:00
Alex Monk
71990b4c44
Check wpSection before converting textbox contents for use in VE
...
Bug: T132309
Change-Id: I93f7706257f1f8ea59b7447f198a34439b17194d
2016-04-11 23:35:11 +01:00
Translation updater bot
5508609124
Localisation updates from https://translatewiki.net .
...
Change-Id: I29d8e85f5a87b73f8ee011e35f174078dbe60259
2016-04-11 22:40:29 +02:00
jenkins-bot
5dc1257507
Merge "More minor/watch checkbox state computation server-side"
2016-04-11 14:18:56 +00:00
jenkins-bot
9b9390585d
Merge "Adjust DOM and CSS so UI surface runs from top to bottom of page"
2016-04-11 14:03:29 +00:00
jenkins-bot
c2bb40285b
Merge "Add ?redirect=false to VE's RB /page/html/ requests"
2016-04-11 13:44:21 +00:00
Ed Sanders
f342dc01c3
Adjust DOM and CSS so UI surface runs from top to bottom of page
...
Place things like the page title and redirect link inside a new
container $originalContent, which is appended to the surface
when ready. Replace margins with padding in various places.
This will allow us to surface-height-matching sidebar for dialogs.
Change-Id: I60d80fb303bdaf93e9d121f62d534ee3a3056e59
2016-04-11 13:18:36 +01:00
Translation updater bot
b8f387afa7
Localisation updates from https://translatewiki.net .
...
Change-Id: Idece17af3a2cff864e7085f34b1b91b03a1d424e
2016-04-10 20:10:39 +02:00
Alex Monk
149dab8fc5
Add ?redirect=false to VE's RB /page/html/ requests
...
Untested.
Bug: T130757
Change-Id: I27570d3212bd41bf7da93608302dae04c364783f
2016-04-09 03:34:34 +01:00
Roan Kattouw
12eb41acff
More minor/watch checkbox state computation server-side
...
Following through on my threat from 72b0d2a19c
(November 2013).
Change-Id: I0daeef2a0373bbdb06627053e9d726d6fc20a3f6
2016-04-08 18:02:01 -07:00
jenkins-bot
c253bfbd5a
Merge "Use widgets for wiki-page-name, wiki-user-name, wiki-template-name, boolean, URL and line template fields"
2016-04-08 16:39:50 +00:00
Translation updater bot
a7b2938f0e
Localisation updates from https://translatewiki.net .
...
Change-Id: I67966efc3392f3d2133c0442aad699406bba0c00
2016-04-07 23:05:28 +02:00
Translation updater bot
f9487af27a
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaded10f066d638b38240ff8572e4abb326d42302
2016-04-06 23:16:05 +02:00
Alex Monk
978224f2ec
Use widgets for wiki-page-name, wiki-user-name, wiki-template-name, boolean, URL and line template fields
...
* Use TitleInputWidget for wiki-page-name and wiki-template-name parameters
* Use UserInputWidget for wiki-user-name parameters
* Use a custom hacky CheckboxInputWidget child class for boolean parameters
* Borrow some ve.ui.MWExternalLinkAnnotationWidget.prototype.createInputWidget code for url parameters
* Use a TextInputWidget with multiline disabled for line parameters
Not dealt with in this commit, so fallback to existing behaviour:
* string
* number
* unknown
* content
* unbalanced-wikitext
* date
* wiki-file-name
Bug: T55613
Bug: T124734
Bug: T124736
Change-Id: If04944d64303d959e8dd605e75a175895932b788
Depends-On: I87699a93ca1b34c6d248456fcc060f584623d158
Depends-On: I5e97604f0fc24176d5e89899bf0505dc442a1a7e
2016-04-06 22:07:19 +01:00
Translation updater bot
5f58ba4bf5
Localisation updates from https://translatewiki.net .
...
Change-Id: I21bc9c165d900adb4223887846c898e702ac40df
2016-04-05 23:01:17 +02:00
jenkins-bot
597a095a64
Merge "Ensure veswitched is not set when we set wteswitched in the URI"
2016-04-05 15:51:33 +00:00
jenkins-bot
f9c95cd820
Merge "Fix up mw.libs.ve.EditingTabDialog.prototype.getActionProcess"
2016-04-05 15:41:28 +00:00
Alex Monk
373a19f1cc
Ensure veswitched is not set when we set wteswitched in the URI
...
veswitched and wteswitched together cannot result in any sane behaviour.
To reproduce:
* Open VE (while having multi-tab pref?), switch into WTE
* Make a change
* Switch into VE
Change-Id: I90e19169e3fab60ab876c8e4d349801309db262f
2016-04-05 01:27:37 +01:00
Alex Monk
f67b578c3f
Fix up mw.libs.ve.EditingTabDialog.prototype.getActionProcess
...
How did this ever work?
Ensure action is passed through and not just undefined, wait for change to go
through before refreshing.
Bug: T131818
Change-Id: I83b5695906044299d338e62e6c980c596d291765
2016-04-04 23:57:46 +01:00
Translation updater bot
2ff6fd5b9b
Localisation updates from https://translatewiki.net .
...
Change-Id: I39ddf914192ccdd0d41708303eb9fb153329c1ba
2016-04-04 22:13:20 +02:00
Antoine Musso
4a97e9585f
[BrowserTest] Fix i18n files lookup
...
The visual_editor_page used relative paths expecting the current
directory to be modules/ve-mw/tests/browser. Use absolute paths instead.
Change-Id: I8b1c4eddc2085ee80380f288bceb14c6feee0a60
2016-04-04 11:52:36 +02:00
Translation updater bot
286f489a6d
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaef135e32858ff9562fba4a1fe56558fc13ba893
2016-04-03 23:25:01 +02:00
jenkins-bot
12aefcc213
Merge "After saving and setting HTML, set single-editor edit section handlers again"
2016-04-02 18:32:46 +00:00
Roan Kattouw
8e69dfa3b8
ArticleTarget: Correct comment explaining where setAssumeExistence( false ); is called
...
Change-Id: Ib883ea1fe57fe6cb3e182965a18eb3fb50246178
2016-04-02 20:28:44 +03:00
jenkins-bot
65ee77da50
Merge "MWExternalLinkAnnotation: Only match plain external <a>s with hrefs"
2016-04-02 16:05:36 +00:00
Ed Sanders
6fad9ecdee
MWExternalLinkAnnotation: Only match plain external <a>s with hrefs
...
We now accept non-Parsoid generated external links from paste,
so make sure they have href attributes otherwise they aren't
really external links and will throw exceptions later on.
Bug: T131430
Change-Id: Ifb565b1ce30cfe80ae72b17f6a9551ea40b36453
2016-04-02 18:51:56 +03:00
jenkins-bot
aa5f992159
Merge "MWExtensionNode#generateContents: Fix renderEmpty logic"
2016-04-02 09:31:07 +00:00
Tpt
8ccbb58ca6
MWExtensionNode#generateContents: Fix renderEmpty logic
...
This static attribute is not used anywhere so it should be safe
Change-Id: I633c521859b59614835344a4644560ac933c6028
2016-04-02 07:58:33 +00:00
Alex Monk
7788aece55
After saving and setting HTML, set single-editor edit section handlers again
...
Change-Id: I6e0962271e7e1460abbe82864b47fddc5bd7f235
2016-04-02 09:53:25 +03:00
Translation updater bot
6b4dcefcf2
Localisation updates from https://translatewiki.net .
...
Change-Id: I520bd24cc795d85ab66e2d623d77b7141d0188ab
2016-04-01 22:30:49 +02:00
Roan Kattouw
f6ba399137
Fix asynchronous loading of MWAlienExtensionNode renderings
...
ve.dm.MWExtensionNode#toDataElement calls storeGeneratedContents()
which prepopulates the cache, but because it was being called with
the wrong context, this.name was null and so the key we were storing
it under was different from the key we'd later be looking for.
Fixed by ensuring ve.dm.MWAlienExtensionNode#toDataElement preserves
context when calling its parent. Our static context hacks are tricky.
Change-Id: If859d861453067d7656a33a1767f6efc7bd9d323
2016-04-01 12:50:13 +03:00
Translation updater bot
1ad77ddf91
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic552bb2a2a87252033cc9f6ab57ff9545f6686b5
2016-03-31 22:47:29 +02:00
jenkins-bot
2449ce203d
Merge "Use veaction=edit in URL instead of action=edit when we're using multiple tabs"
2016-03-31 15:42:40 +00:00
Translation updater bot
db5741d061
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib60a84f5f2dd85ed5b2f9dd89b8eb64402e8a2d6
2016-03-30 22:43:22 +02:00
Alex Monk
4210c4bee0
Use veaction=edit in URL instead of action=edit when we're using multiple tabs
...
TODO: What about prefer-wt users switching from WTE?
Bug: T131064
Change-Id: I9aa701cbda3964decb8b1ee853c0a281567a0ccb
2016-03-30 02:54:01 +01:00
jenkins-bot
4dadaa677c
Merge "MWWikitextStringTransferHandler: Add test for autoGenerated=true"
2016-03-29 22:01:39 +00:00
jenkins-bot
f5f97adbe4
Merge "MWWikitextStringTransferHandler: Factor out body tag from response"
2016-03-29 21:42:09 +00:00
jenkins-bot
b44cee5557
Merge "MWWikitextStringTransferHandler: Remove data-parsoid from tests"
2016-03-29 21:39:07 +00:00
Translation updater bot
f753a46fa1
Localisation updates from https://translatewiki.net .
...
Change-Id: I840ba9e9d5c3eaed4837cabbd5fbf35c1079150e
2016-03-29 22:40:33 +02:00
Ed Sanders
18df6c3d47
MWWikitextStringTransferHandler: Add test for autoGenerated=true
...
Bug: T131153
Change-Id: I4922abe7978e1f04eb2276214c761622b44149c7
2016-03-29 19:57:45 +00:00
Ed Sanders
b51b512555
MWWikitextStringTransferHandler: Factor out body tag from response
...
Change-Id: Ic694d1099538d2c60900d490667f2175f7f3afb3
2016-03-29 19:57:36 +00:00
Ed Sanders
818931dd9e
MWWikitextStringTransferHandler: Remove data-parsoid from tests
...
It is ignored by VE, and isn't present in restbase responses.
Change-Id: Iaa2a6a66ba76ca0d63b4d6791ab8589191bce0f2
2016-03-29 19:57:26 +00:00
jenkins-bot
0242dedff9
Merge "Filter out auto-generated reference lists"
2016-03-29 19:37:35 +00:00
jenkins-bot
18533b47fa
Merge "Toolbar: Add tooltips to structure and insert groups"
2016-03-29 17:15:51 +00:00
jenkins-bot
29af9b54b6
Merge "MWPopupTool: Don't pass $1 to visualeditor-beta-warning any more"
2016-03-29 16:52:31 +00:00
jenkins-bot
190c64ed69
Merge "Select tool when it's been closed by education tool popup button"
2016-03-29 16:42:38 +00:00
jenkins-bot
b9643881d9
Merge "Remove icon properties from windows"
2016-03-29 16:37:22 +00:00
Alex Monk
0760cd6974
Select tool when it's been closed by education tool popup button
...
Bug: T117273
Change-Id: I54b704b6663f7d862557e6524713259dee8765cc
2016-03-29 15:54:22 +01:00
Ed Sanders
9a347220bc
Target loading: Only parse oldid if it is non-null
...
This un-breaks MobileFrontend.
Change-Id: Ib1bce6b80abb004ff4ca26920759ef98f3cd1143
2016-03-29 12:57:00 +01:00
Ed Sanders
c516d897d2
Remove icon properties from windows
...
Windows stopped supporting icons a while ago.
Change-Id: I8a63152282a5968dcd17675330e31bd1ebe4b68b
2016-03-29 12:33:42 +01:00
Ed Sanders
1d8d1c2a64
Toolbar: Add tooltips to structure and insert groups
...
Bug: T131133
Change-Id: I927bf6f0d1de74b4ac8d16c3b5ce27720db322d4
2016-03-29 12:08:22 +01:00
Translation updater bot
d4d1f10b95
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifdc4b011bcb895ae3fa39a1fbe31b1640d1e56e4
2016-03-28 22:46:52 +02:00
James D. Forrester
a6477fb960
MWPopupTool: Don't pass $1 to visualeditor-beta-warning any more
...
Change-Id: Ib2f63d1626d8286c7dfd74227d09046a7d2af509
2016-03-28 19:53:08 +00:00
jenkins-bot
ff61173f90
Merge "MWLinkAnnotationInspector: select entire link when switching tabs"
2016-03-28 19:22:35 +00:00
Ed Sanders
681250dd5e
Filter out auto-generated reference lists
...
Bug: T101553
Bug: T127664
Change-Id: Idc8c6f30ccdd5eaf76a3f7c1b923d8656ca36413
Depends-On: I24250845e97acb4b7de9c495cb46dbd28fc8817e
2016-03-28 17:23:42 +00:00
David Lynch
d33f5969ad
MWLinkAnnotationInspector: select entire link when switching tabs
...
Bug: T129650
Change-Id: I4ca445f2c43438c36ece23245660b63f2a48b722
2016-03-28 11:38:45 -05:00
James D. Forrester
0a23ec716d
i18n: Drop another two references to the wikitext editor
...
Change-Id: I89b727e880f40d6e82fb584beb4647aed6134e90
2016-03-28 08:47:20 -07:00
Translation updater bot
f239e17a1e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie585e9b5dd0251d35e90646f0ff79cc76cf66da8
2016-03-27 21:25:48 +02:00
Thalia
003e02efaa
MWAceEditorWidget: Update maxRows and minRows if minRows is changed
...
This was being done correctly in initialize, but not in setMinRows.
Bug: T131009
Change-Id: I57c771720c59ca1d75f0b9bc14e7c834237019d5
2016-03-27 17:42:11 +00:00
jenkins-bot
ff65a71773
Merge "Template Dialog: pushPending while the dialog is closing"
2016-03-26 03:13:42 +00:00
jenkins-bot
068bafd9df
Merge "ArticleTarget: Don't assume an explicit oldid is old; check against current"
2016-03-26 00:49:58 +00:00
Alex Monk
680e464e94
ArticleTarget: Don't assume an explicit oldid is old; check against current
...
Bug: T130810
Change-Id: I3d5b748da37a0a059f282f97dd0d68d1846e2553
2016-03-25 17:37:02 -07:00
jenkins-bot
35ea4b3e4e
Merge "Don't strip namespace from text that we replace firstHeading with"
2016-03-25 22:43:41 +00:00
Alex Monk
b1aebf0b48
Don't strip namespace from text that we replace firstHeading with
...
wgTitle is basically just $title->getText()
wgPageName is $title->getPrefixedDBkey()
So we need to take wgPageName and run getPrefixedText (difference is underscores
get replaced by spaces)
Change-Id: Ib99f0d20f1ba99338f80bbbf39cffd544887c3fa
2016-03-25 04:45:09 +00:00
Translation updater bot
8bf7d4ba07
Localisation updates from https://translatewiki.net .
...
Change-Id: Ief4cec942df98bef1b43038fa14e0cb6403ea454
2016-03-24 22:40:13 +01:00
David Lynch
0268e74a7f
Template Dialog: pushPending while the dialog is closing
...
Double-clicking the "insert" button would double-insert the template. Counting
the close as a pending action avoids that.
Bug: T129725
Change-Id: I41af7c051fd54004cecd563d7a6cf8fdb452840f
2016-03-24 11:33:00 -05:00
Translation updater bot
3028f4f2d6
Localisation updates from https://translatewiki.net .
...
Change-Id: I7715d2d33b21e1a9d142a2be00a032fe83de4f75
2016-03-23 22:25:43 +01:00
jenkins-bot
9b9ace9d03
Merge "Rename startSave -> onSaveDialogSave"
2016-03-23 19:48:06 +00:00
jenkins-bot
52c862b5af
Merge "Make data-mw/body.html attribute comparable"
2016-03-23 19:20:40 +00:00
Ed Sanders
5e4ad90845
Rename startSave -> onSaveDialogSave
...
Factor out actual startSave into new startSave method.
Change-Id: I73edb5021903f04aa197ace2a2afa3aa3a5ddac6
2016-03-23 11:14:06 +00:00
Ed Sanders
6a159001ab
Make data-mw/body.html attribute comparable
...
Change-Id: Ie23c5816a18f4da84c3d40c13a8c048710389f4b
2016-03-23 11:03:53 +00:00
Alex Monk
2063025237
Don't change focus to VE surface if we're opening the SET dialog
...
Bug: T130552
Change-Id: Idc4639bb3f51690a827bdbdb0419e9303dd39a1b
2016-03-23 01:08:32 +00:00
Translation updater bot
0f6bdb9071
Localisation updates from https://translatewiki.net .
...
Change-Id: I994551c7973f274b4791d23c89fd808038df14da
2016-03-22 22:34:47 +01:00
Ed Sanders
fd3683e414
Update VE core submodule to master (d1ce123)
...
New changes:
6cf8864 Follow-up eb97c1f: Fix build for added language 'inh'
d1ce123 SpecialCharacterDialog: Use getReadyProcess promise to wait for char list
Local changes:
* SpecialCharacterDialog: Defer loading of character list.
Saves ~40k for most users who never use it.
Change-Id: I74b30fee96e1ae4463ed28c19bef4b515330220e
Depends-On: I45dc9f788aa5bd702b91ffd9f63b05b1f4760691
2016-03-22 09:15:23 -07:00
James D. Forrester
7df0e7589e
Update VE core submodule to master (eb97c1f)
...
New changes:
e661245 Localisation updates from https://translatewiki.net .
d0bac53 ElementLinearData: Add test for sanitize conversions
53988e4 ElementLinearData: Test blacklist unwrapping
8593098 ve.dm.Model: Remove unused, untested method 'hasAttributes'
6247dd2 ce.Surface: Add tests for table strip delete
bee1851 ce.Surface: Add larger table strip-delete test
42d39e7 ce.Surface: Test table navigation with enter/escape/tab/shift-tab
5d248f9 Remove TableCaptionCommand
a86ad04 PreviewElement: Check node is a GCN, and always return a boolean
b518839 Localisation updates from https://translatewiki.net .
8834e9c ce.Surface: Allow any key code in the key handler tests
6b3ea6a ce.Surface: Linear arrow tests for block node
026999d Localisation updates from https://translatewiki.net .
eb97c1f Localisation updates from https://translatewiki.net .
Change-Id: Ic5853116d97623316d9a6bbacda2ecab9e4b49d5
2016-03-22 15:12:36 +00:00
Translation updater bot
b6662a697d
Localisation updates from https://translatewiki.net .
...
Change-Id: I111db7bda332fc853e50d2d5cd029389a01676e8
2016-03-21 23:37:06 +01:00
Translation updater bot
eed6125ef2
Localisation updates from https://translatewiki.net .
...
Change-Id: I197104b10bb7aa062030a6cf22975283dbe42d28
2016-03-20 22:43:49 +01:00
Translation updater bot
c450fdd332
Localisation updates from https://translatewiki.net .
...
Change-Id: I2425ab6952f0890671132342acfa0308cf286882
2016-03-19 22:55:27 +01:00
Translation updater bot
c37a2d11f7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia9b65fcfe6117d2075483bd130900c51b787eddc
2016-03-18 22:45:18 +01:00
jenkins-bot
4e4684e7d0
Merge "Show redirect target inside target"
2016-03-17 22:54:39 +00:00
Translation updater bot
d036f04573
Localisation updates from https://translatewiki.net .
...
Change-Id: I30e95352b17b75c8eb8dba54a4007238c28b1c63
2016-03-17 23:23:48 +01:00
Ed Sanders
b7d25d92bc
Detect the type of plain pasted links
...
Using the same logic we used for converting pasted URLs, detect
internal links by matching their base.
Currently link pasting is still disabled in the VE target, but
has been enabled elsewhere (Flow).
Change-Id: Iebd61abbe1fe82fd18d129e1dbc815ca75f44e87
2016-03-17 19:30:13 +00:00
jenkins-bot
d5ef085b3e
Merge "Link pasting: Match RDFa-less links as external"
2016-03-17 17:45:52 +00:00
Ed Sanders
5e6cbc187c
Link pasting: Match RDFa-less links as external
...
Now that some targets support link pasting (Flow) we need to
make sure that pasted links match to an allowed type ('link/mwExternal')
instead of plain 'link' annotations which should never exist
in an MW document.
In a later commit we should auto-detect internal links.
Change-Id: I7faae834aa6e730c3cf93a691331a05fd0fe3d5c
2016-03-17 17:18:41 +00:00
jenkins-bot
1c27e5d51a
Merge "In the event of a document reload due to RB vs. API rev ID conflict, always re-set requestedRevId"
2016-03-17 15:39:12 +00:00
jenkins-bot
33c9055fdc
Merge "Reload page after user selects multi-tab option of SET dialog"
2016-03-17 15:39:09 +00:00
Alex Monk
3288d4e3f9
Show redirect target inside target
...
Bug: T63861
Depends-On: I71d3d415fe918e8b0a090860cad9271092b1bd7e
Change-Id: I5a138b95e04773885ca9ee548026729805eb11f0
2016-03-17 15:21:06 +00:00
Translation updater bot
445a830d52
Localisation updates from https://translatewiki.net .
...
Change-Id: I2764438c78e674d492157f55fb15ae82ed114b36
2016-03-15 23:06:07 +01:00
Ed Sanders
dec9aa09e4
Use keyboard icon for keyboard help tool
...
Change-Id: Id5e5097dfcdb5e3be2b21c89886857cb379997e6
2016-03-15 17:28:48 +00:00
Alex Monk
02953f5d64
Suppress meta dialog on refresh pages if we want to show SET dialog
...
Bug: T129819
Change-Id: I1176d06e5a5f56f01528acd7d099c8be9d317e51
2016-03-15 08:10:46 +00:00
Translation updater bot
af64cf7b12
Localisation updates from https://translatewiki.net .
...
Change-Id: I85827c3e9262adf7bb6191ff68de688f744b613a
2016-03-14 22:55:30 +01:00
jenkins-bot
53d3c62d46
Merge "CommandHelpDialog: Inherit non-corruptively"
2016-03-14 20:28:56 +00:00
Ed Sanders
f5873ac1db
CommandHelpDialog: Inherit non-corruptively
...
Change-Id: Ieb497eebe930e58a02552eb9d4305280c91c92c2
2016-03-14 20:03:52 +00:00
Ed Sanders
5d5d5419c6
AceEditorWidget: Use namespaced 'require'
...
The un-namespaced version will soon be removed to fix RL issues.
Bug: T127643
Change-Id: Iaf4ed23d88cb955b8f8f61725f9effa6180de5bf
2016-03-14 16:56:16 +00:00
Željko Filipin
63eb2a2f46
[BrowserTest] Increase the time Selenium waits for VisualEditor to load
...
I have noticed that Jenkins job that runs daily fails sometimes because
looking up the element failed after 5 seconds. The time is increased
from 5 to 10 seconds.
Bug: T94150
Change-Id: Ib23f4ac72aa6c734f297e8f9fb5ad4645ac8891e
2016-03-14 13:00:17 +01:00
jenkins-bot
110c6eb057
Merge "[BrowserTest] Disable failing language screenshot scenario"
2016-03-14 11:33:53 +00:00
jenkins-bot
0cdf4393ed
Merge "Prefer error *code* when logging unknown errors"
2016-03-14 01:01:48 +00:00
jenkins-bot
3a1f6a34c8
Merge "Log readonly code for readonly errors"
2016-03-14 01:00:47 +00:00
Alex Monk
612e43dc08
Prefer error *code* when logging unknown errors
...
See also I4a5bac24
Change-Id: I62fda9dadd24704f5930b30a2f8ad4d4a9e729cb
2016-03-14 00:27:42 +00:00
Translation updater bot
004247822d
Localisation updates from https://translatewiki.net .
...
Change-Id: I18e35f520e9b8dde3c96e6b2c3b740d1fb48c294
2016-03-13 22:57:53 +01:00
jenkins-bot
1a0733c4f2
Merge "MWSaveDialog: Fix vertical alignment"
2016-03-13 11:43:17 +00:00
Translation updater bot
368953b808
Localisation updates from https://translatewiki.net .
...
Change-Id: I1c34348e0ce6227d6a3e84a969271563b0e8a6d5
2016-03-12 21:14:25 +01:00
Alex Monk
22bf016a84
In the event of a document reload due to RB vs. API rev ID conflict, always re-set requestedRevId
...
There's probably more to this bug but I think we should still correct this
Bug: T125437
Change-Id: Ib32d1e69b2500578b5dc160c0c2d7481f5577ebb
2016-03-12 04:46:54 +00:00
Translation updater bot
7c8a2207d3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifefb57f56a762c7fcb5cab0258d018be0e7c10eb
2016-03-11 22:18:35 +01:00
Ed Sanders
da9aff2421
MWSaveDialog: Fix vertical alignment
...
Change-Id: Ifb62375da6c872a3a4ef783e479a5476ca318b32
2016-03-11 17:37:01 +00:00
Alex Monk
d1d4839f8f
Log readonly code for readonly errors
...
I thought I did this yesterday
Change-Id: Icd2cf8fdf4263cab335a2ddfa53ab0585153dfb4
2016-03-11 17:33:57 +00:00
Alex Monk
3807a918f9
Reload page after user selects multi-tab option of SET dialog
...
Bug: T129510
Change-Id: I3fcac175f18d8159e6a5c4084668264d4705970c
2016-03-11 05:39:29 +00:00
Translation updater bot
55a6cd08b2
Merge "Localisation updates from https://translatewiki.net ."
2016-03-10 21:33:52 +00:00
Translation updater bot
3aac2043a4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia3db1d0b33d4bdbde66452bcf33a7b0b0e4da5bb
2016-03-10 22:31:26 +01:00
jenkins-bot
d6ec1ed86f
Merge "Fix logging of event_action.saveFailure.message for responseUnknown"
2016-03-10 21:22:37 +00:00
jenkins-bot
ad7c364725
Merge "Better handling of read-only mode"
2016-03-10 21:22:34 +00:00
Alex Monk
0a6f6e1bbd
Fix logging of event_action.saveFailure.message for responseUnknown
...
Change-Id: Ic8d3066d8f6ccf8bc4a1001fd4d406b313915e82
2016-03-10 21:03:25 +00:00
Alex Monk
d2a9aefba7
Better handling of read-only mode
...
* Don't just fail to load, action=visualeditor itself should not write to the DB
(we have action=visualeditoredit for that)
* Send notice to the client in the usual way
* Handle read only errors on save, log as unknown
This won't let you review changes because that uses visualeditoredit
Bug: T129501
Change-Id: Id78c06b031423e47a7ddf94ec615b6d6975309d3
2016-03-10 21:02:52 +00:00
jenkins-bot
3eaaf57847
Merge "Suppress welcome dialog this time if we're showing the SET pref dialog"
2016-03-10 20:38:39 +00:00
Alex Monk
4462f2539a
Suppress welcome dialog this time if we're showing the SET pref dialog
...
Bug: T129200
Change-Id: Iaa6d80df930cfcbd243efd31437cb8707da35c06
2016-03-10 17:54:15 +00:00
Željko Filipin
43e9c8714f
[BrowserTest] Disable failing language screenshot scenario
...
VisualEditor_Insert_Menu scenario fails with `Original image height is
too small! (ChunkyPNG::OutOfBounds)`.
Bug: T119482
Change-Id: I30c3a9757c5754a40921fce5225b73897eed865b
2016-03-10 15:06:56 +01:00
Translation updater bot
d36a099939
Localisation updates from https://translatewiki.net .
...
Change-Id: I32293b4f2532d15e65b71f09e53ac9c2e8817356
2016-03-09 22:48:24 +01:00
jenkins-bot
2e89f4f658
Merge "[BrowserTest] Disable failing language screenshots"
2016-03-09 17:32:57 +00:00
jenkins-bot
67fb8dd07f
Merge "[BrowserTest] Fix Selenium::WebDriver::Error::StaleElementReferenceError"
2016-03-09 17:31:27 +00:00
Timo Tijhof
cf1d7c0dab
mw.DesktopArticleTarget: Fix "Uncaught: Cannot read done of undefined"
...
Regression from 863a2c2974
.
Sometimes when clicking "Switch to source mode" in the toolbar this
error is thrown and the interface freezes because setEditorPreference()
only returns a promise if the value is different.
> Uncaught TypeError: Cannot read property 'done' of undefined
> - ve.init.mw.DesktopArticleTarget.switchToWikitextEditor
Change-Id: Ie59f06a8ed9af9c4fb8199b013c06992d0c4f700
2016-03-08 23:13:11 +00:00
Translation updater bot
d8a9a11ca7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia668efdeff27d984848c2bca823bf41d370706f9
2016-03-08 22:46:51 +01:00
Ed Sanders
d5e594b9f6
Link inspector: Remove premature call to onLinkTypeIndexSet
...
This causes the inspector to take focus early (line 291) on
first load, and is not necessary as this method fires when
needed anyway.
Bug: T129228
Change-Id: Ia69f76b68e89daf5cb01449c40e71de4ec32d400
2016-03-08 16:54:09 +00:00
jenkins-bot
7261cf5364
Merge "Link inspector: make height consistent"
2016-03-08 16:50:02 +00:00
Ed Sanders
7f31507e12
Link inspector: make height consistent
...
Make the DOM order sensible so we don't have to
use SearchWidget's position:absolute hacks.
Bug: T129173
Change-Id: I3517e0e0cfe2ab0eee4bed7390e41710d3140eb0
2016-03-08 10:26:31 +00:00
James D. Forrester
80139533ab
i18n: Don't refer to the name of the tab in the beta notice given it changes
...
Change-Id: I9beb322aeabece0df483271b33dbaa41f5da732a
2016-03-07 16:58:32 -08:00
James D. Forrester
b247ffd7bd
i18n: Explain to returning users that their preferences are mutable
...
Change-Id: I8a47725d7271af54b30f2130e97b08edec0f0b59
2016-03-07 16:56:13 -08:00
James D. Forrester
9a6650ae1f
i18n: Relabel the SET preference and dialog to 'mode'
...
Change-Id: Id876f4ba102800237cbc4a671d4db9a26f7f116d
2016-03-07 15:51:19 -08:00
jenkins-bot
8d7baccd5f
Merge "DesktopArticleTarget: Add Edge and MSIE to whitelist"
2016-03-07 23:28:58 +00:00
jenkins-bot
7a5f34fac3
Merge "Education popup: Also handle clicks on dots"
2016-03-07 23:28:55 +00:00
jenkins-bot
39f3cfa4a7
Merge "Keep summary and checkbox selections when swtiching WTE->VE"
2016-03-07 23:17:08 +00:00
jenkins-bot
075f569e51
Merge "Update ArticleTarget for new API token handling"
2016-03-07 23:14:32 +00:00
jenkins-bot
6ed2d23b13
Merge "Don't give the user the option to discard changes when changing editor"
2016-03-07 23:14:29 +00:00
jenkins-bot
15f8efed70
Merge "DesktopArticleTarget.init#getLastEditor: Check values for validity"
2016-03-07 23:14:26 +00:00
James D. Forrester
79d1f92b42
DesktopArticleTarget: Add Edge and MSIE to whitelist
...
Bug: T128447
Change-Id: Ia7afe4ddd5abd4fd1de85ba2d2df1fefa6735d79
2016-03-07 14:58:10 -08:00
jenkins-bot
4d34f9ad75
Merge "Follow-up I65d96627: Remember the user's preference in WikiEditor too"
2016-03-07 22:31:54 +00:00
James D. Forrester
d8eb68d7b6
Don't give the user the option to discard changes when changing editor
...
Bug: T128585
Change-Id: I02f31e46ae7b2dc7505ed55fc56cd00f538a90e3
2016-03-07 13:39:32 -08:00
Translation updater bot
98052e165d
Localisation updates from https://translatewiki.net .
...
Change-Id: I1e160b1149c6f0a5abb31ad51ba0a099de151a1f
2016-03-07 22:27:34 +01:00
James D. Forrester
b0407d840d
Follow-up I65d96627: Remember the user's preference in WikiEditor too
...
Oh dear.
Bug: T129130
Change-Id: I12481ded12f99ab1ba59dbd403c1eed038235fd9
2016-03-07 13:03:35 -08:00
jenkins-bot
789979f223
Merge "Try to fix handling of empty document on WTE->VE switch"
2016-03-07 19:48:22 +00:00
James D. Forrester
302aeefd85
DesktopArticleTarget.init#getLastEditor: Check values for validity
...
Change-Id: I23e0884a97b3689dd42c3df11a6311cd0601c348
2016-03-07 11:27:23 -08:00
jenkins-bot
fe19bfb0af
Merge "Use iconWhenInvisible for alien extension nodes"
2016-03-07 18:34:38 +00:00
Ed Sanders
bbf86a6768
Use iconWhenInvisible for alien extension nodes
...
Change-Id: I0bc9bfd040685855402f705f46973e36c42dc0db
2016-03-07 18:15:45 +00:00
jenkins-bot
c930ac2779
Merge "Wikitext paste: Move MWWikitextStringTransferHandler matchRegExp into a registry"
2016-03-07 16:32:13 +00:00
Translation updater bot
4dd9110c18
Localisation updates from https://translatewiki.net .
...
Change-Id: I894adeef0ad09824fad0d3fff544ced1f7f3b1ae
2016-03-06 22:18:45 +01:00
Ed Sanders
5cc10a810a
Wikitext paste: Move MWWikitextStringTransferHandler matchRegExp into a registry
...
This allows extensions to register their own rules for detecting wikitext,
e.g. matching '<ref>'.
Bonus: Strip the autogenerated <references/> tag which
gets inserted when converting a <ref>.
Bug: T128805
Change-Id: I7a38db45d25e86ff3f3f6199aa04425ec98f7cc4
2016-03-05 22:47:00 +00:00
Translation updater bot
bcb8aed482
Localisation updates from https://translatewiki.net .
...
Change-Id: Icffb9dc8b7f78d2debad38046ba42ea678b969ae
2016-03-05 23:01:12 +01:00
Ricordisamoa
993015e03b
Update ArticleTarget for new API token handling
...
action=query&prop=info was being used because it can be combined
with action=query&meta=userinfo, while action=tokens cannot.
However, since MediaWiki 1.24 the 'intoken' parameter of
action=query&prop=info is deprecated, while the preferred way of
retrieving tokens is action=query&meta=tokens which not only can
be combined with action=query&meta=userinfo but also spares the
need of dealing with page ids.
Change-Id: I5ded3c303ede20514eeb2840715fe240b3b2c7e1
2016-03-05 14:44:07 +01:00
jenkins-bot
ea11c33e6d
Merge "Handle API errors when refetching the edit token"
2016-03-05 02:16:32 +00:00
Roan Kattouw
6322be2e07
Handle API errors when refetching the edit token
...
This can happen when the user gets logged out on a private wiki.
We get a badtoken error, so we try to refetch the token, which
itself returns an error. Token refetches didn't have error handling
at all and got the save dialog stuck in the pending state.
We can't offer the user to proceed with a different identity here,
because we encountered an error while trying to figure out what their
current identity is. The best we can do is encourage them to
log back in in a different tab.
Bug: T128934
Change-Id: I17d4452f688ec22631dbd12af223731635004d66
2016-03-04 18:06:33 -08:00
jenkins-bot
074885d7cf
Merge "Follow-up 2c24efae
: fix typo in event name for unknown save errors"
2016-03-05 02:01:57 +00:00
Roan Kattouw
84d534997e
Follow-up 2c24efae
: fix typo in event name for unknown save errors
...
This probably means we stopped logging unknown save errors
back in August.
Change-Id: I4a5bac244a469e73643e8a7d978d9212dd838fb0
2016-03-04 17:31:40 -08:00
Translation updater bot
0d94d8312d
Localisation updates from https://translatewiki.net .
...
Change-Id: I92baebf577ce098877cff730f2ff8de4974f79b2
2016-03-04 22:56:47 +01:00
Željko Filipin
dc3944726a
[BrowserTest] Disable failing language screenshots
...
Bug: T119482
Change-Id: I165fcb2ee94430d29e287b80e13a48e05a021f77
2016-03-04 15:54:13 +01:00
Alex Monk
dde45949a3
Try to fix handling of empty document on WTE->VE switch
...
Bug: T128635
Change-Id: Iff83e1d71e7186b8da875aa507f9e19e8d9c23ce
2016-03-04 02:05:41 +00:00
Ed Sanders
67c207a6f5
Use abstract target widget creation
...
Change-Id: Ic7e43e80f4f48df99842cee702963d54205e5055
Depends-On: I6a667a641540b347052ea0c645af4e1e59cf333a
2016-03-03 11:49:44 -08:00
Ed Sanders
d64436cc0c
Use new surface executeCommand method
...
Change-Id: I84c718d9da4b7dd0627ba37d9c29c3a25cc5d73e
Depends-On: Id975ea9da43654cd9991a302b49a9fb32782078e
2016-03-03 11:49:44 -08:00
Ed Sanders
62d16e5a8a
Update VE core submodule to master (ac24b50)
...
New changes:
0b7e689 FindAndReplaceDialog: don't use tabindex
17b10a5 Localisation updates from https://translatewiki.net .
a4133e4 [BREAKING CHANGE] Make whitespaceHtmlCharacters a real static property
Local changes:
* MWEntityNode: Fix lookup of whitespaceHtmlCharacters
Property is now in 'static', and use registry to look up
TextNode by symbolic name.
Change-Id: Ied8c0c6feb69141c7c53fc4cc790774dee2cb63c
Depends-On: I7537b46a9fd58dfb2bd18dc4ed469aa221b96e86
2016-03-03 08:13:33 -08:00
Ed Sanders
115bf4b3d2
CategoryWidget: Remove reorder event fix after upstream fix
...
Change-Id: I9088c931433b0824f72b4c77d0fd05cb062068f7
Depends-On: I67945db3652b0edb24b490089b8ea5a43f0b29d0
2016-03-03 15:53:49 +00:00
Željko Filipin
8e0e40d5cc
[BrowserTest] Fix Selenium::WebDriver::Error::StaleElementReferenceError
...
Sauce Labs browsers raise
Selenium::WebDriver::Error::StaleElementReferenceError
if a test tries to use an element but VisualEditor is not loaded.
Bug: T128731
Change-Id: Icb01b4dee256a0270d722492d11dabf0cfc4f8c4
2016-03-03 14:58:14 +00:00
jenkins-bot
659b9c3576
Merge "[BrowserTest] Fix ve.init is undefined
and ve.init.target is undefined
error messages"
2016-03-02 23:33:32 +00:00
Translation updater bot
61cda9824f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ife76752d154e4b595a570e8c8fefed114362dc9f
2016-03-02 23:40:57 +01:00
Alex Monk
a3f77d9479
Education popup: Also handle clicks on dots
...
Bug: T128440
Change-Id: I25728cf3dd3462cb1a13476fe45d7fc3755429dd
2016-03-02 21:48:05 +00:00
Alex Monk
4ed6fd4010
Change Accept header a bit
...
Per post-merge commit on I77af4b58 by Subbu
Bug: T128233
Change-Id: I30c4c1ad5b68e5b8a006d7a6c7bcbaac7e2eb164
2016-03-02 15:37:37 +00:00
Željko Filipin
301b152ec8
[BrowserTest] Fix ve.init is undefined
and ve.init.target is undefined
error messages
...
Looks like local browsers raise
Selenium::WebDriver::Error::JavascriptError while remote (Sauce Labs)
browsers raise Selenium::WebDriver::Error::UnknownError if a test tries
to use an element but VisualEditor is not loaded.
Bug: T126966
Change-Id: I89c8eaba996e95e7859084fe26e15befee9dce77
2016-03-02 13:50:44 +01:00
Alex Monk
21334a0fa8
Keep summary and checkbox selections when swtiching WTE->VE
...
Bug: T128529
Change-Id: I8a7deac1c4d9390c1db7d78c3e0a11d927ef127b
2016-03-02 11:55:50 +00:00
Ed Sanders
d94d98ebfe
ArticleTarget: Update documentation
...
'onReady' no longer exists
Change-Id: I6fbcf619ba471f69380a64ba02994bd6ef0ca246
2016-03-01 22:03:07 +00:00
jenkins-bot
7d1ddae652
Merge "MWTemplateSpecModel: Use namespace constant"
2016-03-01 21:56:51 +00:00
jenkins-bot
1619ca17aa
Merge "MWTemplatePage: Don't assume template is the template namespace"
2016-03-01 21:51:19 +00:00
Ed Sanders
1e800f2fdf
MWTemplateSpecModel: Use namespace constant
...
Change-Id: I4404ee726550ca9aa9322720736f6f3778278df7
2016-03-01 21:41:10 +00:00
Ed Sanders
5b17cbca67
MWTemplatePage: Don't assume template is the template namespace
...
Content can be transcluded from any namespace using '{{:'.
Bug: T128333
Change-Id: Ifa076960958d1e72f302c5bfd5d896427a0e721f
2016-03-01 13:40:38 -08:00
Translation updater bot
eceb548e6c
Localisation updates from https://translatewiki.net .
...
Change-Id: Id1453f111870ee703f552fa407dab76b19d786f5
2016-03-01 22:04:45 +01:00
jenkins-bot
a0caedc6d9
Merge "API: Send Accept: header to RESTbase"
2016-03-01 03:24:45 +00:00
Alex Monk
2f135e9590
API: Send Accept: header to RESTbase
...
Bug: T128233
Change-Id: I77af4b58e5469a898063a3f838802e4f5769514b
2016-03-01 01:14:02 +00:00
Alex Monk
d46c5e9f91
Fix WTE->VE switching in prefer-wt SET mode
...
Bug: T128402
Change-Id: I56af672f2334214f048a4bbfe2f9fab891832792
2016-02-29 23:46:11 +00:00
David Lynch
7486f74c6f
MWMediaDialog: Only cache relevant information
...
Trim the cached image data from the media dialog down so that it only caches
the same information that would have been fetched for a non-uploaded image.
Consistency!
Bug: T126081
Change-Id: I0f057c111b66f29c6360e27f97256384f5320b75
2016-02-29 10:16:34 -06:00
jenkins-bot
e39d8a744b
Merge "Show welcome dialog on mobile too"
2016-02-29 03:02:03 +00:00
jenkins-bot
517bb92a79
Merge "Give a useful message in the temporary blank edit screen"
2016-02-29 02:56:12 +00:00
Translation updater bot
7546362fa9
Localisation updates from https://translatewiki.net .
...
Change-Id: I7bade8021975fc1c3e2426211e6805a913f07891
2016-02-28 22:00:32 +01:00
jenkins-bot
70a9cee5f3
Merge "Update VE core submodule to master (0371bbe)"
2016-02-28 01:12:55 +00:00
jenkins-bot
03448253b3
Merge "Revert "Compress PNGs with zopflipng""
2016-02-28 00:29:30 +00:00
Legoktm
7ebac23f86
Revert "Compress PNGs with zopflipng"
...
This reverts commit cbb7831938
.
Change-Id: Ide4880a4a980847bb14cc5880662a4d2142581b8
2016-02-28 00:07:50 +00:00
Alex Monk
ade0862db1
Give a useful message in the temporary blank edit screen
...
Bug: T128028
Change-Id: Ife0a9de96965a9848f362696fc403708fd344825
2016-02-27 21:42:10 +00:00
Translation updater bot
e7ad07513a
Localisation updates from https://translatewiki.net .
...
Change-Id: I88bf6d9f401bfbeab5e256a3b6169541ce8ac0eb
2016-02-27 21:59:35 +01:00
James D. Forrester
ab4d3e956b
Update VE core submodule to master (0371bbe)
...
New changes:
0371bbe [BREAKING CHANGE] Refine VisualEditorSupportCheck call and document pattern
Local changes: Use new VisualEditorSupportCheck pattern
Change-Id: I7dc0c360b54a93397180b18d88d72532e439da5c
2016-02-26 12:26:56 -08:00
Ed Sanders
34d607d546
EducationPopupTool: Use vendor prefixes for animation
...
Bug: T128133
Change-Id: Ic061b50e1ed68ea35ac0ccbefbcb5252f917d35f
2016-02-26 15:34:06 +00:00
Ed Sanders
8f028813e5
CategoryWidget: Update to work with new DraggableGroupElement
...
Change-Id: Iefac99dba0e6b8ed3eaaa1d5f1d92e402e3cf2db
2016-02-25 16:07:50 -08:00
Alex Monk
ced27f348f
Show welcome dialog on mobile too
...
Bug: T112599
Change-Id: Ie04aab468c80dabc84e1386e7529138e1101450e
2016-02-25 22:03:00 +00:00
Translation updater bot
cef228ec1d
Localisation updates from https://translatewiki.net .
...
Change-Id: I8a8e0b9b879d18d8011821e49dc8c23624652a38
2016-02-25 22:22:09 +01:00
jenkins-bot
7bef4c9a20
Merge "Warn for empty summary when edit section used"
2016-02-25 18:56:57 +00:00
Translation updater bot
48a2404923
Localisation updates from https://translatewiki.net .
...
Change-Id: I0a5b177af81d7f05a86b18f5089a76545b2b8860
2016-02-24 22:03:55 +01:00
jenkins-bot
222a5361ba
Merge "[BrowserTest] Fix ve.init is undefined
error messages in Selenium tests"
2016-02-24 17:56:57 +00:00
jenkins-bot
79d8849b49
Merge "Make surface measurable while activating"
2016-02-24 01:33:47 +00:00
Translation updater bot
4fdef459ae
Localisation updates from https://translatewiki.net .
...
Change-Id: I32522ae9e647712d6256174fade8e0314808b739
2016-02-23 22:35:50 +01:00
Ed Sanders
229a088f34
Make surface measurable while activating
...
If the surface is display:none then $.width always
returns 0, which breaks features like FocusableNode's
invisible icon.
Bug: T127319
Change-Id: Ib157ffaeb56fca2bdc26868d830c4bf8feafa2a8
2016-02-23 17:05:09 +00:00
wctaiwan
5da37932a2
Warn for empty summary when edit section used
...
Warn the user about an empty edit summary when the "edit section"
link is used to trigger VE.
Re-does Ic7b456ca a different way.
Bug: T114857
Change-Id: I319c9c5bed47140a81eb409d490c9f82b89a49fe
2016-02-23 00:34:12 +00:00
jenkins-bot
74b2489276
Merge "Link to file description pages in media dialog"
2016-02-22 21:07:43 +00:00
Translation updater bot
ed26366723
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib209a100469a77418cc66174d69bc6955101a7a3
2016-02-22 21:42:37 +01:00
jenkins-bot
0b8f6b576d
Merge "Transclusion dialog: Simplify example/default value labels"
2016-02-22 15:48:07 +00:00
Ed Sanders
816fca78e8
Transclusion dialog: Simplify example/default value labels
...
'Value' comes across as a bit technical. 'e.g.' is more common
for 'example value'. Truncate 'Default value:' to just 'Default:'.
Change-Id: Ie03fb64a01846071ccdcb673439fc568b9d0de78
2016-02-22 15:40:19 +00:00
jenkins-bot
705fc76e62
Merge "MediaDialog: Use CC logo from upstream (ooui-icons-wikimedia)"
2016-02-22 06:34:05 +00:00
jenkins-bot
0f9a09be73
Merge "Make platform language functions actually work"
2016-02-22 06:34:02 +00:00
Ed Sanders
083182debd
Make platform language functions actually work
...
Previously arguments were not getting passed through.
Change-Id: I19fbd6f8a7f32163a85dda01fa46ac56a8c78cf8
2016-02-22 00:05:05 +00:00
Translation updater bot
56e29facc9
Localisation updates from https://translatewiki.net .
...
Change-Id: I8f4817ee86f71cf8233069b48b5dfd842d0fadff
2016-02-21 22:30:14 +01:00
Ed Sanders
deb676e73d
MediaDialog: Use CC logo from upstream (ooui-icons-wikimedia)
...
Change-Id: I4fabf5f8d87b9b21623883203b9d6965a0ff33a0
2016-02-21 18:20:30 +00:00
Alex Monk
ca5cab52af
Link to file description pages in media dialog
...
Bug: T125227
Change-Id: I243f5479ab27ab098d41db08ff4a53195d382577
2016-02-21 03:45:37 +00:00
Ori Livneh
cbb7831938
Compress PNGs with zopflipng
...
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.
This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:
git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
parallel zopflipng -m -y {} {} \;
Files which zopflipng was not able to compress more efficiently were left unmodified.
Bug: T127608
Change-Id: Id5807b1ec56320b3474878290dd05600c1e389d5
2016-02-21 00:14:58 +00:00
Translation updater bot
3fd583d1d7
Localisation updates from https://translatewiki.net .
...
Change-Id: I035d1386ec12fdcd6152cf25a029d9c133c7c1f9
2016-02-20 22:25:46 +01:00
Translation updater bot
d300f6a1ff
Localisation updates from https://translatewiki.net .
...
Change-Id: I826fa20c2850c5711e81863104d39453daaa40b3
2016-02-19 22:12:30 +01:00
jenkins-bot
30e6acfff2
Merge "MWMetaDialog: Fix setup of pages"
2016-02-19 19:52:55 +00:00
Ed Sanders
15a47665c8
Meta dialog: Use window action to open windows
...
Because abstraction.
Change-Id: I9811db4380c6cf37a73a76b97c8439f94723c5a6
2016-02-19 17:37:42 +00:00
Translation updater bot
acc2347eee
Localisation updates from https://translatewiki.net .
...
Change-Id: I7dae6beab2b97fefffa0bdc72766e553da7a4c75
2016-02-18 22:18:44 +01:00
James D. Forrester
6e6ac1656f
MWPopupTool: Update Phabricator URL broken by upgrade
...
Change-Id: I17fc6178729e246643e999e622b84e34fc7959b3
2016-02-18 11:24:00 -08:00
Ed Sanders
b70eb51491
MWMetaDialog: Fix setup of pages
...
Only call setup in ready process, as setup includes setting
focus. Defer fitInput call to category widget until transition
is finished so measurements are correct.
Change-Id: I49a30402cf58e36f16316e3ab04fa3349d19954e
2016-02-18 17:14:45 +00:00
Ed Sanders
704ec7ad3f
MWCategoryWidget: Improve caching
...
For every title request, store an entry in noramlizedTitle to
avoid ever making an API request for that category again.
This prevents API requests from being fired every time a
category was moved, which in turn prevents the list from
flickering as it waits for the API request to resolve.
Also normalise the spelling of normalize to en-US/en-GB-oxendict
Bug: T127317
Change-Id: Ie26d9d60fb83981c45ff27199e38ae98e5560a28
2016-02-18 17:14:33 +00:00
Željko Filipin
60a08f925c
[BrowserTest] Fix ve.init is undefined
error messages in Selenium tests
...
All scenarios that are passing are enabled to run in Jenkins.
(The commit increases the number of passing scenarios from 2 to 18.)
Bug: T126966
Change-Id: I9789ca42717133120197c4625bb8dad4ea496aa8
2016-02-18 15:42:05 +01:00
Ed Sanders
7eeb136d94
MWCategoryWidget: Use namespace constants from config
...
Change-Id: I63661ce49dbb0fac62cb7dbd65c466cfdd6e57b0
2016-02-18 11:36:31 +00:00
James D. Forrester
cebaacb546
Update VE core submodule to master (cdfd84e)
...
New changes:
c02ea46 Clarify documentation of directionality methods
43c9b6f Move initialisation browser support checking from downstream
c89be66 Localisation updates from https://translatewiki.net .
5fb7907 Follow-up c89be66: Fix build for added language 'nan'
fc74fab dm.ElementLinearData.compareElements: Add a few missed test cases
Local changes:
Use initialisation browser support checking from upstream
Depends-On: I27a8e7b4376647f01cee648de987dc3ca6a060d5
Change-Id: I3fc79422ee5e487cf5fae3929fe492f21cd2840a
2016-02-17 20:04:16 -08:00
Translation updater bot
dabeb4218d
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaabe8dd045b2670aeb9fc0164fcb30f682f73b6c
2016-02-17 22:52:14 +01:00
Alex Monk
83d8a7d9bb
Don't remove .ve-activated after successfully activating
...
hideLoading always gets called after activating, not just failing
Follows-up: I13058ae1
Bug: T127184
Change-Id: I47d1892feacbfcf832aa32f689f173601b76c4ba
2016-02-17 15:36:18 +00:00
Translation updater bot
3ec98ab32d
Localisation updates from https://translatewiki.net .
...
Change-Id: I18bd9573f32007ef6a112b035d0bea503d4c581b
2016-02-16 23:13:41 +01:00
jenkins-bot
88c5316f22
Merge "Try to switch into the wikitext editor automatically if there is an error loading VE on action=edit"
2016-02-16 16:56:15 +00:00
Translation updater bot
6c9b6f0fd7
Localisation updates from https://translatewiki.net .
...
Change-Id: I2ac29726abb9a68893926d5ab1e06985b5a81cf9
2016-02-15 21:42:28 +01:00
Željko Filipin
966f2f7bbb
[BrowserTest] Jenkins runs only passing Cucumber scenarios
...
To get at least some Cucumber scenarios running in Jenkins, disable all
of them that are failing and run only ones that are passing.
The next step will be to fix failing scenarios.
Bug: T94162
Change-Id: Id0338c1d6b86d6b45220c5c0802074be397fb607
2016-02-15 13:18:19 +00:00
Translation updater bot
db852aff65
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e66b91d4c39d676e167e5d0cfdc914e44c51fa4
2016-02-14 21:31:45 +01:00
Translation updater bot
747a90ada2
Localisation updates from https://translatewiki.net .
...
Change-Id: If10088f3fc527750ea96bd73d55e8c412d5c1c66
2016-02-13 23:02:29 +01:00
Alex Monk
9a1c0762cb
Try to switch into the wikitext editor automatically if there is an error loading VE on action=edit
...
Bug: T125998
Change-Id: I2982f6e5f26086a1175b9fc8c3039a2143a44659
2016-02-13 02:56:01 +00:00
Alex Monk
1c1d018bc7
Unbreak VE
...
Follow-up to I13058ae1
Change-Id: Icb30f87746bea3911379fca9766877a36e8b5975
2016-02-13 00:58:42 +00:00
Translation updater bot
685bacc990
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibd9a19ca100c3c0d392ec40095601db780d29103
2016-02-12 22:12:14 +01:00
jenkins-bot
bcae181cec
Merge "Try to make MW->VE switching failures break less things"
2016-02-12 17:29:29 +00:00
Translation updater bot
40bbaa9c71
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia32d187a8afac039d4d2fb71a233fc25e0f87039
2016-02-11 21:41:11 +01:00
Alex Monk
4a288a5866
Try to make MW->VE switching failures break less things
...
* Try to hide loading bar on failure
* Don't set wgAction back to 'view' if we're dropping the user back to the
wikitext editor
Bug: T125580
Change-Id: I13058ae131a1dda3b172e78d9b143d70831c47f1
2016-02-11 02:39:06 +00:00
Ed Sanders
af8e23ec6e
Remove code for varying MWLinkInspectorTool title
...
The title is visibly varied in the context menu separately, and
we don't usually change the link tool's title - so this is just
a performance drain (updateState happens a lot).
Change-Id: I9cf2aa509a6aac3a2914fa52167cb4463843cd72
2016-02-11 02:22:16 +00:00
Translation updater bot
35cf5524b3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ide3b91bb90a8fd3c566bd657a13997211d8a345c
2016-02-10 21:11:44 +01:00
jenkins-bot
0611527d77
Merge "Remove translations of messages since moved to Cite/Citoid"
2016-02-10 08:08:51 +00:00
jenkins-bot
4a751524c4
Merge "Edit mode switch: Show popup next to VE switch button"
2016-02-10 01:51:57 +00:00
Ed Sanders
80124c88a6
Edit mode switch: Show popup next to VE switch button
...
Only show if the user came from VE.
Change-Id: Ic362ba534d135fca5516c8ba401f6b2a22886ff1
2016-02-10 01:36:32 +00:00
Alex Monk
863a2c2974
Don't try to tell the server to set preferences to their current values
...
It's rather pointless.
Change-Id: I8065af1d61108ce843c0afd2eaa0f1f9b85b6998
2016-02-10 01:04:47 +00:00
Ed Sanders
e073a431fc
Remove translations of messages since moved to Cite/Citoid
...
Change-Id: I692f03b374ec28ec6d81aab2d2d6fcd7705cedc5
2016-02-10 00:39:18 +00:00
Translation updater bot
829b2cd430
Localisation updates from https://translatewiki.net .
...
Change-Id: I28e88ed6e5da7567693ee2833e501696251deecd
2016-02-09 21:42:50 +01:00
jenkins-bot
d5f6c220d3
Merge "Follow-up I7e1edcf05c: Remove MonoBook z-index hack"
2016-02-09 14:28:16 +00:00
jenkins-bot
1844af1588
Merge "ve.init.mw.trackSubscriber: Sample at 6.25%"
2016-02-09 01:06:23 +00:00
James D. Forrester
a1db489d95
ve.init.mw.trackSubscriber: Sample at 6.25%
...
Bug: T125598
Change-Id: I1915a6456ba5dfc10e4a52df24cee2e68b27e526
2016-02-08 13:22:33 -08:00
Translation updater bot
047517fa22
Localisation updates from https://translatewiki.net .
...
Change-Id: I475a76215ab50328eb2c65d68b2c4be2a5afd6e2
2016-02-08 22:17:32 +01:00
jenkins-bot
e5eb83ff8b
Merge "build: Bump various devDeps to latest and make pass"
2016-02-08 18:18:03 +00:00
Ed Sanders
25be46a57d
Fix transclusion node cloneElement method
...
* Override the static cloneElement. getClonedElement shouldn't
be overridden as doing so misses static invocations.
* Apply the same fix to extension nodes
* Fix DOM loop to reference clone.originalDomElements[ i ]
Logically depends on Id8024c171c to work.
Bug: T126169
Bug: T126114
Change-Id: Icf4d3115db5b12b97a6c805ff3d0b71d9e88b804
2016-02-08 15:29:19 +00:00
jenkins-bot
a996356e12
Merge "MWImageModel: Use clearDefaultDimensions"
2016-02-08 12:52:10 +00:00
Ed Sanders
cfe21d317d
MWImageModel: Use clearDefaultDimensions
...
setDefaultDimensions( {} ) is a no-op.
Bug: T126078
Change-Id: I1ef7cae04574e2561d21d4071d19a0067d81b263
2016-02-08 12:37:26 +00:00
James D. Forrester
e6e492efc6
build: Bump various devDeps to latest and make pass
...
* grunt-contrib-jshint: 0.11.3 -> 0.12.0
This version of the linter cleans up a number of options. 'es5' is now assumed to be
true by default, and replaced as 'esversion'; 'latedef' is extended to also cover
functions' defintions, disabled for us for now; 'futurehostile' is introduced to aid
future-incompatible names for ES6+ support.
I adjusted ve.init.mw.DesktopArticleTarget.init.js based on this, as this file is
meant to be loaded by all JS-capable clients to determine if it is (amongst other
things) capable of ES5, so now we assert ES3 compatibility via jshint.
* grunt-jscs: 2.5.0 -> 2.7.0
Minor version bump that doesn't affect us.
* grunt-jsonlint: 1.0.6 -> 1.0.7
Trivial version bump that doesn't affect us.
Change-Id: Ieb7b6748b0cecf275cfc284fc66617189372461f
2016-02-07 19:41:21 -08:00
jenkins-bot
2b01e43777
Merge "DesktopTarget: Move generic VE desktop styles into a separate module"
2016-02-08 01:59:56 +00:00
Ed Sanders
739f924e98
Follow-up I7e1edcf05c: Remove MonoBook z-index hack
...
The cited reasons were that the the logo and search bar
have a z-index of 3, but that doesn't matter as they are
nested in other elements with z-indexes.
Change-Id: I7ff279efe7c01ba1ffb1fa0d460d59a493ccc47a
2016-02-07 17:40:50 -08:00
Ed Sanders
c51cef07b9
DesktopTarget: Move generic VE desktop styles into a separate module
...
Here they can be re-used by other VE desktop targets,e.g. Flow.
Change-Id: I18431ff73fc1c6ab5639a579e85b0f0cc48cb9ce
2016-02-07 17:39:57 -08:00
Translation updater bot
0138f6a71f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia7c748204f03aa2be7f403846118753c5f174669
2016-02-07 22:22:53 +01:00
jenkins-bot
16c498fa97
Merge "DesktopArticleTarget#editSource: Use actionFactory to create a window with the surface"
2016-02-07 10:30:06 +00:00
Ed Sanders
efd41fbc74
Remove global overlay hack now fixed in Vector
...
Change-Id: Ic5cfb7ae4d244799be56e12b4b0a44b6ddd00303
Depends-On: I5ebb4e59e3714dfaa3d755ecf6285009efe7b62a
2016-02-07 03:26:02 +00:00
Ed Sanders
9bf010c33c
DesktopArticleTarget: Cleanup styles
...
* Use more specific ve-init-mw-desktopArticleTarget class
* Add comments and reorder in places
Change-Id: Ic9291d3e50304fe3a0efa7ace1ce93c7fba91d98
2016-02-06 19:26:06 -08:00
Alex Monk
138fafbbb9
DesktopArticleTarget#editSource: Use actionFactory to create a window with the surface
...
So the normal logic is used to close other windows etc.
Bug: T125479
Change-Id: Iee9ef7484de745f3adced28cdbcc87a0c2b597f5
2016-02-06 02:02:39 +00:00
jenkins-bot
e0de4c4447
Merge "Remove all Extension:Cite code, now moved there"
2016-02-05 22:17:08 +00:00
jenkins-bot
5a360f4cbb
Merge "Remove mwReference tests, moved to Cite extension"
2016-02-05 22:16:24 +00:00
James D. Forrester
1e0486a679
Remove all Extension:Cite code, now moved there
...
Depends-on: I39936ed83d5a60471a0a75da753f498e80aef234
Depends-on: Ifd853bf9f901065798bd0063aeaa786a3761aa71
Depends-on: I32c93c5118eafe5f071252290c58d3de8dacc81a
Change-Id: Iba0f25b3ebe4e5e63377da57afb760d6980f9907
2016-02-05 21:36:56 +00:00
Ed Sanders
094555cb3c
Remove mwReference tests, moved to Cite extension
...
Change-Id: I07a2bf45117c2d14c7b00875c0a710e20980a23a
2016-02-05 21:36:56 +00:00
Translation updater bot
bd848ac4f1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic65af97f6c29c1e0c47317997b18ab064f80a2f5
2016-02-05 21:54:43 +01:00
Translation updater bot
7c07b2706b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibd8991424c15ff9d6700c5103c75aff17aa452d9
2016-02-04 22:18:02 +01:00
Ed Sanders
5864a62134
Default extensions to not use the 'invisible icon'
...
Bug: T125767
Change-Id: I58c58080382974a887ebc52c1ac80cb5970db8c7
2016-02-04 19:38:16 +00:00
Translation updater bot
622ca082ca
Localisation updates from https://translatewiki.net .
...
Change-Id: I29d93111a508e8af12752b6b93dc13d106f01d5f
2016-02-03 23:09:41 +01:00
Translation updater bot
0acd4160f4
Localisation updates from https://translatewiki.net .
...
Change-Id: Id1d12847d0c09993453c889af16266b9bac9d9ee
2016-02-02 21:33:11 +01:00
jenkins-bot
804ab26fb2
Merge "Check xhr.responseText is set before trying to send it to $.byteLength"
2016-02-02 19:08:08 +00:00
Alex Monk
9808d04bfe
Check xhr.responseText is set before trying to send it to $.byteLength
...
Bug: T125399
Change-Id: I09881fe8b6db7d95e32732129d043c4a13fa7a9a
2016-02-02 18:52:56 +00:00
Ed Sanders
98bc5daba1
Use new iconWhenInvisible feature in Transclusion/Extenion nodes
...
Change-Id: Iba55676c06a1cd625187c38c1ae0c9c20b065827
Depends-On: I127bb5d34850cdc545ea3c05d0fc41a8ae1c6dea
2016-02-02 18:07:13 +00:00
Translation updater bot
9ec0705a2b
Localisation updates from https://translatewiki.net .
...
Change-Id: If02911bde5c9cdbaeeaf52a45f4746b1b61b7d16
2016-02-01 21:56:13 +01:00
Ed Sanders
db5ed236dd
Add controls for wikitable and sortable to table dialog
...
Bug: T95189
Depends-On: Ife3f3505b845db28dd29a07e9be1533c39726ce1
Change-Id: I1672d8cd2e138df1fad19dcfd948700942e87f2c
2016-02-01 10:58:42 -08:00
Ed Sanders
74358498da
Update VE core submodule to master (70ff8cc)
...
New changes:
242ab45 DesktopContext: Float the context when it goes beyond the viewport
405c44d Rename TableContext to TableLineContext
6c564be Sort messages alphabetically
70ff8cc Introduce table and table cell context
Change-Id: I4357162bc192c90f99ca0aec12eb67bf848e5504
2016-02-01 10:51:26 -08:00
Ed Sanders
5e296a959b
Sort messages alphabetically
...
Change-Id: I45b440b1b020ea79ab4c1eba78effb526c41ddc4
2016-02-01 17:36:43 +00:00
Translation updater bot
122d76bfbe
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib037f762e584c8b6bc153a469057b362e31393fc
2016-01-31 21:42:24 +01:00
Translation updater bot
1b33f7b912
Localisation updates from https://translatewiki.net .
...
Change-Id: I499a7c36f46bed65f06c881de3df9fdf53e20036
2016-01-30 22:50:35 +01:00
Alex Monk
8cc034b9af
Run VE->WTE modification checks regardless of how the user got into VE
...
I think this fixes a bug similar to the one described in the bug below.
Bug: T124708
Change-Id: I61558227315bec36b71dac281b8da311a3d6bb1a
2016-01-30 03:06:46 +00:00
Translation updater bot
de5f372ac5
Localisation updates from https://translatewiki.net .
...
Change-Id: Idfb5e5fdd92cae124b428c768fd89baa6239541c
2016-01-29 22:43:50 +01:00
Ed Sanders
0ed45dbf61
MWTable: use new sanitization method
...
This prevents tables from getting sanitized even on
VE to VE copy. Also by calling ClassAttributeNode sanitize
extra CSS classes are removed.
Bug: T97462
Bug: T125220
Depends-On: Ia3ce386b2a03bc227818b10423bca72c736c0656
Change-Id: Ifd91e00b40665b446bbdcdf8859d2bb641bc0e67
2016-01-29 10:29:19 -08:00
jenkins-bot
66b0ff5111
Merge "ve.ui.Icons: Remove styles for unused classes .oo-ui-ltr and .oo-ui-rtl"
2016-01-29 17:00:38 +00:00
Translation updater bot
77a11811fb
Localisation updates from https://translatewiki.net .
...
Change-Id: If88cee4c9c766aabdccc4d996d48c0151e5611bb
2016-01-28 21:11:06 +01:00
Bartosz Dziewoński
fb54d03a59
ve.ui.Icons: Remove styles for unused classes .oo-ui-ltr and .oo-ui-rtl
...
Change-Id: Iae61d13a6c776c86bcec6744a2153b14c07722e9
2016-01-28 19:02:38 +01:00
jenkins-bot
e4e7fce00e
Merge "Create a more neutral warning message"
2016-01-28 07:57:33 +00:00
Justin Du
854f0a3692
Create a more neutral warning message
...
Change was made because editing mode is not always left to go to view mode,
but for example also because of clicking on "History".
Bug: T121754
Change-Id: Ibc1ba697081e60b8a797f5ea1b814a320ba812c3
2016-01-28 07:29:09 +00:00
Translation updater bot
e181ca806b
Localisation updates from https://translatewiki.net .
...
Change-Id: I694abc3d49df4ed6b580a10bdc37ba24fc288ac0
2016-01-27 21:46:32 +01:00
jenkins-bot
f78dd8ad72
Merge "MWWelcomeDialog: Let the user switch editors"
2016-01-27 00:20:10 +00:00
James D. Forrester
d8769edd01
MWWelcomeDialog: Let the user switch editors
...
Change-Id: If88942d866278f3012dae7972d464a3d2a6a4f82
2016-01-27 00:14:07 +00:00
jenkins-bot
fc43d61ec5
Merge "MWTargetWidget: Add missing indent commands to blacklists"
2016-01-26 23:53:51 +00:00
Ed Sanders
abb094babd
MWTargetWidget: Add missing indent commands to blacklists
...
Bug: T124619
Change-Id: If2a5d98673db6e2d29fe49f1e7f5307437ba3866
2016-01-26 23:46:12 +00:00
James D. Forrester
2c76dc5b50
MWEditingTabDialog: Use 'small' size
...
Change-Id: Icb30d4fbea21653cf2fb6c782a4314be97a3e0a2
2016-01-26 14:51:55 -08:00
jenkins-bot
75b0a8de63
Merge "Don't try to load VE over the top of the wikitext editor we just switched to"
2016-01-26 17:01:24 +00:00
Alex Monk
589437a772
Don't try to load VE over the top of the wikitext editor we just switched to
...
(if we discarded changes)
Bug: T124316
Change-Id: Ic5e6ee8f4b6e75c3ae877021bcb29733b881e6d2
2016-01-26 16:49:50 +00:00
Alex Monk
d7183d7e64
Check user permissions for viewsource before loading VE on-load on action=edit/submit etc.
...
Clicking 'View source' should probably not cause VE to load
Bug: T124650
Change-Id: I236de38b0f90f1aaa5d04b57cb7759e5951baf2b
2016-01-26 16:47:26 +00:00
Alex Monk
bfa15c44a5
Check user preferences before loading VE on-load on action=edit/submit etc.
...
Bug: T124743
Change-Id: I2e8a19014464a2b7fb76de08676e7cb808e06956
2016-01-26 02:48:27 +00:00
Translation updater bot
71c0473094
Localisation updates from https://translatewiki.net .
...
Change-Id: I159863f04ee8af735dde305b24d8f5cd0a5c8b2b
2016-01-25 22:33:02 +01:00
jenkins-bot
6666bfcaea
Merge "MWTableNode: Mixin ve.ce.ClassAttributeNode"
2016-01-25 20:54:15 +00:00
Ed Sanders
ba0b084813
MWTableNode: Mixin ve.ce.ClassAttributeNode
...
The DM side already had the mixin, the CE side was still using custom
logic that has since been moved to ce.ClassAttributeNode.
This fixes the issue of tables not getting the wikitable class in VE
as it was only applied on attribute change previously, which never happened.
Change-Id: I197347762fc9228034f7664484539e5888722bcf
2016-01-25 16:35:49 +00:00
Translation updater bot
8e5a9e71a9
Localisation updates from https://translatewiki.net .
...
Change-Id: I401186574b88f3c5c810644799b55f2af5740f8c
2016-01-24 21:22:34 +01:00
Translation updater bot
d246540ccf
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie90b5f4eb9a6303d4374b99c98c0dfeb8e595fbc
2016-01-23 22:30:32 +01:00
jenkins-bot
d29524c8b3
Merge "When loading VE from action=edit/submit, replace the title shown"
2016-01-22 20:43:02 +00:00
Alex Monk
38180b5d4d
When loading VE from action=edit/submit, replace the title shown
...
Bug: T117643
Change-Id: Ice21389d02ea10adc668c5b0a64ba2b0b9cf5744
2016-01-22 20:27:01 +00:00
Ed Sanders
b66aa990ba
Follow-up I9714cf3: Add tests for wikitable paste
...
Bug: T85577
Change-Id: I8e2893c9a6f80fafe6cae142e4f50ffbe6d550ac
2016-01-22 20:13:26 +00:00
jenkins-bot
e6c61052a0
Merge "MWTableNode: Apply wikitable class to pasted tables"
2016-01-22 19:10:41 +00:00
Ed Sanders
bf50e2a570
MWTableNode: Apply wikitable class to pasted tables
...
Bug: T85577
Change-Id: I9714cf3e8ccc165f91af939481c845c3ec9c5f6b
2016-01-22 18:43:47 +00:00
Thalia
16330ac05d
Add method for setting minimum number of rows in Ace editor widget
...
Bug: T123891
Change-Id: Ia2e094071f385628449f1935f0250cbeb75196f0
2016-01-22 17:05:35 +00:00
Translation updater bot
b382eced8c
Localisation updates from https://translatewiki.net .
...
Change-Id: Idce091710bdb8936a362df1ce2f000b792b1b286
2016-01-21 21:56:24 +01:00
Translation updater bot
27261322b4
Localisation updates from https://translatewiki.net .
...
Change-Id: I6f9e970a0cb80e33849c67d1a850ce019cdcd76e
2016-01-20 21:09:24 +01:00
jenkins-bot
3bc62ba61d
Merge "SaveDialog: Fix alignment of checkboxes"
2016-01-20 18:36:46 +00:00
Translation updater bot
5b95d6c1e6
Localisation updates from https://translatewiki.net .
...
Change-Id: I5b3ed86498fcc81cb448d056d32b53cb9a15a579
2016-01-19 21:22:21 +01:00
Ed Sanders
74e4450c92
SaveDialog: Fix alignment of checkboxes
...
Change-Id: Ia7718e7cebe7c533a76533dc82bcf93f8da49d15
2016-01-19 16:40:32 +00:00
jenkins-bot
ee70cc5c44
Merge "Single Edit Tab: simplify logic; make 'prefer-wt' just disabled"
2016-01-18 21:28:26 +00:00
Translation updater bot
9b0ba61924
Localisation updates from https://translatewiki.net .
...
Change-Id: I45ba38e70875a2e7783144aa0756f4bc8989c835
2016-01-18 21:38:20 +01:00
James D. Forrester
aa08d34318
Single Edit Tab: simplify logic; make 'prefer-wt' just disabled
...
Change-Id: I090375933656f29636c355c4d2ce358dd7f7f074
2016-01-18 11:23:59 -08:00
James D. Forrester
68ea08cd5e
Drop support for adding prefix/appendix labels to edit tabs/links
...
Depends-On: I264599a1c4f60b37a46d49c808cf271ba0a8f882
Change-Id: Icebc378f5c00aac57ad361f8ba85da93b8178650
2016-01-18 03:06:33 +00:00
Translation updater bot
f0b2ce2ded
Localisation updates from https://translatewiki.net .
...
Change-Id: If3cb31818a635b6f5b4ac4796fced777f5517dd0
2016-01-17 22:35:39 +01:00
Translation updater bot
81a33e1ddc
Localisation updates from https://translatewiki.net .
...
Change-Id: If2e5f3a07d289d3575ada8cc712b80ed11e2f532
2016-01-16 21:59:41 +01:00
Translation updater bot
5a8b1c294e
Localisation updates from https://translatewiki.net .
...
Change-Id: I1653aca5124b19dbd879d82196ec381070ccce13
2016-01-14 22:26:26 +01:00
Translation updater bot
6606c25902
Localisation updates from https://translatewiki.net .
...
Change-Id: I913124a4a85545e9abc179a225ec3ee5746bda11
2016-01-13 23:32:14 +01:00
Translation updater bot
cec85b9e3c
Localisation updates from https://translatewiki.net .
...
Change-Id: I76a506a5fb58dee87fd3459d557b29190ad7e777
2016-01-12 22:49:13 +01:00
Translation updater bot
c37fbf1f70
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie52c778d1291121d3d78dcae9ae8a5d23d5c27b8
2016-01-11 22:55:11 +01:00
Translation updater bot
946163d758
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib5d617cc8a22b6c5e5248c3a374d10d08cd3434f
2016-01-10 23:15:09 +01:00
Translation updater bot
f26501b4f6
Localisation updates from https://translatewiki.net .
...
Change-Id: I6c324c98c20cc8d4b7b1b51f7eec5b5a608eee2b
2016-01-08 22:22:26 +01:00
Translation updater bot
d1386ae5b8
Localisation updates from https://translatewiki.net .
...
Change-Id: Icf5edd18f9fa08c0ff63808c750b2f64698066bf
2016-01-07 23:39:13 +01:00
jenkins-bot
7a39be3798
Merge "Stop using broken image links in tests"
2016-01-07 01:21:25 +00:00
David Lynch
3cffb489bb
Stop using broken image links in tests
...
They make it a little bit more cluttered to hunt down problems when
testing. So, use the minimum image instead of just "Foo" or similar.
Bug: T121636
Change-Id: I3209c377ad870f669cac7d40d991968cff52c39e
2016-01-06 17:11:38 -08:00
Dan Duvall
96677fb74a
[BrowserTest] Experimenting with JS object references
...
References to JS objects for VE elements can determined by referencing
the VE and OOUI API documentation[1][2] and interrogating the objects in
a browser console. Errors should be closer to what developers understand
but testers should pair with developers to better understand how to
define new page elements and where to go for documentation/help.
The VE entrypoint for the singleton reference is `ve.init.target` (if
there's only one instance of VE target; there may be multiple in some
cases like Flow).
[1] https://doc.wikimedia.org/VisualEditor/master/
[2] https://doc.wikimedia.org/oojs-ui/master/js/
Change-Id: I1f642807cdd3059d8e7e885a8b239ac01b9b3024
2016-01-06 17:07:35 -08:00
Translation updater bot
739b4c796d
Localisation updates from https://translatewiki.net .
...
Change-Id: I406227f147f21b4deed2a5a6e9f556e84cd32a65
2016-01-06 21:56:55 +01:00
Translation updater bot
94126edb04
Localisation updates from https://translatewiki.net .
...
Change-Id: I1d7295d5aee0dd72a7469c6467b12177187988dc
2016-01-05 22:31:09 +01:00
Translation updater bot
b3a11a9325
Localisation updates from https://translatewiki.net .
...
Change-Id: I79bdcd360cf4c879b8344f75af927fdfac89dcd2
2016-01-04 22:38:41 +01:00
jenkins-bot
3591a0e63d
Merge "Education popups: Only show for DesktopArticleTarget"
2016-01-04 20:00:58 +00:00
Ed Sanders
e7ee5c20c6
Education popups: Only show for DesktopArticleTarget
...
For now they are not well supported by other targets
(e.g. Flow and Mobile).
Change-Id: Ibd1f3c8994611661b52c0cf36438b41f623b9451
2016-01-04 10:43:43 -08:00
James D. Forrester
ada58df361
build: Bump file copyright notices for 2016
...
Change-Id: I3c618c196e504a80ca297a4132a17f1977a24fb7
2016-01-03 14:57:25 -08:00
jenkins-bot
e59e36e225
Merge "Refactor MediaResources(Provider/Queue)"
2016-01-03 22:55:39 +00:00
James D. Forrester
4a781a3a16
EditingTabDialog: Shorten the copy to make snappier, drop 'Edit' tab name
...
Change-Id: Idd5f373d9fef364318efddcc98ea2de5e91860a8
2016-01-03 13:44:54 -08:00
Translation updater bot
93b4a43b18
Localisation updates from https://translatewiki.net .
...
Change-Id: I26cf69fe5f4593ca22c9a170fd16fb02549b187e
2016-01-03 21:45:19 +01:00
Alex Monk
85bb085418
DesktopArticleTarget: Preserve oldid when switching from WTE into VE
...
Change-Id: I8682a2a2b90ae2e42f1a8e01e16d0f9f3d66a2d5
2016-01-03 10:59:21 -08:00
jenkins-bot
26e3c0ad1d
Merge "Preserve oldid when switching from VE into WTE"
2016-01-03 06:35:58 +00:00
Translation updater bot
f80e0c7482
Localisation updates from https://translatewiki.net .
...
Change-Id: I58460ed4632db989f00464d0401a7bba5cd072da
2016-01-01 20:07:11 +01:00
Translation updater bot
f1df0e0df4
Localisation updates from https://translatewiki.net .
...
Change-Id: I88a173f67541d0a5d1c8628e81871cbfce6db393
2015-12-30 21:46:23 +01:00
Željko Filipin
2cfaa9528c
[BrowserTest] Update mediawiki_selenium Ruby gem to the latest version
...
Bug: T114241
Change-Id: Ic6cf69516a1e36173fbbf6b86494e845721a19d0
2015-12-30 11:46:23 +00:00
Translation updater bot
8eca31d729
Localisation updates from https://translatewiki.net .
...
Change-Id: I8c80187c5efb9b45b2a0df338a778a6074d467ac
2015-12-28 21:05:28 +01:00
Translation updater bot
7dcba8dbf4
Localisation updates from https://translatewiki.net .
...
Change-Id: I03f05bd052a77b75d731994fb8b247d21dff1077
2015-12-27 20:38:22 +01:00
Translation updater bot
ac555fd695
Localisation updates from https://translatewiki.net .
...
Change-Id: If3e7e7050a93934732703d239b76c3b7c31069cb
2015-12-26 21:12:39 +01:00
Translation updater bot
97dd3ee12d
Localisation updates from https://translatewiki.net .
...
Change-Id: I491b5cdaa05e954fffc5c11e6db6e12629064893
2015-12-25 21:55:54 +01:00
jenkins-bot
3231220774
Merge "SET: Don't try to do any client-side section link magic if we're not supposed to."
2015-12-23 23:18:57 +00:00
Alex Monk
76cb69ecec
SET: Don't try to do any client-side section link magic if we're not supposed to.
...
Ugh.
Bug: T121599
Change-Id: I47a93d5dbedc5ae989a2973fb793ac99edfb139a
2015-12-23 22:10:20 +00:00
Translation updater bot
fa66daef6c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie2040e33f23c85fc0f6a2a66773c67c30aa6ac83
2015-12-23 22:08:06 +01:00
Ed Sanders
2afd7c903d
DesktopArticleTarget: Improve teardown sequence
...
* Ensure activating classes are removed by rejecting activatedDeferred
as soon as teardown starts.
* Try to teardown surfaces is surfaces exist, not just if the target is active.
* Remove noop teardownDebugBar. The debugbar lives inside the surface now.
* Ensure progress bar is always reset, even if target setup is aborted.
Bug: T99139
Change-Id: I16a071c0d4bc8bbc6af2e03e63ee0ffc18d55c75
2015-12-23 12:13:50 +00:00
Translation updater bot
9cc9b8f1a1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia72cf64c778cf9ab82f24700ec90e404bd0f9432
2015-12-22 22:12:49 +01:00
Ed Sanders
93f0e8b30c
Refactor MediaResources(Provider/Queue)
...
Create a subclass for MediaSearch(Provider/Queue) and make the parent
class a more generic representation of API requests for media.
Change-Id: Iea8b90e829d532d210bfef3c96d6798c64e15eed
2015-12-22 14:00:10 +00:00
Translation updater bot
dd85041a29
Localisation updates from https://translatewiki.net .
...
Change-Id: I66a72ca80277579be5674cbeb0794a70c7093345
2015-12-21 22:07:16 +01:00
Translation updater bot
39d762e844
Localisation updates from https://translatewiki.net .
...
Change-Id: I9de2feb735f9c722d941e7fdac53f4ee241ad9ad
2015-12-20 22:36:27 +01:00
jenkins-bot
7c1660c933
Merge "Make Ace Editor adjustSize method chainable"
2015-12-20 12:56:03 +00:00
jenkins-bot
7da9dc409f
Merge "ReferenceEducationPopup: Don't flip the numbers in the RTL image"
2015-12-19 15:06:24 +00:00
Florian
5627701cb1
Fix inheritance of ve.ui.MWTransclusionDialogTool
...
From the description of the commit message[1] for WindowTool and
FragmentWindowTool, the ve.ui.MWTransclusionDialogTool should be
a FragmentWindowTool, and not a WindowTool.
In fact, the bug is caused by the missing isCompatibleWith method
in WindowTool.
[1] I3a0e761f0d6e942d503ec
Follow up: I676af9c50b09ef007926240eb2327d1a0fdd80f5
Bug: T121596
Change-Id: I9a47e5d67fcd7a94155b7cf77c734c94b0ed69e1
2015-12-19 11:52:44 +00:00
Thalia
f8fbbdf66d
Make Ace Editor adjustSize method chainable
...
Change-Id: I48307bd9184bb238a553d178c0d66084244e9ebf
2015-12-19 10:57:04 +00:00
Translation updater bot
c747c06759
Localisation updates from https://translatewiki.net .
...
Change-Id: I6ee493d00d8fd9ad8ea4fc4efbf7513be9765d07
2015-12-18 23:39:12 +01:00
Alex Monk
c10236cc58
Preserve oldid when switching from VE into WTE
...
Bug: T120898
Change-Id: I51774fd7ca5be7373d8aec55cb420a874bc7d531
2015-12-18 00:47:03 +00:00
Translation updater bot
a9637adf2d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic62f7e83d426f1e5872cd0597d54458d851490ad
2015-12-17 22:46:49 +01:00
Translation updater bot
4e2d06605e
Localisation updates from https://translatewiki.net .
...
Change-Id: If7ed2349bec27df44a387cfca605de7e1f75873d
2015-12-16 22:37:19 +01:00
jenkins-bot
607878e2ba
Merge "MWTarget: Only add ve-init-mw-target-surface to the main target surface"
2015-12-16 20:06:33 +00:00
jenkins-bot
6b7fc00f68
Merge "DesktopArticleTarget: Change tab text on server side when possible"
2015-12-16 19:51:03 +00:00
Ed Sanders
a689caa762
MWTarget: Only add ve-init-mw-target-surface to the main target surface
...
Avoid adding it to TargetWidget surfaces.
Bug: T121450
Change-Id: I7c43b07c5bade3a778ad423e39b25616e03aa888
2015-12-16 14:36:06 +00:00
jenkins-bot
46c2cafdf6
Merge "ExtensionPreviewDialog: Use a deep copy when preparing sub-doc for editing"
2015-12-16 06:44:45 +00:00
Translation updater bot
b02b68626a
Localisation updates from https://translatewiki.net .
...
Change-Id: I2bcafc960dedf619d0c81163a7a75253b377a79d
2015-12-15 22:25:56 +01:00
Alex Monk
c99a5b627e
DesktopArticleTarget: Change tab text on server side when possible
...
Usually. Unless you load VE, because then you might be loading on
`action=edit` in remember-last mode and therefore the tab text needs to
be updated from "Edit source" to "Edit". Or "Create source" to "Create".
Or the equivalent with 'local description' in the case of pages from
foreign file repos, etc.
Bug: T120970
Change-Id: I8f07be6c8e415b40ad134ee82d0bda1d63cc4f96
2015-12-15 10:49:45 -08:00
Alex Monk
76a12f2f9b
Try to actually resolve visualeditor-editor preference setting when switching editors
...
Seems we need to make sure this returns before navigating to the target page.
This reverts commit 40807a0743
.
Bug: T121122
Change-Id: I4edf03bc0d57b03897d9f1802eabd8f0dd9962b9
2015-12-15 17:35:22 +00:00
Ed Sanders
f87d92a167
ExtensionPreviewDialog: Use a deep copy when preparing sub-doc for editing
...
Otherwise temporary changes to the previewNode will pollute the original
doc's model tree.
Bug: T121488
Change-Id: I6a6b3d904061b0ce6e0c513ad424aabc3c4472b5
2015-12-15 14:40:07 +00:00
jenkins-bot
b08c8bd682
Merge "Fix up "Simplify some SET logic""
2015-12-15 02:56:45 +00:00
Alex Monk
39af893c75
Fix up "Simplify some SET logic"
...
By 'simplifying', I broke stuff.
This reverts commit b7227f96fe
.
Change-Id: I46fdcf336f556680fa72df0893447b6850cc4b1d
2015-12-15 02:50:15 +00:00
jenkins-bot
d3d851f394
Merge "Simplify some SET logic"
2015-12-14 21:17:15 +00:00
Alex Monk
b7227f96fe
Simplify some SET logic
...
Change-Id: Ie89260607f0253dd7d749af7426702985a0340f4
2015-12-14 21:11:15 +00:00
Translation updater bot
0200bbf328
Localisation updates from https://translatewiki.net .
...
Change-Id: I43deefad46e60797eda66e10c37eed67a61c141b
2015-12-14 22:06:23 +01:00
jenkins-bot
33cbf199f1
Merge "Revert "DesktopArticleTarget: Don't abort in SET mode if veswitched is set""
2015-12-14 20:53:28 +00:00
Jforrester
40807a0743
Revert "DesktopArticleTarget: Don't abort in SET mode if veswitched is set"
...
This reverts commit 5b083a7272
.
Change-Id: Ieac905b80ea219075b4de498d645f22c3e86c5ca
2015-12-14 20:46:08 +00:00
Bartosz Dziewoński
ca81362afd
ve.ui.MWMediaDialog: Make the dialog higher (600px)
...
Avoids a scrollbar for option 4 of the A/B test from T120867.
Change-Id: I3eacb560117219febd6e08066599e2d4d42df219
2015-12-14 20:53:32 +01:00
jenkins-bot
d750417545
Merge "Take pageCanLoadVE into account when figuring out whether VE will load in-page or not"
2015-12-14 17:14:41 +00:00
jenkins-bot
04d8089db6
Merge "Fix setEditorPreference call"
2015-12-14 17:08:42 +00:00
Alex Monk
774034b553
Take pageCanLoadVE into account when figuring out whether VE will load in-page or not
...
Bug: T121342
Change-Id: I84ade6e2ab062597fbfd859a90a864c7607547da
2015-12-14 16:58:26 +00:00
Alex Monk
a3148a1559
Fix setEditorPreference call
...
Added brokenly in I82e39752
Bug: T121343
Change-Id: Ie7b228e94458b17d6ec7c23be264144dec9563be
2015-12-14 16:49:28 +00:00
jenkins-bot
51d493918b
Merge "DesktopArticleTarget: Don't abort in SET mode if veswitched is set"
2015-12-14 16:46:02 +00:00
jenkins-bot
648457ca4c
Merge "Switch numbered link context to "delete" instead of "clear""
2015-12-14 01:19:22 +00:00
Translation updater bot
a6bab3aeff
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b6d4fa66a9a18160d5143de1ed1c6e783bd0ed3
2015-12-13 22:24:39 +01:00
James D. Forrester
5b083a7272
DesktopArticleTarget: Don't abort in SET mode if veswitched is set
...
Bug: T121122
Change-Id: I6dca85361be0c1c1c0d39b12b167af813706ae0b
2015-12-11 18:15:25 -08:00
James D. Forrester
2368171fb7
DesktopArticleTarget: Consolidate editor preference setting code
...
Change-Id: I82e3975233eee0473b513d0931a2d6770fc0f86d
2015-12-11 17:12:28 -08:00
Alex Monk
0774bdf924
Try to clean up the WT->VE prompt opened -> closing -> closed data callbacks
...
To use
.then( function ( opened ) { return opened; } )
.then( function ( closing ) { return closing; } )
.then( function ( data ) {
etc. instead of nesting them in .done functions
Change-Id: Ic8cee9639b90cb378ce0b7e58dc04eab0ff4cbc7
2015-12-11 23:43:13 +00:00
Alex Monk
155d0240a4
Remember switching into VE from WT when discarding changes
...
Bug: T120966
Change-Id: I9a7b87cb2561416b72f53afa5140e9d2a4330cfe
2015-12-11 23:35:59 +00:00
Alex Monk
9e5a01aa6b
Check that we really want VE before loading it for section edits
...
Bug: T121189
Change-Id: I34371bf78d34e9d362e9cf5c64bdd108478969b9
2015-12-11 23:19:07 +00:00
Translation updater bot
e71f1d67d6
Localisation updates from https://translatewiki.net .
...
Change-Id: Ife97e1435802802dfeb7754fcea6874433bc6b0d
2015-12-11 23:56:38 +01:00
jenkins-bot
e24e2ed7cf
Merge "[BREAKING CHANGE] Create ve.init.mw.Target base class"
2015-12-11 18:16:22 +00:00
jenkins-bot
2e6719c0d7
Merge "Use upstreamed actionGroups functionality"
2015-12-11 18:09:50 +00:00
Ed Sanders
aa2e0af348
Update VE core submodule to master (19e50b7)
...
New changes:
e536779 [DEPRECATING CHANGE] Rename link inspector tools
3899967 Localisation updates from https://translatewiki.net .
0a1c09e [BREAKING CHANGE] ve.init.Target: Upstream the action toolbar from sa/mw desktop targets
Local changes:
* Refactor tools for the breaking change
Change-Id: I676af9c50b09ef007926240eb2327d1a0fdd80f5
2015-12-11 10:03:02 -08:00
Ed Sanders
fbb05fb8ed
Use upstreamed actionGroups functionality
...
Depends on I272175dff3 in ve core.
Change-Id: I94cef0f3d8c1b903780890934c2c4963cbe05989
2015-12-11 16:43:48 +00:00
Ed Sanders
21d5856000
[BREAKING CHANGE] Create ve.init.mw.Target base class
...
Move over logic which isn't specific to the article
implementation of VE (e.g. nothing related to loading/saving).
Refactors setupSurface to use an abstract tracking method (which
does nothing by default), and moves surface CSS classes to #createSurface.
Breaking change:
* Rename onSurfaceReady to surfaceReady. We shouldn't need to listen
to our own events.
* Rename onReady to documentReady. onReady is not a listener.
Bug: T97166
Change-Id: I7242b1bb5501b7755a18a13d13e166c30cac9cdd
2015-12-11 16:41:47 +00:00
Ed Sanders
672c91f41b
DesktopArticleTarget: Fix signature of editNotices
...
Also ensure it is always an array.
Change-Id: I8498463d3131817b90fa91404289c839110bdeaa
2015-12-11 16:41:47 +00:00
Alex Monk
98a456b189
Single edit tab: Fall back to the wikitext editor when certain parameters show up
...
We can't handle these yet. There's also 'preview' but I think we probably
qualify as supporting that.
Bug: T121126
Change-Id: I4602992a77f460b9bfcbad0eac1bdd79d67df04d
2015-12-10 23:13:25 +00:00
jenkins-bot
69778a65e5
Merge "Let the feedback tool be configured for a remote wiki"
2015-12-10 22:04:23 +00:00
Translation updater bot
46b901e640
Merge "Localisation updates from https://translatewiki.net ."
2015-12-10 22:02:32 +00:00
Translation updater bot
536ff00e5a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ide641aaf9ffec8558271116f9a3a29c1307ed588
2015-12-10 23:01:35 +01:00
jenkins-bot
3db4f22ecf
Merge "MWSaveDialog: De-flag the 'return to save' button on diffs"
2015-12-10 21:51:01 +00:00
James D. Forrester
705199753c
Let the feedback tool be configured for a remote wiki
...
Bug: T92661
Change-Id: Id48729c89db208714f67fec1eabafe577a834b51
2015-12-10 12:12:59 -08:00
Ed Sanders
29f33a57d5
Rename mw.Target to mw.ArticleTarget
...
This makes way for a base mw.Target class which is
not specific to articles (e.g. Flow boards).
Bug: T97166
Change-Id: If72650bdf87aa9f195b004da0a4d815f1a8063a3
2015-12-10 16:26:20 +00:00
Alex Monk
128901866a
Don't check editor preferences etc. if user wants veaction=edit
...
Bug: T120978
Change-Id: I39e28c80440260959b7f1c25b82a057c21de43be
2015-12-09 23:04:02 +00:00
jenkins-bot
212300af1f
Merge "Avoid useless jQuery.click shortcut"
2015-12-09 22:18:12 +00:00
Translation updater bot
d08da2d62f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibbc339a27888a391c6c40ced26c154cabb29acf7
2015-12-09 21:43:17 +01:00
David Lynch
e9fbb38818
Switch numbered link context to "delete" instead of "clear"
...
Bug: T120705
Change-Id: I305a0469df8ca3fd75bcd371cf9b9f8894c09f7e
2015-12-09 12:42:20 -06:00
Ed Sanders
e7ccc77000
Edit mode switching: Tell VE if the wikitext was modified
...
Currently we assume that any document state from WE is modified
but that is not necessarily the case.
Change-Id: I085825152528ae5a5e973e8b44f68cb07ee92416
2015-12-09 17:44:43 +00:00
Ed Sanders
e9250d87fd
Avoid useless jQuery.click shortcut
...
Why have one event API when you can have ten...
Change-Id: I645cbeb4e486aba9e734ba47d2e7c3958a694f19
2015-12-09 17:34:00 +00:00
jenkins-bot
a9894809f6
Merge "DesktopArticleTarget: Handle section edit link clicks in single edit tab mode"
2015-12-09 17:16:12 +00:00
Alex Monk
b877e16723
DesktopArticleTarget: Handle section edit link clicks in single edit tab mode
...
Bug: T58337
Change-Id: Ic4c19cdfc3cfcf33604d0c4e7780b45967cdf57d
2015-12-09 09:08:46 -08:00