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
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