Commit graph

3551 commits

Author SHA1 Message Date
Bartosz Dziewoński 652da4afab Revert "Make toolbar save button frameless"
This reverts commit cb11cbd2f5.

Actually not needed after 3d36cac7fc4808f708f03b66f5c099de440e4569
in OOjs UI, and would change the UI in unexpected way.

Bug: T103403
Change-Id: Ia30b168ea29d03aa76ad81d1f9894a67604fdc08
2015-07-07 14:21:04 +00:00
Ed Sanders cb11cbd2f5 Make toolbar save button frameless
Depends on I26b540dd2 in oojs-ui for styling.

Bug: T101165
Change-Id: I075b8cecf9df2026fb1da17e2ebdf0d848a3d250
2015-07-01 12:12:50 +01:00
Roan Kattouw 6aac8eed78 Follow-up 8112c3ba30: fix JS error on link inspector teardown
LinkAnnotationInspector in VE core calls
this.setAnnotation( null ); on teardown, which causes
MWLinkAnnotationInspector#onInternalLinkChange to be invoked
with a null fragment.

Bug: T103176
Bug: T104231
Change-Id: Ibb50ba1696609bebdfc2857ea292ee30b6b5126a
2015-06-29 23:53:49 +00:00
Bartosz Dziewoński 6d18641e4d Specify 'associatedWindows' for link and citation tools
Depends on I21fb955ecb697060263538914014d5712e013695 in core.

Bug: T98845
Change-Id: Id7f59c0095e8d85bb608bed0ab60603665fbca47
2015-06-29 16:26:32 -07:00
jenkins-bot 1beb1cb386 Merge "Don't add basic reference tool to catch-all" 2015-06-29 21:17:07 +00:00
Translation updater bot 686dd8bfb5 Localisation updates from https://translatewiki.net.
Change-Id: I3fc86154fb067959491636dc13f48d139be363cb
2015-06-29 20:53:14 +02:00
Alex Monk 93c2ac5014 Don't add basic reference tool to catch-all
Bug: T101130
Change-Id: I225da5cb6a9b961af556029166bdf728197475e4
2015-06-29 19:42:00 +01:00
Translation updater bot 90b9f93ed2 Localisation updates from https://translatewiki.net.
Change-Id: I7d166d58cf13358820c2500d9b7a55930f4c0474
2015-06-28 22:19:08 +02:00
Translation updater bot 7280466b2c Localisation updates from https://translatewiki.net.
Change-Id: I6d6f22ee28c71fd668b15514f2936318e31705c8
2015-06-26 22:00:09 +02:00
jenkins-bot e3f439d5fe Merge "Get rid of Category: prefix when looking up categories from the API" 2015-06-26 15:34:35 +00:00
jenkins-bot 112d1e3744 Merge "MWLinkAnnotationInspector: Get HtmlDocument in a different way" 2015-06-26 10:45:16 +00:00
jenkins-bot bd394194e3 Merge "ve.init.mw.Target: Strip all <script>/<object>/<style>/<embed> on save" 2015-06-25 23:45:00 +00:00
Alex Monk d4e2c55cfc Get rid of Category: prefix when looking up categories from the API
Bug: T103777
Change-Id: I27a81d832e3da7a0177d1c69af605c0525415b6b
2015-06-25 20:19:15 +01:00
Translation updater bot 4f2b052fc2 Localisation updates from https://translatewiki.net.
Change-Id: I20c73ce767aa2de9866fe93febe2da838d1197f7
2015-06-25 20:49:25 +02:00
Matthew Flaschen 8112c3ba30 MWLinkAnnotationInspector: Get HtmlDocument in a different way
Get the HtmlDocument in a different way that doesn't involve
ve.init.target.

For page (non-Flow) MW VE, I checked that it yields the same result.

Bug: T103176
Change-Id: I54bdf4f29f6acf4359be45b5b2ddfd23b5835c34
2015-06-25 11:08:54 -07:00
jenkins-bot ee6c0fb892 Merge "Use new MediaWiki core TitleInputWidget" 2015-06-25 00:23:44 +00:00
jenkins-bot bbd91b0fb9 Merge "Remove redundant match function from block image" 2015-06-25 00:06:40 +00:00
Ed Sanders 52cb066dc7 Use new MediaWiki core TitleInputWidget
All link input/title input functionality has been moved to core, so
we can replace the link widget, redirect widget and template search
widget with it.

Depends on Ib463e60cad96 in MediaWiki core.

