Commit graph

13712 commits

Author SHA1 Message Date
jenkins-bot 714f43c8c2 Merge "Fix typos in gallery attribute names" 2017-09-13 17:34:52 +00:00
jenkins-bot ba671505e7 Merge "bin/updateSubmodule.sh: Copy 'Bug:' lines from included changes" 2017-09-13 17:12:04 +00:00
Bartosz Dziewoński 3832859fff bin/updateSubmodule.sh: Copy 'Bug:' lines from included changes
This seems to be a new convention and it seems that James has been
doing it by hand. *shakes head*

Change-Id: I519498c9b81d44dc7f8048d128b4fe526cb7b82d
2017-09-13 18:14:41 +02:00
jenkins-bot b85869c727 Merge "Update VE core submodule to master (7028f79aa)" 2017-09-13 15:50:38 +00:00
jenkins-bot 779dcc2164 Merge "ArticleTarget: Make save commands triggerable from anywhere" 2017-09-13 15:40:19 +00:00
James D. Forrester 82469cccf1 Update VE core submodule to master (7028f79aa)
New changes:
dd2251b73 Capture format* inputTypes
d5a375850 Follow-up 8e795e4331: Fix typo in HistoryTool#onSurfaceChange
307746d50 Follow-up Ifcc2e6f: Emit surfaceChange after tool setup
71f2586f6 Make ve.dm.Change part of core module
0053801c7 Remove server-only scripts from visualEditor.rebase

Bug: T175734
Bug: T175828
Change-Id: Ie011224ce5d6474b37961b32d057861929c3ffb5
2017-09-13 08:29:52 -07:00
jenkins-bot 6ac00a3e4e Merge "Make ve.dm.Change part of core module" 2017-09-13 14:51:27 +00:00
Ed Sanders b280ae985c Make ve.dm.Change part of core module
Also:
* Add ve.dm.Change.test.js to MW test suite
* Remove server scripts from ext.visualEditor.rebase, they
  only need to be in rebaser.build in core.
* Don't load ext.visualEditor.rebase on every page

Bug: T175828
Change-Id: I0ed0c320373b0d653b0d7a012aa7416e88e43e00
2017-09-13 16:36:17 +02:00
jenkins-bot d6fb66e70c Merge "Use lowerCamelCase for javascript var oldId" 2017-09-13 13:45:20 +00:00
jenkins-bot cd6dfaa42b Merge "Remove pageName/revision from ArticleTarget constructor" 2017-09-13 13:45:19 +00:00
jenkins-bot 15ba6dbc53 Merge "Change ArticleTargetLoader#requestPageData API to use options object" 2017-09-13 13:42:10 +00:00
Ed Sanders a6ac6d0cec Fix typos in gallery attribute names
The MW attributes are 'style' and 'class'. The plural
forms are used internally only to avoid JS keywords.

Change-Id: I1b7d14872aab4b6b3882d00165924fd1639e1744
2017-09-13 14:06:44 +01:00
Ed Sanders 280696ad3f URL decode file names in gallery, as in PHP parser
Bug: T175816
Change-Id: I3ec9c1f6db57798cdc1b5a787dd0bd9b4d3beef1
2017-09-13 14:03:20 +01:00
Ed Sanders f9562838bf ArticleTarget: Make save commands triggerable from anywhere
Change-Id: Iea5b2ff1210b0b28a58017f198f55124c9a3348d
2017-09-13 12:00:19 +00:00
Ed Sanders d515d418c1 Use lowerCamelCase for javascript var oldId
Change-Id: Idd04578a0035320f85dc911a2f4ddbc6f378887f
2017-09-13 12:57:37 +01:00
Ed Sanders ebce67b6ab Remove pageName/revision from ArticleTarget constructor
Other page state is read directly, rather than passed in.
If we come up with a use case for passing this in at a later
date we can reconsider the best way to do this.

Change-Id: Iee7e608c969776b89dbb38b3b56a5177e48344af
2017-09-13 12:57:37 +01:00
Ed Sanders 682787f312 Change ArticleTargetLoader#requestPageData API to use options object
Change-Id: I02e6218a8359b1cbc8fed1a34d68206a2a154d46
2017-09-13 12:57:37 +01:00
Translation updater bot c2b8de09a5 Localisation updates from https://translatewiki.net.
Change-Id: Ib39c3b33100062858098f2f803e1fad751f837d2
2017-09-12 22:56:25 +02:00
James D. Forrester 7dcf2474c2 Update VE core submodule to master (dafc7bbe5)
New changes:
4aadbc518 Remove 'return' mapping as it is aliased to 'enter' below
0942f2071 ve.ce.BranchNode#splice: disconnect nodes fully

