Ed Sanders
3f47aec20b
Use preferred number casting method
...
Change-Id: I77215f2bdb6eb055375e5b803d23b6f26df2d8d1
2016-12-29 20:33:15 +00:00
Alex Monk
4af862e6d3
Also allow opening in source mode if VE is unavailable on action=edit
...
Bug: T153508
Change-Id: I5678d3b417c93707edc90bbb76ce4dafcd2098c6
2016-12-29 20:32:58 +00:00
Ed Sanders
c963b73e71
Factor out preferred editor check
...
Change-Id: Ic2e2e2e1d24dba8854315dff068ea9ce5d409c5a
2016-12-29 20:17:55 +00:00
Ed Sanders
7de023caee
Allow switching between 'edit source' and 'add topic'
...
Also between section editing and full page editing
by clicking on 'edit source'.
Change-Id: I9165a7ad4ac2a588a09532c7181ba72b6fd2f811
2016-12-29 15:48:38 +00:00
Translation updater bot
2217913182
Localisation updates from https://translatewiki.net .
...
Change-Id: If99a57be3026afdfd71533ff227649069c092674
2016-12-29 10:25:31 +01:00
jenkins-bot
927856aff3
Merge "Use mw.Message#parseDom where appropriate"
2016-12-28 21:40:18 +00:00
Ed Sanders
c625398b78
Use the monospace hack consistently
...
Change-Id: I6b223e5f0760902c1f34fa5a284703055c763234
2016-12-28 13:36:14 +00:00
Translation updater bot
786f354ec5
Localisation updates from https://translatewiki.net .
...
Change-Id: I6a6785f8b9a0f0448a0f0e0af11dcebf2ab9ec3b
2016-12-28 10:57:13 +01:00
Bartosz Dziewoński
a811168c2a
ve.ui.MWParameterPage: Restructure constructor to reduce needless work
...
We were constructing a lot of widgets, and never using them all
(they were forever hidden or not even appended to DOM). For large
transclusions this was causing a noticeable performance hit.
I don't think this quite resolves T134814, but it should improve the
situation.
* this.rawFallbackButton is now constructed and appended only when needed.
* this.removeButton is now constructed and appended only when needed.
* this.infoButton can now be a PopupButtonWidget or a disabled ButtonWidget.
Bug: T134814
Change-Id: I2ea00a88a1ea22b73b0c6d10334a94f45734ec3b
2016-12-27 23:54:49 +00:00
Bartosz Dziewoński
e0c97ab2f0
ve.ui.MWParameterPage: Hide the "Fall back to plain wikitext" button when in wikitext
...
We were trying to hide it by detaching, which did not work because it
was getting attached again in later code. Clicking the button just did
nothing.
Change-Id: I027550eb723c43dc85453959159b93e6e802e099
2016-12-27 23:54:42 +00:00
Bartosz Dziewoński
90ff82a035
Use mw.Message#parseDom where appropriate
...
Avoid turning DOM into HTML markup and parsing it back into DOM.
Change-Id: I34f56ee60b836a7e0556130a153fc95adb4f3467
2016-12-27 23:54:12 +00:00
Ed Sanders
827d4185c4
Move translate extension hack up to 'isAvailable'
...
All modes of VE should be disabled on these pages.
Bug: T153445
Change-Id: I5adfae940ee35c5ee6712e620a0ddda967a542ad
2016-12-27 13:56:10 +00:00
Translation updater bot
f5b1a5bb18
Localisation updates from https://translatewiki.net .
...
Change-Id: I1c8e16e199bbef502b296802acbb3cc15ee417be
2016-12-26 22:42:30 +01:00
Translation updater bot
2ea87fcaf3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia3b0f68931e0894aa10d2992f90dc8703f8712cb
2016-12-25 22:20:41 +01:00
Translation updater bot
d87a54a31b
Localisation updates from https://translatewiki.net .
...
Change-Id: I21a43826c79cf6d234fb003f3f20c254758380fd
2016-12-24 22:41:04 +01:00
Alex Monk
4c061de2e0
Fix MWInternalLinkAnnotation.getTargetDataFromHref's behaviour with URLs containing query parts
...
ve.dm.MWInternalLinkAnnotation.static.getTargetDataFromHref(
'http://mediawiki.krenair.dev/mediawiki_dev/wiki/Main_Page?veaction=editsource ',
ve.init.target.surface.model.documentModel.htmlDocument
)
Wrong, current result:
Object {
title: "Main Page?veaction=editsource",
rawTitle: "Main_Page?veaction=editsource",
hrefPrefix: "",
isInternal: true
}
New result:
Object {
title: "http://mediawiki.krenair.dev/mediawiki dev/wiki/Main Page?veaction=editsource",
rawTitle: "http://mediawiki.krenair.dev/mediawiki_dev/wiki/Main_Page?veaction=editsource ",
hrefPrefix: "",
isInternal: false
}
Change-Id: I3d6d7fcfeb0d8354623026c831605c7633c3e11a
2016-12-24 20:12:44 +01:00
Alex Monk
d7cf29f1c0
rm stray fileRepoPromise property from media dialog
...
seems to have gone upstream to core's mw.widgets.APIResultsQueue
Change-Id: I3c2a6dbdca60ceadc9e7175e5f8ad83b7fc4b7a0
2016-12-24 18:59:48 +01:00
Translation updater bot
55a9cf5208
Localisation updates from https://translatewiki.net .
...
Change-Id: I39a587eeb157951e8f848cda002f9a46b77d162a
2016-12-23 22:34:34 +01:00
Ed Sanders
7611ee5a2c
Register shortcuts for minoredit/watchlist
...
Bug: T153925
Change-Id: I3f569a75a66e816d0a5c4ad966344100510a4f2b
2016-12-23 13:36:48 +00:00
Translation updater bot
2dc86af85a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic57783cd0222ba31b3c343881a4a4732ad7d0404
2016-12-22 23:00:45 +01:00
jenkins-bot
d5f66e4fe9
Merge "Preserve checkbox data when switching from VE to NWE"
2016-12-22 12:37:37 +00:00
jenkins-bot
50da8d8ab9
Merge "Add comments in some places where we really want to treat messages as HTML"
2016-12-22 00:32:23 +00:00
Ed Sanders
aee5e665f1
Preserve checkbox data when switching from VE to NWE
...
Bug: T153889
Change-Id: Ifc41ea9320c9f2627efff6f33d4ad87c59fad496
2016-12-21 22:35:52 +00:00
Alex Monk
101b0ff45c
Don't try to JSON stringify load error messages that are already strings
...
Change-Id: Ib180c3ac7eb62d351e05153defd6330c3397c478
2016-12-21 04:00:05 +01:00
jenkins-bot
8497b06287
Merge "ve.init.MWWelcomeDialog: Don't treat text messages as HTML"
2016-12-21 02:49:09 +00:00
jenkins-bot
d1b243e660
Merge "Ensure document base is always correct, even in source mode"
2016-12-20 18:51:23 +00:00
jenkins-bot
477f892423
Merge "Change wikitext link inspector name to avoid conflict"
2016-12-20 13:44:36 +00:00
jenkins-bot
ced46300cb
Merge "MWTemplatePage: Show a link to the template even when there's a description"
2016-12-20 11:04:24 +00:00
Bartosz Dziewoński
72569159b8
Add comments in some places where we really want to treat messages as HTML
...
Change-Id: I439338dabd4b031ed1c4cfc9d89af5a6f2971676
2016-12-20 10:50:15 +00:00
Bartosz Dziewoński
dc3bae7d36
ve.init.MWWelcomeDialog: Don't treat text messages as HTML
...
This appears to be unintentional. The messages don't have any markup.
Change-Id: I6f6570c5ef90e4a06ead1a23f6f851021a77c234
2016-12-20 10:50:10 +00:00
Translation updater bot
f6ba11dec9
Localisation updates from https://translatewiki.net .
...
Change-Id: I7601c2c303782796f9ca3090f0798b9e354baffa
2016-12-19 22:50:11 +01:00
Ed Sanders
46385a557e
Ensure document base is always correct, even in source mode
...
Bug: T153624
Change-Id: I3f74f67ce975f5b371ab42adf5213256ae816f7f
2016-12-19 21:08:58 +00:00
Ed Sanders
323050467f
Change wikitext link inspector name to avoid conflict
...
This was causing the VE link inspector to fail badly if
NWE was enabled.
Bug: T153668
Change-Id: Ie665715a5f5401e59fc6468b81a4122ca5ebd5a3
2016-12-19 12:03:58 +00:00
James D. Forrester
d576fac49f
MWTemplatePage: Show a link to the template even when there's a description
...
Bug: T51772
Change-Id: Ia7084dc7dd4e4c092c0d24b123da19721dca54a9
2016-12-18 21:56:12 +00:00
Translation updater bot
4a1cd55503
Localisation updates from https://translatewiki.net .
...
Change-Id: I19262ad5964b36fc84551c68ede397705980d44a
2016-12-18 22:18:37 +01:00
Translation updater bot
56ba9a9839
Localisation updates from https://translatewiki.net .
...
Change-Id: I8f757626dd2ed47aa772ee5c19e4bec5fe72a8c5
2016-12-17 22:25:49 +01:00
Translation updater bot
7a8b171d01
Localisation updates from https://translatewiki.net .
...
Change-Id: I04e37ca08cc134ce68b667deda2fd101d62f6eb6
2016-12-16 22:18:10 +01:00
jenkins-bot
2f790bb7a8
Merge "Show HTTP status alongside 'Unknown error' when it's not 200"
2016-12-16 18:51:57 +00:00
jenkins-bot
57d49550a0
Merge "Add shortcut for show preview and resolve access key conflicts"
2016-12-16 18:14:17 +00:00
Ed Sanders
4d134cfefc
Add shortcut for show preview and resolve access key conflicts
...
Refactor save dialog setup so logic for canPreview/canReview
is external and passed in.
'Show preview' will show in the VE command help dialog until
I56c1036e6 is merged in core.
Bug: T149914
Change-Id: Id718ad622be43c03df61d12b8688d53462c59f36
2016-12-16 13:33:57 +00:00
Alex Monk
a9feb8869c
Show HTTP status alongside 'Unknown error' when it's not 200
...
Change-Id: If14dc14f2cc43a1f12c1314342d5028ec524c31e
2016-12-16 11:28:38 +00:00
Alex Monk
96b8d35bff
Wrap localStorage.getItem calls in try { ... } catch () {}
...
Bug: T153291
Change-Id: Ic4f8c390bfe6936bd182b28b1f2c6d19bf459eba
2016-12-15 23:08:30 +00:00
Translation updater bot
c8995a6a88
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifc8297cbb54b183ee024b085006f0f7e69fb473a
2016-12-15 23:20:22 +01:00
jenkins-bot
ee2cb3048d
Merge "DesktopArticleTarget: Generate the original page title if needed"
2016-12-15 16:50:47 +00:00
jenkins-bot
552e21b74b
Merge "Properly clear this.section when switching from VE"
2016-12-15 04:18:37 +00:00
Ed Sanders
9728d78126
Resolve URLs in show preview against correct base
...
Bug: T153277
Change-Id: Icaa6de4618de008fb2024d1dd428114688cb1043
2016-12-15 03:19:16 +00:00
Ed Sanders
17a164363b
Properly clear this.section when switching from VE
...
Bug: T153276
Change-Id: Idc251c73c03bf87b6e6ca716be98b38d4fb68c5e
2016-12-15 01:34:30 +00:00
Ed Sanders
c92418e4da
Fix wikitext handling of DataTransferHandlers when IVStore is used
...
Bug: T153269
Change-Id: Ida6ffffac6e6a65784dc84a388d3702680a79db9
2016-12-14 22:56:18 +00:00
Ed Sanders
1b726dc9bc
Fix DataTransferHandlers when loading source editor directly (no etag)
...
Bug: T153268
Change-Id: I0b43fd651e26c3d74a5f29e8ed80e5dee28ac399
2016-12-14 22:56:00 +00:00
jenkins-bot
9c448dd827
Merge "Use deep clone for empty convertFromSource"
2016-12-14 22:27:19 +00:00
Ed Sanders
854256bb8e
Use deep clone for empty convertFromSource
...
Bug: T153254
Change-Id: I0dc6be0d20020e3fb385c9d065f9395dbda5a6b6
2016-12-14 22:09:25 +00:00
jenkins-bot
5042fe3360
Merge "Extra section title for edit summary in source mode"
2016-12-14 21:51:02 +00:00
Translation updater bot
01d75a2e86
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifdb762bec4c05e58c37ad9fc28b39ceee00d535d
2016-12-14 22:27:17 +01:00
Ed Sanders
61c7cc4a95
Extra section title for edit summary in source mode
...
Bug: T153245
Change-Id: I3b3465f269831152fd7a820027f44bfaada067a8
2016-12-14 21:22:10 +00:00
James D. Forrester
ccbf20496b
i18n: Point to a better page for NWE feedback
...
Change-Id: I43db0b4dcab051aa17f4ad033628aad770738c60
2016-12-14 19:38:58 +00:00
Ed Sanders
856d480f7d
Follow-up Ic1f1de26: Fix typo in edit tab selector
...
Change-Id: I0ac685f1d942a7d40c6926b8ae8d751db04e1474
2016-12-14 17:35:09 +00:00
jenkins-bot
593474912f
Merge "Fix logic for create accesskey=v, and bind to onEditTabClick"
2016-12-14 01:30:17 +00:00
David Lynch
b1aed096cb
DesktopArticleTarget: Generate the original page title if needed
...
When switching from the old wikitext editor to VE, we stored "editing..." as
the original page title. Then restored that when saving / switching to "read".
Instead, detect if we're on top of the classic editor, and use the pagename
message to make a plausibly-correct title.
Bug: T126077
Change-Id: Ib0289de71c3ae947ca0a3e45fe1e620378689c35
2016-12-13 19:28:15 -06:00
Translation updater bot
176329e9d8
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie7ab044b53ba3a2f3a40dd89b50da13c4eba1a13
2016-12-13 22:46:43 +01:00
jenkins-bot
56927ad512
Merge "SaveDialog: Align colour palette and ensure sufficient contrast"
2016-12-13 19:38:51 +00:00
Volker E
48db1c16f8
SaveDialog: Align colour palette and ensure sufficient contrast
...
Align the colors used in the save dialog to OOjs UI's MediaWiki theme,
increasing the contrast of edit summary counter slightly to ensure WCAG
AA accessiblity levels. Also remove unnecessary duplicated CSS
properties, which are already inherited from OOjs UI styles.
Bug: T153086
Change-Id: Iee6b38e0b11f777dd0ffb0f6802d0b3d7349ddee
2016-12-13 19:26:39 +00:00
Ed Sanders
22f4614eee
Show save button on show preview page
...
Bug: T151261
Change-Id: If80bb8e4e9e412572ab88d13d07a3f92dd353b31
2016-12-13 18:10:09 +00:00
jenkins-bot
dc897662bf
Merge "Resize save dialog after showing captcha"
2016-12-13 17:19:20 +00:00
jenkins-bot
16c5d489fc
Merge "Don't restore scroll position when doing real section editing (NWE)"
2016-12-13 16:33:16 +00:00
Ed Sanders
db447733b0
Fix logic for create accesskey=v, and bind to onEditTabClick
...
Change-Id: I69020652f2946626c443ef5b724cf92e7905f247
2016-12-13 16:06:57 +00:00
Ed Sanders
d2ea716902
Don't restore scroll position when doing real section editing (NWE)
...
Bug: T152946
Change-Id: I969a8edd4f23bbe6c73855aac059df732102c560
2016-12-13 15:44:54 +00:00
Ed Sanders
69c0fb189a
Fix action=editsource URL rewriting
...
Always look for links unless the only tab is VE.
Bug: T153054
Change-Id: Ic1f1de26fb77098fe62f6263a25c8a40de0e09a7
2016-12-13 15:36:34 +00:00
Ed Sanders
1f3bb5c9e5
Add section= param to URL after loading target
...
This wasn't such a big deal in VE because we load the full
page anyway, but in NWE it is more annoying if you reload the
page and are dumped in a different edit area.
Change-Id: If49569cbe1a2759d8cbbd7ee42dd1b88da39a946
2016-12-13 15:31:57 +00:00
jenkins-bot
c4dacd9d24
Merge "Don't focus save dialog during setup to avoid scroll jumping"
2016-12-13 15:31:23 +00:00
Ed Sanders
56c34fbf79
Follow-up I6eda4a7c: Fix typos in #updateTabs
...
Change-Id: Ib80dec3fb199ea03609d5d0f242ac606052f24cc
2016-12-13 15:19:05 +00:00
jenkins-bot
a962e7de3b
Merge "Support section=new in NWE"
2016-12-13 13:55:33 +00:00
Ed Sanders
4064c91b8e
Don't focus save dialog during setup to avoid scroll jumping
...
Bug: T153010
Change-Id: Ia535cd5d4ebfc01994f4e440bb5cb7efa5c40802
2016-12-13 12:57:34 +00:00
Ed Sanders
5a8106773c
Support section=new in NWE
...
Bug: T150709
Change-Id: I1002b97060d642df0988da15860a36c13712bade
2016-12-13 12:20:55 +00:00
Ed Sanders
37190c3e8d
Resize save dialog after showing captcha
...
Change-Id: I219a1eae442bd580760235f22eee15a836d5ebae
2016-12-13 12:05:42 +00:00
L10n-bot
34fbe31e93
Merge "Localisation updates from https://translatewiki.net ."
2016-12-12 21:54:27 +00:00
Translation updater bot
ae76bac942
Localisation updates from https://translatewiki.net .
...
Change-Id: I469815663e16164751f4c202228ff48249993f63
2016-12-12 22:44:06 +01:00
jenkins-bot
669995c8c2
Merge "Follow-up ae8a2750
: Stop passing long-dead second parameter"
2016-12-12 21:20:08 +00:00
Ed Sanders
a504aba7c5
MWWikitextLinkAnnotationInspector: Select links after creation
...
Change-Id: If23d90dc695546e7dddb3c04637e54df47c6f528
2016-12-12 20:09:52 +00:00
Ed Sanders
2d645d1631
Use Surface#setDisabled instead of deprecated #disable
...
Change-Id: Idf998ddc0b95efbf6befbcfa493c42b4c3ba1bfc
2016-12-10 20:03:07 +00:00
Ed Sanders
d555b5ba33
Cleanup handling of 'section' param
...
Provide a common function to parsing, and always pass
section to the target, instead of having the target
re-compute it itself.
Change-Id: If9fc24ffa51507cd969fa1b4dfc1519a0b50a572
2016-12-08 20:24:19 +00:00
jenkins-bot
397eb403cc
Merge "Simplify #updateTabs"
2016-12-08 19:59:29 +00:00
Ed Sanders
cd87e7483b
Expand dummy surface to be at least valid
...
Change-Id: I3888dd2f72858bbe79c61fa4a6f7967f21c5cb7c
2016-12-08 19:36:57 +00:00
Ed Sanders
66e4a5cbe8
Simplify #updateTabs
...
Change-Id: I6eda4a7c27f0b7590aae5505b0459ced07d2cc48
2016-12-08 19:22:11 +00:00
jenkins-bot
bdfff4a3b1
Merge "DesktopArticleTarget: clear out originalCategories when they're updated"
2016-12-07 16:46:06 +00:00
David Lynch
d720041fd7
DesktopArticleTarget: clear out originalCategories when they're updated
...
Bug: T152571
Change-Id: I41b5d5aeea0a01cf922924fa1320369d54fef8cf
2016-12-07 09:48:26 -06:00
Alex Monk
c843824c97
Batch gallery imageinfo requests via ImageInfoCache subclass
...
Also get rid of .join( '|' ) for API request parameters per Bartosz
Bug: T147067
Change-Id: If4444cca300d65e28d6fb9003fcac5e076a5129a
2016-12-06 22:10:19 +00:00
jenkins-bot
a04cef294e
Merge "Update for API error i18n"
2016-12-06 20:04:24 +00:00
jenkins-bot
446a4e40c4
Merge "SaveDialog inherits from plain dialog, not FragmentDialog"
2016-12-06 19:37:41 +00:00
jenkins-bot
9382e0630a
Merge "DesktopArticleTarget: Rebuild the category links when they're edited"
2016-12-06 18:31:43 +00:00
jenkins-bot
bdd1a1b78c
Merge "Scroll highlighted item into view in gallery dialog"
2016-12-06 18:30:22 +00:00
jenkins-bot
9b4bc7a3f2
Merge "Disable heights option in gallery dialog when mode is slideshow"
2016-12-06 18:28:51 +00:00
jenkins-bot
a2e4d9fa82
Merge "Decrease height of gallery search results for better fit"
2016-12-06 18:23:38 +00:00
David Lynch
af8aad0483
DesktopArticleTarget: Rebuild the category links when they're edited
...
This has to go to the API, because it's skinnable. Also, separates out a few
of the initial page setup functions so they can be re-applied to the new
content inserted.
Bug: T151651
Change-Id: I8d5a6504edc2e0486a0b4f016d8ee6d9a6228de9
2016-12-06 11:28:08 -06:00
Translation updater bot
2ab755aca9
Localisation updates from https://translatewiki.net .
...
Change-Id: Iab69a8d0ae63daccd64d3c40545e87897b6e6661
2016-12-05 22:52:43 +01:00
Translation updater bot
19f580a9af
Localisation updates from https://translatewiki.net .
...
Change-Id: I9c43a7a5a9449bf555985696cf57340a4931e11a
2016-12-04 22:41:24 +01:00
Ed Sanders
aa7dba9bdb
Follow-up Ifaf6a2607: Display correct message when switching
...
Use new mode, not old mode for choosing switch message.
Change-Id: I1ad0913b4a23fd6fbf5cdeb07d1a58ec72398d57
2016-12-04 15:51:57 +00:00
Ed Sanders
4f7bba4de9
SaveDialog inherits from plain dialog, not FragmentDialog
...
Change-Id: I934ab41567ea68e58cfa27451faf499febd68bd1
2016-12-04 11:09:56 +00:00
Ed Sanders
f01d617c53
Bypass API call when wikitext is empty string
...
Change-Id: Ie0cedfaae286f73e73bcde7bfca3cb2ae6197924
2016-12-03 17:44:04 +00:00
Ed Sanders
c97e0b58d4
NWE: Disable progress bar when pre-parsing for WindowAction's
...
The progress bar dialogs interfere with the life cycle
of the window you are trying to open. Just disable these
progress bars for now to avoid catastrophic behaviour.
Change-Id: I77c8ae67a2d502bbd189836deb320cd55c3cb11a
2016-12-03 17:20:24 +00:00
Thalia
2fd30fb7c5
Decrease height of gallery search results for better fit
...
Bug: T151509
Change-Id: I92c812952457df99251fc0b8f1a17d4e55fe52f7
2016-12-03 16:31:23 +00:00
Thalia
1b4d70324b
Disable heights option in gallery dialog when mode is slideshow
...
Also disable relevant fields the first time the dialog is
opened, not just when the dropdown is changed.
Bug: T151482
Bug: T151512
Change-Id: Ic511e1832a9fcaaeaed71c1d495aecc65fdd1d3b
2016-12-03 16:00:32 +00:00
Thalia
0b9228a926
Scroll highlighted item into view in gallery dialog
...
Bug: T152053
Change-Id: I6b77f6c27d5629dc18e421f984cf31badfb2ff04
2016-12-03 15:46:58 +00:00
jenkins-bot
e1e55aa730
Merge "Correct class/classes typo in gallery dialog"
2016-12-03 15:20:53 +00:00
Thalia
295dd380de
Correct class/classes typo in gallery dialog
...
Bug: T152226
Change-Id: I569df87cf82359c13ad61a3ddffacd83f5f03bae
2016-12-03 13:03:02 +00:00
Ed Sanders
9ceb13ce60
Update VE core submodule to master (5be61ce)
...
New changes:
860954b [BREAKING CHANGE] Parse selection before applying source tools
Local changes:
Implement convertFromSource/convertToSource in WikitextSurfaceFragment
Depends-On: Iaa41c49e2f8e28af28a8a64cb6915f705fa35e8c
Change-Id: I746619d442fb565cd582cb09de3126526c73c333
2016-12-03 03:43:59 +00:00
James D. Forrester
f494067dea
Follow-up ae8a2750
: Stop passing long-dead second parameter
...
Change-Id: Ifc43d9009c2057b5a189d3cc161b62dc4ca83a2c
2016-12-02 14:31:26 -08:00
L10n-bot
95af1ba8c1
Merge "Localisation updates from https://translatewiki.net ."
2016-12-02 21:24:28 +00:00
Translation updater bot
a131668e46
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie5e6281811ea14485f919a9efcea2f24b009838b
2016-12-02 22:21:13 +01:00
Ed Sanders
9b5adb8688
Remove WikitextWindowAction, inherits from core
...
Depends-On: I2b14cc93bf3c855e157f0b26567337f74992fb96
Change-Id: I3e479c1441f548f62ff8a2f6e7b2ad450262921f
2016-12-02 11:50:43 -08:00
jenkins-bot
3064890a91
Merge "Clear preview when document is modified"
2016-12-02 02:45:29 +00:00
jenkins-bot
36d976c4c0
Merge "Save Dialog: add shortcut for opening to the review panel"
2016-12-02 00:36:40 +00:00
David Lynch
2bd34cebd4
Save Dialog: add shortcut for opening to the review panel
...
Create a new MWSaveDialogAction, which can be hooked up to triggers. Switch
the existing save dialog accesskey to just use the trigger system.
(Maintaining all the accesskey logic, so we don't change the shortcut on
people.)
Bug: T149914
Change-Id: I9b4ef8504148703556f802b266a517dd5098c06b
2016-12-01 18:16:18 -06:00
Ed Sanders
915bbec307
Clear preview when document is modified
...
Use same logic for 'Show preview' as for 'Show changes'
Change-Id: I69510b426548fca46dc9b0d113b77ad206502b21
2016-12-01 23:59:07 +00:00
jenkins-bot
4e05b86cf3
Merge "Use widget.getApi, not this.getApi"
2016-12-01 23:43:16 +00:00
jenkins-bot
e3c0a05b84
Merge "Prevent endless error loop if falling back to wikitext (after a load failure) fails."
2016-12-01 23:17:42 +00:00
Alex Monk
5bd95db994
Use widget.getApi, not this.getApi
...
Bug: T152154
Change-Id: Id7e77323ffabf4eeee3e73481cf6bcb9a1e649dc
2016-12-01 22:48:45 +00:00
jenkins-bot
d254436f57
Merge "Use canonical ve.dm.TransactionBuilder.static.newFrom* methods"
2016-12-01 19:44:05 +00:00
jenkins-bot
2b453295ec
Merge "ve.ui.MWWikitextTransferRegistry: Just look for '[[' when detecting links"
2016-12-01 19:35:45 +00:00
Ed Sanders
8bca6cc777
Inherit more functionality from core source mode
...
Change-Id: Id027681ab5f0c9f4b9ed127b583e45f0fe57ce69
Depends-On: I02f3849027a6652701c2d354d1b77ece9d1a56c1
2016-12-01 18:44:54 +00:00
James D. Forrester
a835f4f9d5
Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
...
Change-Id: I082048a677baa2699d94e21548373952d52db61b
2016-12-01 10:43:10 -08:00
Ed Sanders
218742d806
Update VE core submodule to master (ae30d71)
...
New changes:
f58ddea DiffElement: Use document slices with full internal lists
83800c0 DebugBar: Remove hard-coded i18n
b4f89e1 Update OOjs UI to v0.18.1
40c7bf6 Factor out active node functionality from SectionNode for captions
2d967be Move 'mode' property to surface, rename target property to 'defaultMode'
5d8c214 wrapAllNodes in sourcefragment
dd3d9e5 Refactor ve.dm.Transaction
9d61aca Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
df4f72a Make table caption node an active node
b79f72d Core source mode
7533ac4 Localisation updates from https://translatewiki.net .
ae30d71 SourceSurfaceFragment: Check range is not collapsed
Local changes:
Get edit mode from surface where possible
Depends-On: Iec758c1892d518ad4bc2c0d1aaf6ca00fa354323
Change-Id: Ifaf6a26078b2731b374aaad2cb40c08928de9c84
2016-12-01 10:40:01 -08:00
jenkins-bot
551b6db912
Merge "Fix "Add new image" button in the gallery dialog"
2016-12-01 00:25:49 +00:00
jenkins-bot
be4c0df032
Merge "i18n: Kill last two uses of 'parameter' in lieu of 'field'"
2016-12-01 00:19:30 +00:00
Thalia
4b9d1bed4f
Fix "Add new image" button in the gallery dialog
...
Make sure the button is always visible in the
gallery dialog menu by fixing it to the bottom.
Bug: T151506
Change-Id: I560b0dffbaad9e18c6f7f703cb155356470580ee
2016-11-30 22:38:11 +00:00
jenkins-bot
b6a468d0ff
Merge "Clearer English for visualeditor-preference-newwikitexteditor-description"
2016-11-30 22:30:13 +00:00
Amire80
d561894db6
Clearer English for visualeditor-preference-newwikitexteditor-description
...
Change-Id: I698822637a212e4462c563cdf43e9b192459671b
2016-11-30 23:59:08 +02:00
Translation updater bot
2edf528f0f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia83483409e59132a73cfce630a9f3ad6c00fb2a4
2016-11-30 22:22:29 +01:00
Ed Sanders
37910b78ec
MWTemplateTitleInputWidget: Use new #getApi method from upstream
...
Depends-On: I81811cdd1a0750a8335432eee8f971ab9e0b8ee7
Change-Id: Ic73213df5ede6f82de85df8b69c60dd31f033792
2016-11-30 19:51:45 +00:00
Bartosz Dziewoński
491ecfe1d6
ve.ui.MWWikitextTransferRegistry: Just look for '[[' when detecting links
...
Bug: T151646
Change-Id: I693b190f762d93ffae0aa939ffc9550e567e8e24
2016-11-30 19:07:50 +01:00
Translation updater bot
fd3e5f8398
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib42d0dd37389381817efaefda3780bef0867db16
2016-11-29 22:25:32 +01:00
jenkins-bot
745e919f97
Merge "Update VE core submodule to master (9625e8f)"
2016-11-29 20:46:54 +00:00
James D. Forrester
32c966db97
i18n: Kill last two uses of 'parameter' in lieu of 'field'
...
Change-Id: I94fa70b17a210391b0444aca22c577b2e5e549e3
2016-11-29 12:08:35 -08:00
jenkins-bot
33db54ef28
Merge "Use upstream media search widget from core"
2016-11-29 20:04:46 +00:00
Ed Sanders
aeafa6afca
Update VE core submodule to master (9625e8f)
...
New changes:
f1297b8 [BREAKING CHANGE] Allow target widgets to be re-used
Local changes:
Re-use target widgets
Change-Id: I5decb918f398704d4b6c108a16fbc1cc073ef077
2016-11-29 11:48:15 -08:00
jenkins-bot
28a4b9f362
Merge "Handle missing pipes in Gallery syntax, and remove them when caption is empty"
2016-11-29 19:27:52 +00:00
Ed Sanders
44fee9b61d
Wait until search panel is shown before setting a search query
...
Bug: T151659
Change-Id: I3eb3b903a8df1c7732da2a08e4b46b13b162617e
2016-11-29 11:13:54 -08:00
Ed Sanders
2ee9e62a4d
Use upstream media search widget from core
...
Bug: T140166
Depends-On: If53ef7f4b62c7a5d4da565c14dd2a353778694e5
Change-Id: I28845e9c143e78d3a377f067606c62da212e3bf1
2016-11-29 17:19:14 +00:00
James D. Forrester
ba232c9f75
2017 Wikitext Editor: Tweak Beta Feature i18n to be less expansive
...
Change-Id: Id9afdf27707f246a6c2f0fd69b92d239df88924b
2016-11-28 16:55:14 -08:00
Translation updater bot
986abb0d0f
Localisation updates from https://translatewiki.net .
...
Change-Id: I54d71688837784c502dcb6d1615312986694a093
2016-11-28 22:33:50 +01:00
Ed Sanders
240ec23113
Handle missing pipes in Gallery syntax, and remove them when caption is empty
...
Bug: T146190
Change-Id: I703bcdf68b9631a47d839baf3abb42ff98b36bf2
2016-11-28 17:36:29 +00:00
Translation updater bot
f2c444c1bd
Localisation updates from https://translatewiki.net .
...
Change-Id: Ife8e7e01743c51b22ffacd8ac234434652bf3b10
2016-11-27 22:34:20 +01:00
jenkins-bot
6bcfed97a5
Merge "Separate out ArticleTarget as a module"
2016-11-26 23:22:32 +00:00
Translation updater bot
6e0ce959d6
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ae8c3ead28026b79997175563d0a57175d39900
2016-11-25 22:55:55 +01:00
Translation updater bot
3991a12bfe
Localisation updates from https://translatewiki.net .
...
Change-Id: Ica8875aafaf70d8ea6ae94a7eff98edf66de4108
2016-11-24 22:23:28 +01:00
Ed Sanders
4fe6be1f34
Separate out ArticleTarget as a module
...
Also move save button command help registration to ArticleTarget.
Bug: T151096
Change-Id: I941d17254a2e20a82aa46fd538abf887d757c0c3
2016-11-24 12:35:41 +00:00
jenkins-bot
1909c445bb
Merge "Allow the gallery dialog to insert duplicate images initially"
2016-11-24 04:13:03 +00:00
Ed Sanders
0334263718
Missing i18n in gallery dialog
...
Change-Id: I369d5b9d42a5fd6b4d1afc12508632a282591320
2016-11-24 00:09:49 +00:00
Translation updater bot
10d348af8b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie8f35a953ffb6e24acd7aa555b2cad555ee6e9f6
2016-11-23 22:41:42 +01:00
jenkins-bot
fde5c3c2ff
Merge "Follow-up I63ab27cb: Get rid of notices tool when there are no notices"
2016-11-23 01:17:42 +00:00
Thalia
003ec7b653
Allow the gallery dialog to insert duplicate images initially
...
Change I94f4fadd84cd3e prevents the gallery dialog from inserting
duplicate images into the gallery dialog after one request (e.g.
so double-clicking on an image in the search widget doesn't cause
the image to be inserted twice). However, galleries can
intentionally contain duplicates of the same image, so it is
possible to make a spearate request to insert a duplicate image.
When the dialog is first opened, it requests all the images in
the gallery at once, so the above change was causing the
duplicates in an existing gallery to be dropped. Duplicates
should be allowed to be inserted following this initial request.
Bug: T150894
Change-Id: I34353bc9b8db947488474c4be52292e0a1447705
2016-11-23 01:02:35 +00:00
jenkins-bot
508b4164bd
Merge "Let gallery dialog handle unprefixed filenames"
2016-11-23 00:33:39 +00:00
Alex Monk
b89a6ee463
Follow-up I63ab27cb: Get rid of notices tool when there are no notices
...
Bug: T151423
Change-Id: I3dd9d2cbfb1fa536490eb8b4b7d630e9c6cfdd48
2016-11-23 00:30:06 +00:00
Thalia
2364f530a3
Let gallery dialog handle unprefixed filenames
...
The namespace prefix before image filenames is optional
in galleries, but the API requires it. If the prefix is
omitted, add the file namespace prefix.
Change-Id: I3d126550c2ad2e84454122f92307ba4bc943780b
2016-11-23 00:20:32 +00:00
jenkins-bot
3d8a749cf2
Merge "init: Initialise 'active' property in mw.Target instead of subclass"
2016-11-22 23:35:10 +00:00
jenkins-bot
8370b98e3f
Merge "Move around code that sets up edit notices to ensure it runs after we receive the notices to display"
2016-11-22 23:27:26 +00:00
Alex Monk
16e294fba7
Move around code that sets up edit notices to ensure it runs after we receive the notices to display
...
Bug: T151236
Change-Id: I63ab27cb236169f300295b2ed4c88e01048092e7
2016-11-22 19:16:09 +00:00
Timo Tijhof
cde3d2a7f8
init: Initialise 'active' property in mw.Target instead of subclass
...
This is set to 'true' in mw.Target#setupSurface(), but not initialised or
used there in that class.
It was previous initialised in an indirect subclass (DesktopArticleTarget).
Move this to the parent class instead for clarity.
Change-Id: Ie3e12d254aa4b689fdce64620e110164311bc60a
2016-11-21 18:06:52 -08:00
Ed Sanders
7f2d5b5bee
Don't re-bind edit tab in DAT when using SET
...
In SET the tab's events are already bound in DAT.init.
Bug: T151258
Change-Id: I04529dbdea2d2ff5e52b0f11035a4ac11946617b
2016-11-21 22:09:26 +00:00
Translation updater bot
0757c5e242
Localisation updates from https://translatewiki.net .
...
Change-Id: I70248fdc2480098dd966d59db36306e2e923cb77
2016-11-21 22:42:09 +01:00
Ed Sanders
6e64fba2f8
Unbreak education popup
...
Tools only setup once now, and that is during the dummy surface
phase, so we have to setup the education popups then.
Change-Id: Idf46fe42c893c0692dc442226297253074ef9bd7
2016-11-21 15:19:58 +00:00
Translation updater bot
01cefc47db
Localisation updates from https://translatewiki.net .
...
Change-Id: I21e87c04625b6c87ac50ebcf8c014e6d2e29ed92
2016-11-20 22:21:47 +01:00
jenkins-bot
8fd396151c
Merge "Migrate DesktopWikitextArticleTarget code upstream"
2016-11-20 03:06:55 +00:00
Ed Sanders
e1a887ccf8
Migrate DesktopWikitextArticleTarget code upstream
...
Change-Id: Icca4715411737a561302b44b127d91d117e7e29b
2016-11-20 02:52:14 +00:00
Translation updater bot
0b257c12db
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie9a1877be552d5492c483cc7cb2468eba901212f
2016-11-19 22:08:59 +01:00
Translation updater bot
f64099f7cb
Localisation updates from https://translatewiki.net .
...
Change-Id: I314c1b19bc52e114055039301bf97ee7b4e0c36e
2016-11-18 22:17:43 +01:00
Translation updater bot
dc0b0ea97a
Localisation updates from https://translatewiki.net .
...
Change-Id: Idf5ec60855a5539b916f7a14aa44aea1e145600a
2016-11-17 22:56:27 +01:00
jenkins-bot
c790944eb0
Merge "Setup htmlBlacklist and add rule for read-mode MW references"
2016-11-17 17:30:45 +00:00
Translation updater bot
59b4c5910c
Localisation updates from https://translatewiki.net .
...
Change-Id: I856a87673d7e11bc10d2e240d506a816729e2bad
2016-11-16 22:54:25 +01:00
Alex Monk
86719eb90f
Prevent endless error loop if falling back to wikitext (after a load failure) fails.
...
Change-Id: Id48fa13a33aee9fabf857d20a75d26463c329f44
2016-11-16 18:52:26 +00:00
jenkins-bot
51adc1b37f
Merge "Fix handling of failure to load visual mode"
2016-11-16 18:48:16 +00:00
jenkins-bot
3483055c29
Merge "Remove max-width from save summary"
2016-11-16 17:55:35 +00:00
James D. Forrester
f24e34de3c
build: Bump eslint-config-wikimedia to v0.3.0 and make pass
...
Change-Id: I7449c11aa63c50fda667265c32021439cc53471f
2016-11-15 15:05:05 -08:00
jenkins-bot
65604802ac
Merge "Fix attribute.style typo in gallery dialog"
2016-11-15 22:09:57 +00:00
Translation updater bot
dccb137e0e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia94028500a1e833f991162fb716b1bb7cbd9c6ef
2016-11-15 23:02:26 +01:00
Ed Sanders
134477a840
Setup htmlBlacklist and add rule for read-mode MW references
...
Logically depends on If1b20fefe4b.
Bug: T150418
Change-Id: I0e2249b64f3b452c0322e7a20515ee7b2b6c6f60
2016-11-15 17:20:17 +00:00
jenkins-bot
019aee30d4
Merge "Always set mode when activating the target"
2016-11-15 16:07:50 +00:00
jenkins-bot
961f59d8ce
Merge "Normalise filename after image is chosen in gallery dialog"
2016-11-15 12:55:21 +00:00
Ed Sanders
ff4761bbd9
Fix handling of failure to load visual mode
...
Reject the activating deferred making handleLoadFailure
redundant.
Fix logic for switching back to OWE aware of NWE.
Change-Id: I328fc944bb6b9152752742fe35c56b95e3255b88
2016-11-15 12:44:38 +00:00
Ed Sanders
b4ff55a38c
Always set mode when activating the target
...
Otherwise if the target was already loaded the mode will
not be changed, which can cause the wrong editor to load
in multi edit tab mode.
Change-Id: I64071dfdfc8511cce51bda20b9c62d7fc126c528
2016-11-15 12:44:38 +00:00
Ed Sanders
521c3c8436
Pass isModified when switching from VE to NWE
...
Bug: T150707
Change-Id: I9ae525aa7a5883bb45f91262db8abc082983ee1b
2016-11-14 23:05:21 +00:00
Thalia
97af378bb5
Fix attribute.style typo in gallery dialog
...
Change-Id: I71162652df5e09c4d974e0f863ea661c4bd7902e
2016-11-14 22:26:39 +00:00
Thalia
810202395e
Normalise filename after image is chosen in gallery dialog
...
Bug: T150638
Change-Id: Iead7d0d3f8aa6c864dc6fba7089bab0767035812
2016-11-14 22:04:25 +00:00
Translation updater bot
cd681d4bf4
Localisation updates from https://translatewiki.net .
...
Change-Id: I26e9cc640152465d37f834bf9c83d30497c6e2b4
2016-11-14 23:02:39 +01:00
Brad Jorsch
26e24c2d09
Update for API error i18n
...
See Iae0e2ce3. Since VisualEditor master requires core master, this just
depends on the master patch instead of trying to maintain BC.
Depends-On: Iae0e2ce3bd42dd4776a9779664086119ac188412
Change-Id: I0e802a47302725f062334a437bff84e3b2b8b9a6
2016-11-14 12:47:01 -05:00
jenkins-bot
0c1eff31ef
Merge "Teardown the toolbar properly"
2016-11-14 17:26:54 +00:00
Translation updater bot
82b8afafc7
Localisation updates from https://translatewiki.net .
...
Change-Id: I4471a9107521394ae38e4b0fdd06cac730c7656b
2016-11-13 22:57:35 +01:00
jenkins-bot
6215f9a1bb
Merge "eslint: Re-enable wrap-iife and partially enable dot-notation"
2016-11-12 23:43:32 +00:00
Translation updater bot
3dfe9de109
Localisation updates from https://translatewiki.net .
...
Change-Id: I1c9a170ee3c6e466731c4725a7ee81b064f2f9a1
2016-11-12 22:59:42 +01:00
Ed Sanders
37ccaca2ec
eslint: Re-enable wrap-iife and partially enable dot-notation
...
Change-Id: I4420d66f528dcb18ebe2b9f63996661b2969f833
2016-11-12 14:43:43 +00:00
Ed Sanders
f2e0b408b4
Teardown the toolbar properly
...
Depends-On: I53a86bf5e0322dc9766ae4ddf31ff0ae5568df7e
Change-Id: If9cc876a57272679584ebc653cf2ee8e17ddb821
2016-11-12 14:28:11 +00:00
jenkins-bot
cf3c972a3a
Merge "Move NWE URL changes into JS"
2016-11-12 00:02:50 +00:00
L10n-bot
62fc7e1b9b
Merge "Localisation updates from https://translatewiki.net ."
2016-11-11 22:03:58 +00:00
Translation updater bot
71b1c8af06
Localisation updates from https://translatewiki.net .
...
Change-Id: I55094810442134b6e688fe972c06ce42dfb15cb8
2016-11-11 23:01:14 +01:00
Ed Sanders
b1b6f9836e
Remove redundant narrow-threshold calculation
...
This is done upstream in OOUI.
Change-Id: Icc0e535f9d1113a14d2c1cc275efebbc98e3a38c
2016-11-11 18:54:30 +00:00
Alex Monk
807cb6b54e
Move NWE URL changes into JS
...
Bug: T148077
Change-Id: Ic9b94184a48026254cf4a0a812fe6fc8455841b5
2016-11-11 18:31:22 +00:00
Ed Sanders
6f8e0d9699
Replace confirm with OO.ui.confirm
...
Also enable no-alert eslint rule to prevent alert/confirm/prompt
being used in the future.
Change-Id: I2851e1f58c1861f75dbb20192e5cf6c343da75db
2016-11-11 13:13:58 +00:00
jenkins-bot
95a8b8a30e
Merge "Use a blank temp document when selection is empty"
2016-11-11 00:29:22 +00:00
Ed Sanders
003c5ac410
Use a blank temp document when selection is empty
...
shallowCloneFromRange can a broken document if you pass
a collapsed range. That should be fixed upstream but for
now this fixes a major bug (and is faster).
Bug: T150492
Change-Id: I9b539c588d91ef7f22e662c7cae0b3f89b21d33a
2016-11-11 00:08:11 +00:00
Translation updater bot
0b7f19e941
Localisation updates from https://translatewiki.net .
...
Change-Id: I18ad56399a23642d42db319d9c274c6b687a0513
2016-11-10 23:36:34 +01:00
James D. Forrester
26e7267f02
ArticleTarget: Use an OOUI MessageDialog, not window.alert()
...
We should avoid using alert()s as much as possible due to their unhealthy
interaction patterns with any other open tabs or user tasks.
Change-Id: Ib6a217c988322ad17bc7e649c3281eb053b54bbc
2016-11-10 12:55:49 -08:00
jenkins-bot
5ac488ba53
Merge "Revert "Temporarily override broken toolbar border colour""
2016-11-09 21:49:54 +00:00
Translation updater bot
aa1cb54a20
Localisation updates from https://translatewiki.net .
...
Change-Id: I8bb4d91acd719bc94ac20fa0e02220162e880c48
2016-11-09 22:45:52 +01:00
Jforrester
dc8171d100
Revert "Temporarily override broken toolbar border colour"
...
This reverts commit 4c8a97f9e8
.
[Pending next OOUI release.]
Change-Id: I890a7081ffa7c015bd32466fa88d61e3f38af4e6
2016-11-09 20:48:58 +00:00
jenkins-bot
de72f77b1b
Merge "Collapse to end after inserting WT signature"
2016-11-09 20:00:05 +00:00
James D. Forrester
79befe3d67
MWExtensionWindow: Use #setDir, not the removed #setRTL
...
Change-Id: I4090fa0375a93e095a644538b52853fd849b8749
2016-11-09 11:13:09 -08:00
Ed Sanders
1cb4c27378
Collapse to end after inserting WT signature
...
Bug: T150320
Change-Id: I06a8304499d92d0155c112449678fef34dc98424
2016-11-09 15:26:44 +00:00
jenkins-bot
28787b0f3c
Merge "Rename methods used for setting up multiple edit tabs"
2016-11-09 00:45:01 +00:00
Translation updater bot
98fdfb3174
Localisation updates from https://translatewiki.net .
...
Change-Id: I0d1b052032dda69430e083751ee83934bae616e8
2016-11-08 22:50:21 +01:00
jenkins-bot
45a75047fa
Merge "Move save dialog checkbox code up from DAT into ArticleTarget"
2016-11-08 17:14:45 +00:00
jenkins-bot
d972d3f4f2
Merge "Hacks to get VE loading on mobile while user has NWE enabled"
2016-11-08 17:14:44 +00:00
jenkins-bot
efb4133119
Merge "Use onEditTabClick handler in SingleEditTab"
2016-11-08 17:10:06 +00:00
Ed Sanders
55fcded32e
Replace non-standard whitespace in comments
...
This is required to pass eslint:recommended.
Change-Id: If8c4876a366e5c021c414e54328ed1913b679969
2016-11-08 14:15:12 +00:00
Ed Sanders
2fa4cfef16
Rename methods used for setting up multiple edit tabs
...
Change-Id: I71d6dd0848e9cc3ee8531b0b914c29219b4697bd
2016-11-08 12:47:30 +00:00
Ed Sanders
f6a205d77f
Use onEditTabClick handler in SingleEditTab
...
Gives us extra functionality like checking for
isUnmodifiedLeftClick which makes CTRL+click on SET
not change the current page, as expected.
Change-Id: Icb37d7383374ee63798443659a2bcb2f1545c8c5
2016-11-08 12:39:15 +00:00
Ed Sanders
526b2c0656
Remove max-width from save summary
...
Prevents mis-alignment of textbox and checkbox bar
on mobile.
Change-Id: I33d8a2bd4e30d2ed4d61942a7646299f9935bc32
2016-11-08 10:29:03 +00:00
jenkins-bot
8336720a5f
Merge "Remove 'vesection' parameter"
2016-11-08 10:26:53 +00:00
Translation updater bot
b2a60edf8a
Localisation updates from https://translatewiki.net .
...
Change-Id: If90be9fb65286254cd6b386e931eb5093134e043
2016-11-07 22:40:27 +01:00
jenkins-bot
6f4ff421fc
Merge "Clarify wording of __NOINDEX__ option in VisualEditor"
2016-11-07 18:54:10 +00:00
Deskana
e4b1b9e4f1
Clarify wording of __NOINDEX__ option in VisualEditor
...
VisualEditor contains an option in "Advanced options" to add __NOINDEX__ to
the page, stopping external search engines from indexing the page. This does
not affect the in-site search. The current wording is correct, but a little
ambiguous since it just mentions "search engines". This patch clarifies the
wording.
Change-Id: Ide528f3c028fb79d187eee1c64187c2886635d66
2016-11-07 10:39:09 -08:00
jenkins-bot
c22739cff0
Merge "Cleanup elements passed to MWImageNode mixin"
2016-11-07 16:51:20 +00:00
Ed Sanders
7a0eb09e32
Cleanup elements passed to MWImageNode mixin
...
Change-Id: Idc736bca6ec7f9cae18d065303364ff5b7828a3b
2016-11-06 15:38:48 +00:00
Translation updater bot
b39fec0055
Localisation updates from https://translatewiki.net .
...
Change-Id: I49c72b1e1bb6a7b6803841b8c4c49fcc50db9cc4
2016-11-05 22:58:37 +01:00
Alex Monk
e81c6e5b43
Move save dialog checkbox code up from DAT into ArticleTarget
...
So it applies to MobileArticleTarget.
This shows the checkboxes on mobile.
Bug: T148914
Change-Id: Ib6559d5601004e58b72903805059e04f42acc85f
2016-11-05 06:24:49 +00:00
Alex Monk
81e32c6a4b
Hacks to get VE loading on mobile while user has NWE enabled
...
* ext.visualEditor.mwwikitext does not have mobile target
* We call mw.libs.ve.setEditorPreference from ArticleTarget
Change-Id: Ifae6e951155c83b13f3111732b0dc500349b1df2
2016-11-05 05:51:26 +00:00
Alex Monk
7c80976f5b
Remove 'vesection' parameter
...
Just use the normal section parameter, haven't been able to figure out why VE
would need to be special about that.
Bug: T149958
Change-Id: I9338d0f1498fbb579fa8c340d6e7274c6d48155b
2016-11-05 02:08:13 +00:00
L10n-bot
4b0f44fece
Merge "Localisation updates from https://translatewiki.net ."
2016-11-02 21:56:50 +00:00
Translation updater bot
fb7fc12747
Localisation updates from https://translatewiki.net .
...
Change-Id: Ica207b52252d71d2ab18033b625f53f4fb0eb95d
2016-11-02 22:54:28 +01:00
jenkins-bot
cacb6d5427
Merge "Store editor preference when switching to NWE"
2016-11-02 21:39:11 +00:00
jenkins-bot
b6d3dabfbf
Merge "Add binding for when only tab is new wikitext editor"
2016-11-02 21:36:21 +00:00
jenkins-bot
f20a40d09f
Merge "Keep edit summary when switching between VE and NWE"
2016-11-02 21:09:29 +00:00
jenkins-bot
65236ae67f
Merge "Try to make client and server code to get last editor work the same"
2016-11-02 20:07:07 +00:00
jenkins-bot
c62e71f44d
Merge "ve.dm.MWMediaResourceProvider: Use mw.ForeignApi rather than JSONP"
2016-11-02 20:07:06 +00:00
jenkins-bot
254e77a296
Merge "Set section to null when switching from NWE to VE"
2016-11-02 19:45:14 +00:00
jenkins-bot
51da2379e2
Merge "Ensure max size in not enforced for vectors"
2016-11-02 19:45:12 +00:00
Ed Sanders
2282ee80c1
Store editor preference when switching to NWE
...
This will also change the label of the single edit tab.
Bug: T149795
Change-Id: I3e1afad61ed60eb6f58aceb023e2fed16f053542
2016-11-02 19:10:29 +00:00
Ed Sanders
3fb757c307
Add binding for when only tab is new wikitext editor
...
Bug: T149796
Change-Id: I675c5876fbb9ca8427983e9d4252cccda35775f9
2016-11-02 19:10:28 +00:00
Ed Sanders
dc0c751100
Ensure max size in not enforced for vectors
...
Otherwise they can't be scaled up. Also move svgMaxSize code
to comment as it isn't used yet.
Change-Id: I7af2bc91524e832555b66f090a671672cd14f294
2016-11-02 18:12:02 +00:00
Ed Sanders
56679dfb35
Set section to null when switching from NWE to VE
...
This prevents the discard warning from being shown if the user
switches back to NWE then back to VE, as by this point they
have left section editing.
Change-Id: I734684c54a8900aab3332ed8421cb42f7f845738
2016-11-02 15:53:29 +00:00
Ed Sanders
7db58ab3d8
Fix binding of onEditTabClick to section links in SET
...
Bug: T149797
Change-Id: I0f753718ccddb9c2b68cdc82ff379bd59d7006ad
2016-11-02 15:50:30 +00:00
Translation updater bot
1866a8680c
Localisation updates from https://translatewiki.net .
...
Change-Id: I82dd3c5d0e92e379ad665b07fe6e4aa03224644a
2016-11-01 22:51:19 +01:00
Alex Monk
1384df41c8
Keep edit summary when switching between VE and NWE
...
Bug: T144906
Change-Id: I0b979959f4b6f33167ba4a225184fda7ca13a1e8
2016-11-01 00:08:09 +00:00
Translation updater bot
4edc091f1c
Localisation updates from https://translatewiki.net .
...
Change-Id: Id78b0bb88c8481d2577fbe5dc6a752f4e172d2fd
2016-10-30 22:46:57 +01:00
Translation updater bot
cb7f78b503
Localisation updates from https://translatewiki.net .
...
Change-Id: I667c9d1ece892530cbc01dd285a6971088a995ee
2016-10-29 22:53:45 +02:00
jenkins-bot
5709e89399
Merge "eslint: Remove unused exception and fix documentation errors"
2016-10-28 19:12:19 +00:00
Ed Sanders
e655880d14
eslint: Remove unused exception and fix documentation errors
...
Don't enable valid-jsdoc yet though, due to @chainable bug.
Change-Id: I4d2a6de19c72c6e4c20733446616d8046419d431
2016-10-28 12:02:36 -07:00
jenkins-bot
bce6aeb92a
Merge "build: Replace jscs and jshint with eslint"
2016-10-28 18:43:15 +00:00
James D. Forrester
36befda61c
build: Replace jscs and jshint with eslint
...
It's new, it's fresh, it's amazing, it's here.
Change-Id: I5dc784411f704685ed5cc763a2b2b1c5d3e5a610
2016-10-28 18:33:15 +00:00
jenkins-bot
7085796ec3
Merge "Don't allow an image to be inserted into a gallery twice simultaneously"
2016-10-28 02:29:19 +00:00
jenkins-bot
daf7a32c03
Merge "ve.init.mw.DesktopArticleTarget: Fix missing '&&'"
2016-10-28 00:12:45 +00:00
James D. Forrester
c45c79eca2
ve.init.mw.DesktopArticleTarget: Fix missing '&&'
...
Change-Id: I0e91cde3d38d3f5bdd7dde790093db21d8a64036
2016-10-27 16:53:55 -07:00
jenkins-bot
eabd56618b
Merge "Set Api-User-Agent in requests to RESTBase/Parsoid"
2016-10-27 23:24:09 +00:00
Ed Sanders
244eeb9ea1
Update VE core submodule to master (e4c8003)
...
New changes:
e4c8003 Bring in target 'mode' property from MW
Local changes:
Use upstream Target#setMode functionality
Depends-On: I9d501cb77c714fbd299b5816d302b0bdde7833cd
Change-Id: I2fcda6ca7d82d880101d9ba2a027d4ef066aa238
2016-10-27 16:12:31 -07:00
jenkins-bot
db9d2e3cf5
Merge "Make meta dialog tools visibile but disabled in NWE"
2016-10-27 22:14:08 +00:00
Ed Sanders
fad3b429c8
Make meta dialog tools visibile but disabled in NWE
...
Following our unwritten rule of trying to keep the interface
as consistent as possible.
Change-Id: I58668acb5bac12de73b7b8f52e670f68336c399f
2016-10-27 14:48:51 -07:00
jenkins-bot
7d227035d8
Merge "Set mode of save dialog after setting size so footer is correct height"
2016-10-27 21:39:06 +00:00
Translation updater bot
e1750d91a7
Localisation updates from https://translatewiki.net .
...
Change-Id: Iea0a5aff41a675f21214845229cf2b20f6ebfed1
2016-10-27 23:23:35 +02:00
James D. Forrester
7eeb66f63e
Set Api-User-Agent in requests to RESTBase/Parsoid
...
Bug: T149050
Change-Id: I7670450724f18865a7d9c7c7eb182449964f32b0
2016-10-27 08:56:19 -07:00
Ed Sanders
7bc59cd65c
Set mode of save dialog after setting size so footer is correct height
...
Bug: T149274
Change-Id: Ic88b1c861029495e6098686d847deb181f62288e
2016-10-26 20:09:21 -07:00
Ed Sanders
dc902b4c93
Pass edit token when saving/diffing in new wikitext editor
...
Change-Id: Ia14a4d204e367a3d0d46165a51b0cdc6fc3d57e7
2016-10-26 17:39:14 -07:00
jenkins-bot
3c443724e2
Merge "Follow-up I64a8ed73: Fix NWE getWikitextFragment"
2016-10-26 23:57:44 +00:00
Alex Monk
53f8aac0d5
Follow-up I64a8ed73: Fix NWE getWikitextFragment
...
Also fix the rejection Deferred line if things go wrong
Change-Id: I8f060de1972dd0ae79c81162c61efd5956e48955
2016-10-27 00:37:22 +01:00
jenkins-bot
3750081797
Merge "Don't show confirm dialog when switching to NWE"
2016-10-26 21:48:15 +00:00
Translation updater bot
6384f229df
Localisation updates from https://translatewiki.net .
...
Change-Id: I792043fe70026cad2b4fcd41c241a5f7b6d113ae
2016-10-26 23:09:56 +02:00
jenkins-bot
60565711ff
Merge "Fix handling of API responses"
2016-10-26 20:42:35 +00:00
jenkins-bot
035987b9be
Merge "Create init.isWikitextAvailable and add page content check"
2016-10-26 20:42:06 +00:00
Ed Sanders
049a32c60a
Remove transform rule once toolbar has opened
...
Transform rules mess up the z-index context, so this
puts the toolbar dropdowns back in front of the content.
Change-Id: I7ba2cf295c83c55e5b1eead3a04760ea53390d37
2016-10-26 10:25:47 -07:00
jenkins-bot
b5317b694f
Merge "Fix edit source links for NWE"
2016-10-26 00:25:22 +00:00
Ed Sanders
460df1f25f
Don't show confirm dialog when switching to NWE
...
Bug: T148099
Change-Id: Icd756dc31ef8628795915ea972bb0ded385532ed
2016-10-25 17:20:16 -07:00
Ed Sanders
de2f07d523
Fix handling of API responses
...
NWE can return data in 'visualeditoredit' instead of
'visualeditor'. We may want to change this later.
Also restore removed hack code that popuplates missing
VE API data when requesting wikitext.
Change-Id: I9a782a85444d37a3e21c071db7e175ee9b0b1c4f
2016-10-25 17:20:16 -07:00
jenkins-bot
b341e3406a
Merge "Fix arguments passed to requestPageData when switching"
2016-10-26 00:04:34 +00:00
jenkins-bot
e3de154696
Merge "CSS styleguide fixes"
2016-10-26 00:04:33 +00:00
jenkins-bot
4eea791584
Merge "Fix toolbar transition"
2016-10-26 00:03:21 +00:00
Ed Sanders
6358d9ed6d
CSS styleguide fixes
...
These will be enforced in future versions of stylelint-config.
Change-Id: I0689cbeee6586d2d3dcb0021a3f613dc2ac73691
2016-10-25 15:58:10 -07:00
Ed Sanders
7b9229f5b8
Fix toolbar transition
...
The contents of the bar to should appear to move in to place, not
just be revealed.
Change-Id: I01a85e3455462cf70b6c3f25a236ab6cb82c706c
2016-10-25 15:55:41 -07:00
Ed Sanders
702f931ef2
Fix arguments passed to requestPageData when switching
...
Change-Id: I890d782829fd077096be364c26a41b56ec4a2df3
2016-10-25 15:52:52 -07:00
Ed Sanders
e977ca4336
Fix edit source links for NWE
...
We fixed these to use vesection instead of section.
Change-Id: I0aa6530b6707239c41216421394379301b0878a7
2016-10-25 15:50:14 -07:00
Translation updater bot
ea740c6f69
Localisation updates from https://translatewiki.net .
...
Change-Id: Iebd19dfd537c3d497da61cb2e29b68d20b37bccf
2016-10-25 23:20:12 +02:00
Ed Sanders
751853942f
Create init.isWikitextAvailable and add page content check
...
Bug: T149007
Change-Id: I2e16c6361c32f3c1ebd2ae7c9f41089d56b67b06
2016-10-24 15:36:44 -07:00
Translation updater bot
5d45a152d7
Localisation updates from https://translatewiki.net .
...
Change-Id: I05a0f58b68b49bb2f9f33054feff9684e654002f
2016-10-24 22:51:14 +02:00
Translation updater bot
01c4ed2d94
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie467ed65c70e47414a8f4acbea0074a3c0334c0e
2016-10-23 22:58:21 +02:00
Translation updater bot
db0b95931c
Localisation updates from https://translatewiki.net .
...
Change-Id: If117cff6ffc5cfbd4c2e9442150c8a5d47bd5ffc
2016-10-22 22:49:39 +02:00
Roan Kattouw
13801bb6d3
ApiVisualEditor: Move diffing and serializing to ApiVisualEditorEdit
...
These require POST, especially paction=serializeforcachekey because
it calls ApiStashEdit::parseAndStash() which needs a master DB connection.
Move them to the edit module so we can require POST for that one and keep
allowing GET for the main module. This fixes the warnings we currently get
for using parseAndStash() in a module that does not require POST.
Change-Id: I64a8ed7305105fa4c46902b99984306a7ff468cc
2016-10-21 15:24:13 -07:00
Translation updater bot
eca33bd745
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b6b5fc9fb845df91d17885a4766af0277e49fc1
2016-10-21 22:38:52 +02:00
jenkins-bot
dd30f86c52
Merge "Make ve-ui-mwGalleryDialog-image-container-highlighted rule more specific to ensure border-color rule takes effect"
2016-10-21 00:01:38 +00:00
jenkins-bot
50e102da0c
Merge "Send RB errors through the normal error handling process"
2016-10-20 23:01:02 +00:00
jenkins-bot
0f566448ed
Merge "Switch to the wikitext editor if VE fails to load"
2016-10-20 23:01:01 +00:00
Translation updater bot
fedd9be242
Localisation updates from https://translatewiki.net .
...
Change-Id: I61aae910eb0fad4b5f7fc61596ce3d533b588ce4
2016-10-20 23:49:57 +02:00
jenkins-bot
03f4d26003
Merge "Prevent edit source from acting twice"
2016-10-20 19:31:52 +00:00
Alex Monk
8414490dbf
Don't allow an image to be inserted into a gallery twice simultaneously
...
One after the other is okay though.
Also fix this so that, if the user is fast enough, two images simultaneously
also works.
Bug: T148558
Change-Id: I94f4fadd84cd3ed97d9676043cadc64f0e09f0b9
2016-10-20 02:22:34 +01:00
jenkins-bot
7582b97899
Merge "Enable conditional loading of ACE language modes"
2016-10-20 00:38:05 +00:00
Alex Monk
77629cd374
Make ve-ui-mwGalleryDialog-image-container-highlighted rule more specific to ensure border-color rule takes effect
...
Bug: T148041
Change-Id: I39366884d44ea68780c3780042cf82e34408d098
2016-10-20 00:31:55 +01:00
Translation updater bot
cafa9ef196
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibf1bfde74442aae0f3ea08aae49308dd7d7092fd
2016-10-19 23:29:29 +02:00
Derk-Jan Hartman
406e9f8e9c
Enable conditional loading of ACE language modes
...
require bypasses Ace's internal loadModule() logic which is capable of
on demand loading of Ace modules. Because unloaded modules are not
defined, they cannot be required, and because we don't use RL to preload
all modes (because it's a lot of bytes), currently only very few of the
available language modes were currently available.
Also validate language mode names passed to Ace.
Bug: T148518
Change-Id: I82d278920695be12aa80a79548abf8b8ce5445fd
2016-10-19 02:23:17 +02:00
Translation updater bot
46a024e587
Localisation updates from https://translatewiki.net .
...
Change-Id: I507cc8f57dbf634e9fa4ac2d79208684f3ed7d4b
2016-10-18 22:42:30 +02:00
Translation updater bot
d99e5e14a3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia19515d97e44be22b75a50566f62b5bdb1f7c4b2
2016-10-17 22:36:41 +02:00
Ed Sanders
2dfdd82317
Prevent edit source from acting twice
...
Bug: T148309
Change-Id: I5ef3f4b7cbc7298e89aa531c174657b1d1bccdf6
2016-10-16 19:06:06 -07:00
Translation updater bot
741058c75c
Localisation updates from https://translatewiki.net .
...
Change-Id: I2b7a634398f553f1c63665d37e51bcd6a359884c
2016-10-16 22:45:34 +02:00
Kunal Mehta
090b8ad5c7
Don't hardcode magic link URLs
...
These are actually configurable via MediaWiki messages, so use those
instead of hardcoding the default URLs.
Change-Id: Ie66a1b53f9c011947fe9e8db198a5904373f3192
2016-10-15 16:02:35 -07:00
Translation updater bot
870c0443a0
Localisation updates from https://translatewiki.net .
...
Change-Id: I2cd375e09d4bf3c773662ba1cb71ee21f0304a20
2016-10-15 23:10:08 +02:00
jenkins-bot
23eb869d9d
Merge "Get rid of ?venotify= from URL post-save"
2016-10-14 23:30:16 +00:00
Alex Monk
b5815e9ffd
Send RB errors through the normal error handling process
...
Change-Id: I230ff6d3c9a6a183fb483f5adfd7ccdc025a07af
2016-10-14 11:17:56 -07:00
Alex Monk
39aa3021a7
Switch to the wikitext editor if VE fails to load
...
Also kill some dead HACK code in DesktopWikitextArticleTarget#switchToWikitextEditor
Bug: T135748
Change-Id: Ie5aaa0f3c3bd20755abaac9b86af015b71eb777b
2016-10-14 18:15:16 +00:00
jenkins-bot
a9240d6f2f
Merge "Strip RESTBase IDs from HTML generated when wikitext is pasted"
2016-10-14 00:55:48 +00:00
Alex Monk
25933c09ec
Strip RESTBase IDs from HTML generated when wikitext is pasted
...
Bug: T146054
Change-Id: I0013673a9e41ea191ea64f3208a06288efb2ecd3
2016-10-13 17:42:11 -07:00
jenkins-bot
246e2ebb4e
Merge "Tidy up DAT load failure handling"
2016-10-14 00:32:30 +00:00
jenkins-bot
414a333b5e
Merge "Update VE core submodule to master (90cbd62)"
2016-10-14 00:20:55 +00:00
Ed Sanders
e1e02fa0d8
Update VE core submodule to master (90cbd62)
...
New changes:
abf8f41 Replace Array#concat with Array#push in converter
02aeb90 Localisation updates from https://translatewiki.net .
902ddda Use safer batchPush in converter
6368191 Use current surface's sequence registry in command help dialog
f7ce4b9 Optimize batchPush on small lists
fb43a0a ve.batchPush: add unit test to exercise long-array path
d6c7d24 Factor out RESTBase ID regular expression
ffcbf4b IndentationCommand: Use hasMatchingAncestor
d447023 Allow ommission of range from ve.dm.Document cloneFromRange
cfbc344 Don't strip empty paragraphs on paste if they are generated
01c918b Localisation updates from https://translatewiki.net .
1467947 Fix documentation of getMetadataIdRegExp
Local changes:
* Define RESTBase ID pattern in platform and fix slightly
* Bring in paste test from core, which requires platform switching.
Bug: T147607
Depends-On: Ifc1c15872a50f915e5ef8d561b3a363dc5f4d28f
Change-Id: I3eb21e115de92a67afa85b5675fcbca5b111adb6
2016-10-13 17:10:33 -07:00
Ed Sanders
85f8030053
MWMediaSearchWidget: Fix indentation in var
...
It is alarming that jscs is not picking this up..
Change-Id: Ibd3b113ebfedede9fa45120c24f00623ec5ea2fb
2016-10-13 23:45:37 +00:00
jenkins-bot
684b490597
Merge "More NWE-SET integration fixes"
2016-10-13 22:12:18 +00:00
jenkins-bot
2ea26a205b
Merge "Take only the last part of a URL query in media search widget"
2016-10-13 22:04:13 +00:00
jenkins-bot
e55c822817
Merge "Fix typo in DAT.init.js"
2016-10-13 22:04:12 +00:00
Thalia
7ec7acf108
Take only the last part of a URL query in media search widget
...
Quick fix to the problem that searching for the file name or
page title currently returns the image, but searching for the
URL does not.
Bug: T121354
Change-Id: I13e665226e5dc15ba626126dc4806ce8f4e0040b
2016-10-13 21:54:10 +00:00
Alex Monk
70bf00e9b0
More NWE-SET integration fixes
...
Also stop calling $skin->getUser() so much, store the result
Change-Id: Ic91a660bc4b97a82f1d2b0bffb55425564696da1
2016-10-13 22:46:16 +01:00
Alex Monk
49283f7250
Fix typo in DAT.init.js
...
Change-Id: I75f7de16ea06d62a1bdfa0e04294fef5560fd5c9
2016-10-13 22:22:57 +01:00
Translation updater bot
9939a68db2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ida7e81c4c8b762f36c338ccf874205ff50ed37a3
2016-10-13 22:55:14 +02:00
Alex Monk
6b87b2671e
Fix another case where we need to pass the section
...
Bug: T144654
Change-Id: I5f91b9329525ceaeb971d02f93c959d908d748f7
2016-10-13 20:28:21 +01:00
jenkins-bot
56c5ecb0f1
Merge "Fix sanitizing of query value in media search"
2016-10-13 04:14:10 +00:00
Ed Sanders
972094788c
Fix sanitizing of query value in media search
...
Always use #getQueryValue which trims whitespace, so we
don't pass whitespace to the API.
Also rename some variables for clarity, and remove some
unused arguments.
Change-Id: I0d27f59488295bc1c398d0fd287e3e16a3f5aaec
2016-10-13 04:03:57 +00:00
jenkins-bot
d20040aec0
Merge "Section editing in NWE"
2016-10-13 01:51:56 +00:00
jenkins-bot
12d63b17c0
Merge "Set gallery dialog to larger size when search panel is focused"
2016-10-13 00:52:10 +00:00
jenkins-bot
78df357278
Merge "mw.LinkCache: Links aren't missing if they're known"
2016-10-13 00:52:09 +00:00
Thalia
91ca88f6e8
Set gallery dialog to larger size when search panel is focused
...
Bug: T145246
Change-Id: I49b218f704d31b4f699fe39f414a84abbfffc093
2016-10-12 17:42:54 -07:00
James D. Forrester
0a3dbfb621
mw.LinkCache: Links aren't missing if they're known
...
Thanks to new sparkly API data.
Bug: T72123
Change-Id: I9d4ff14bb2e81404224819c9153a7b8d86ca6f11
2016-10-12 17:21:58 -07:00
Ed Sanders
4040442ad8
Section editing in NWE
...
Bug: T144654
Change-Id: Ida6e721e0d980b47e3fda6a1f0744cbce1b2235a
2016-10-12 12:55:11 -07:00
Kunal Mehta
6c93a49244
Get rid of ?venotify= from URL post-save
...
Use history.replaceState if available to get rid of the venotify query
parameter to avoid polluting URLs.
Ideally this would just use a cookie like the core post-edit
notification.
Change-Id: I6ce142012053e2fc18dd44fd0f7b82914acea076
2016-10-12 11:05:12 -07:00
jenkins-bot
9694ef6e63
Merge "Follow-up I9547dfd: Only enable VE tabs if VE is available"
2016-10-11 21:32:37 +00:00
Ed Sanders
4fc2904a87
Follow-up I9547dfd: Only enable VE tabs if VE is available
...
Otherwise VE is launched on namespaces where it is disabled
(but NWE is enabled).
Bug: T147890
Change-Id: I62f4ff96b991553a4eb0be9efb2e84bc80ca2bb4
2016-10-11 14:19:36 -07:00
Translation updater bot
0f7c0972f5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic768923084efb9d251d6229d8e87ee38aa62918c
2016-10-11 22:51:06 +02:00
jenkins-bot
00af103293
Merge "Fix detection of headings in NWE format menu"
2016-10-10 22:46:46 +00:00
Translation updater bot
913a1a943e
Localisation updates from https://translatewiki.net .
...
Change-Id: I4c889135c1b62c4d7a7b60342f750b73623c876b
2016-10-10 22:29:24 +02:00
Translation updater bot
5b5249c77b
Localisation updates from https://translatewiki.net .
...
Change-Id: Iacab38668920ea1e26b209bedd16910985a8b0ff
2016-10-09 22:58:22 +02:00
jenkins-bot
eafbe8cf8c
Merge "Add big/small support to NWE"
2016-10-08 21:00:35 +00:00
Ed Sanders
3d39b80991
Fix detection of headings in NWE format menu
...
Use regex to include match any character after '='.
Bug: T147585
Change-Id: I22228bedf497613506a676eca465d3bc7bc5fe67
2016-10-08 20:53:58 +00:00
Ebrahim Byagowi
e55d1b2a3c
i18n: Native digits on 'visualeditor-editnotices-tool'
...
Change-Id: I5a802199a9d736d0082775052d5224cfa9580450
2016-10-08 18:36:36 +00:00
Ed Sanders
2ad4015775
Add big/small support to NWE
...
Change-Id: Id42cb7563d7f6d14d0f225edb8a283c8b9eaa8db
2016-10-07 22:44:52 -04:00
jenkins-bot
800dceaa0e
Merge "Hid category links in source edit mode"
2016-10-07 22:08:30 +00:00
Ed Sanders
605f7b625b
Hid category links in source edit mode
...
Change-Id: Ib44e393d3a8d070a4ced002a11cb26f58447e67c
2016-10-07 16:24:23 -04:00
Ed Sanders
31a3f2f0b6
Move editfont class down to surface view, so it doesn't break DebugBar
...
Change-Id: I779ab9d581af37ae104acf4ea6a83b86504bb257
2016-10-07 16:10:58 -04:00
jenkins-bot
7551b0e788
Merge "Use createTextNode in wikitext converter"
2016-10-06 23:20:21 +00:00
Ed Sanders
01ed8e954e
Use createTextNode in wikitext converter
...
Has better browser support. innerText is for getting the
text as rendered.
Bug: T147584
Change-Id: Ie2cf732d537aa4053d5b45d85c2d678a0d338017
2016-10-06 14:50:08 -04:00
Ed Sanders
aa7da97f2d
Use safer batchPush in converter
...
Some older browsers may fail with >1024 arguments. This
does not have a noticeable effect on performance.
Change-Id: I8c85f43425997735bbbe08d27374b79502e02ecf
2016-10-06 13:19:00 -04:00
Alex Monk
d2dd3689cf
Tidy up DAT load failure handling
...
Get rid of the 504 Gateway Timeout handling while we're here, in preparation
for bug T135748 where that kind of thing will be made normal.
Change-Id: Ia4abb1a68ff7ab7ff365c7348bf4d2ad35c43a27
2016-10-06 00:52:28 +01:00
jenkins-bot
c8f3474f3d
Merge "Fix styling of categories now they are editable"
2016-10-05 21:33:49 +00:00
Translation updater bot
bbac9dad9f
Localisation updates from https://translatewiki.net .
...
Change-Id: I3eec08b6d83c2338fda9d5b7cff84f99e16f59e1
2016-10-05 22:46:35 +02:00
jenkins-bot
1321452197
Merge "New wikitext editor: unwrap lists when changing style"
2016-10-05 19:40:01 +00:00
jenkins-bot
6604a6a3a9
Merge "Use a proper error message when VE fails to load due to not being able to connect"
2016-10-05 18:29:28 +00:00
jenkins-bot
80596f9f22
Merge "Disable switch-to-VE button in NWE if VE is unavailable, don't hide it"
2016-10-05 18:29:26 +00:00
jenkins-bot
eae2305269
Merge "Allow NWE on non-VE namespaces"
2016-10-05 18:22:56 +00:00
jenkins-bot
31a7c96a38
Merge "Use a streamlined 'converter' in wikitext mode"
2016-10-05 16:53:43 +00:00
jenkins-bot
d5d8223244
Merge "Allow users who haven't enabled NWE in their preferences to use veaction=editsource"
2016-10-05 16:51:34 +00:00
Ed Sanders
a0dd888485
Use a streamlined 'converter' in wikitext mode
...
Converting a document we know contains just plain text paragraphs
is slower than it needs to be. The speeds up the conversion of
[[Barack Obama]] from ~2000ms to <100ms.
Change-Id: I2081858d835286b48db0627696a9eb5294317c2e
2016-10-05 16:40:28 +00:00
Alex Monk
f860bd0d36
Use a proper error message when VE fails to load due to not being able to connect
...
Not just 'HTTP 0'
Change-Id: Icd1b5b64ca8ea4af80e3cf32f8502d8fb0d11ae2
2016-10-05 16:39:27 +00:00
Alex Monk
9dabce28b2
Allow users who haven't enabled NWE in their preferences to use veaction=editsource
...
Instead of being completely broken when they try this, let it just work.
Change-Id: I173d82a748289e73c5792ca5aee22b8871f6a2d8
2016-10-04 23:48:43 +01:00
jenkins-bot
26e235211d
Merge "Pass excludeCurrentPage option to TitleSearchWidget in link inspector"
2016-10-04 22:45:10 +00:00
jenkins-bot
8990d9f82e
Merge "Detect format in wikitext"
2016-10-04 22:26:08 +00:00
Translation updater bot
fdc4bab12a
Localisation updates from https://translatewiki.net .
...
Change-Id: Iec3713516a34514afc14ab3de14452d2f146ffbe
2016-10-04 22:42:49 +02:00
Ed Sanders
a9233045c7
Detect format in wikitext
...
Logically depends on I575d92c4fa.
Should really use a registry, and also doesn't update when
format is changed by deleting text, but is an improvement
for now.
Bug: T147218
Change-Id: I0cb87dbad2ab4269c4f89bdff8a4ccd9b35c8635
2016-10-04 11:04:54 -07:00
Alex Monk
aeaa49f9b2
Disable switch-to-VE button in NWE if VE is unavailable, don't hide it
...
Bug: T146182
Change-Id: I9d5095147288a78e2ba7dbddd3d7e6673c97859f
2016-10-04 18:41:11 +01:00
jenkins-bot
9da0eaef03
Merge "Pre-load the article title in gallery dialog search"
2016-10-04 16:24:00 +00:00
jenkins-bot
c1cb6edf83
Merge "Don't try to add suggested/required parameters already set under alias names"
2016-10-04 15:49:27 +00:00
Alex Monk
d15034011f
Allow NWE on non-VE namespaces
...
Bug: T146182
Change-Id: I9547dfd591ad1e68e045b4928765a95895e37737
2016-10-03 22:20:18 +01:00
Ed Sanders
69c332d1ad
New wikitext editor: unwrap lists when changing style
...
Bug: T147227
Change-Id: I1a7f86e2a97855be5c44671d8f5918fb87bc70d0
2016-10-03 16:16:04 -04:00
jenkins-bot
1e89ab7d7a
Merge "Remove commented out code"
2016-10-03 19:37:27 +00:00
Ed Sanders
755500b463
Remove commented out code
...
Change-Id: Ie3edc36c5d51eb7f6363416594a8aab37dec074c
2016-10-03 15:08:47 -04:00
jenkins-bot
d415a003cd
Merge "Apply user preference 'editfont' to NWE"
2016-10-03 17:01:11 +00:00
Alex Monk
e3a387b517
Don't try to add suggested/required parameters already set under alias names
...
Bug: T143650
Change-Id: I6d5ed2903a468205760f715b9bb36a40bdef926a
2016-10-03 17:57:55 +01:00
jenkins-bot
b8373f572d
Merge "ce.MWTransclusionNode: Clean up href normalization"
2016-10-03 15:28:00 +00:00
Ed Sanders
1ce3a81c63
Fix styling of categories now they are editable
...
Bug: T147084
Change-Id: I8c2acf507c72f6a35aadf595bad0c8c378140a0b
2016-10-02 15:43:17 -04:00
Translation updater bot
88a44f3fe0
Localisation updates from https://translatewiki.net .
...
Change-Id: I9ae8d8970ecf34e232d9c663ea2e8bea912e2e6d
2016-10-02 10:43:42 +02:00
Ed Sanders
4d1f8b5928
Pass excludeCurrentPage option to TitleSearchWidget in link inspector
...
Logically depends on Ieade9d0ff for the actual functionality.
Bug: T147050
Change-Id: I2cc4fc170398c80d7f0103772bc56666685b8baf
2016-09-30 15:41:08 -04:00
Translation updater bot
a71e015764
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib5bb67d1ec84e5993da18c07bf8151bdbde3b585
2016-09-29 23:03:24 +02:00
jenkins-bot
89f1ac8f09
Merge "Add wikitext sequences for lower heading levels"
2016-09-29 17:06:08 +00:00
Roan Kattouw
f2c715aaa0
ce.MWTransclusionNode: Clean up href normalization
...
This became a special case when decodeURIComponentIntoArticleTitle()
was introduced, presumably because we skipped underscore transformation
out of laziness here. It doesn't matter whether we do underscore normalization
because we do title normalization right after, so make this code
less exceptional by using the fully decoded title.
Change-Id: I036cc7f1e08895d36224c94b8edc3ad700af1947
2016-09-29 00:16:15 +00:00
Translation updater bot
ad45145a20
Localisation updates from https://translatewiki.net .
...
Change-Id: I3debd46c2f469651fe40c83f65d4e0df01fccca5
2016-09-28 22:28:13 +02:00
Ed Sanders
2ce9979d36
Apply user preference 'editfont' to NWE
...
Expects I5f0433e9 in core
Bug: T145016
Change-Id: I3b57d566d2846ea284e620d7335c4a3f62df518a
2016-09-28 20:06:43 +00:00
Ed Sanders
ba8ca2ab73
Add wikitext sequences for lower heading levels
...
Bug: T146264
Change-Id: I0f9afad27ab11d4eb487c5a18c667eeead3f1c75
2016-09-28 11:59:55 -07:00
jenkins-bot
97315a6763
Merge "NWE: Don't show button to switch to VE if it isn't available"
2016-09-28 16:40:24 +00:00
Thalia
1d8d4accff
Pre-load the article title in gallery dialog search
...
Bug: T145243
Change-Id: I4cd04dee4c875524ecdf90027dc878eb15f47ce6
2016-09-27 14:01:31 -07:00
Translation updater bot
749dfc9828
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie1589d4f1c2161c83c20be3f53b9dda9effecbc7
2016-09-27 22:40:25 +02:00
Translation updater bot
b9ab005c6c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibcdc76d2e8e9ddfcd14be99a0ada167d444d95ec
2016-09-26 22:44:11 +02:00
Derk-Jan Hartman
fbdad82b99
Use slice instead of substring per code conventions
...
Change-Id: I5de8b485d287db097f2ad63a7edf75f86a86822d
2016-09-26 21:34:37 +02:00
Bartosz Dziewoński
107faee6da
ve.dm.MWMediaResourceProvider: Use mw.ForeignApi rather than JSONP
...
Requires MediaWiki core change
Ic93d733cb9e1b1d7301f8975c68ab7ded778845a.
On wikis with CentralAuth installed, also requires
I24c2819ec2adcab468f961c5c46b31c331324567 and
I372e7bdff35400287b3d961da979d6f094d13bd9.
Bug: T143279
Change-Id: Id60bb3cde7e2032846da9606aefb00ea805f2ecd
2016-09-26 18:57:16 +00:00
jenkins-bot
8375c57a6c
Merge "Revert "ve.dm.MWMediaResourceProvider: Use mw.ForeignApi rather than JSONP""
2016-09-26 18:55:13 +00:00
Bartosz Dziewoński
1d8032db1c
Revert "ve.dm.MWMediaResourceProvider: Use mw.ForeignApi rather than JSONP"
...
The change was merged without the necessary dependencies.
This reverts commit 2b1c3914ec
.
Bug: T143279
Bug: T146661
Change-Id: I5ce945f6167c9db5d5f03c824dee3d89cd0931a8
2016-09-26 18:49:00 +00:00
jenkins-bot
720b97694e
Merge "Change mid-upload 'cancel' button to 'back'"
2016-09-26 18:34:38 +00:00
jenkins-bot
d9ed33208a
Merge "MWAceEditorWidget: Configure Ace with its base path"
2016-09-26 13:50:42 +00:00
Derk-Jan Hartman
148c6b53b4
MWAceEditorWidget: Configure Ace with its base path
...
Configure the basePath for Ace, so that its own loader knows from where
to lazy-load additional resources. This will enable all known modes and
the worker scripts for linting.
Bug: T124419
Change-Id: Ie71518917ab966743e8397b23ffb050ca47e9ff4
2016-09-26 14:54:42 +02:00
Translation updater bot
2cb81c9973
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a10ed479e33d9e37a3d90036d746f5b88b67b7a
2016-09-24 22:43:19 +02:00
Alex Monk
d0abe11aca
NWE: Don't show button to switch to VE if it isn't available
...
Bug: T146182
Change-Id: I4bd039726ebccfd4351ecc68e6d7662752412d1b
2016-09-24 02:43:38 +01:00
Translation updater bot
c302e0804f
Localisation updates from https://translatewiki.net .
...
Change-Id: I8052278bd63e4093cf4a84361fb116c232263ad8
2016-09-23 22:37:08 +02:00
Translation updater bot
df68db60ab
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibab4cd837a2e55e65ad8bb1bd5acdb434811de45
2016-09-22 23:43:10 +02:00
David Lynch
d28819f795
ui.MWLinkAnnotationInspector: skip internal link checking if the value has changed
...
If the value has changed since the event was fired, we're operating on old
data, *and* another event will have been fired for that change anyway. So
abort this check.
Bug: T146306
Change-Id: Ia6682ec0218fd3fbc573582753d815a56963eb71
2016-09-22 11:23:48 -05:00
jenkins-bot
80618cc629
Merge "dm.MWInternalLinkAnnotation: Fix href normalization for special characters"
2016-09-22 16:19:12 +00:00
Roan Kattouw
bb45d984ca
dm.MWInternalLinkAnnotation: Fix href normalization for special characters
...
<a href="Foo%3F"> would dirty-diff to <a href="Foo?"> and also render
as such, pointing to the wrong page.
We also called decodeURIComponent() on the href twice, which can't
have been good.
Move URI decoding and underscore normalization into
getTargetDataFromHref(), and add rawTitle for callers that need it.
Put rawTitle in the origTitle attribute, so that equivalence
comparisons (decode(origTitle) === title) work as intended.
Bug: T145978
Change-Id: I29331a4ab0f8f7ef059c109f6813fa670a2c7390
2016-09-22 09:10:41 -07:00
Matthias Mullie
2b4948b0b6
Change mid-upload 'cancel' button to 'back'
...
Bug: T114938
Change-Id: I964708e1267223b181630b9bea5b19e2bdf242be
2016-09-22 16:13:57 +02:00
jenkins-bot
6d583291bb
Merge "Only unregister WT string handler in WT handler factory"
2016-09-22 04:09:18 +00:00
jenkins-bot
a44a4d402e
Merge "ve.dm.MWMediaResourceProvider: Use mw.ForeignApi rather than JSONP"
2016-09-22 03:01:54 +00:00
Ed Sanders
d8fb7b84d3
Only unregister WT string handler in WT handler factory
...
Bug: T144653
Change-Id: I91528b56ac3905a05e8da51455055537958e026e
2016-09-21 13:08:10 -07:00
David Lynch
5bc54fd036
dm.MWInternalLinkAnnotation: Add some test cases
...
Change-Id: Ie338d5538959ea2cc296886b623e9dc2cd84fa8f
2016-09-21 09:57:45 -07:00
Ed Sanders
4c8a97f9e8
Temporarily override broken toolbar border colour
...
Will be fixed in the next OOUI release via I91862c2e609.
Change-Id: I741bb8d5396bed256ee1907eaa4ba86e4697f325
2016-09-20 22:51:02 -07:00
Alex Monk
2b8cd0fa13
Pass document to preview through PST
...
Change-Id: I2712c26c94cf62f8ec8e68a9912e6a557f41f6a4
2016-09-20 18:11:42 -07:00
Alex Monk
8a80b5bbc3
Split isAvailable from visual-specific checks
...
Not fully tested
Bug: T146182
Change-Id: I5d7ae6e49991660ecdc2daf46b319947f83a1018
2016-09-20 23:53:53 +01:00
jenkins-bot
089e22ff6c
Merge "(attempt to) make NWE work with SET"
2016-09-20 22:45:14 +00:00
Alex Monk
63fcefcfcd
Education popup: Put localStorage check inside try/catch
...
Bug: T146139
Change-Id: I5faf5f4fce2f3161ad62d3617d1bb1d750a44728
2016-09-20 22:04:53 +01:00
Translation updater bot
7888fd05e5
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a2e09923e60fecf9d3b57f01ad00585bd6e7b17
2016-09-20 22:41:42 +02:00
jenkins-bot
80e2b62c69
Merge "Simplify and fix category popup widget checks"
2016-09-20 01:00:17 +00:00
jenkins-bot
f6b7c64e92
Merge "Open meta dialog to edit categories when user clicks on the category footer"
2016-09-20 00:58:29 +00:00
Volker E
ecab9df8bb
Update progressive
color to WCAG 2.0 level AA compliant color palette
...
Aligning instances of `progressive` color to WCAG 2.0 level AA compliant
color palette similar to changes in
I6fdb90af8b9dc5e5e026eb0c1bd13138c73da4cd
Change-Id: I2eda190f0a68de6dc8aa33724f2c8975327a061f
2016-09-19 15:25:45 -07:00
Translation updater bot
7c3021dc88
Localisation updates from https://translatewiki.net .
...
Change-Id: I1fd2d120d3d595d4b1ce63e055fb61b82ed60273
2016-09-19 23:02:54 +02:00
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