jenkins-bot
28a4b9f362
Merge "Handle missing pipes in Gallery syntax, and remove them when caption is empty"
2016-11-29 19:27:52 +00:00
Ed Sanders
44fee9b61d
Wait until search panel is shown before setting a search query
...
Bug: T151659
Change-Id: I3eb3b903a8df1c7732da2a08e4b46b13b162617e
2016-11-29 11:13:54 -08:00
Ed Sanders
240ec23113
Handle missing pipes in Gallery syntax, and remove them when caption is empty
...
Bug: T146190
Change-Id: I703bcdf68b9631a47d839baf3abb42ff98b36bf2
2016-11-28 17:36:29 +00:00
jenkins-bot
6bcfed97a5
Merge "Separate out ArticleTarget as a module"
2016-11-26 23:22:32 +00:00
Ed Sanders
4fe6be1f34
Separate out ArticleTarget as a module
...
Also move save button command help registration to ArticleTarget.
Bug: T151096
Change-Id: I941d17254a2e20a82aa46fd538abf887d757c0c3
2016-11-24 12:35:41 +00:00
jenkins-bot
1909c445bb
Merge "Allow the gallery dialog to insert duplicate images initially"
2016-11-24 04:13:03 +00:00
Ed Sanders
0334263718
Missing i18n in gallery dialog
...
Change-Id: I369d5b9d42a5fd6b4d1afc12508632a282591320
2016-11-24 00:09:49 +00:00
jenkins-bot
fde5c3c2ff
Merge "Follow-up I63ab27cb: Get rid of notices tool when there are no notices"
2016-11-23 01:17:42 +00:00
Thalia
003ec7b653
Allow the gallery dialog to insert duplicate images initially
...
Change I94f4fadd84cd3e prevents the gallery dialog from inserting
duplicate images into the gallery dialog after one request (e.g.
so double-clicking on an image in the search widget doesn't cause
the image to be inserted twice). However, galleries can
intentionally contain duplicates of the same image, so it is
possible to make a spearate request to insert a duplicate image.
When the dialog is first opened, it requests all the images in
the gallery at once, so the above change was causing the
duplicates in an existing gallery to be dropped. Duplicates
should be allowed to be inserted following this initial request.
Bug: T150894
Change-Id: I34353bc9b8db947488474c4be52292e0a1447705
2016-11-23 01:02:35 +00:00
jenkins-bot
508b4164bd
Merge "Let gallery dialog handle unprefixed filenames"
2016-11-23 00:33:39 +00:00
Alex Monk
b89a6ee463
Follow-up I63ab27cb: Get rid of notices tool when there are no notices
...
Bug: T151423
Change-Id: I3dd9d2cbfb1fa536490eb8b4b7d630e9c6cfdd48
2016-11-23 00:30:06 +00:00
Thalia
2364f530a3
Let gallery dialog handle unprefixed filenames
...
The namespace prefix before image filenames is optional
in galleries, but the API requires it. If the prefix is
omitted, add the file namespace prefix.
Change-Id: I3d126550c2ad2e84454122f92307ba4bc943780b
2016-11-23 00:20:32 +00:00
Alex Monk
16e294fba7
Move around code that sets up edit notices to ensure it runs after we receive the notices to display
...
Bug: T151236
Change-Id: I63ab27cb236169f300295b2ed4c88e01048092e7
2016-11-22 19:16:09 +00:00
Ed Sanders
6e64fba2f8
Unbreak education popup
...
Tools only setup once now, and that is during the dummy surface
phase, so we have to setup the education popups then.
Change-Id: Idf46fe42c893c0692dc442226297253074ef9bd7
2016-11-21 15:19:58 +00:00
jenkins-bot
8fd396151c
Merge "Migrate DesktopWikitextArticleTarget code upstream"
2016-11-20 03:06:55 +00:00
Ed Sanders
e1a887ccf8
Migrate DesktopWikitextArticleTarget code upstream
...
Change-Id: Icca4715411737a561302b44b127d91d117e7e29b
2016-11-20 02:52:14 +00:00
jenkins-bot
3483055c29
Merge "Remove max-width from save summary"
2016-11-16 17:55:35 +00:00
James D. Forrester
f24e34de3c
build: Bump eslint-config-wikimedia to v0.3.0 and make pass
...
Change-Id: I7449c11aa63c50fda667265c32021439cc53471f
2016-11-15 15:05:05 -08:00
jenkins-bot
65604802ac
Merge "Fix attribute.style typo in gallery dialog"
2016-11-15 22:09:57 +00:00
Thalia
97af378bb5
Fix attribute.style typo in gallery dialog
...
Change-Id: I71162652df5e09c4d974e0f863ea661c4bd7902e
2016-11-14 22:26:39 +00:00
Thalia
810202395e
Normalise filename after image is chosen in gallery dialog
...
Bug: T150638
Change-Id: Iead7d0d3f8aa6c864dc6fba7089bab0767035812
2016-11-14 22:04:25 +00:00
Ed Sanders
37ccaca2ec
eslint: Re-enable wrap-iife and partially enable dot-notation
...
Change-Id: I4420d66f528dcb18ebe2b9f63996661b2969f833
2016-11-12 14:43:43 +00:00
Ed Sanders
003c5ac410
Use a blank temp document when selection is empty
...
shallowCloneFromRange can a broken document if you pass
a collapsed range. That should be fixed upstream but for
now this fixes a major bug (and is faster).
Bug: T150492
Change-Id: I9b539c588d91ef7f22e662c7cae0b3f89b21d33a
2016-11-11 00:08:11 +00:00
jenkins-bot
de72f77b1b
Merge "Collapse to end after inserting WT signature"
2016-11-09 20:00:05 +00:00
James D. Forrester
79befe3d67
MWExtensionWindow: Use #setDir, not the removed #setRTL
...
Change-Id: I4090fa0375a93e095a644538b52853fd849b8749
2016-11-09 11:13:09 -08:00
Ed Sanders
1cb4c27378
Collapse to end after inserting WT signature
...
Bug: T150320
Change-Id: I06a8304499d92d0155c112449678fef34dc98424
2016-11-09 15:26:44 +00:00
Ed Sanders
55fcded32e
Replace non-standard whitespace in comments
...
This is required to pass eslint:recommended.
Change-Id: If8c4876a366e5c021c414e54328ed1913b679969
2016-11-08 14:15:12 +00:00
Ed Sanders
526b2c0656
Remove max-width from save summary
...
Prevents mis-alignment of textbox and checkbox bar
on mobile.
Change-Id: I33d8a2bd4e30d2ed4d61942a7646299f9935bc32
2016-11-08 10:29:03 +00:00
jenkins-bot
5709e89399
Merge "eslint: Remove unused exception and fix documentation errors"
2016-10-28 19:12:19 +00:00
Ed Sanders
e655880d14
eslint: Remove unused exception and fix documentation errors
...
Don't enable valid-jsdoc yet though, due to @chainable bug.
Change-Id: I4d2a6de19c72c6e4c20733446616d8046419d431
2016-10-28 12:02:36 -07:00
jenkins-bot
bce6aeb92a
Merge "build: Replace jscs and jshint with eslint"
2016-10-28 18:43:15 +00:00
James D. Forrester
36befda61c
build: Replace jscs and jshint with eslint
...
It's new, it's fresh, it's amazing, it's here.
Change-Id: I5dc784411f704685ed5cc763a2b2b1c5d3e5a610
2016-10-28 18:33:15 +00:00
jenkins-bot
7085796ec3
Merge "Don't allow an image to be inserted into a gallery twice simultaneously"
2016-10-28 02:29:19 +00:00
jenkins-bot
db9d2e3cf5
Merge "Make meta dialog tools visibile but disabled in NWE"
2016-10-27 22:14:08 +00:00
Ed Sanders
fad3b429c8
Make meta dialog tools visibile but disabled in NWE
...
Following our unwritten rule of trying to keep the interface
as consistent as possible.
Change-Id: I58668acb5bac12de73b7b8f52e670f68336c399f
2016-10-27 14:48:51 -07:00
Ed Sanders
7bc59cd65c
Set mode of save dialog after setting size so footer is correct height
...
Bug: T149274
Change-Id: Ic88b1c861029495e6098686d847deb181f62288e
2016-10-26 20:09:21 -07:00
Ed Sanders
6358d9ed6d
CSS styleguide fixes
...
These will be enforced in future versions of stylelint-config.
Change-Id: I0689cbeee6586d2d3dcb0021a3f613dc2ac73691
2016-10-25 15:58:10 -07:00
jenkins-bot
dd30f86c52
Merge "Make ve-ui-mwGalleryDialog-image-container-highlighted rule more specific to ensure border-color rule takes effect"
2016-10-21 00:01:38 +00:00
Alex Monk
8414490dbf
Don't allow an image to be inserted into a gallery twice simultaneously
...
One after the other is okay though.
Also fix this so that, if the user is fast enough, two images simultaneously
also works.
Bug: T148558
Change-Id: I94f4fadd84cd3ed97d9676043cadc64f0e09f0b9
2016-10-20 02:22:34 +01:00
Alex Monk
77629cd374
Make ve-ui-mwGalleryDialog-image-container-highlighted rule more specific to ensure border-color rule takes effect
...
Bug: T148041
Change-Id: I39366884d44ea68780c3780042cf82e34408d098
2016-10-20 00:31:55 +01:00
Derk-Jan Hartman
406e9f8e9c
Enable conditional loading of ACE language modes
...
require bypasses Ace's internal loadModule() logic which is capable of
on demand loading of Ace modules. Because unloaded modules are not
defined, they cannot be required, and because we don't use RL to preload
all modes (because it's a lot of bytes), currently only very few of the
available language modes were currently available.
Also validate language mode names passed to Ace.
Bug: T148518
Change-Id: I82d278920695be12aa80a79548abf8b8ce5445fd
2016-10-19 02:23:17 +02:00
jenkins-bot
a9240d6f2f
Merge "Strip RESTBase IDs from HTML generated when wikitext is pasted"
2016-10-14 00:55:48 +00:00
Alex Monk
25933c09ec
Strip RESTBase IDs from HTML generated when wikitext is pasted
...
Bug: T146054
Change-Id: I0013673a9e41ea191ea64f3208a06288efb2ecd3
2016-10-13 17:42:11 -07:00
Ed Sanders
85f8030053
MWMediaSearchWidget: Fix indentation in var
...
It is alarming that jscs is not picking this up..
Change-Id: Ibd3b113ebfedede9fa45120c24f00623ec5ea2fb
2016-10-13 23:45:37 +00:00
Thalia
7ec7acf108
Take only the last part of a URL query in media search widget
...
Quick fix to the problem that searching for the file name or
page title currently returns the image, but searching for the
URL does not.
Bug: T121354
Change-Id: I13e665226e5dc15ba626126dc4806ce8f4e0040b
2016-10-13 21:54:10 +00:00
jenkins-bot
56c5ecb0f1
Merge "Fix sanitizing of query value in media search"
2016-10-13 04:14:10 +00:00
Ed Sanders
972094788c
Fix sanitizing of query value in media search
...
Always use #getQueryValue which trims whitespace, so we
don't pass whitespace to the API.
Also rename some variables for clarity, and remove some
unused arguments.
Change-Id: I0d27f59488295bc1c398d0fd287e3e16a3f5aaec
2016-10-13 04:03:57 +00:00
Thalia
91ca88f6e8
Set gallery dialog to larger size when search panel is focused
...
Bug: T145246
Change-Id: I49b218f704d31b4f699fe39f414a84abbfffc093
2016-10-12 17:42:54 -07:00
jenkins-bot
eafbe8cf8c
Merge "Add big/small support to NWE"
2016-10-08 21:00:35 +00:00
Ebrahim Byagowi
e55d1b2a3c
i18n: Native digits on 'visualeditor-editnotices-tool'
...
Change-Id: I5a802199a9d736d0082775052d5224cfa9580450
2016-10-08 18:36:36 +00:00