Bug: T175548
Change-Id: Ifa0933b9dac377fc8f038f6586e82c2f94473639
2017-09-12 11:26:09 -07:00
Ed Sanders faf852f335 Update VE core submodule to master (f88cd00a6)
New changes:
c1c38136d ui.TableLineContext: adjust positioning
37d0c2747 Trigger proper undo/redo when inputType=historyUndo/Redo
8b7fc6fcc Make special keys translatable

Bug: T175417
Bug: T175449
Bug: T175634
Change-Id: Ic663108ff19ea90adc9b033f6df1f0feac7994a6
2017-09-12 09:27:02 -07:00
jenkins-bot 9d3fdb3f7c Merge "Update VE core submodule to master (02a2ea954)" 2017-09-12 15:56:39 +00:00
jenkins-bot 3c7535cf83 Merge "Avoid using deprecated ParserCache::singleton()" 2017-09-11 21:14:14 +00:00
James D. Forrester 92ca696f5a Update VE core submodule to master (02a2ea954)
New changes:
5b0c644ce Localisation updates from https://translatewiki.net.
20075fa86 Rebaser: Rename author to authorId consistently
e70a4632e lint: Remove unnecessary parentheses
358ef33da ve.ui.Surface: Documentation type hint fix
4b1eec402 Localisation updates from https://translatewiki.net.
2fabe9fe8 i18n-bot fix
02a2ea954 Fix editing figcaptions in Firefox

Bug: T174774
Change-Id: I6beaa9ba8b266b5b53bd6ddc3301ff52ce69bbd5
2017-09-11 13:17:38 -07:00
jenkins-bot 508fdf1543 Merge "Don't require a selection to run any of the save actions" 2017-09-11 15:10:23 +00:00
jenkins-bot 822db7eacf Merge "Add feedback link for visual diff inside save dialog" 2017-09-11 12:01:39 +00:00
Translation updater bot caa7341d49 Localisation updates from https://translatewiki.net.
Change-Id: If867adb27d970653090e741b90ed503f49a13842
2017-09-10 22:50:20 +02:00
Ed Sanders 13ef05b489 Don't require a selection to run any of the save actions
Change-Id: I3a8f7e1e9e3714f226ac240a429a62d011112285
2017-09-10 14:53:14 +01:00
Translation updater bot bf27796935 Localisation updates from https://translatewiki.net.
Change-Id: I09865a7a366e768cdb5ac6dcbcbb7ab15ac67420
2017-09-09 22:53:44 +02:00
Kunal Mehta 32cfdab410 Avoid using deprecated ParserCache::singleton()
It was deprecated in 1.30.

Change-Id: I5bdb91e4f4fa57369177ffe61d9a8743e1d81346
2017-09-08 17:21:16 -07:00
Translation updater bot dc2366cbba Localisation updates from https://translatewiki.net.
Change-Id: I768e3e14ff1b0becdba08daa7694b22625792fab
2017-09-09 00:22:20 +02:00
jenkins-bot 2bc46f93d3 Merge "CollabTarget: Minimise dependencies, and make toolbar tweaks" 2017-09-08 15:52:55 +00:00
Ed Sanders e4585d520b CollabTarget: Minimise dependencies, and make toolbar tweaks
Change-Id: I37cccd5760b8e65fc4232ca4572147f3b031255d
2017-09-08 15:46:45 +00:00
Translation updater bot b80952158a Localisation updates from https://translatewiki.net.
Change-Id: I10f4721b977be987129d271ba1534887bcaabd4d
2017-09-07 23:42:28 +02:00
David Lynch 569f917edc MWExtensionWindow: clean up originalMwData on teardown
Not doing this makes adding a new extension node with the exact same content
as a previously-viewed one have the Done button disabled.

Bug: T172586
Change-Id: I39105144e17135044ef644b5464b0fbfdfc019d5
2017-09-07 10:40:36 -05:00
Bartosz Dziewoński 98351fbcf3 Do not "resolve attributes" in toDomElements() overrides
Resolving attributes means turning 'href' and 'src' URLs from possibly
relative to absolute, so that they don't depend on the base URI of the
document.

