Commit graph

12200 commits

Author SHA1 Message Date
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
Ed Sanders b9e3e438dd Merge transclusion and transclusion.core RL modules
No real need for separation here.

Change-Id: Ic97bb0a049c1c77e3063732911e2b690e8a3a317
2016-09-08 15:49:30 -07: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
jenkins-bot 7fe96fc238 Merge "Rename mediawiki.action.history.diff to mediawiki.diff.styles" 2016-09-08 15:37:48 +00: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 b746861651 Make ext.visualEditor.mediawiki a dependency of .mwcore
For example, MWWikitextTransferRegistry (in .mwcore) expects
ve.init.platform to exist (in .mediawiki).

In normal operation this isn't a problem, but it appears
in some cases (switching to VE from edit source) it can be.

Bug: T144881
Change-Id: Id1a5367472a3f837e7563330dd5220e61adb1889
2016-09-07 17:00:54 -07: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
jenkins-bot fcacd7821a Merge "Update VE core submodule to master (38b5572)" 2016-09-07 20:51:55 +00:00
Translation updater bot 22875eaa27 Localisation updates from https://translatewiki.net.
Change-Id: I83408d6d2009cc39f4d1a1c3bc89ec201046d645
2016-09-07 22:47:09 +02:00
James D. Forrester fc6d1961ee Update VE core submodule to master (38b5572)
New changes:
aacd653 Deprecate IndexValueStore#clone in favour of slice()
90b1003 ce.TableRowNode: check we're still attached before setupMissingCell
c0ffae7 Allow users to pass in LinearData objects to cloneWithData
da9961b Localisation updates from https://translatewiki.net.
5467054 Un-break build from i18n-bot-added language
50f2e84 Allow progress dialog items to be non-cancellable
26dd5ad Don't render cursor holders outside of active node
38b5572 Fix bad serialization of DOM elements in cloneElement

Change-Id: I07e0c9b150897a6d3023845930b2dd9554d9c74e
2016-09-07 13:38:49 -07:00
James D. Forrester 5788252c2c Switch constant from deprecated DB_SLAVE to DB_REPLICA
Change-Id: I04ba5cb3844942a9dcfb71a14ff944f29ef8d8d0
2016-09-07 12:14:07 -07: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
Leszek Manicki c55d324313 Rename mediawiki.action.history.diff to mediawiki.diff.styles
Depends-On: I7ecc08417c5f1870ed6f2ca139fd953d68f6ec8e
Change-Id: I638b23cd8bc67075e82517a0e1e435670db98a39
2016-09-06 11:13:48 +02: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 41ac54e8e8 Merge "Update VE core submodule to master (da920dc)" 2016-09-01 20:05:19 +00:00
jenkins-bot 69b7a262ec Merge "Follow-up 51dd790 & c40070b: Drop T135171 debug tracking" 2016-09-01 19:26:14 +00:00
James D. Forrester df536d49c6 Update VE core submodule to master (da920dc)
New changes:
f83e572 Remove items from DTH factory indexes when unregistering
7a4082b Don't remove selected content in beforePaste
9337fc8 ve.init.Target: Unset this.surface when destroying it
87a749b Check surface has been added before setting

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

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

Change-Id: I6837b71a4270bbdfb8c15e9027f721c3f85ea907
2016-08-29 16:35:04 -07:00
jenkins-bot dabddaa798 Merge "Avoid master queries from getUserPermissionsErrors()" 2016-08-29 22:20:30 +00:00
Translation updater bot aa3dcd35b3 Localisation updates from https://translatewiki.net.
Change-Id: I3b0565e6b6690091bdacf4b6759f4aa43530f64b
2016-08-29 22:41:25 +02:00
James D. Forrester ba4532aa9d Rename EditButtonPublishNotSave to EditSubmitButtonLabelPublish
Depends-On: I4fbe54876095378a476399bf5e336c8df3e91e14
Change-Id: Iface24f77775216a0ab9eb464e7e10624af7719d
2016-08-29 10:46:49 -07:00
Translation updater bot fb16967972 Localisation updates from https://translatewiki.net.
Change-Id: Ie985146be37405dd3a37e91f321b35f49446c44f
2016-08-28 22:43:43 +02:00