Change-Id: I452f3b86ead403307072cf904f0553c9771f4300
2015-06-24 17:06:00 -07:00
jenkins-bot 2582f951af Merge "Give TranclusionNodes a matchFunction so they beat LanguageAnnotations" 2015-06-24 23:53:32 +00:00
Ed Sanders 6d8bd6f6e8 Remove redundant match function from block image
Functionality now provided by allowedRdfaTypes.

Bug: T98999
Change-Id: Icd933f4456fdc85fe08bdc9edc61040cb5bacd89
2015-06-24 23:45:14 +00:00
Translation updater bot b7628ecdba Localisation updates from https://translatewiki.net.
Change-Id: Ie7f6501f8162f8d1f91b452595c4eb2e6b543bdf
2015-06-24 22:08:19 +02:00
Translation updater bot 2e6060e5c7 Localisation updates from https://translatewiki.net.
Change-Id: I65119d7d69d07d0c9b363dbab9d73043b83262c0
2015-06-23 21:29:39 +02:00
James D. Forrester 4f1881ea74 ve.init.mw.Target: Strip all <script>/<object>/<style>/<embed> on save
Bug: T103430
Change-Id: Ie6ca3181f4c0764625b4d69fa169abc67ffb15bb
2015-06-23 08:42:01 -07:00
Timo Tijhof 87f2d0bc2a Make ext.visualEditor.mwalienextension mandatory (no longer experimental)
This module is required in order to alienate all extension blocks
by default. Otherwise they are interpreted as plain divs which
allow content editable.

Bug: T103455
Change-Id: I08f6b9a516ba6bee6ed18256222108116eceee1e
2015-06-23 03:45:50 +01:00
Translation updater bot 610868d8ba Localisation updates from https://translatewiki.net.
Change-Id: Id569662ba4e278a6f43fba8506a0c52f4eecd59c
2015-06-22 21:19:54 +02:00
Translation updater bot 5931b6edeb Localisation updates from https://translatewiki.net.
Change-Id: I3aaf0d4cbdedf862de827d249f55e9e5bb77af6b
2015-06-21 20:07:01 +02:00
jenkins-bot bb9f9f9fb4 Merge "Converting an error image (red link) from block to inline does not lose its error state" 2015-06-17 17:28:03 +00:00
suchetag f7026d5e5b Converting an error image (red link) from block to inline does not lose its error state
Bug: T101085
Change-Id: I521be8fbcbab27d712ec408ea7048dca2eaab198
2015-06-17 22:41:41 +05:30
Translation updater bot 86aacedf6f Localisation updates from https://translatewiki.net.
Change-Id: I9c820dd7de908d8509ddba195fc2ce6062cf91d9
2015-06-16 22:43:24 +02:00
jenkins-bot 104859c1c7 Merge "mw.ViewPageTarget: Ensure canonial view url is restored" 2015-06-16 15:51:21 +00:00
Ed Sanders 965a5dde89 Give TranclusionNodes a matchFunction so they beat LanguageAnnotations
This is a hacky fix, we should find a better way of telling the
model registry that language annotation loses to certain RDFa types.

Bug: T101977
Change-Id: I8be3aa55cbbc2832b8a02a15de27289b3041967e
2015-06-16 14:12:37 +01:00
jenkins-bot 4984df9331 Merge "Improve readability of license text in save dialog" 2015-06-16 00:19:03 +00:00
Translation updater bot 0147a742a6 Localisation updates from https://translatewiki.net.
Change-Id: I6c0d9372ed09007fdbe2c5701674f1d91f65a51a
2015-06-15 22:55:50 +02:00
Timo Tijhof e1ce49509c mw.ViewPageTarget: Ensure canonial view url is restored
When loading VE by clicking Edit on a view url, this naturally
works (we temporarily append our query, and remove it when ready).

