Commit graph

9381 commits

Author SHA1 Message Date
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
Translation updater bot 5f815996fc Localisation updates from https://translatewiki.net.
Change-Id: I13f5c6866a08bfde9e66f9bdc44ca3058216596e
2016-05-28 22:20:59 +02:00
Ed Sanders d6a770bb4d Remove unused namespace class
Introduced recently but then abandoned.

Change-Id: Ifa999f0e60fe1b6d68c63813025c9fd48b79ad5f
2016-05-28 20:54:24 +01:00
Ed Sanders 293163131b Fix z-index of surface for debug bar
Change-Id: I938f2d959cd7cb72c43c2efd666838a9cd9d3e39
2016-05-28 20:53:40 +01:00
jenkins-bot ce149e49d7 Merge "DesktopArticleTarget.init: Make surface hiding hack work with padding" 2016-05-27 18:46:36 +00:00
Ed Sanders 5d9ed11815 DesktopArticleTarget.init: Make surface hiding hack work with padding
Change-Id: Ia8508199c80ef3da7f4ae30bd4e053273fe44d8a
2016-05-27 18:33:33 +00:00
jenkins-bot 6334609637 Merge "Track ETag header responses in special event logging schema" 2016-05-26 23:00:52 +00:00
Alex Monk 51dd790710 Track ETag header responses in special event logging schema
Bug: T135171
Change-Id: I70d6db0897c3f08c28d5841302ba7e196f362e48
2016-05-26 23:29:02 +01:00
Translation updater bot 6d9ae3c638 Localisation updates from https://translatewiki.net.
Change-Id: I033ff3bf6882ae805006f12e89fb7e0235206840
2016-05-26 22:47:49 +02:00
Alex Monk afd5944bde Followup I9280fe4d: Merge main case with default, they are identical
Change-Id: I280f0eba1c99f5e96ffe5466e8398115fbc5f4f8
2016-05-26 18:15:27 +01:00
jenkins-bot 3fbb170c7a Merge "Follow-up 1dc933be: Don't fatal when editing non-NS0/6/14 pages" 2016-05-26 17:03:34 +00:00
jenkins-bot 628e1098af Merge "Use insertContent with templates when range is collapsed" 2016-05-26 16:32:06 +00:00
Ed Sanders bc3edc7712 Use insertContent with templates when range is collapsed
We may be trying to insert a block into a paragraph. fixUpInsertion
handles this, but not if use a replace transactions.

Bug: T136279
Change-Id: I1401da52676e79f38ef835a32d2c76004b75fb4e
2016-05-26 17:10:52 +01:00
James D. Forrester 1b9427c5dd Follow-up 1dc933be: Don't fatal when editing non-NS0/6/14 pages
Change-Id: I9280fe4d771cf7ce1ee3874a34d7a14b672b222c
2016-05-26 09:07:07 -07:00
jenkins-bot 02a8369777 Merge "Clear save caches when toolbar is re-attached" 2016-05-26 16:00:08 +00:00
jenkins-bot 24d313c255 Merge "Append surface & toolbar components in the correct places" 2016-05-26 15:59:35 +00:00
Ed Sanders 67d24eb83f Clear save caches when toolbar is re-attached
Change-Id: I14ddcba9fa4fd5f39341312d241ce59980276a2b
2016-05-26 15:53:04 +00:00
Ed Sanders 1c5c1fc6b9 Append surface & toolbar components in the correct places
Use setSurface and setupToolbar to position the surface and the
toolbar save button in the DOM.

Change-Id: Ide634848f4e78501724c358bcb1fdab8abd491b9
2016-05-26 08:50:21 -07:00
jenkins-bot 6eac839150 Merge "Genericise target initialisation across namespaces" 2016-05-26 15:49:54 +00:00
Translation updater bot 173067afe6 Localisation updates from https://translatewiki.net.
Change-Id: Ib0280407fd858e968666dc55308753b7beaf108a
2016-05-25 22:27:45 +02:00
Ed Sanders 1dc933bead Genericise target initialisation across namespaces
Define $editableContent on target construction, and mark
all non-ancestor nodes between that at the target container
as uneditable (50% opacity, no pointer events).

