James D. Forrester
9fd8def8dd
Move Beta Features screenshots into modules
...
Change-Id: I6b46f334d226a3e061a3534fd2982397b66e2c6f
2017-10-26 14:27:52 -07:00
Ed Sanders
dc3ed6cec0
build: Update stylelint 0.4.1->0.4.2
...
Change-Id: I9d67e4224eb6298e20574a201eeee559ab3a7504
2017-10-26 21:04:07 +01:00
Translation updater bot
c6cbfd272e
Localisation updates from https://translatewiki.net .
...
Change-Id: I360932f3af6ea92eb1163d9118eb4597f73a3854
2017-10-25 23:06:53 +02:00
David Lynch
ab1e5d58d4
MWInternalLinkContextItem: increase specificity to override OOUI changes
...
OOUI 8e31b2f273 increased changed various icon CSS rules, and increased their
specificity. Increase ours to match. This restores the correct size/ratio of
the images in the link context item.
Bug: T178933
Change-Id: I4f1a6dde363cf99f7665dc83f4b0fa6b1dd3c29e
2017-10-24 16:09:38 -05:00
Translation updater bot
bc1f41d0f7
Localisation updates from https://translatewiki.net .
...
Change-Id: I868bdeaabf47eb5450be9e99d45451f2724f1833
2017-10-23 23:45:49 +02:00
Translation updater bot
8074aff678
Localisation updates from https://translatewiki.net .
...
Change-Id: I34d2195477c2b61b9a38e5b188d81d595fa85c9b
2017-10-22 22:54:59 +02:00
Translation updater bot
33462623c9
Localisation updates from https://translatewiki.net .
...
Change-Id: I1a9bf279eb217f8c7e87bdaf3c43a622b68a6ae9
2017-10-19 23:28:36 +02:00
jenkins-bot
600208453b
Merge "Use more common 250ms transition for toolbar instead of 400ms"
2017-10-19 17:40:37 +00:00
jenkins-bot
c32aeeaa36
Merge "Increase selector specificity to fix layout regression"
2017-10-19 14:29:35 +00:00
Ed Sanders
b752a0620b
Increase selector specificity to fix layout regression
...
Removes negative margin from first item in help popup.
Change-Id: I87ecca9f886dd4061a2afa781ca997ef751907ef
2017-10-19 15:21:12 +01:00
Ed Sanders
4eb8f46234
Remove duplicate position:relative in toolbar css
...
Already set upstream.
Change-Id: Icf15dc82b7d57eb3591b0873e49fa9c598b2742d
2017-10-19 14:23:05 +01:00
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