When loading VE from a permalink (e.g. Open in new tab) or any
other source linked from HTML pages, then we're not in control
over adding the query (it's already there); we're only in control
over restoring the view url afterwards.

Bug: T102363
Change-Id: I4912ff1c6b28ac987517760ffed481a4cd3bd1ca
2015-06-15 13:28:35 +01:00
Translation updater bot 3c5ae91490 Localisation updates from https://translatewiki.net.
Change-Id: Ica2a4117a9328605fb6d83cea6cc8b2c7153278b
2015-06-14 21:17:31 +02:00
Translation updater bot 170d3be0bd Localisation updates from https://translatewiki.net.
Change-Id: Icc975a78a632c1310f7901bfd613aab13ba0f794
2015-06-13 22:34:12 +02:00
Translation updater bot f540b0d662 Localisation updates from https://translatewiki.net.
Change-Id: Ib18381d17a0b3ceca5935ddb65bbfa3ebeb798a7
2015-06-12 21:56:41 +02:00
Translation updater bot 8572638ab7 Localisation updates from https://translatewiki.net.
Change-Id: I0e8f0afb392b4976038166548b44868510a8b3e8
2015-06-11 21:17:00 +02:00
Mark A. Hershberger 7d5e5ec9a9 MWMediaResourceProvider: Use exist instead of bool check on API values
In the MediaWiki API, booleans exist or don't exist (with an empty string),
you can't check "if (bool)..." since that will always be false.  The API has
a newer formatversion=2 that fixes this but we're not using that yet.

Also update the defaultSource placeholder to match the API response. If one
would only update defaultSource without the 'if'-fix, one can reproduce T66822
on a local wiki (JSON-P request instead of JSON).

Bug: T66822
Change-Id: I5a8ab1136325c33c62982c0869fa14ca2fb26034
2015-06-11 17:29:36 +01:00
Glaisher 8a134783bd Improve readability of license text in save dialog
Previously, it failed in WCAG contrast ratio tests. To make
it pass, font size has been slightly increased and color
has been darkened.
Increased the line height to match increased font size

Bug: T100017
Change-Id: I073ca96c64d5e3af3c01936d34e9e83e9384b4b5
2015-06-10 14:41:16 -07:00
C. Scott Ananian 85b86fb45d Stop using deprecated aliases for OO.ui.mixin.*
These classes were renamed in OOUI v0.11.4.

Change-Id: Ie932eb3bf5e65866ae4ba3bf2317facb1e740d3b
2015-06-10 20:25:04 +00:00
James D. Forrester df79ed8c4b Update VE core submodule to master (5befc34)
New changes:
3368c4c Remove some assumptions about the state of the context
79918af Move contexts to subfolder
820eaec Tests for some drag/drop functionality
e5f0e3e Convert CE surface tests to use a mock UI surface
c81dbcf Localisation updates from https://translatewiki.net.
7561ff3 Create a mock UI surface that only contains a model for model-only action tests
ad60333 Convert test timings on APIResultsQueue from seconds to milliseconds
b52d7df Table cursoring tests
3f8e821 Localisation updates from https://translatewiki.net.
9c737df Update OOjs UI to v0.11.4
5befc34 Stop using deprecated aliases for OO.ui.mixin.*

Change-Id: Ida6d4ba724686d8189975c55a18c4a6c2cfe4875
2015-06-10 12:44:55 -07:00
Translation updater bot be03474ba3 Localisation updates from https://translatewiki.net.
Change-Id: I6fcb4a1d32a509cdb51f9c017dd679ba8b01b470
2015-06-09 22:52:52 +02:00
Translation updater bot 5b03e7fcab Localisation updates from https://translatewiki.net.
Change-Id: If1c40bd7541bddf975babe26e01addca07a5e649
2015-06-08 22:02:13 +02:00
jenkins-bot 27ea306b0f Merge "Omit extension attributes with an undefined value" 2015-06-08 19:42:36 +00:00
Ed Sanders 160a673e7c Omit extension attributes with an undefined value
Change-Id: I0abad51eb392644159d1845ef3a35986dc5cb79b
2015-06-08 16:03:47 +01:00
jenkins-bot b24a4529c5 Merge "Empty all inputs on link inspector teardown" 2015-06-08 14:37:26 +00:00
Translation updater bot 9c57bdbf30 Localisation updates from https://translatewiki.net.
Change-Id: Id15a54207ef791722c00360b22a2610039ace4a6
2015-06-07 22:33:41 +02:00
Translation updater bot f1a9d02101 Localisation updates from https://translatewiki.net.
Change-Id: I320c9034aaf046f0d5147b352c7e88dd3fcfe011
2015-06-06 22:25:41 +02:00
Bartosz Dziewoński abbb62fe8e ve.ui.MWTitleInputWidget: Restore 've-ui-mwTitleInputWidget' CSS class
've-ui-mwTitleInputWidget-menu', too. Removed in
b3d2e9013f, but we actually
use these classes in styles and in browser tests.

Bug: T101600
Change-Id: I40dae9c68bbcba2f980c307fe0dfa0956b4eb78a
2015-06-06 13:17:32 +02:00