This is necessary when rendering for clipboard (and in some other
cases), but at the point when toDomElements() is called, the document
these elements are in does not necessary have a sane base URI set,
giving us hrefs pointing to nonexistent pages.

Don't do it here; it will happen later when we know what the right
document (and right base URI) is, e.g. in ve.ce.Surface#onCopy or
ve.ui.PreviewElement#replaceWithModelDom.

Bug: T169675
Bug: T175157
Change-Id: Ie0a5d6e1c57b8efdbbfba0c24f31ca91d156e200
2017-09-07 14:06:24 +02:00
jenkins-bot b820786cfd Merge "Update VE core submodule to master (834fd702f)" 2017-09-06 23:26:00 +00:00
Translation updater bot 67ef60629d Localisation updates from https://translatewiki.net.
Change-Id: I6176a308b3b526f068da420473e52d342aa0da14
2017-09-06 23:02:05 +02:00
James D. Forrester d9739c0b2e Update VE core submodule to master (834fd702f)
New changes:
86bd6c879 Localisation updates from https://translatewiki.net.
6d7a4cef0 Update OOjs UI to v0.23.0
37d1512a7 TransactionProcessor: modify DM tree branches instead of rebuilding them

Bug: T162762
Bug: T166041
Bug: T167027
Change-Id: Idfaa990dd940e26d7d572513220282bc97ca65fa
2017-09-06 13:44:33 -07:00
Bartosz Dziewoński 92cea19890 Use .length instead of .size() for jQuery objects
.size() is deprecated.

Change-Id: Ib28b7fede117de474efea705adf5dc2cdf8cb101
2017-09-06 14:52:40 +02:00
Prateek Saxena 1d6b87243e Use findFirstSelectableitem instead of getFirstSelectableItem
Depends-on: Ic12be404eba490e5ce748f0d754a807e12f6ba76
Bug: T76630
Change-Id: I7daccf8620ec43a56183fd455048a1f2c5f71f26
2017-09-06 15:42:42 +10:00
jenkins-bot a13620f49a Merge "MWTemplateDialog: BookletLayout: Use findClosestPage instead of getClosestPage" 2017-09-06 00:38:33 +00:00
Translation updater bot 8980881dd4 Localisation updates from https://translatewiki.net.
Change-Id: I745a308a42416baed8debda4b5e2e7491ef5537d
2017-09-05 23:04:02 +02:00
jenkins-bot caa4f555cd Merge "Update VE core submodule to master (7a8829509)" 2017-09-05 19:39:14 +00:00
jenkins-bot 9ef0f71983 Merge "Stop requiring deprecated EditPage::getCheckboxes()" 2017-09-05 18:00:52 +00:00
Arlo Breault 3e96d8ed5a Use figure-inline instead of span for inline media
Bug: T118520
Depends-On: I0681c39301e52a3368b53d38ed518ac66e18f0d6
Change-Id: Id8ec5b77207f43fc7c379b35859dc09f264e2c04
2017-09-05 12:17:14 -04:00
Thalia a3902ebff8 Add feedback link for visual diff inside save dialog
Bug: T170665
Change-Id: I0b09b1089c834a013ad5fee4ecdf75b483b56323
2017-09-05 13:35:37 +01:00
Prateek Saxena 2b923c0346 MWTemplateDialog: BookletLayout: Use findClosestPage instead of getClosestPage
Bug: T76630
Depends-on: I068dad8c79c4bda6ea37ab6a1eb6ba72ab6f7dc0
Change-Id: Ib4e380aa6cd0cacbadd42bdf447ddee6443f22ef
2017-09-05 12:13:41 +10:00
Translation updater bot 828ce717f3 Localisation updates from https://translatewiki.net.
Change-Id: I09c9579992c49851382f4c0d54af59e1552a6532
2017-09-04 22:52:04 +02:00
Translation updater bot ef753a82ce Localisation updates from https://translatewiki.net.
Change-Id: Ib1ff25374fcf0df6c0e8ffc3d402adbd3b36dfa1
2017-09-03 22:41:47 +02:00
jenkins-bot 7a4cdd3cd1 Merge "Use Html::hidden()" 2017-09-03 15:19:32 +00:00