Bug: T58289
Change-Id: I7fe51104bd5aa1bd53ffc604e5f02752c7553578
2016-05-25 12:50:36 +01:00
jenkins-bot 5698e855e3 Merge "Update stylelint config version and make a pass" 2016-05-24 21:40:41 +00:00
Translation updater bot b0c0dd65f9 Localisation updates from https://translatewiki.net.
Change-Id: I513363bac0fcc34b0b7f5986b8eb6770dbb85342
2016-05-24 23:11:16 +02:00
Ed Sanders 7b8931193a Update stylelint config version and make a pass
Change-Id: I58007c3976019c8cfe96fd1fc0474d9e80f99f64
2016-05-24 13:41:13 +01:00
Translation updater bot cc1eb58a61 Localisation updates from https://translatewiki.net.
Change-Id: Ia13b9d4cce942ff7577bf2effab35ae4eb178754
2016-05-23 22:28:45 +02:00
jenkins-bot e85d4574b0 Merge "Workaround for T135127: Generate replace transactions in MWTransclusionModel" 2016-05-23 16:16:11 +00:00
Translation updater bot 3c3f7e13d8 Localisation updates from https://translatewiki.net.
Change-Id: I2195b91a462d79c97370bcd35dc5d1cf4e1592b9
2016-05-22 22:29:12 +02:00
Bartosz Dziewoński a86cfc82d1 Remove Wikipedia logo from welcome dialog image
The editor can also be used on wikis that are not Wikipedia.

By the way, the logo was incorrectly flipped for the RTL version. Heh.

Bug: T135811
Change-Id: I5635da13e8335658079620a46ac265c4ed6bd167
2016-05-22 16:34:12 +02:00
Translation updater bot 25b339b430 Localisation updates from https://translatewiki.net.
Change-Id: I87ae46efa09146f9f6b65d851acbba0e0021da83
2016-05-21 22:25:18 +02:00
Translation updater bot 89866241ef Localisation updates from https://translatewiki.net.
Change-Id: I49c245ddb88cbd50279036adb7ce6cbaada7a9b1
2016-05-20 22:32:43 +02:00
Ed Sanders 61d592bab1 Workaround for T135127: Generate replace transactions in MWTransclusionModel
Change-Id: I1d202c3b2e980f1ea52ef90d028886135b0cb748
2016-05-20 10:54:56 +01:00
jenkins-bot c21229c20a Merge "Don't show tab preference dialog again if it's already been shown" 2016-05-20 08:32:09 +00:00
Alex Monk 8c3dc0887d Don't show tab preference dialog again if it's already been shown
Bug: T135534
Change-Id: Ifecac607acccc0e18e61b07e8456566d4671aa1b
2016-05-20 02:36:25 +01:00
Translation updater bot cd37cc8cbb Localisation updates from https://translatewiki.net.
Change-Id: I2235d89637874bac660b6eaeef086f4fa8db50dd
2016-05-19 23:13:02 +02:00
jenkins-bot 709e53189c Merge "Update VE core submodule to master (eeaf1e2)" 2016-05-18 09:55:21 +00:00
James D. Forrester 8c7ed92288 Update VE core submodule to master (eeaf1e2)
New changes:
c54a48a build: Fix watch list (csslint -> stylelint)
58ba3d9 Add stylelint rules for @-rules
3f8c75a Stylelint: Add rule for unsupported browser features
3b96ff3 Fix minimum Opera version (15 -> 12)
9a1110b Stylelint: No ID selectors
9800bb8 build: Remove remaining references to csslint
b6ab14a stylelint: Re-enable features by names
6cc1f3c Move stylelint to npm
1d15fa0 build: Bump stylelint version to v0.2.0
ccc1724 stylelint: Use the preset rather than extending

Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea
2016-05-18 07:06:53 +01:00
Translation updater bot 29148d0e49 Localisation updates from https://translatewiki.net.
Change-Id: I10eee6216d5dd63d53aacca6d41e20c8b9080113
2016-05-17 22:25:27 +02:00
jenkins-bot d2c995594a Merge "Remove remaining references to csslint" 2016-05-17 12:41:48 +00:00
Ed Sanders 8d749518ec stylelint: Comment uses of 'unsupported' browser CSS features
Change-Id: Ia88575d3fe71c22551cc601f03d8f4dea6d7fe16
2016-05-17 12:28:07 +00:00
Ed Sanders df49e5deb9 Remove remaining references to csslint
Change-Id: I1b5177bf746985a199bcc1ec713f886164c74760
2016-05-17 13:27:47 +01:00
jenkins-bot 224b75472c Merge "build: Replace csslint with stylelint" 2016-05-16 21:46:18 +00:00
Ed Sanders 99d3320573 build: Replace csslint with stylelint
For now just use the rules file in lib/ve, but eventually
this will be a preset.

