Translation updater bot
28349d7b82
Localisation updates from https://translatewiki.net .
...
Change-Id: I8e041de2d743ecfcaa7de6770c95a41431d2cc8e
2017-10-18 22:53:58 +02:00
Ed Sanders
6761a3619a
Use more common 250ms transition for toolbar instead of 400ms
...
Change-Id: I8ad1a20753b7bd4a17db605d31502e57149b5348
2017-10-18 19:17:05 +01:00
L10n-bot
371cff8be6
Merge "Localisation updates from https://translatewiki.net ."
2017-10-17 21:05:34 +00:00
Translation updater bot
7ffbb72ae1
Localisation updates from https://translatewiki.net .
...
Change-Id: I328365204986eb3dddd000782c348b7aabd941b2
2017-10-17 23:05:28 +02:00
jenkins-bot
1b54d6e75a
Merge "Mobile: Rewrite toolbar centring CSS"
2017-10-17 20:37:14 +00:00
Ed Sanders
afc9d2156b
Mobile: Rewrite toolbar centring CSS
...
Change-Id: I43ada52231a0c9a91c98f2a482d2702528d995a2
2017-10-17 20:23:50 +01:00
jenkins-bot
45a5121853
Merge "requestParsoidData: Support 'wikitext' param in RESTBase-less environment"
2017-10-17 19:22:55 +00:00
Ed Sanders
0306f77fde
Simplify mobile overrides using LESS
...
Change-Id: I9ffce148fede03dda6e78377a0d20355bb45e5fd
2017-10-17 19:44:03 +01:00
jenkins-bot
6d6bff49eb
Merge "ve.ui.MWMediaInfoFieldWidget: Fix positioning of icons"
2017-10-17 18:23:26 +00:00
Bartosz Dziewoński
99cdc08f53
ve.ui.MWMediaInfoFieldWidget: Fix positioning of icons
...
OOjs UI's styles now include 'top: 0' for icons, which messes us up here.
Bug: T178415
Change-Id: Ia3234848f69fd67d0b3e35c817de1d9847d46143
2017-10-17 17:55:53 +00:00
jenkins-bot
18e2ccdc96
Merge "init.mw.DesktopArticleTarget: properly set up section links"
2017-10-17 16:28:54 +00:00
David Lynch
80c813e08c
init.mw.DesktopArticleTarget: properly set up section links
...
We were reimplementing (incompletely) the setup from the .init version. Just
call the original, modified slightly so it doesn't over-setup on repeated
calls.
Bug: T151021
Change-Id: I65bd7c5ecf75c478d6babeb13e7fb2a76a9842c8
2017-10-17 10:14:50 -05:00
Ed Sanders
8f11796c43
Convert mobile overrides to LESS
...
Change-Id: I44754f2d6e69ad9a8a6ce941962714a6d2617b5a
2017-10-17 11:46:17 +01:00
Ed Sanders
59955251fe
Fix button alignment in MW mobile
...
Change-Id: I4b29dfef672f48bc6d2b6644b1e0da5a7ada521a
2017-10-17 11:32:58 +01:00
Translation updater bot
b67854f026
Localisation updates from https://translatewiki.net .
...
Change-Id: I07de4ef9ea4a31585c519716706e9f389c3763d7
2017-10-14 22:43:30 +02:00
jenkins-bot
82c8e64f8f
Merge "Efficiency improvement for MWLanguageVariantNode#hasRendering"
2017-10-13 21:02:55 +00:00
Translation updater bot
a0d39d3643
Localisation updates from https://translatewiki.net .
...
Change-Id: I9ac1784955db18b4696006f0f0c9b3da06723f8c
2017-10-13 22:59:21 +02:00
C. Scott Ananian
b56e7eec4d
Efficiency improvement for MWLanguageVariantNode#hasRendering
...
Override ve.ce.FocusableNode#hasRendering with a model-based test to
improve efficiency and avoid some unnecessary DOM measurements.
Change-Id: Ice7aebcc2f30dc73ef049a6ed0d4a0cffe86d8e2
2017-10-13 15:11:47 -04:00
jenkins-bot
0fbf8971c1
Merge "Remove duplication from browser whitelist"
2017-10-12 17:32:47 +00:00
Ed Sanders
013d26f0b0
MWParameterPage: Use MultilineTextInputWidget instead of config
...
Change-Id: Icccd6460452774ae0ff21ce9df36dfe428d935d2
2017-10-12 18:13:06 +01:00
Ed Sanders
169ce28c44
Remove duplication from browser whitelist
...
The whitelist isn't checked for blacklisted browsers,
so if all non-blacklisted browsers are whitelisted,
set the whitelist definition to all (null).
Change-Id: I8ee3569d9d5be2eda9153f1b087c1be385f93d9c
2017-10-12 16:54:46 +01:00
Translation updater bot
3cba7eadf2
Localisation updates from https://translatewiki.net .
...
Change-Id: I7186a8239ecaadc69dc6ca45de8895ccb7846f0a
2017-10-11 23:16:55 +02:00
Ed Sanders
58a226288b
requestParsoidData: Support 'wikitext' param in RESTBase-less environment
...
Change-Id: I6154376be090655d3249ad7e74a0e90b39208a82
2017-10-11 21:26:18 +01:00
Ed Sanders
581847acb3
Show visual diffs in wikitext mode
...
Bug: T170371
Change-Id: I8fd9ed4f804444ec486c4df72125cdeb04da0d5f
2017-10-11 20:31:39 +01:00
Ed Sanders
fc9e0d88f6
Fix WikiEditor mode switcher widget
...
Broken by upstream CSS changes in OOUI.
Change-Id: I04c51f18624c09fd0030a8b73410a731216dd99c
2017-10-11 18:16:44 +01:00
jenkins-bot
12e8f5cdbb
Merge "init.mw.Target: make getSurfaceConfig aware of modes"
2017-10-10 22:02:36 +00:00
Translation updater bot
f6d891b216
Localisation updates from https://translatewiki.net .
...
Change-Id: I7b4a7018ede70f025c9d6969b7fba07794604754
2017-10-10 23:13:47 +02:00
David Lynch
4e938e58c7
init.mw.Target: make getSurfaceConfig aware of modes
...
ve.init.Target sets up TriggerListeners based on getSurfaceConfig if there's
no Surface instantiated. As such, loading directly in source mode would have
those listeners present and assuming the document is in visual mode. So, if
there's not a Surface already, we'll assume we're going to get one created
with the defaultMode, and set things up expecting that.
Bug: T153959
Change-Id: Ia0afe32e6b63ea0d3418137ca5c8bc32c009ecfa
2017-10-10 15:14:25 -05:00
jenkins-bot
762429e99f
Merge "DesktopArticleTarget.init: Load 'mediawiki.action.view.postEdit' via loader"
2017-10-10 05:04:22 +00:00
Translation updater bot
bfe3e66c5e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib298629b582138e653c5e807c09a76339544fb8f
2017-10-09 23:11:04 +02:00
Translation updater bot
1d689c9bd2
Localisation updates from https://translatewiki.net .
...
Change-Id: Icd5cecac5b2d5c7f21b9f2bd9450f8c5f191cd11
2017-10-06 22:58:01 +02:00
James D. Forrester
bd2deb3ac4
DesktopArticleTarget.init: Load 'mediawiki.action.view.postEdit' via loader
...
Bug: T164148
Change-Id: I537144bfd52ff84499f5d086f5d05efe2ba0493b
2017-10-05 15:54:20 -07:00
Translation updater bot
ccac68067f
Localisation updates from https://translatewiki.net .
...
Change-Id: I728c4e56f6e5a91ddca133607a01cfb910e4be61
2017-10-05 22:58:55 +02:00
Ed Sanders
43763f0a75
Target teardown refactor
...
* Rename 'deactivate' to 'tryDeactivate' as it may prompts
the user to deactivate.
* Merge 'cancel' and 'teardownSurface' in to 'teardown',
extending the parent method.
* Rename elementsThatHadOurAccessKey to $saveAccessKeyElements
and move teardown to parent class where it is setup.
* Move toolbarSaveButton teardown to parent class where it is setup.
* Cleanup changeDocumentTitle
Depends-On: I9d97614695272dca6936ef6f3461178fcf0368a8
Change-Id: Ie998a04c21f6615b4415edf471310db5edca3b5a
2017-10-05 10:26:46 -07:00
jenkins-bot
65ede4fc4f
Merge "Use destroy event to teardown new section inputs"
2017-10-05 17:24:57 +00:00
jenkins-bot
5d9c66497a
Merge "Use parent #clearSurfaces method to clear surfaces"
2017-10-05 17:22:41 +00:00
jenkins-bot
e657612068
Merge "Strip RESTBase IDs from historical diffs"
2017-10-05 16:06:43 +00:00
Ed Sanders
1256b19d72
Use destroy event to teardown new section inputs
...
Change-Id: I4990a162b62b7195016efba47cc5926b9e3a0f21
2017-10-05 16:20:48 +01:00
Ed Sanders
e0f7f30bbd
Use parent #clearSurfaces method to clear surfaces
...
Move mwTocWidget teardown to a destroy event listener.
Change-Id: If96be96aa67da55d3b17dd2565f5e954786ff3ff
2017-10-05 16:03:55 +01:00
Translation updater bot
e0d047973a
Localisation updates from https://translatewiki.net .
...
Change-Id: I5762bd8184d2b88c686f8b1c27787a6c279bbd73
2017-10-04 22:59:44 +02:00
jenkins-bot
6e2589d1a6
Merge "Abort loading when 'escape' is pressed"
2017-10-04 15:40:57 +00:00
Ed Sanders
58237588ad
Abort loading when 'escape' is pressed
...
Bug: T117359
Change-Id: I2c60588f14b9f80b18a7ac8da753fee224be35a4
2017-10-04 14:09:19 +01:00
jenkins-bot
28d4ed974f
Merge "Remove reference to editfont-default"
2017-10-03 18:48:21 +00:00
Ed Sanders
ff896e0be6
Always use trackingName for tracking
...
Change-Id: Ifc7d3275277628b310f5c017c43a76f5a7c25ea7
2017-10-02 22:20:53 +01:00
James D. Forrester
09cde07c45
DesktopArticleTarget: Retain 'mwTarget' stats tracking object
...
Bug: T177250
Change-Id: I1584f452e16272886af459bac3e24c4995af2231
2017-10-02 21:03:09 +00:00
jenkins-bot
fb4bb65a74
Merge "Allow MediaWiki extensions to use self closing tags"
2017-10-02 18:04:08 +00:00
Ed Sanders
cd097bed3d
Allow MediaWiki extensions to use self closing tags
...
Parsoid now supports this by setting body to null.
Change-Id: I24d856f0cffeacb00cb2b757e34315bc02b595d0
2017-10-02 10:52:48 -07:00
jenkins-bot
21bd98df61
Merge "ve.init.mw.ArticleTarget: Add 'wpUnicodeCheck' field to wikitext form submission"
2017-10-02 17:44:46 +00:00
jenkins-bot
e7ac894a94
Merge "MWExtensionWindow: Always send a string to setValueAndWhitespace"
2017-10-02 17:25:02 +00:00
jenkins-bot
2d2ed0094f
Merge "MWAlienExtensionNode: Listen to attribute changes"
2017-10-02 17:22:51 +00:00
Ed Sanders
ddc056a40a
MWExtensionWindow: Always send a string to setValueAndWhitespace
...
Bug: T177180
Change-Id: I3a32e1b22e82bc0c182d26a952e7592aafd4b5e4
2017-10-02 16:26:16 +01:00
Ed Sanders
852e1ababe
MWAlienExtensionNode: Listen to attribute changes
...
Also:
* Disconnect change event on this.input, which doesn't
get destroyed on teardown
* Add padding between attributes and this.input
* Assume the alien extensions can have a rendering when
their body is empty.
Bug: T177181
Bug: T177183
Change-Id: I2e59f8195b255f33f91901213c92ea14793635b4
2017-10-02 16:22:41 +01:00
Bartosz Dziewoński
2b3998df4b
ve.init.mw.ArticleTarget: Add 'wpUnicodeCheck' field to wikitext form submission
...
Bug: T177041
Change-Id: I28a7ec0710595977e5ec889016dd280d60e93034
2017-10-02 17:09:04 +02:00
Translation updater bot
e667ebe5cb
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd08290884dbeed1cc97dd04159d2b6161b31ce5
2017-10-01 22:48:18 +02:00
Translation updater bot
4ca4ddd991
Localisation updates from https://translatewiki.net .
...
Change-Id: I2ad37bcad504d1c0a6fb94e20fa9dc16f5003f59
2017-09-30 23:02:54 +02:00
jenkins-bot
ff7c57489a
Merge "Set padded=false for link inspector"
2017-09-29 16:42:29 +00:00
jenkins-bot
8032b97fa9
Merge "Remove upstreamed link inspector page icons"
2017-09-29 16:37:12 +00:00
Ed Sanders
582a3e62fb
Remove upstreamed link inspector page icons
...
Change-Id: I997b299d9a61ec9307025a7f4d106f185283eb40
Depends-On: I297648d14b4a2540a40f3a0b7d22a7905ef7c035
2017-09-29 16:27:50 +00:00
Ed Sanders
ef46e45b43
Set padded=false for link inspector
...
Logically depends on I615b485a272.
Bug: T177080
Change-Id: Ica54238d891fa41eefb0b9216eb4f2190818a502
2017-09-29 16:14:29 +01:00
Željko Filipin
fe09c22e33
Delete Ruby Selenium tests
...
Tests are broken most of the time. Ruby framework will be deprecated next month. Selenium tests
that are needed should be implemented in Node.js.
Bug: T164479
Change-Id: I8ec1d9b19b9538936c508daf2b50249a705b3170
2017-09-29 16:55:12 +02:00
Ed Sanders
dc500697e1
Follow-up Ia08dbb44: $attachable -> $bounding
...
Change-Id: I88101426998c7f11a7dfd3b971a1274e5aad638a
2017-09-28 17:36:37 +01:00
Bartosz Dziewoński
81d567bfdc
ve.init.mw.DesktopArticleTarget: Fix the code to reorder tabs
...
This code is meant to fix up the tabs if wgVisualEditorTabPosition
was changed and we're seeing cached HTML with the tabs in wrong order.
But it seems it has never worked. `$caEdit[ 0 ].nextSibling` is a text
node and obviously not equal to `$caVeEdit[ 0 ]`, and vice versa for
the other case. The logic is actually correct, so let's fix it to skip
over text nodes.
Also, remove a stray 'eslint-enable' comment left over in
a0f934ed26
.
Bug: T50017
Change-Id: I23663a9bfcfdbf52918452c878a128e6960b1191
2017-09-28 15:54:55 +02:00
Bartosz Dziewoński
a0f934ed26
ve.init.mw.DesktopArticleTarget: Remove hack for reversed tabs in RTL in Vector
...
Vector no longer does the silly thing where the tabs are reversed in
the HTML in RTL languages, so we must remove our hack to do the same,
since otherwise it reintroduces the issue it was intended to prevent.
This essentially reverts 2efd4f0061
.
Bug: T50017
Change-Id: Ibeaa55bc34899bffab849ea8ad8b127fb5184d43
2017-09-28 07:35:18 +02:00
Volker E
4067b05832
Unify monospace font family stack
...
Bug: T176636
Change-Id: I9ad1a92cef7875371e232c8e4babc842ba711e8c
2017-09-28 00:24:53 +02:00
Translation updater bot
db59dc6776
Localisation updates from https://translatewiki.net .
...
Change-Id: Icc4ce2792ffbfb8f030c9fa162400c31f72dc8dd
2017-09-27 22:44:25 +02:00
Ed Sanders
90a9fdb6aa
Ensure mw-notification-area doesn't get disabled
...
Bug: T176874
Change-Id: I43af13a0fcb5c19fdea53cfaeb941ac100579945
2017-09-27 14:50:59 +01:00
jenkins-bot
2411e7c04e
Merge "Replace constructive with progressive UI flag"
2017-09-26 22:04:46 +00:00
Translation updater bot
db5a06afd7
Localisation updates from https://translatewiki.net .
...
Change-Id: I55bcbb4134fd269f45b77115c025aea045e3bff8
2017-09-26 22:54:54 +02:00
James D. Forrester
2c70792c4f
Replace constructive with progressive UI flag
...
Change-Id: Iae36e978978ed6642f44606a934c540cf5f8537f
2017-09-26 15:14:32 -04:00
Ed Sanders
38d716f895
Follow-up Iebd1def1: Revert MWSignatureTool case
...
The tool checks the page name before the target is initialized.
Change-Id: I02ec528a11cc01b026fb95617388d47323ad96ee
2017-09-26 19:59:56 +01:00
Ed Sanders
1b8f8d8908
Replace wg(Relevant)PageName with target#pageName
...
The default value of target#pageName is wgRelevantPageName
but other targets my override this, or change it dynamically
(e.g. ContentTranslation).
Also remove duplicate setter of pageName in mw.ArticleTarget,
already set in mw.Target.
Change-Id: Iebd1def1d4142978a673afec584a0b663644d176
2017-09-26 13:22:00 +01:00
Translation updater bot
b81a4b0fea
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia27a53fdc504ca1bb3e2bbb3b0bc6e54542344aa
2017-09-25 22:54:09 +02:00
jenkins-bot
c54a54d3f9
Merge "Api: Missing preloadparams"
2017-09-25 17:30:41 +00:00
Ed Sanders
842d0bb8ed
Set bounding element to full frame for MW images
...
Logically depends on Iea800132.
Bug: T176646
Change-Id: Ia08dbb4400400990e1e518bc47afd5d60795c736
2017-09-25 17:17:27 +00:00
David Lynch
02c6e9142b
Api: Missing preloadparams
...
* Tiny fix to 33dc60838c
for PHP variable name
* Bigger fix to properly pass preloadparams in and split them up
Change-Id: I844db115f2563cb9ee1629c30d5f49d1ce58f5bd
2017-09-25 11:42:09 -05:00
Translation updater bot
e13538a8f0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic73bdbb6f814da63a38099728cd960e805be4664
2017-09-24 23:06:22 +02:00
Translation updater bot
d9de7e3235
Localisation updates from https://translatewiki.net .
...
Change-Id: I4ce90141a03f0cc736186a8375a21ff22bab349c
2017-09-23 22:58:22 +02:00
Translation updater bot
996e39613b
Localisation updates from https://translatewiki.net .
...
Change-Id: I9496eda9f2f17527f36a8dcb356e1246d1f66b98
2017-09-22 23:29:36 +02:00
Translation updater bot
14ebd22180
Localisation updates from https://translatewiki.net .
...
Change-Id: Iee95738a77c34850701cc87b345391a73201145c
2017-09-21 22:58:48 +02:00
jenkins-bot
f17b099984
Merge "Use findFirstSelectableitem instead of getFirstSelectableItem"
2017-09-21 18:13:09 +00:00
Ed Sanders
9572bbe245
Fix font size in local overlays in monobook
...
Change-Id: I742c090d64af4e22004e921ab772550474125224
2017-09-21 15:46:26 +01:00
Translation updater bot
fa7cbf0849
Localisation updates from https://translatewiki.net .
...
Change-Id: I41c542b61bc744c201ce582267a8a992fde9c201
2017-09-20 23:09:44 +02:00
jenkins-bot
549290991e
Merge "DesktopArticleTarget.init: handle new-section tab when in visual mode"
2017-09-20 17:04:48 +00:00
jenkins-bot
e1ae0a91ec
Merge "Remove nbsp from Visualeditor-mwlanguagevariantcontextitem-rule-code-label"
2017-09-20 16:20:40 +00:00
David Lynch
325de4b130
DesktopArticleTarget.init: handle new-section tab when in visual mode
...
Bug: T157755
Change-Id: Ida657edb57c4d3067f17104ff1b74965c8082131
2017-09-20 15:49:21 +00:00
jenkins-bot
c1721aabe9
Merge "Wait for tree to finish building before updating caption"
2017-09-20 15:41:33 +00:00
Ed Sanders
14f99e3757
Wait for tree to finish building before updating caption
...
Bug: T176265
Change-Id: Ib73943beedc6a0166699b33b4d1148d8ba32ad20
2017-09-20 16:00:41 +01:00
Translation updater bot
7a7e57504b
Localisation updates from https://translatewiki.net .
...
Change-Id: Iad8f83651883d387edc898646acf6a1042ca38b9
2017-09-19 23:18:24 +02:00
jenkins-bot
0357252601
Merge "Use figure-inline instead of span for inline media"
2017-09-19 16:11:58 +00:00
jenkins-bot
fbdd7c895f
Merge "Do not "resolve attributes" in toDomElements() overrides"
2017-09-18 22:27:28 +00:00
jenkins-bot
0246c2a62f
Merge "Enable preload in VisualEditor"
2017-09-18 19:59:13 +00:00
David Lynch
c440a3576f
DesktopArticleTarget: Support preloadtitle in source mode
...
Can't support it in visual mode, since there's no new-section handling at all.
Bug: T51622
Change-Id: I763d5fff156e9ef3893bd882fab1dc2d47121728
2017-09-18 10:18:37 -05:00
Translation updater bot
228af9d25d
Localisation updates from https://translatewiki.net .
...
Change-Id: I10e3b3c86449102851aec61f7166adfd9432164b
2017-09-17 22:48:16 +02:00
Translation updater bot
76771b4cd0
Localisation updates from https://translatewiki.net .
...
Change-Id: I1cbc38a425ec200a585dfacb825893c20da5b1e2
2017-09-16 23:06:04 +02:00
David Lynch
ea274c94cd
Enable preload in VisualEditor
...
This allows the use of the preload and preloadparams query parameters. They
should behave as they do in the old editor, loading substituted content in
visual and source modes.
Bug: T51622
Change-Id: I522fb5b480d17912f6d6116be6aa043ead855b52
2017-09-15 17:17:51 -05:00
C. Scott Ananian
853ec0bc9c
Inspectors for editing LanguageConverter markup
...
Basic inspectors for editing. Changing from block to inline, or
adding "hidden" or "describe" flags not supported.
The UI layout for two-way and one-way rules could certainly be improved.
Bug: T49411
Change-Id: I5ce29e4bf47abf509afde0a57f64b5d1189f5185
2017-09-15 09:24:33 -07:00
Translation updater bot
253d0b2e09
Localisation updates from https://translatewiki.net .
...
Change-Id: Idc7a04710edbde1341c8fd87ab50d74a4ea87dd2
2017-09-14 23:36:51 +02:00
C. Scott Ananian
26df4dca33
Doc update: use the full class name so JSDuck hyperlinks it correctly
...
Change-Id: I2c6f6a6c5b497767d7f7731c86cc145ed60b1deb
2017-09-14 11:07:07 -04:00
Ed Sanders
405afdce70
Strip RESTBase IDs from historical diffs
...
Change-Id: I911d529204a97003ed233464709737b018918634
2017-09-14 13:45:10 +01:00
Translation updater bot
9dfe4bbdc7
Localisation updates from https://translatewiki.net .
...
Change-Id: I2195f7cb1d274f73a32a35237f6e0b9b23e29749
2017-09-13 22:56:59 +02:00
jenkins-bot
1809344c8a
Merge "URL decode file names in gallery, as in PHP parser"
2017-09-13 18:00:56 +00:00
jenkins-bot
714f43c8c2
Merge "Fix typos in gallery attribute names"
2017-09-13 17:34:52 +00:00
jenkins-bot
779dcc2164
Merge "ArticleTarget: Make save commands triggerable from anywhere"
2017-09-13 15:40:19 +00: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
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
Translation updater bot
dc2366cbba
Localisation updates from https://translatewiki.net .
...
Change-Id: I768e3e14ff1b0becdba08daa7694b22625792fab
2017-09-09 00:22:20 +02: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
Translation updater bot
67ef60629d
Localisation updates from https://translatewiki.net .
...
Change-Id: I6176a308b3b526f068da420473e52d342aa0da14
2017-09-06 23:02:05 +02: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
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
d743fa7c1f
Merge "Disable VE on Special:Undelete"
2017-08-31 23:40:41 +00:00
Bartosz Dziewoński
df9e564b73
Stop requiring deprecated EditPage::getCheckboxes()
...
Instead, use getCheckboxesDefinition(), and build our save form
checkboxes from that rather than extracting them from the HTML.
The ability to have non-checkbox fields there is removed, as that was
never intentional and is now impossible.
To avoid transient problems during deployment (old JS code cached in
the user's browser receiving the new format of API responses), the old
property is kept in the API response. We should remove it next week.
Bug: T174613
Bug: T174686
Change-Id: I5bfca5e116fe790302c3b6ac1357e80237fb1ed2
2017-08-31 17:47:15 +02:00
jenkins-bot
af756c4c20
Merge "EducationPopup: Add cursor:pointer"
2017-08-30 17:59:26 +00:00
Ed Sanders
24747966b6
EducationPopup: Add cursor:pointer
...
We still expect the user to click on the tool, and
the actions still works (albeit delayed), so we
should use cursor:pointer.
Change-Id: I6d2b0140f5fd918809f05acc6e405ef430c518fd
2017-08-30 17:48:27 +00:00
jenkins-bot
a24be49c01
Merge "ve.ui.MWEducationPopupTool: Position blue dots with CSS only"
2017-08-30 17:42:38 +00:00
jenkins-bot
1a40fd2b71
Merge "ve.ui.MWLanguageVariantNodeContextItem: Fix condition for empty table"
2017-08-30 15:48:07 +00:00
jenkins-bot
61ae9df214
Merge "MWParameterPage: Vertically align actions with label"
2017-08-30 15:42:53 +00:00
Egbe Eugene
2fc6423070
Remove nbsp from Visualeditor-mwlanguagevariantcontextitem-rule-code-label
...
Since "nbsp" is hard to translate, it is removed from the current
text of visualeditor-mwlanguagevariantcontextitem-rule-code-label,
which was "Language code" - now changed to "Language code".
Instead the table headings (where this message is used) are defined
as non-breaking in CSS.
Bug: T173181
Change-Id: I9794fa010ad908fe772fa6858c25acc6beb973d5
2017-08-29 21:58:33 +02:00
Bartosz Dziewoński
bff16fb352
ve.ui.MWLanguageVariantNodeContextItem: Fix condition for empty table
...
For magical HTML reasons, a `<tbody>` node is automatically inserted
inside the `<table>` node. Therefore the table always had exactly one
direct child, this check always failed and table was never shown.
Instead, count the rows.
Change-Id: Ia8a5387c3f605689ab1053c923952ec955b83253
2017-08-29 21:57:48 +02:00
jenkins-bot
50c31a0b29
Merge "mw.ArticleTarget: strip HTML tags entirely from source-mode summary"
2017-08-29 19:50:04 +00:00
David Lynch
dc101c6169
mw.ArticleTarget: strip HTML tags entirely from source-mode summary
...
Bug: T173711
Change-Id: If8b354b2788285ea27472bf9a16544f8e5c091f8
2017-08-29 12:01:33 -05:00
David Lynch
5d4ff082e6
MWLinkAnnotationInspector: check input validity when switching modes
...
Focusing a TextInputWidget normally unsets validity. However, because we're
kind of pretending this is the same input, just in a different mode, it
doesn't make sense to the user that the focus behavior occurs. So, make it
recheck validity after we switch.
Bug: T172159
Change-Id: I1d9d6670d72483c7510fd5ed3c539b43af8432bf
2017-08-29 11:28:29 -05:00
Bartosz Dziewoński
0a378318bf
ve.ui.MWEducationPopupTool: Position blue dots with CSS only
...
We can place them in bottom center of the toolbar buttons with
just CSS, no need to manually calculate the position (which
doesn't give the correct results if the toolbar is not visible).
Also add z-index for correct rendering inside TargetWidget,
not overlapped by the toolbar border (e.g. in the media dialog).
Bug: T174120
Change-Id: I556ddfcf252669107cf21810fbed7c9a3751e906
2017-08-29 18:21:44 +02:00
Ed Sanders
c8e856bfb2
MWParameterPage: Vertically align actions with label
...
Also make label consistent height, with or without an
indicator using line-height, and move closer to input.
Change-Id: I1b6e6e2f3caa4c949583cafa9448aae6ebc1e0a1
2017-08-29 14:45:21 +01:00
Ed Sanders
550408f863
Increase width of param actions container
...
Bug: T174202
Change-Id: I61a175593b087219b22c5be91d00054b1c15e1dc
2017-08-29 14:28:26 +01:00
Translation updater bot
498d1dde0c
Localisation updates from https://translatewiki.net .
...
Change-Id: I85367b5829adcc6402905429b09b00302d1c8585
2017-08-29 09:27:05 +02:00
Translation updater bot
632a39446f
Localisation updates from https://translatewiki.net .
...
Change-Id: I86a476a67016ccfec0ece9a6d40576bcc9cc9683
2017-08-28 13:47:03 +02:00
Ed Sanders
63607c4cff
Remove reference to editfont-default
...
Bug: T170223
Depends-On: I1ace59c980740fc785ccbd500e19cc8b71d46a5b
Change-Id: I2ac04df04b6652b47490dff5202683c041178a2c
2017-08-25 18:44:53 +01:00
Ed Sanders
3ba918a6ae
Disable VE on Special:Undelete
...
Bug: T173154
Change-Id: I2a7d815a67c9e0f80ab3cdfd3a3755370c831867
2017-08-25 18:09:37 +01:00
Translation updater bot
4677c6837b
Localisation updates from https://translatewiki.net .
...
Change-Id: I5ea49bc6475bf5c10b900b9ade15455ee939b4a8
2017-08-25 10:06:55 +02:00
jenkins-bot
b73deb1690
Merge "Create wrapper paragraph when converting block image to inline"
2017-08-24 22:16:16 +00:00
jenkins-bot
842b3336bd
Merge "Move historical diff loading to DiffLoader util"
2017-08-24 18:33:45 +00:00
jenkins-bot
f315c650f6
Merge "Don't focus media dialog until ready process"
2017-08-24 17:18:54 +00:00
Brad Jorsch
2abb9b1b2d
Remove execute mode from non-executable
...
Change-Id: I46549acd49ca883e9047b8117cb968a9ddbb06cc
2017-08-24 10:57:25 -04:00
Ed Sanders
eb2ee52de0
Create wrapper paragraph when converting block image to inline
...
This prevents the image jumping into another paragraph,
e.g. in a different table cell.
Move the logic for removing the old image out of MWMediaDialog
and into MWImageModel#insertImageNode.
Bug: T121449
Change-Id: Ibd7c92f3f90c382ceffd3e0defb12ba36a3786d2
2017-08-24 15:56:22 +01:00
Ed Sanders
b11b144ad6
Don't focus media dialog until ready process
...
Bug: T174027
Change-Id: I070b5538e12c8a165a714ac6c3fd172f0ed179d4
2017-08-24 15:38:11 +01:00
Ed Sanders
51207e7aa5
Allow for mw.body being null in <selfclosing/> extensions
...
Bug: T173016
Change-Id: I8daa65e5dc0368b366710f044b621287e83e26f7
2017-08-23 16:13:16 +00:00
Translation updater bot
21759ac8c9
Localisation updates from https://translatewiki.net .
...
Change-Id: I39a7dcd4701e7481dadc37a285159ab283d995e2
2017-08-23 09:43:48 +02:00
jenkins-bot
8e29c59e44
Merge "Decrease border contrast on selected Vector tabs"
2017-08-22 20:47:22 +00:00
Volker E
a2f70cac8b
Decrease border contrast on selected Vector tabs
...
Decreasing border contrast on selected Vector tabs.
Bug: T173465
Change-Id: I46530c8cdf9161e527f421eeb8186a7695057361
2017-08-22 13:28:24 -07:00
Translation updater bot
03e17c61bc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibd8a3f757e90d99142994dc73b15f178cf98d90b
2017-08-22 09:24:57 +02:00
Translation updater bot
066cc2ed3e
Localisation updates from https://translatewiki.net .
...
Change-Id: I0e8878a5878027ffcf58bd02629fe8c54123634a
2017-08-19 09:26:56 +02:00
jenkins-bot
12ee2041d7
Merge "Align border
and border-radius
values"
2017-08-17 14:52:10 +00:00
jenkins-bot
9c2bccea48
Merge "Replace remaining greys/reds with WikimediaUI color palette colors"
2017-08-17 14:52:05 +00:00
Translation updater bot
98618638a1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia7afe35d0f465b16d73f065c2373ded6f2dff063
2017-08-17 09:20:06 +02:00
Volker E
19eb726677
Align border
and border-radius
values
...
Aligning `border` code syntax codebase-wide and
`border-radius` values to WikimediaUI theme.
Change-Id: I1a16dccf17bd112ba5071ebfe02d57237feb39e0
2017-08-16 14:05:55 -07:00
Volker E
aaffa6aa46
Replace remaining greys/reds with WikimediaUI color palette colors
...
Replacing remaining greys and reds apart Monobook/Apex specific
stylesheets with WikimediaUI palette colors.
Bug: T173459
Change-Id: I9b5b1c379bf76e8da57eeff28c7dd000f148a8fc
2017-08-16 13:43:02 -07:00
Translation updater bot
84c6f28b97
Localisation updates from https://translatewiki.net .
...
Change-Id: I594ea5f8e9f15fb6739e2ede21e3e365caa77b0a
2017-08-15 09:02:55 +02:00
Translation updater bot
24e7cd1b26
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib536e242d7d941e57e18056b52a304cfdfd73ed6
2017-08-14 09:43:14 +02:00
Ed Sanders
3cf074c6ea
Move historical diff loading to DiffLoader util
...
Change-Id: I318752ede2e5c90f9d0ecd26b39e997fff2d60bd
2017-08-13 15:31:42 -04:00
David Chan
c87abccdf9
MWLinkAction: Don't annotate close tags
...
Change-Id: I273838eba4cb259cf053ce88378da10b0e241155
2017-08-13 11:33:43 -04:00
jenkins-bot
2398ae1f3f
Merge "Inform users visual diffs are in beta"
2017-08-12 21:04:54 +00:00
Thalia
fd75d2687f
Inform users visual diffs are in beta
...
Bug: T170665
Change-Id: Ia144c4409767567e41693a3fecd245a6b49c27c7
2017-08-11 15:12:08 -04:00
jenkins-bot
8975449eaf
Merge "Context item for LanguageConverter markup"
2017-08-11 14:29:09 +00:00
jenkins-bot
6f12d066d1
Merge "Rename LanguageConverter markup fields"
2017-08-11 14:28:11 +00:00
Translation updater bot
40337be73a
Localisation updates from https://translatewiki.net .
...
Change-Id: I42edcaf67657f3d0c8425ae1152a47ed3dbc6df9
2017-08-10 23:17:54 +02:00
jenkins-bot
a604c3064a
Merge "VisualDiff: Store diffmode in query string on diff pages"
2017-08-10 19:22:40 +00:00
Ed Sanders
1d70266b8b
VisualDiff: Store diffmode in query string on diff pages
...
Change-Id: I092ac68dd31b29b4418e7afb37bfe94befa16558
2017-08-10 11:24:54 -04:00
C. Scott Ananian
c89a3059f8
Context item for LanguageConverter markup
...
Add a context item giving more information on language converter markup.
Bug: T49411
Change-Id: I3c91db84793a9a965dcb760253b24edee5d7bd23
2017-08-10 11:02:41 -04:00
C. Scott Ananian
4ff740fe21
Rename LanguageConverter markup fields
...
Avoid confusion by using `twoway` instead of `bidir`, which could be
confused with the Unicode bidirectional layout algorithm.
Depends-On: Ib59dff22e64f235e30778a5a5b3e525e4fc7fdd3
Change-Id: I7efb35245d48125b167dc0f0ef8f12aa0fff94e5
2017-08-10 10:59:57 -04:00
Translation updater bot
937f5c0238
Localisation updates from https://translatewiki.net .
...
Change-Id: I1b87d53f71cdaa9d9200bb77985e16e26313d174
2017-08-09 22:46:38 +02:00
jenkins-bot
430fa82774
Merge "Expose ve.ui.MWInternalLinkContextItem generateBody logic"
2017-08-09 18:07:33 +00:00
David Chan
c03d69b761
Expose ve.ui.MWInternalLinkContextItem generateBody logic
...
Change-Id: I94912ac2c471cc5d227fa8b9cb29c302ca29814d
2017-08-09 17:58:49 +00:00
jenkins-bot
afd3bb5a1d
Merge "Remove code for magnify icon from figcaption node"
2017-08-09 16:35:54 +00:00
Translation updater bot
961b2241e9
Localisation updates from https://translatewiki.net .
...
Change-Id: I930f11036e7bc1ac1ee700e65b5ddd2bda222b61
2017-08-08 23:08:11 +02:00
Translation updater bot
a2af4cb554
Localisation updates from https://translatewiki.net .
...
Change-Id: Iea21c4fac1e837b0f87e7188a46a3aeca0fd87e6
2017-08-07 23:10:09 +02:00
Translation updater bot
57dfd917f2
Localisation updates from https://translatewiki.net .
...
Change-Id: I352afaf45420ca6a3ad59c23573eac8f13202f6e
2017-08-06 22:51:32 +02:00
jenkins-bot
1e474e038e
Merge "Support visual diffs on Special:ComparePages"
2017-08-06 11:46:57 +00:00
Ed Sanders
5104f63cf3
Support visual diffs on Special:ComparePages
...
Bug: T171821
Change-Id: I13fe8349ab2d078b172637c931f1b80f7108c927
2017-08-05 23:38:20 +01:00
Translation updater bot
1e12b53858
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifc5d45f9e8b43bf5a17a0e1206cae95645e325eb
2017-08-04 23:31:05 +02:00
jenkins-bot
dc99384c06
Merge "Fill empty apihelp messages"
2017-08-03 21:53:41 +00:00
Umherirrender
33ddad9382
Fill empty apihelp messages
...
Change-Id: I5c300e763b58071719710e73fcc0c1666a8e35ec
2017-08-03 23:42:09 +02:00
Translation updater bot
5e85df4c31
Localisation updates from https://translatewiki.net .
...
Change-Id: Id51f14b71889d68489b7e0c34d1b3add3316fc06
2017-08-03 23:11:46 +02:00
Roan Kattouw
448944de3b
Standardize on /^(\.\.?\/)*/ for interpreting Parsoid hrefs
...
We used (\.+\/)* instead of (\.\.?\/)* in some places,
but that doesn't make much sense since we won't and shouldn't
ever see stuff like '.../'
Change-Id: I9efcff2d2a34499ca57321dfbae29392ecb422d7
2017-08-02 21:30:31 +00:00
Translation updater bot
96fd341f1d
Localisation updates from https://translatewiki.net .
...
Change-Id: I73618d0dc368f56585b7f950ecf20c693d29b8d6
2017-08-01 23:05:50 +02:00
jenkins-bot
7b17760ad6
Merge "ve.init.mw.ArticleTarget: Fix parsing of preview documents"
2017-08-01 17:40:51 +00:00
Bartosz Dziewoński
e31ffa9199
ve.init.mw.ArticleTarget: Fix parsing of preview documents
...
ve.init.mw.Target.static.parseDocument requires that its parameter be
a complete HTML document with a single root tag, otherwise some of its
workarounds break horribly in IE 11 (and possibly Firefox).
Bug: T171600
Change-Id: Iaacf24f7bef40a24230fcfa08e15bab31b1587c0
2017-08-01 17:16:43 +00:00
jenkins-bot
c959caffe4
Merge "Copy over missing steps from MWLinkAnnotationInspector to Wikitext version"
2017-08-01 16:25:08 +00:00
Translation updater bot
9a0fda6bba
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e8539bec5dbd521a0fc1b10d72f78e3d1637d56
2017-07-31 23:05:34 +02:00
jenkins-bot
c44e8e7b19
Merge "Compare template names when diffing, not just type"
2017-07-31 19:28:57 +00:00
Ed Sanders
a90f8f5ea1
Copy over missing steps from MWLinkAnnotationInspector to Wikitext version
...
Bug: T171892
Bug: T171895
Change-Id: Id14eed79b9a2395b3b722828e62b05d3d8d44327
2017-07-31 18:44:12 +01:00
jenkins-bot
1bfe56ddb0
Merge "ArticleTarget: set local config to hide welcome dialog"
2017-07-31 16:07:35 +00:00
Translation updater bot
34cd347904
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie572f56ba6293663fc4c19e5b70d80035e97e57f
2017-07-28 22:47:03 +02:00
Ed Sanders
539a1cab43
Compare template names when diffing, not just type
...
As type is always 'mwTransclusionInline/Block'.
Bug: T166801
Change-Id: I76cdf0add780d556206c439797cfcca19133d94d
Depends-On: I0f24d9d81b5491a8f09bc59e5f544f99751fd506
2017-07-28 21:32:32 +01:00
Translation updater bot
c0a5b64695
Localisation updates from https://translatewiki.net .
...
Change-Id: Id9389d3f271a86db33767e8c9813eaa14b019a17
2017-07-27 23:23:21 +02:00
Translation updater bot
ae47ac45c0
Localisation updates from https://translatewiki.net .
...
Change-Id: I47ea114caf376072407ba6c92e60c216aaeb61fd
2017-07-26 22:58:09 +02:00
Translation updater bot
cc0bd4b4cc
Localisation updates from https://translatewiki.net .
...
Change-Id: I349f1de9b00d36c1e2f1072f7c2cd84629cd3e6e
2017-07-25 22:47:19 +02:00
C. Scott Ananian
9ee713d480
Display LanguageConverter markup in VisualEditor
...
Implement special node types for language variant markup, so that they
display appropriately based on the currently-selected variant.
(Parsoid uses empty elements to represent this markup, so without this
patch anything in -{ ... }- is alienated and disappears.)
A follow-up patch will implement context items and inspectors to
allow editing these nodes. This patch is basic "read-only" support.
Depends on I4fcdebc2290ec35ba188f4c2e69d578791fbcd67 in Parsoid to
generate the appropriate markup, but this patch is safe to merge
independently.
Bug: T49411
Change-Id: Ie11e9301d2513bfe4a36036481cee9a047f46d37
2017-07-25 15:26:41 +00:00
Ed Sanders
aeca5a8253
Remove code for magnify icon from figcaption node
...
This icon is now added by Parsoid content CSS.
Bug: T160960
Depends-On: Id66f09c54103854ccbaa54a03e7c62890b67cba9
Change-Id: I8d76d759641b091c1821ff658b1201ca625fd146
2017-07-25 14:48:39 +01:00
Translation updater bot
ea40fc5f60
Localisation updates from https://translatewiki.net .
...
Change-Id: I57efbb78a536b94d16f7bfeabf4ee7002b21aa0f
2017-07-24 23:21:05 +02:00
David Lynch
0e973e2539
ce.MWTransclusionNode: make sure model exists before getting its document
...
Bug: T168932
Change-Id: I8d458888ed0b80205ce17b41f3506410c550630f
2017-07-24 11:31:19 -05:00
jenkins-bot
6dec360659
Merge "Edit image captions in place"
2017-07-24 16:02:06 +00:00
Translation updater bot
99d18028d9
Localisation updates from https://translatewiki.net .
...
Change-Id: I2580854b1270433a4ccda9262d16d7741c9b03e1
2017-07-22 23:01:52 +02:00
Translation updater bot
d15eb23806
Localisation updates from https://translatewiki.net .
...
Change-Id: I5fe6d7383256cf027d4550d81ed5bee28df8b1ce
2017-07-20 23:07:09 +02:00
jenkins-bot
03173b7b2d
Merge "ve.ui.MWEducationPopupTool: Don't show if not inside a BarToolGroup"
2017-07-20 17:07:20 +00:00
Timo Tijhof
d8a532c87e
tests: Remove QUnit.newMwEnvironment from ve.test.utils.mwEnvironment
...
Two problems:
* At least one caller already calls QUnit.newMwEnvironment(), which means
it runs twice which is unsupported and breaks If4141df10eae55 in core.
* It assumes the return will contain 'setup' and 'teardown', which
is internal and also changes with If4141df10eae55 in core.
Using 'setup' and 'teardown' for this within VE-MW is fine.
First attempt is to simply remove it. Uses that already called
QUnit.newMwEnvironment are effectively unchanged. Uses that didn't
and only pass ve.test.utils.mwEnvironment to QUnit.module directly
will now run without core's QUnit.newMwEnvironment() setup/teardown.
If that breaks anything, we can add it back to those tests that actually
need it.
Change-Id: I9ef0368ba58daf1c7dc92d083ae79c108cc27638
2017-07-20 00:15:51 +00:00
Translation updater bot
d804a1fc10
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifbb0c0e37626c04e5085abdda1e8d4a2f60c3c4d
2017-07-19 23:00:11 +02:00
Bartosz Dziewoński
49d5bae106
ve.ui.MWEducationPopupTool: Don't show if not inside a BarToolGroup
...
The popup gets hideously deformed in other cases. Getting it to work
would probably be difficult. Let's just not show it.
Bug: T170919
Change-Id: If9005e9cdea52fefab981f4c7f05f71fce99f3e8
2017-07-19 22:13:34 +02:00
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