David Lynch
5f6e186ed4
ArticleTarget: set local config to hide welcome dialog
...
This stops the welcome dialog from being displayed repeatedly if the user
edits the article multiple times in the same pageload.
Bug: T170983
Change-Id: I8cc5990e9acb1ac09a2d6dd95eef8042c70088c7
2017-07-19 14:29:49 -05:00
David Lynch
420037b3ff
LinkCache: parsoid element styling, detect selflink fragments
...
Selflinks with fragments aren't actually selflinks, and so shouldn't be styled
as such.
Bug: T170943
Change-Id: Icb67c81327769d09af6bcfe593843d9dd2bcc33c
2017-07-19 11:54:00 -05:00
Ed Sanders
3180445ce9
Edit image captions in place
...
Bug: T149753
Depends-On: I6967c9c2b99449e1a4ac003db8213586eda7fbbd
Change-Id: I9baaa8634e9f364e78b3e881113ed8fa917bc76f
2017-07-19 13:01:02 +01:00
Translation updater bot
623664ec48
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e607ca45c0b4f650df79ae26d8c01b26a7e9e88
2017-07-18 23:10:28 +02:00
jenkins-bot
8baf524006
Merge "Visual diffs: Use new wgDiffOldId/wgDiffNewId"
2017-07-18 15:40:28 +00:00
Bartosz Dziewoński
6123b452da
Visual diffs: Use new wgDiffOldId/wgDiffNewId
...
This also removes an undeclared dependency on mediawiki.Uri.
Bug: T169574
Depends-On: Ic4abaae6e9c74509f7a114a697cdbb78dd1b89b6
Change-Id: I76803da5f1a52171a1af8de1f3e31ea127a2da78
2017-07-18 15:16:03 +00:00
Ed Sanders
835a775a49
build: Upgrade grunt-eslint from 19.0.0 to 20.0.0
...
Mostly indent and regex fixes.
Change-Id: Iaf9d02363c78cb71deec5c4cab53a05b67f60600
2017-07-18 12:55:33 +01:00
jenkins-bot
1a2de9c8ad
Merge "DesktopArticleTarget.init: more explicit no-welcome-on-protected-pages"
2017-07-17 22:48:21 +00:00
David Lynch
c7486ae19b
DesktopArticleTarget.init: more explicit no-welcome-on-protected-pages
...
Bug: T138715
Change-Id: I1d1efe7fb3286bbf85ea2a17356dcad1d3346517
2017-07-17 17:17:07 -05:00
L10n-bot
3cd82770e8
Merge "Localisation updates from https://translatewiki.net ."
2017-07-17 21:11:56 +00:00
Translation updater bot
e91837d952
Localisation updates from https://translatewiki.net .
...
Change-Id: I63740a790669e5562776d363c06a31270592f79b
2017-07-17 23:11:47 +02:00
Ed Sanders
1efd8c5a61
Add mw-parser-output class to CE document
...
Bug: T164790
Change-Id: I14ee60dc3e68aad02a740af06f5749e6b5e3329c
2017-07-17 18:04:52 +01:00
jenkins-bot
1333373c3e
Merge "Drop local 'template' icon, use 'puzzle' from upstream"
2017-07-17 15:09:28 +00:00
jenkins-bot
0549c55ca3
Merge "Fix wikitext preview in IE and Edge"
2017-07-17 14:29:43 +00:00
Translation updater bot
c820c04ee1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie47d9a6c3f50275338c980822a90edba6853dd8e
2017-07-14 22:57:02 +02:00
Bartosz Dziewoński
0e00b2c109
Fix wikitext preview in IE and Edge
...
In Internet Explorer and Edge, NodeList objects do not have the
'forEach' method. However, Array's 'forEach' can be applied to them,
as we do elsewhere in the code.
https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach
Bug: T170466
Change-Id: Icb19995e140607d45c47fb6ae8d60ac80b664d02
2017-07-14 15:30:27 +02:00
Translation updater bot
815f9e4acc
Localisation updates from https://translatewiki.net .
...
Change-Id: If9dc517ccbb54150ca209d62bae06df165182429
2017-07-13 23:01:37 +02:00
jenkins-bot
1b6cc864b3
Merge "DesktopArticleTarget.init: only show welcome dialog if page editable"
2017-07-13 18:11:46 +00:00
David Lynch
0e8ef6c307
ce.MWTransclusionNode: make sure model exists before getting its document
...
Bug: T168932
Change-Id: Idf18839b1f1fae6eb29621f1950d2b52c99e3433
2017-07-13 11:33:38 -05:00
David Lynch
a2f8597712
DesktopArticleTarget.init: only show welcome dialog if page editable
...
"Welcome to wikipedia, anyone can edit, we welcome all improvements. Start
editing!" is a bit out of place when what you'll see after clicking "start
editing" is "you can't edit this page".
Bug: T138715
Change-Id: I9f655a5f12d4e45644bd01631c2d3131375d8e8f
2017-07-12 10:29:54 -05:00
Translation updater bot
48a215b9b3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ida79312d18b2b56b8d75345fde654c59437dca7b
2017-07-11 23:09:03 +02:00
Ed Sanders
0917d27e61
Fix wikitext table insertion
...
Since Ic8b11d8052 #insertContent puts multiline strings on separate
lines, so to get this to behave correctly, pass in linear data instead.
Bug: T170160
Change-Id: Ie121fce1af46c6834945f4de30bcd9924ee96fd1
2017-07-10 16:16:11 +01:00
Translation updater bot
ec3677e001
Localisation updates from https://translatewiki.net .
...
Change-Id: If34229d9423fb41b99ae7e6d578d247a924d669e
2017-07-08 22:49:24 +02:00
Translation updater bot
b67d8d5da9
Localisation updates from https://translatewiki.net .
...
Change-Id: Iab72a6b6f3236203dce7ea6bf8ec3c1b7bd96acb
2017-07-06 23:04:57 +02:00
James D. Forrester
528942c2e1
Drop local 'template' icon, use 'puzzle' from upstream
...
Now that our template icon has been upstreamed thereto.
Bug: T111041
Change-Id: If101018de284dcc1be086d92427de0d88adb0e02
2017-07-06 09:52:56 -07:00
jenkins-bot
eb94174561
Merge "ve.ui.MWWikitextSwitchConfirmDialog: Remove broken "evil hack""
2017-07-06 14:53:34 +00:00
Translation updater bot
db2921281e
Localisation updates from https://translatewiki.net .
...
Change-Id: I964c0d70f0ad7e953de2ba7d4a77613d81c55785
2017-07-05 22:47:29 +02:00
Bartosz Dziewoński
4c3c8b3d1e
ve.ui.MWWikitextSwitchConfirmDialog: Remove broken "evil hack"
...
The promise #getTeardownProcess is trying to resolve/reject no longer
exists, causing exceptions. The code has been unnecessary for a while,
as we do all the work in #getActionProcess. (In the case that we do
switch, the teardown code isn't even called, since we navigate away.)
Cancelling the switch to wikitext works correctly after removing this
code.
Bug: T169588
Change-Id: I1b9b12edf12a0b91f06c13aa53024efb80868387
2017-07-04 21:49:15 +02:00
jenkins-bot
16f5bc609e
Merge "TextInputWidgets: update for deprecated multiline behavior"
2017-07-03 21:21:20 +00:00
David Lynch
cfe1d6c0c9
TextInputWidgets: update for deprecated multiline behavior
...
Remove config option `multiline` and change to MultilineTextInputWidget as
appropriate.
Bug: T169272
Change-Id: I45565f01de76a88d64d7b0691d1e7279354f375d
2017-07-03 22:09:58 +01:00
Translation updater bot
af7c3a71c9
Localisation updates from https://translatewiki.net .
...
Change-Id: I4f1851f6c388dec8ab6be4510607c8f1e8784a33
2017-07-03 22:52:23 +02:00
Ed Sanders
dd54c9c95d
Return truthy object when image info not found
...
A missing image should return some data to say the
image is missing, not just reject the promise.
Bug: T169337
Change-Id: Ib41a64a783c1baca88f428417c98e7fb913d14a1
2017-07-03 18:01:33 +00:00
Ed Sanders
915e818356
Clear all gallery state on teardown
...
Change-Id: I90662d02bd2d9768bdcf27e532ed8b8792f764c3
2017-07-03 17:48:06 +00:00
jenkins-bot
73a0574452
Merge "Normalize to template namespace when comparing"
2017-07-03 16:50:44 +00:00
Ed Sanders
b3d44c1ccd
Normalize to template namespace when comparing
...
Bug: T169307
Change-Id: Ic3524819fb026713b27b193e4a03338fffd97229
2017-07-03 16:41:08 +00:00
jenkins-bot
baf1908b99
Merge "DesktopArticleTarget: Regenerate title in all non-view page scenarios"
2017-07-03 16:25:51 +00:00
Translation updater bot
9986166cfb
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia03ad93b311249dc73b38b69ea085ecfbf75985d
2017-07-02 22:54:36 +02:00
Ed Sanders
af25311201
DesktopArticleTarget: Regenerate title in all non-view page scenarios
...
Bug: T168236
Change-Id: I15f2aeb42b98855512970e2f07396fd7a7c97354
2017-07-01 17:27:07 +00:00
Translation updater bot
90841ca36c
Localisation updates from https://translatewiki.net .
...
Change-Id: I87974d7d4cbd1f83e913953849d7583d5aa60fc0
2017-06-30 23:43:26 +02:00
jenkins-bot
59d74932b0
Merge "Update VE core submodule to master (b528a5321)"
2017-06-29 07:39:01 +00:00
Translation updater bot
1055bebefc
Localisation updates from https://translatewiki.net .
...
Change-Id: I6b7d0c0b29a571c695078b8a00086470751df315
2017-06-28 23:18:21 +02:00
David Lynch
7e678dc81a
Update VE core submodule to master (b528a5321)
...
New changes:
44d2d666c Remove custom icon sizing from block slugs
793d131f9 Ignore covering annotations when looking for plain text pastes
b0025f3ab dm.Document fixupInsertion: check suggestedParents as well
73ce638f1 ve.ui.TableLineContext: Fancier popups
9d54d531e Visual Diff: add internal list diff
4f4e121b5 DiffElement: Add hacky support for template-defined references
Local changes:
dm.SurfaceFragment tests: exercise fixupInsertion for mwHeadings
Core VE doesn't have any elements with suggestedParents, so make sure this is
properly tested.
Bug: T153315
Bug: T162819
Bug: T164017
Bug: T165865
Change-Id: I01489226d282abe71020e65358ead24fe07692f7
2017-06-28 20:57:19 +01:00
jenkins-bot
05bc265198
Merge "Keep TOC in correct place in document"
2017-06-28 12:31:33 +00:00
jenkins-bot
be808346c9
Merge "Fix TOC meta item detection"
2017-06-28 12:31:32 +00:00
Jforrester
15c6011875
Merge "Ensure MWInlineImages get the ve-ce-leafNode class"
2017-06-27 17:15:44 +00:00
Translation updater bot
42ca5c6d1e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibb3f2f38abf77af4872012fb32f73f89d94d0c7b
2017-06-26 23:08:30 +02:00
jenkins-bot
7f14f854c4
Merge "ve.init.mw.DesktopArticleTarget: Remove some hacks"
2017-06-26 20:27:09 +00:00
Ed Sanders
c4f93b1411
Ensure MWInlineImages get the ve-ce-leafNode class
...
Without this class, offset calculations fail and model/view
sync can be lost.
Bug: T167009
Change-Id: Ie7b6551ac5a532949c14122b9ee7584a794af0f2
2017-06-26 12:43:23 +00:00
jenkins-bot
0dee2be8d8
Merge "GalleryDialog: Re-order and make margins even"
2017-06-26 10:33:17 +00:00
jenkins-bot
b2ae6ddcb8
Merge "GalleryDialog: Downstream fix for DraggableElement padding"
2017-06-26 10:32:07 +00:00
Translation updater bot
6623018b9d
Localisation updates from https://translatewiki.net .
...
Change-Id: I97af6bed779e8435746a70ae0eba850ce4be1d2f
2017-06-25 23:21:18 +02:00
jenkins-bot
ba3a5d85bd
Merge "Show visual diffs on DiffPage"
2017-06-25 03:30:29 +00:00
jenkins-bot
a7fdaffb1b
Merge "Clear all diff state when switching editors"
2017-06-24 11:10:32 +00:00
Translation updater bot
2a2b22c829
Localisation updates from https://translatewiki.net .
...
Change-Id: I157176fbd3f29a718b7b95974216db819c881cb9
2017-06-23 22:54:56 +02:00
Ed Sanders
15af26876a
GalleryDialog: Re-order and make margins even
...
Move image inside filename fieldset, and make
margins between fieldsets and button 1em.
Change-Id: I7f6789043f873f9da4e960c94e22a7ee096a352f
2017-06-23 12:16:35 -07:00
Ed Sanders
9eb637e933
GalleryDialog: Downstream fix for DraggableElement padding
...
Bug: T168745
Change-Id: I95e6f5cd2126878c4f973285fceece1d5a03c4eb
2017-06-23 11:58:37 -07:00
jenkins-bot
93a44ef399
Merge "MWTransclusionDialog: fix conditions for "show options" button disabling"
2017-06-23 17:21:50 +00:00
Ed Sanders
fd1adfb3b5
Keep TOC in correct place in document
...
Change-Id: I6ad8cd8cbd7ef902204408673eb096b7405abd24
2017-06-22 15:16:15 -07:00
Ed Sanders
1a0fd81f64
Fix TOC meta item detection
...
Change-Id: Icce35100bbc0bfb5584a676eec0e1774308d0f68
2017-06-22 15:16:14 -07:00
Translation updater bot
48c6e558ea
Localisation updates from https://translatewiki.net .
...
Change-Id: I03013c77fdaffbca561a7e3a3462a5469703b25b
2017-06-22 23:10:14 +02:00
Ed Sanders
11e6e25ac6
Clear all diff state when switching editors
...
Bug: T168618
Change-Id: I19ff5054b87568546bfe1202d67c5d863e1549be
2017-06-22 10:54:04 -07:00
David Lynch
9ded195f7e
MWTransclusionDialog: fix conditions for "show options" button disabling
...
As I understand it, the button should be enabled whenever there's more than
one option in the sidebar, and disabled otherwise. The previously chosen
conditions weren't perfectly proxying this, and the button would be disabled
whenever editing an already-existing transclusion.
Bug: T167710
Change-Id: Id303b680c072642ae7b66066e28ecc9f1dc90fd7
2017-06-22 17:58:52 +01:00
jenkins-bot
e285c8e4cb
Merge "Show simple category list in preview"
2017-06-21 20:07:45 +00:00
jenkins-bot
090d26f9c5
Merge "Use Parsoid data for template names rather than detect from wikitext"
2017-06-21 01:15:38 +00:00
jenkins-bot
7cd5a5d61f
Merge "Add newline to end of wikitext documents"
2017-06-21 01:10:57 +00:00
Ed Sanders
09519a24d2
Add newline to end of wikitext documents
...
Bug: T156609
Change-Id: I80d82ad87464b1c6e0344b29123bb96fcc4cffad
2017-06-20 17:51:51 -07:00
jenkins-bot
115f8e7ae5
Merge "Move preview document filtering into MWSaveDialog"
2017-06-21 00:41:26 +00:00
jenkins-bot
fc4e836d4b
Merge "Fix getWikitextFragment shortcut to return a promise"
2017-06-21 00:40:46 +00:00
Ed Sanders
6f72ef82d9
Show simple category list in preview
...
Bug: T153534
Change-Id: Ie86abdad76a38855d5ad1a394c0bfb3c8dd5a8c6
2017-06-20 23:50:52 +00:00
Ed Sanders
9dd638a5ab
Move preview document filtering into MWSaveDialog
...
Also:
* Make mw-content-DIR nest inside mw-body-content
* Use ve.filterMetaElements
Change-Id: Ic70c7dff0f74b81f92b8bd48e8092549947990ba
Depends-On: I478fe1f39164b9fd7e71987b818b8f668d1a7020
2017-06-20 23:50:44 +00:00
jenkins-bot
87e1ede04a
Merge "Return nothing from styleParsoidElements"
2017-06-20 23:11:46 +00:00
Translation updater bot
8beac44dab
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie734ca2986ad6f5a1da5f349b20756ef283246c3
2017-06-20 23:08:44 +02:00
Ed Sanders
e1b4321b5a
Return nothing from styleParsoidElements
...
The method modifies DOM elements in place, and the return
value is never used.
Change-Id: I6254389dbf8daa67795206cb508038b60e1a4761
2017-06-20 21:03:22 +00:00
jenkins-bot
c4c4375b7d
Merge "Remove old authorListWidget CSS"
2017-06-20 20:13:58 +00:00
Translation updater bot
f7586d5f9d
Localisation updates from https://translatewiki.net .
...
Change-Id: I59770f4737b52838d1c5cbdb2e9111986b76fc75
2017-06-19 23:12:02 +02:00
Translation updater bot
c5dad8f018
Localisation updates from https://translatewiki.net .
...
Change-Id: I961fe87e1974dc12df7fd0df33745c95c926a871
2017-06-18 22:55:09 +02:00
Ed Sanders
585cf5f990
Fix getWikitextFragment shortcut to return a promise
...
Change-Id: Ide5c920332ba9dd0777a7c63e27ebbbc9a391172
2017-06-17 19:42:24 -07:00
Ed Sanders
f400a6debe
Remove old authorListWidget CSS
...
Change-Id: Ibeaae78f1424fc098dbc103438e7cb2c4d15c9d8
2017-06-17 19:42:22 -07:00
Translation updater bot
b9a6dc8394
Localisation updates from https://translatewiki.net .
...
Change-Id: I53062bbd73eb478e27284f35320f5bc2bd4809bf
2017-06-17 22:50:13 +02:00
Translation updater bot
d67005cdb8
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic29540f87264d7541afa0a3be696cb47ed7e4f50
2017-06-16 23:02:01 +02:00
jenkins-bot
4b852d899b
Merge "Use static parseDocument method"
2017-06-16 18:38:25 +00:00
jenkins-bot
14dd536d32
Merge "ve.ui.MWEducationPopupTool: Remove unnecessary manual popup positioning"
2017-06-16 18:32:51 +00:00
Ed Sanders
0e6d8d5fff
Show visual diffs on DiffPage
...
Only shown if VisualEditorEnableDiffPage is set, or query
string param 'visualdiff' is present.
Currently:
* All VE javascript is loaded (could be cut down to just DM code)
* The entire Parsoid HTML of both revisions being compared is loaded
* Both Parsoid HTML docs are parsed into VE DM trees and diffed
Bug: T167508
Change-Id: I151fc9bab3d3032f50c8d11be6b54e45a06fcc34
2017-06-16 19:29:19 +01:00
Bartosz Dziewoński
624211a60f
Use Parsoid data for template names rather than detect from wikitext
...
We were incorrectly handling transclusions with trailing
newlines after the template name.
This also improves handling of non-template transclusions,
e.g. parser functions like `{{int:mainpage}}`, which are
no longer mangled as if they were page names.
ve.dm.MWTransclusionNode#isSingleTemplate will now match
a template even if it's name is itself template-generated.
Logic for turning Parsoid's hrefs into page names stolen
from ve.dm.MWImageNode.prototype.getFilename.
Bug: T167613
Change-Id: Ibecf71338eb37bb3da81a7372e4ed41140a9af57
2017-06-14 23:15:18 +00:00
Bartosz Dziewoński
433e7b5069
ve.ui.MWEducationPopupTool: Remove unnecessary manual popup positioning
...
OOjs UI Popups position themselves automatically relative to their
$floatableContainer these days.
Also added explicit `$floatableContainer: this.$element` in the config
(although not strictly needed, since the parent node is used by
default, this makes the code more robust in case we move the popup
somewhere else in the DOM).
Bug: T167751
Change-Id: Id4267fce6499a4c217f7dc1d18871c02dd078aee
2017-06-14 23:19:09 +02:00
Bartosz Dziewoński
9dcf6dcddc
ve.init.mw.DesktopArticleTarget: Remove some hacks
...
No longer needed after I2ede6c88be569224c0b2a4e388a133ad98b86a7b
in VisualEditor core.
* 'transform: none' from 049a32c60a
(that change does not describe what the issue was, but clearly
it wasn't a complete fix and I see no problems without it).
* 'z-index: 4' from 6fff13b898
(I can't
reproduce the issue there after removing it).
Bug: T167616
Change-Id: I7e0d603af2668269e5587eaa5e4761166a1b4097
2017-06-14 22:25:25 +02:00
Bartosz Dziewoński
39b82f7b00
Revert 032fb292
, a97eacd0
...
Reverting a new weird hack for an issue and bringing back the
old, tried and true hack that was removed in the mistaken belief
that if a bug is marked as fixed, it is really fixed.
* Revert "MWTransclusionDialog: size footer correctly"
This reverts commit 032fb2924e
.
* Revert "Remove dialog height hack tagged against resolved bug"
This reverts commit a97eacd05b
.
Bug: T93290
Bug: T167483
Change-Id: If1cc07837892bb0248c74025d5403f9698e77705
2017-06-14 20:38:38 +02:00
jenkins-bot
5fbe84a4e6
Merge "MWTransclusionDialog: size footer correctly"
2017-06-14 11:39:41 +00:00
Translation updater bot
98568e734f
Localisation updates from https://translatewiki.net .
...
Change-Id: I751ac55b2a10f014c1db8df1d6915d71711ee5c9
2017-06-13 22:51:12 +02:00
Brad Jorsch
7ec68ed168
API: Split description messages into summary + additional text
...
See MediaWiki core patch I778bab2b
Change-Id: I642895c0e77dabfde3a7cdc744c5de4df9489aa5
2017-06-13 13:27:52 -04:00
David Lynch
032fb2924e
MWTransclusionDialog: size footer correctly
...
Changing label means a refresh is needed.
Bug: T167483
Change-Id: Ie4b35696bdf21d2a74e786875615d8753a57972d
2017-06-13 11:48:38 -05:00
Translation updater bot
2dc77148cb
Localisation updates from https://translatewiki.net .
...
Change-Id: I182b53a98bb4d7c5e471b23a4665c1c3a84c8b46
2017-06-12 22:52:07 +02:00
jenkins-bot
7e892bbc97
Merge "MWParameterPage: Fix missed remove -> trash icon name rename"
2017-06-12 18:55:05 +00:00
jenkins-bot
b170e81d83
Merge "Fix i18n TODOs in CollabPad"
2017-06-12 18:51:31 +00:00
jenkins-bot
27c6f624ae
Merge "[DEPRECATING CHANGE] Make Target#createModelFromDom static"
2017-06-12 18:50:38 +00:00
jenkins-bot
076a7feef2
Merge "Add filename to gallery dialog page"
2017-06-12 18:46:48 +00:00
James D. Forrester
a7d48228dc
MWParameterPage: Fix missed remove -> trash icon name rename
...
Bug: T167598
Change-Id: I1701bd426ea66a40937bcc69183c697a8e39710d
2017-06-12 11:39:50 -07:00
Translation updater bot
678949a23d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia2bd46f3bbe52d17c6ea187dbd8a516de564adf8
2017-06-11 22:48:17 +02:00
Translation updater bot
a84164a38b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia38f09ce88980b0954a81b72ff32954e286fed23
2017-06-11 00:39:40 +02:00
Ed Sanders
23c0b6997e
Fix i18n TODOs in CollabPad
...
Change-Id: Ifa802773881e2f2763578223bc76ca2798a08b17
2017-06-10 12:48:09 +01:00
Translation updater bot
44d0e3336b
Localisation updates from https://translatewiki.net .
...
Change-Id: I3d19d4fed087b2f3b2fea902f2a223e765eceddd
2017-06-09 23:04:23 +02:00
Ed Sanders
75d583a0d9
Use static parseDocument method
...
Change-Id: I545a58ffcbf1c7c57c197f4858958de835a40394
Depends-On: I5b36e187a5e8bb68b47b2fccf5b46c08b81b01d9
2017-06-08 14:43:09 +01:00
Ed Sanders
f178061117
[DEPRECATING CHANGE] Make Target#createModelFromDom static
...
Change-Id: I019689f87ac0f7f40a8a7600029b5ce1bc92e77f
2017-06-08 14:35:31 +01:00
jenkins-bot
e97393434a
Merge "Give extensions a fallback icon when invisible"
2017-06-07 23:34:20 +00:00
Ed Sanders
8fb56b8d75
Give extensions a fallback icon when invisible
...
Bug: T166526
Change-Id: I5eafbef3b751a83cef353c8a9f09d90820fa9409
2017-06-07 22:29:19 +01:00
Translation updater bot
94be609bb4
Localisation updates from https://translatewiki.net .
...
Change-Id: I881fdd18a2a6eda2af0f9b48d0e93ba05b845ee0
2017-06-07 22:56:46 +02:00
L10n-bot
46bcf496fe
Merge "Localisation updates from https://translatewiki.net ."
2017-06-06 21:03:23 +00:00
Translation updater bot
6c802d059f
Localisation updates from https://translatewiki.net .
...
Change-Id: I927c7fe0f0c1dae63d337245a6e40723a69fd379
2017-06-06 22:50:16 +02:00
jenkins-bot
7774f2bee1
Merge "dm.MWTransclusionNode: Move mixin comment, remove duplicated static property"
2017-06-06 15:44:25 +00:00
Ed Sanders
9ccdf15695
dm.MWTransclusionNode: Move mixin comment, remove duplicated static property
...
Change-Id: Id8f8205db92a70dde7ba22b39e90e37590efb3d1
2017-06-06 16:28:01 +01:00
jenkins-bot
010197f1b8
Merge "Don't try to i18n-parse JSON string"
2017-06-06 15:08:16 +00:00
Ed Sanders
4a163020a8
Add filename to gallery dialog page
...
Also add fieldset headings consistent with media dialog.
Bug: T167049
Change-Id: I8112b70d8e3ba19079fdab0806ad343b233c9c18
2017-06-06 15:48:24 +01:00
Ed Sanders
4484f5c316
Don't try to i18n-parse JSON string
...
Bug: T167051
Change-Id: Idf07ba51d2681f0f5d275f2a732d77cd85e63d03
2017-06-06 11:12:41 +01:00
Translation updater bot
3830d2d864
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib2dc866df76ca62367f5fbc76d0dd75831bf3968
2017-06-05 23:20:13 +02:00
Translation updater bot
507fdb73fc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ief77af837492f4171aebd118d3d07277adcdf8cf
2017-06-04 23:37:19 +02:00
Translation updater bot
b7ef971cbf
Localisation updates from https://translatewiki.net .
...
Change-Id: I670fd45d44a881de24917d40d4d4eea047cee185
2017-06-03 22:54:52 +02:00
Translation updater bot
748d301680
Localisation updates from https://translatewiki.net .
...
Change-Id: I9fe85ad034bd1784867bf9bbeb5b93d0d568e95d
2017-06-02 22:51:08 +02:00
jenkins-bot
c5bdd39a63
Merge "Update for deprecation of OOjs UI openWindow/closeWindow promise"
2017-06-02 00:32:39 +00:00
Bartosz Dziewoński
4f55d8066e
Update for deprecation of OOjs UI openWindow/closeWindow promise
...
Bug: T166729
Change-Id: I95b85a8c0d488993c11da74e1d856fef6cf0ebb4
2017-06-02 00:21:58 +02:00
Translation updater bot
87b90944c8
Localisation updates from https://translatewiki.net .
...
Change-Id: I2c7721a9dc5b4abe2151ebe6604bd1b4d7715999
2017-06-01 23:21:13 +02:00
jenkins-bot
f01577ffa8
Merge "ve.ui.MWTemplateDialog: Use normal #getReadyProcess instead of custom stuff"
2017-06-01 18:08:21 +00:00
jenkins-bot
a506627f57
Merge "Correct numbers in visualeditor-dialog-meta-settings-toc-help"
2017-06-01 17:49:21 +00:00
David Lynch
7f8f188187
Correct numbers in visualeditor-dialog-meta-settings-toc-help
...
Bug: T166029
Change-Id: Ic15834218bed8a78ad2d9de6c0838988ca65cd4b
2017-06-01 10:46:02 -05:00
jenkins-bot
1a80348e8b
Merge "Guard against mwdata.body being null"
2017-06-01 14:52:57 +00:00
Bartosz Dziewoński
834539748c
ve.ui.MWTemplateDialog: Use normal #getReadyProcess instead of custom stuff
...
This fixes the focussing problems from T166150.
As a separate consequence, when loading a template/transclusion
takes a while (it can take several seconds for e.g. a template with
100 parameters), we will now display nothing while the user waits.
Previously we displayed an empty frozen dialog (note that this only
worked the first time for some reason).
Bug: T166150
Change-Id: I414a72ee248517867eef63a75f2d327aa5d5b908
2017-06-01 16:31:05 +02:00
Ed Sanders
a5e44034fb
Guard against mwdata.body being null
...
Bug: T166754
Change-Id: I3b887a3a6ee81ca3fd0b242fadc8b833b9031b50
2017-06-01 14:01:23 +01:00
jenkins-bot
c9d9361c5b
Merge "Update VE core submodule to master (8be817396)"
2017-06-01 01:16:43 +00:00
Ed Sanders
c7221988a1
Update VE core submodule to master (8be817396)
...
New changes:
26085a853 Make author list a ListPopupTool
c4ea53eef Update OOjs to v2.1.0
8c94697f3 Update OOjs UI to v0.22.0
cdebc4817 Follow-up 8c94697f: Actually commit the icon changes I had locally
8be817396 Update OOjs UI to v0.22.1
Local changes for author list popup
Change-Id: I36bcaf122528a4a12882aaff3b33ef936082a391
2017-05-31 17:48:45 -07:00
James D. Forrester
756079d477
Replace uses of the removed 'remove' icon with the 'trash' one
...
Bug: T166730
Change-Id: I528dcdb390a4488ffac89fc823ff35bc1eda4f24
2017-05-31 16:30:17 -07:00
Translation updater bot
8cb43a5f73
Localisation updates from https://translatewiki.net .
...
Change-Id: I154f2dd73776ab7c227c5776bdfd97a1228f5dd4
2017-05-30 22:50:10 +02:00
Translation updater bot
f372a9fbc7
Localisation updates from https://translatewiki.net .
...
Change-Id: I6c06a3c102a1ac6c009c7c2fc074b6e7a7c55eb7
2017-05-29 23:33:34 +02:00
Translation updater bot
b29b2816b2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia20bdbf2ab8962c4cd73c7296db5f5e1db55d80f
2017-05-28 22:42:27 +02:00
Translation updater bot
ff1279244a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic8decb78f5ba98c21d8b526ea91ae88db7bd3605
2017-05-26 22:53:58 +02:00
Translation updater bot
efc4eccc47
Localisation updates from https://translatewiki.net .
...
Change-Id: I49161dac6c2583b4820a1d052b0cca8053e68583
2017-05-25 22:58:36 +02:00
Timo Tijhof
a9ce695f75
mw.DesktopArticleTarget: Use require() for mw.page.watch
...
Add 'require' to eslint global whitelist for this extension,
since ResourceLoader provides this in all contexts now.
Bug: T166254
Depends-On: I0e6a95bd4fbaba06eae5137ac7af84f62bebf6f0
Change-Id: I6b2fe57317dcff18ec6d9ea0cd9e4eb9c894c169
2017-05-24 21:17:02 +00:00
Translation updater bot
abaa359422
Localisation updates from https://translatewiki.net .
...
Change-Id: I2bfd2fa70e5aa870e2001a78d058e6e90a2bb73c
2017-05-24 23:04:42 +02:00
jenkins-bot
762344b2f1
Merge "Remove dialog height hack tagged against resolved bug"
2017-05-24 06:54:46 +00:00
Translation updater bot
2a84837eb9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifa384f07695740972053594107aa4c3f49d6a054
2017-05-23 23:09:13 +02:00
Ed Sanders
a97eacd05b
Remove dialog height hack tagged against resolved bug
...
Bug: T93290
Change-Id: Idbb20a0adf854ba68e10043608764891f3d8514d
2017-05-23 17:48:02 +01:00
Ed Sanders
004ca16a8f
Remove mobile browsers from the blacklist
...
They are already blacklisted by MW:
https://www.mediawiki.org/wiki/Compatibility#Browser_support_matrix_.28mobile.29
Change-Id: I8d6bfc415604a74b6da82d8c4b8f7d9ec7b9d89d
2017-05-22 14:58:54 +02:00
Translation updater bot
0c26e1804f
Localisation updates from https://translatewiki.net .
...
Change-Id: I39d9799f42e23262a53e129b1ceea4f76bbef627
2017-05-21 23:00:27 +02:00
James D. Forrester
8e88db4232
Follow-up 7e72163ea
: Fix CBN alien unit test I missed and force-merged
...
Whoops.
Change-Id: I21e30efd930458f6c1509e2f3d947f94d5ec5ad2
2017-05-21 16:32:08 +02:00
Ed Sanders
578deca159
rebaser: Initialize toolbar
...
Change-Id: I06e66859219e8d657063f24c59811338a195a28b
2017-05-21 11:44:01 +02:00
Ed Sanders
5d00944d09
CollabPad: Move synchronizer/authorList to Target from Target.init
...
Change-Id: I828ab12662e03cf674e20ae5676ca6eaa2592eba
2017-05-21 10:30:33 +02:00
Ed Sanders
1a577b668d
Move getWikitextFragment up to Target from ArticleTarget
...
Any MW target may want to get a wikitext fragment, not just
ArticleTargets. Requires us to move refreshEditToken up as well.
Change-Id: I27d30e20fefd5ba266d3d8e5f99383e9b4d4993a
2017-05-21 07:57:49 +00:00
Ed Sanders
cf0a03ff5a
CollabPad: Add popstate/teardown handling
...
Change-Id: I3faa7e2dd79fa5f1816833852325185caa4e82d4
2017-05-21 09:56:53 +02:00
Translation updater bot
adc947e1f1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibbc8c82e247dc5eb9ca616d9c0ff0ec1eeda7d12
2017-05-20 22:58:20 +02:00
Ed Sanders
574baf2e8e
Provide VE-rebaser in MediaWiki as Special:CollabPad
...
Change-Id: I3ffe0e2b6af43d4018dcd79877f4f27ed7d6a7e7
2017-05-20 19:51:09 +00:00
David Lynch
07e4d5fd17
dm.MWTransclusionNode: remove TableCellableNode mixin
...
Change-Id: Ic08c7ba03ad2bee35a96a750377450475d0efeed
2017-05-19 20:55:14 +02:00
jenkins-bot
ed2a6b873e
Merge "Allow extension nodes to convert to a specified type of dataElement"
2017-05-19 14:27:16 +00:00
Ed Sanders
153f7b034d
Allow extension nodes to convert to a specified type of dataElement
...
Sub-classes want to dynamically change type, e.g. inlineFoo/blockFoo,
but doing this after storeGeneratedContents invalidates the cache,
so ensure this is done as soon as the element is generated.
Bug: T151130
Change-Id: I80e2f2587cff8e9d9fe6ded5d8581263268deaa8
2017-05-19 16:08:01 +02:00
jenkins-bot
fbc835be12
Merge "MWCategoryInputWidget: missing 'new' for cached redirected optionwidgets"
2017-05-19 10:13:40 +00:00
David Lynch
dfbbe378c3
MWCategoryInputWidget: missing 'new' for cached redirected optionwidgets
...
Bug: T164820
Change-Id: I8b2ae9112af74910cb6ba5097dcec8be86cc1376
2017-05-19 11:57:17 +02:00
Jforrester
352eaea9af
Revert "Localisation updates from https://translatewiki.net ."
...
This reverts commit df892898c5
.
hi messages corrupted.
Change-Id: I826f13d24bb43f54700a134b98ecc0fa14a6e3b3
2017-05-19 08:35:58 +00:00
Translation updater bot
df892898c5
Localisation updates from https://translatewiki.net .
...
Change-Id: I45389fc125e3fd4823731c1cf561851be734b54c
2017-05-18 23:02:00 +02:00
jenkins-bot
526d1ba71e
Merge "Enable edit tab setup on appropriate Special pages"
2017-05-18 16:18:49 +00:00
Bartosz Dziewoński
d687e01208
Do not check for visual editor availability when loading source editor
...
Follow-up to fefb76eebc
. Prior to that
change, the condition for this looked like this:
// … if on a ?veaction=edit/editsource page
(
isViewPage &&
uri.query.veaction in editModes &&
(
uri.query.veaction === 'editsource' ||
init.isVisualAvailable
)
)
In the refactor, the `uri.query.veaction === 'editsource'` check was
lost.
Since that code is pretty messy (probably predating the source editor
and hastily adjusted), instead change the check for `isVisualAvailable`
to just `isAvailable`. If the requested mode turns out to not be
available later, the editor will not load.
Bug: T165146
Change-Id: Idfaf9115dd20cec8f8e044a704b93b07984cdcee
2017-05-16 18:57:56 +02:00
jenkins-bot
4249e7898e
Merge "Rename deprecated Card to current TabPanel"
2017-05-16 09:50:42 +00:00
jenkins-bot
cfa8de994e
Merge "MWTransclusionNode: Implement MWTransclusionTableCell"
2017-05-15 18:05:01 +00:00
David Lynch
0eb6b94b4c
MWTransclusionNode: Implement MWTransclusionTableCell
...
Back in de98382a55
, references to MWTransclusionTableCell were introduced,
but weren't followed through on. So, actually add it. Have cellable
Transclusions use it as their type.
Bug: T144122
Depends-On: I054f12f4218102a12d7a9ea843f9c61e8825c52c
Change-Id: I367f878bfd1c58e20b62368cb78120604b48d791
2017-05-15 12:09:11 -05:00
Ed Sanders
63c36c87da
Always prefer wikitext for action=edit on non-SET wikis
...
Ideally we could use the preferred editor, but this breaks
tab switching to the old editor.
Bug: T165238
Change-Id: I5f5ee5566cdd2080ba7c89d43cf127b457537768
2017-05-15 12:48:30 +01:00
jenkins-bot
5e11f1669a
Merge "Fix action=edit links for NWE"
2017-05-15 11:06:49 +00:00
Ed Sanders
9342e45f7b
Fix action=edit links for NWE
...
We added support loading NWE from action=edit in I35208cce069
but missed this check in the front-end.
Bug: T165238
Change-Id: I2732eaa81a3f968b34c4e878b2ad36de981dd567
2017-05-15 11:52:06 +01:00
James D. Forrester
57aad56a7b
Enable edit tab setup on appropriate Special pages
...
Using the forthcoming wgRelevantPageIsProbablyEditable.
Bug: T165010
Depends-On: I6c6ca1cfd93e7be917952980f1e1d57aec3a1292
Change-Id: I6c6ca1cfd93e7be917952980f1e1d57aec3a1229
2017-05-15 11:14:29 +01:00
Translation updater bot
dd9a7ad9f9
Localisation updates from https://translatewiki.net .
...
Change-Id: I3becfe7c241e510b558e65a54060d3e93cc907b5
2017-05-14 22:48:41 +02:00
Translation updater bot
db24f81138
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic7ce8924f898681caafe37761384f0f30919fc8c
2017-05-12 23:19:04 +02:00
Translation updater bot
898091bfed
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifa7703be93365df355b7de8db47e878a10b33256
2017-05-11 23:37:50 +02:00
Volker E
f695877de7
Rename deprecated Card to current TabPanel
...
Renaming CardLayout to TabPanelLayout and all connected code instances.
Follow-up to Icfe1652cc038dc131b6b855ce9b45040b8ee5178
Bug: T164903
Change-Id: I9ce4e31e390522d469e126fb3a4b05787cef7fef
2017-05-10 11:46:49 -07:00
David Lynch
2f40972807
MWWikitextDataTransferHandlerFactory: Don't reimplement getText
...
I forgot about getText in 41ca528705
, apparently.
Bug: T163237
Change-Id: Ibb646fc03a0293845c4449cbbe6c822ba63751f8
2017-05-10 10:58:42 -05:00
jenkins-bot
862c3ca22e
Merge "MWWikitextDataTransferHandlerFactory: skip getWikitextFragment if possible"
2017-05-10 15:51:16 +00:00
jenkins-bot
24e4cb7d8b
Merge "Update VE core submodule to master (fbeb0db2c)"
2017-05-10 15:36:39 +00:00
James D. Forrester
229d6cdf3b
Update VE core submodule to master (fbeb0db2c)
...
New changes:
d61440346 Add logging to the rebase server and client
d1d2539ae rebaser: Add script to convert a log file to a test case
0896d5f05 lib: Update README files for OOjs and OOjs UI
045ae87fb Localisation updates from https://translatewiki.net .
04b276e16 VisualDiff: Make annotation whitespace trimming configurable
dd04912e5 Localisation updates from https://translatewiki.net .
11fc30709 MobileContext: fix button spacing
7898acd0b Fix typos and minor lint issues
4e3e2deb9 Avoid using the global namespace in test files
1ed81efa1 build: Update eslint to 0.4.0 and make a pass
Bug: T163473
Bug: T164166
Change-Id: I4bab4260d6b05ff0277cacd167186336acc02080
2017-05-10 10:02:54 -05:00
Translation updater bot
31bea72f3a
Localisation updates from https://translatewiki.net .
...
Change-Id: I1acf037adbf8456802f4321377b7209cb7268462
2017-05-09 23:10:18 +02:00
David Lynch
41ca528705
MWWikitextDataTransferHandlerFactory: skip getWikitextFragment if possible
...
This lets us avoid a fraction of a second lag when someone pastes a plain URL
into source mode.
Bug: T163237
Change-Id: I0e673856dec5f273fb92731b27494762299d2d6c
2017-05-09 10:19:15 -05:00
jenkins-bot
0f903b09d1
Merge "Generate visual diff only after switching to visual diff tab"
2017-05-09 13:31:36 +00:00
Ed Sanders
debcd678b5
Generate visual diff only after switching to visual diff tab
...
Bug: T164724
Change-Id: I48e49d4b68cc769b3e9d061983de4c78b5ad5c34
2017-05-09 10:09:39 +00:00
Translation updater bot
4296814235
Localisation updates from https://translatewiki.net .
...
Change-Id: I24e0b7ee282f937c0e7b1c44798a78439d723b63
2017-05-08 23:01:19 +02:00
Translation updater bot
3e31b869e8
Localisation updates from https://translatewiki.net .
...
Change-Id: I768ab6f09c49c7d3cdee0f0764a59ac0164bd445
2017-05-06 23:07:00 +02:00
Translation updater bot
021c91811e
Localisation updates from https://translatewiki.net .
...
Change-Id: If05c18f72c4fb8276676c13e145ade05ec309739
2017-05-05 22:54:40 +02:00
Translation updater bot
6f96b1e9d1
Localisation updates from https://translatewiki.net .
...
Change-Id: Id74033215796baa8238a3635d8cba3fc1b08e0a2
2017-05-04 23:11:44 +02:00
jenkins-bot
75b762d5c4
Merge "Specify suggested parent node types for tables"
2017-05-04 18:50:48 +00:00
jenkins-bot
20465377db
Merge "Allow headings in divs"
2017-05-04 18:49:09 +00:00
Ed Sanders
9d83efc747
Specify suggested parent node types for tables
...
This won't do anything useful until T164017 is resolved.
Bug: T164016
Change-Id: I39bffe2dc59a97888b81bdbe990e55ba95b0dd94
2017-05-04 14:50:49 +00:00
Ed Sanders
485a159037
Allow welcome dialog to be variable height
...
Bug: T164056
Change-Id: I277a709545151dbd51f92c21d6317a45b1088db2
2017-05-04 13:08:33 +01:00
Ed Sanders
8e6105fec8
Allow headings in divs
...
Bug: T164453
Change-Id: I986b1b376a592095c94d29a102278d4fde0a621f
2017-05-04 12:43:36 +01:00
jenkins-bot
9b86ebae7f
Merge "Follow-up 57a06a6
: Use the same attribute name on read and on write"
2017-05-02 22:00:40 +00:00
James D. Forrester
486bbd7609
Follow-up 57a06a6
: Use the same attribute name on read and on write
...
Bug: T164054
Change-Id: I6770f6c91248fcd9ab39322413874e20a1b65552
2017-05-02 14:42:22 -07:00
Translation updater bot
eafe281fa3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic48e5776fde9b30c47656b01718bbbf764e6b2da
2017-05-02 23:22:42 +02:00
Ed Sanders
54fc920622
Captcha improvements
...
* Fix focus and resize/scroll into view after the
captcha has loaded (so after the image has loaded
for FancyCaptch).
* Add margin between input and captcha
* Enable enter-to-submit on captch input field.
* Unify code for simple/math/questy and correctly
render math as HTML (by looking at the mime type)
Change-Id: I10433cefbfea8569674c120dde5b489570e20966
2017-05-02 17:49:12 +01:00
Ed Sanders
998ae22b2d
Follow-up I488fd7e74: Adjust saveFail calls for new function signature
...
Bug: T164157
Change-Id: I41b946af5a8b80211b0672d7012835f2c9e1dc2b
2017-05-02 16:39:04 +01:00
jenkins-bot
68d00a6a42
Merge "init: Fix checks for required skin elements to avoid false positives"
2017-05-01 22:37:16 +00:00
jenkins-bot
089d765c0e
Merge "Avoid global variables in tests and build"
2017-05-01 15:56:58 +00:00
jenkins-bot
dc8935ae41
Merge "MWSignatureNode/Tool: Avoid global variables"
2017-05-01 15:49:37 +00:00
jenkins-bot
13307dd556
Merge "Fix minor lint errors and typos"
2017-05-01 15:49:35 +00:00
Bartosz Dziewoński
a02e68374e
init: Fix checks for required skin elements to avoid false positives
...
* Do not try to load the editor on protected pages, or if the user
doesn't have permission to edit pages.
* Move the check for required DOM elements after the check for
pages without the editor (T162411) and after DOM ready (T163307).
Bug: T162411
Bug: T163307
Change-Id: I8149694ba8155682701f2cda6ca212d60f446caa
2017-05-01 11:24:01 +00:00
Translation updater bot
99656bae30
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e87b5b23666918a904d77111c76160fbe3d0a74
2017-04-29 23:31:44 +02:00
Ed Sanders
59b3f2e0dc
Avoid global variables in tests and build
...
Change-Id: I44dd3c3980f88e660798962c4aa0229b62760796
2017-04-29 12:37:53 +01:00
Ed Sanders
ede81b493e
MWSignatureNode/Tool: Avoid global variables
...
Change-Id: I0596b33e797830f3718f4edbe34075fdaced0831
2017-04-29 12:37:28 +01:00
Ed Sanders
7c0fc8d3b9
Fix minor lint errors and typos
...
* Commas that should be semicolons
* Unnecessary 'call's
Change-Id: I11a80702b5396a36e3deecc6e706a397cc354bd8
2017-04-29 12:36:17 +01:00
Translation updater bot
26e155035e
Localisation updates from https://translatewiki.net .
...
Change-Id: Iccbb936fb34cf928fa72cf5d56c1654fe8ce86f4
2017-04-29 00:09:45 +02:00