Change-Id: I7fd79d3e1dce37aef066d416cd969e5fff1e962f
Depends-On: I17e0d23ddfedf64985495ab35d113ea08c03b1df
2016-05-16 22:30:49 +01:00
Translation updater bot abe98d1eeb Localisation updates from https://translatewiki.net.
Change-Id: Icba1843fe760a436a980a42d9df31d39f10eca97
2016-05-16 22:46:21 +02:00
jenkins-bot 7a69ae68ab Merge "[BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node" 2016-05-16 08:27:52 +00:00
Ed Sanders 236e3d1241 [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node
Make some of the methods we currently use to render the node
static so we can re-use them before inserting. We do the evaluation
without inserting the node so as not to dirty the document and
transcation history.

In the unlikely case the request fails, just fallback to inline.

This only handles insertions for now as type changes on edit will be
very rare.

This changes the signature of insertTransclusionNode, which is used
in Cite and Citoid extensions.

Bug: T51784
Change-Id: Ibc2fc66e6866084b0a4deeb082c8a1ca412febb2
2016-05-16 09:19:13 +01:00
Translation updater bot 4ebf9de43a Localisation updates from https://translatewiki.net.
Change-Id: I71d8aebfba03d06e4162c51ac2271685bc35402e
2016-05-15 22:33:06 +02:00
Translation updater bot 069bef2fb4 Localisation updates from https://translatewiki.net.
Change-Id: I32d1429672c6e6a4b4aab07839bab17e86522ab8
2016-05-14 22:46:27 +02:00
Translation updater bot 3d7352b5ec Localisation updates from https://translatewiki.net.
Change-Id: I536105b8a587b2bcbb579f913c904349ff0c1ec8
2016-05-13 22:24:10 +02:00
Ed Sanders 7f0b56ff6c Use new action test runner
Bug: T90370
Change-Id: Ice209791f323c19743c192c5f864b2f8202b5ca9
Depends-On: I9b9275b55b367a1335bf4c4f8f52a68f6aeb9827
2016-05-13 14:21:49 +00:00
Translation updater bot e85419c23c Localisation updates from https://translatewiki.net.
Change-Id: Icc2d0c65cbb083959c86423d440315b55447177d
2016-05-12 22:17:54 +02:00
Translation updater bot c4326346e3 Localisation updates from https://translatewiki.net.
Change-Id: I3fe9c30f546d073f47846c35c304b36497e32e5c
2016-05-11 22:30:19 +02:00
Alex Monk 349b1f5e57 Add WTE welcome dialog
Bug: T133800
Change-Id: I6eb43274e22f647958c3ab1b6d5c12b3dbea388e
2016-05-10 23:28:21 +00:00
jenkins-bot d4cb743dd9 Merge "Fix deactivating VE after user explicitly decideas to discard changes" 2016-05-10 22:57:32 +00:00
Alex Monk 1ba035e053 Fix deactivating VE after user explicitly decideas to discard changes
Bug: T134794
Change-Id: Idf1941793317a6aff9fe57082b85e3ebff0c72b4
2016-05-10 23:39:57 +01:00
jenkins-bot b5e4d51273 Merge "ve.ui.MWParameterPage: Remove non-working 'focus' handler" 2016-05-10 21:50:47 +00:00
Translation updater bot 5ee475d107 Localisation updates from https://translatewiki.net.
Change-Id: I32a7683e187cb466208d7afcae1049e1c7f14844
2016-05-10 22:30:00 +02:00
Bartosz Dziewoński 13a7a4c5f9 ve.ui.MWParameterPage: Remove non-working 'focus' handler
This element is a plain `<div>` with no tabindex, and therefore can't
be focussed. jQuery 'focus' events don't bubble, either, which would
otherwise allow focus events on children to fire this handler.

Change-Id: I68cb7d3bac143565c0a1bdb988312233b2d13ccd
2016-05-10 19:27:52 +02:00
jenkins-bot 6cfed3342c Merge "Attach template form after building" 2016-05-09 23:02:35 +00:00
Ed Sanders 3678b0c38a Attach template form after building
Building DOM trees while attached is much slower. This makes
things about twice as fast.

Remove unused StackLayout wrapper this.panels.

Bug: T134814
Change-Id: Idb269cf3f06c350ffe28b66e2e883c0a7a3348cd
2016-05-09 23:24:22 +01:00
Translation updater bot a44b71dace Localisation updates from https://translatewiki.net.
Change-Id: I9d6fd18281e2c3d1f1b4652c8ede12af7261b0b3
2016-05-09 22:16:07 +02:00
Translation updater bot 0153870e30 Localisation updates from https://translatewiki.net.
Change-Id: Ieda52ac7aec208e81de8a000d602afe705779145
2016-05-08 22:46:24 +02:00
Translation updater bot 4d9644ea57 Localisation updates from https://translatewiki.net.
Change-Id: I988290e9c8e17a8adefc29d9097142a3e98ba456
2016-05-07 10:59:22 +02:00
Translation updater bot 2913bac9bb Localisation updates from https://translatewiki.net.
Change-Id: Id1cc9eef86aecf69aaa8450c028177c21e02e523
2016-05-04 22:25:03 +02:00
Ed Sanders b25fbd3b7b Remove redundant about attribute stripping code
Change-Id: I2d330c074075734d50d6bf3e0f67e55bade6c072
Depends-On: I8be0a362338ba12d5569e315725386142a66da24
2016-05-04 12:55:36 -04:00
jenkins-bot 6dc85ae92a Merge "Add regex for detecting labelled external links in pasted wikitext" 2016-05-04 15:56:04 +00:00
Ed Sanders 47508d3245 Add regex for detecting labelled external links in pasted wikitext
Bug: T134227
Change-Id: Icb390cca6f4ee299dd59ec5d15894b734879f394
2016-05-04 16:20:05 +01:00
Ed Sanders f30000ed4c Wikitext paste: Discard autoGenerated items after conversion
Otherwise the reference contents (stored in the reflist) is lost.

Bug: T134228
Depends-On: I718963e3c460a5bed38fba4152b03442bbe6169e
Change-Id: I20171eb97eb1b4757a2c8a25217adb4d680a9057
2016-05-04 10:58:01 -04:00
Translation updater bot e59a008a1e Localisation updates from https://translatewiki.net.
Change-Id: Ib1c3814addf800ff893d224b69812c436f9b27ab
2016-05-03 22:27:39 +02:00
jenkins-bot 2bd7117f89 Merge "Add a hidden link with accesskey=v in SET prefer-wt mode and remember-last wikitext" 2016-05-02 16:16:41 +00:00
Translation updater bot 479b7df11a Localisation updates from https://translatewiki.net.
Change-Id: Iae4463718b77a2f574cd971cb43367ae5df8c441
2016-05-01 23:21:51 +02:00
Alex Monk 3c55bfbb80 Add a hidden link with accesskey=v in SET prefer-wt mode and remember-last wikitext
Try to tidy up a bit of code in DAT.init.js as well

Bug: T116406
Change-Id: Iad1713e14ea1f982886ba06e0b722c554ab2b892
2016-05-01 21:01:57 +01:00
Translation updater bot 0bc4aff46c Localisation updates from https://translatewiki.net.
Change-Id: I544b4da2528d98c4f256fc6d6ca1f2e7bbfa0dc3
2016-04-29 22:36:19 +02:00
Translation updater bot 27c4e26684 Localisation updates from https://translatewiki.net.
Change-Id: I7ff3517e0d3a2b63a8e6242b17e39494333fedd4
2016-04-28 23:29:56 +02:00
Ed Sanders ae23f42e14 Add colon to 'Editing mode' label for consistency
Bug: T128839
Change-Id: I8e637b30ed11aaeb1225a911ce83da48ed2829b1
2016-04-28 12:27:35 +01:00
Translation updater bot 17fda339a1 Localisation updates from https://translatewiki.net.
Change-Id: I97c920d5589015bc260b624a0621c302125e09fe
2016-04-27 22:57:17 +02:00
jenkins-bot 0ec13e0237 Merge "Fix link blacklisting" 2016-04-26 20:36:19 +00:00
Translation updater bot 4f9f090726 Localisation updates from https://translatewiki.net.
Change-Id: I29c88b0706e49487fa356659de51a8e41d19c05f
2016-04-26 22:33:31 +02:00
Ed Sanders 8e4c9dba13 Fix link blacklisting
Now that we always generate mw link types in the converter,
blacklist mwExternal links, not plain links (which won't exist).

Change-Id: I2ab9fbb9ec50c2e36e8a870d48b6aa06c7e69f8c
2016-04-26 21:20:22 +01:00
jenkins-bot a9e40b09cd Merge "Move cursor to end when switching to external" 2016-04-26 15:05:44 +00:00
Ed Sanders eb839a89a0 Move cursor to end when switching to external
Bug: T133677
Change-Id: I2694b6ddd476798b29d2aeb9d3eb4f162da49f7c
2016-04-26 14:00:48 +01:00
jenkins-bot 1ca644a98b Merge "Select the label properly when converting LinkNode to LinkAnnotation" 2016-04-26 12:40:23 +00:00
jenkins-bot 6cf2af4f5c Merge "[BrowserTest] Migration of browsertests* Jenkins jobs to selenium* jobs" 2016-04-26 10:58:02 +00:00
Željko Filipin 58049b0c2c [BrowserTest] Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: I11554b23a0e347736a67766f8c0b9879d5a6bed9
2016-04-26 12:40:45 +02:00
jenkins-bot 80636c235e Merge "Add a popup after switching into VE from WTE" 2016-04-25 22:42:55 +00:00
Alex Monk 6b7551112d Use correct case to access ve.ui.MWCategoryItemWidget.prototype.sortKey property
Otherwise we just record undefined as the original sort key and never
allow blank sort keys.

Bug: T92632
Change-Id: I7f37a8a33c54186ec6f0f74e374c591d5428b119
2016-04-25 23:18:09 +01:00
Translation updater bot 0c71085d52 Localisation updates from https://translatewiki.net.
Change-Id: Ib768ec5b86b9db81ec6730948e7384f831900091
2016-04-25 22:49:44 +02:00
jenkins-bot fd5e61582e Merge "Remove IE9 from blacklist, but don't add to whitelist (yet)" 2016-04-25 19:14:34 +00:00
David Lynch 8bb1399c97 Select the label properly when converting LinkNode to LinkAnnotation
We were selecting outside the annotation, when converting a LinkNode to a
LinkAnnotation. This meant that typing would overwrite the annotation as well
as the label. Speculatively, this is probably a side-effect of recent changes
to how nails and cursor offsets interact.

Bug: T121448
Change-Id: Ib2274bc5857294c5b691b3c3567b135d68bfa596
Depends-On: I3954c7f8f8e5870b13a8f6c4f0e86fb3b20b3cd3
2016-04-25 11:56:39 -05:00
Ed Sanders 61d5ae3d5d Don't expand link selections when opening with '[[' sequence
This mimics what would happen if you were actually typing wikitext.

Bug: T133516
Change-Id: I737313e6aaa5e4517c9f7f18faa5570a31395e03
Depends-On: If8ab31a7eacb4d8fa6d9787b7ac9872be0de04e7
2016-04-25 08:48:53 -07:00
Translation updater bot 7f9ab36d6a Localisation updates from https://translatewiki.net.
Change-Id: I082b61486f45d155f10df7645c72c32089e2e2a3
2016-04-24 22:37:58 +02:00
Translation updater bot 247a96ab1f Localisation updates from https://translatewiki.net.
Change-Id: Iba208728fdee4e84e230a001e8137d7b6ace2fb0
2016-04-22 22:25:23 +02:00
jenkins-bot a825845ad5 Merge "Move monobook global overlay styles to generic DesktopTarget" 2016-04-22 16:37:55 +00:00
jenkins-bot ddb37b3921 Merge "Add method that runs after activation, for overriding" 2016-04-22 16:30:42 +00:00
Ed Sanders 6efd583ff7 Add method that runs after activation, for overriding
Change-Id: I046583e61f328baddb0c09eaff122e991c85f992
2016-04-22 17:17:56 +01:00
Ed Sanders 9898b7ea2c Move monobook global overlay styles to generic DesktopTarget
Fixes the font size in non-article desktop targets,
e.g. Flow.

Change-Id: I8f7e0af5061ef5dda2564b62e9b94e606ca77799
2016-04-22 12:42:52 +01:00