Ed Sanders
20d3526ae6
Use updateMwData when doing a live preview
...
Change-Id: Iadca47339c7d16034c5715677e0789de286f3ecf
2015-05-27 15:47:48 +01:00
Ed Sanders
1962234efd
Remove this.$ remnants
...
Change-Id: Ia32eebd4f6da156209fc0e9cc858e99ea454c262
2015-05-09 11:48:30 +01:00
Bartosz Dziewoński
82ae88a4a0
ve.ui.MWReferenceContextItem: Update context's size after rendering
...
Bug: T98430
Change-Id: I45eda8387774840020919948e164430038135f63
2015-05-09 01:59:21 +02:00
jenkins-bot
f7839b9e8b
Merge "Make sure switch to source editing button does not get disabled"
2015-05-08 23:32:42 +00:00
jenkins-bot
b33ed74181
Merge "Use new selectItemByData method where possible"
2015-05-08 23:31:13 +00:00
Alex Monk
db036ddd8d
Make sure switch to source editing button does not get disabled
...
Was broken by Ief769ba0
Bug: T97646
Change-Id: I43ea85373a6ca427bf6a1c9e01d70b960d93db91
2015-05-09 00:25:19 +01:00
Ed Sanders
9d3d24ac81
Remove MWGeneralReferenceDialog
...
This was only opened by the Citoid inspector, which now
embeds a MWReferenceSourceSelectWidget.
Change-Id: Ic6fb3f3675de238f606acecc163ceda04ca78fb4
2015-05-08 11:11:33 -07:00
Ed Sanders
431f2abcfd
Use new selectItemByData method where possible
...
Change-Id: I32f213bf2977623a0bde83fb9119fda42a1e9848
2015-05-08 16:15:51 +01:00
jenkins-bot
14f9edc493
Merge "Use new TabSelectWidget in link inspector"
2015-05-08 09:08:07 +00:00
jenkins-bot
db741011b8
Merge "Update VE core submodule to master (2c0224d)"
2015-05-08 09:04:46 +00:00
Ed Sanders
ec8a813dce
Use new TabSelectWidget in link inspector
...
Don't use the full IndexLayout for now as it doesn't
work easily in variable height situations.
Depends on this feature being preset in MW core.
Bug: T97878
Change-Id: I5d949bf69b0721b288c37c1f12210b0265658eb5
2015-05-08 09:03:24 +00:00
Ed Sanders
ff9bf1fcb3
Update VE core submodule to master (2c0224d)
...
New changes:
68959f2 Localisation updates from https://translatewiki.net .
2c0224d [BREAKING CHANGE] Link widget refactor
f81eefa [BREAKING CHANGE] Rename LinkInspector to LinkAnnotationInspector
Local changes:
Adjust for link inspector refactor
Create separate widgets for internal and external link
annotations. Remove annotation specific logic from link
target input widget.
Change-Id: I054c3fe7ac9c61fbc3302471abd58cab89fed5a4
2015-05-08 09:56:11 +01:00
Bartosz Dziewoński
5a896f726f
ve.ui.MWParameterPage: Simplify handling of required parameters a bit
...
OOjs UI now implements this behavior with the right configuration.
Change-Id: I7c25508d0e2e59bd013b3ce7aff75fb05f58d9b0
2015-05-07 16:55:18 +02:00
jenkins-bot
f1a6e87bc5
Merge "Don't show placeholder references in lists"
2015-05-06 23:17:28 +00:00
James D. Forrester
38239707b0
jshint: Kill file-level globals and add "moment" to the list
...
Change-Id: I923ba3490f5fc9b2aaf52d10a163f75dd6401c71
2015-05-06 19:01:27 +00:00
Ed Sanders
9811bc4fd9
Don't show placeholder references in lists
...
Allow references to be created as placeholders and exclude
them from ReferenceListNodes and the ReferenceSearchWidget.
Bonus: Fix reference numbering when items are skipped (in
list nodes and search widget).
Change-Id: I8dc5146c21f309e89ff4ddd939f7c65a0c358378
2015-05-06 19:15:20 +01:00
Ed Sanders
283047b604
Refactor reference source selection out into a widget
...
This can be re-used by Citoid.
Bonus: Improve placeholder copy.
Change-Id: I429ce5d7faae56955bcc09a9662d8a36c5098e44
2015-05-06 19:11:35 +01:00
jenkins-bot
79fd08b1d6
Merge "Remove bold from result titles so that query highlighting works"
2015-05-06 13:44:50 +00:00
Ed Sanders
d2c096ceb8
Remove bold from result titles so that query highlighting works
...
Change-Id: I2ee03604ff000bbf9504236b4b3cf1120e1e100c
2015-05-05 19:17:15 +01:00
jenkins-bot
b1e426d805
Merge "Convert 'external' links to internal pages pasted into the search field"
2015-05-05 17:47:43 +00:00
jenkins-bot
7d85bc3ae3
Merge "Highlight matching parts of link suggestions"
2015-05-05 10:12:28 +00:00
suchetag
6983fbe3d0
Highlight matching parts of link suggestions
...
Bug: T93697
Change-Id: I1778dc204e45e0b124e3a171b9cce171a3138a58
2015-05-05 10:08:26 +00:00
jenkins-bot
1094dc82cc
Merge "MWTemplateTitleInputWidget: Add missing local var"
2015-05-05 00:00:45 +00:00
Ed Sanders
d921a942b4
MWTemplateTitleInputWidget: Add missing local var
...
Change-Id: I7faf7610d3d75a4df1fa0f565fb32b08581e44d1
2015-05-04 16:55:02 -07:00
Ed Sanders
563bb66fc6
Make 'Search articles' / 'External links' i18n messages
...
Change-Id: I85e13821079c1c04c5f183fc63ba9243ce01a12d
2015-05-03 12:54:33 +01:00
jenkins-bot
0cda56dc15
Merge "ve.ui.MWParameterPage: Remove dead CSS"
2015-05-01 00:47:39 +00:00
jenkins-bot
2cda9f39a9
Merge "Fix line height inside notice/help popups"
2015-04-30 21:21:35 +00:00
Bartosz Dziewoński
2608a6c66b
ve.ui.MWParameterPage: Remove dead CSS
...
Duplicates OOjs UI's 'invalid' flag styles.
Bug: T97516
Change-Id: Ic96c521ea07e02a4f3511550b0db09cf72111fc5
2015-04-30 22:19:12 +02:00
jenkins-bot
0824d064ec
Merge "Make static methods static in linkCache"
2015-04-30 16:13:21 +00:00
Ed Sanders
c32cccd90b
Make static methods static in linkCache
...
Also switch out logic duplicated in MWLinkTargetInputWidget with
LinkCache#processpage.
Change-Id: Ie6f3599d4ea5cc9057cf4403f003da00f18cdebe
2015-04-30 17:00:45 +01:00
Ed Sanders
fd538835ef
Fix line height inside notice/help popups
...
In wikitext editor these messages were in mw-body-content where they
inherited a sensible line height, so apply one manually.
Bonus:
* Make header bold
* Remove some duplication with inheritance
Change-Id: Ia7eaa556815ee6645a85162de03198e5a4dc7b03
2015-04-30 14:02:36 +01:00
jenkins-bot
6cb513b29c
Merge "Update for changes in OOjs UI (Ib40e3477)"
2015-04-30 02:19:18 +00:00
James D. Forrester
65112a7e10
Show different icons for different result types
...
* Disambiguation
* Redirect
* Not found
* Page exists
Bug: T93694
Change-Id: Ic4a60c95e37de372e8d0c12878dece67a2662343
2015-04-29 17:51:34 +01:00
Alex Monk
6f17fde4cd
Convert 'external' links to internal pages pasted into the search field
...
Bug: T94334
Change-Id: I0ed67e6579b9ed0a0565968fd253fdf5c6151683
2015-04-29 16:11:32 +01:00
Ed Sanders
702fc724d7
Follow redirects in the link inspector API
...
Show redirect targets first, then any redirects to it
immediately after.
Change-Id: Ifde579410b4fbf42e0598e4b069963162333da55
2015-04-29 11:53:40 +01:00
Ed Sanders
df6a570f82
Only pull description from wikibase
...
Filters out 'alias' and other terms not being used yet.
Change-Id: I5d155c76b85de1e5d1d5fb234f565fd6f1658766
2015-04-29 11:17:24 +01:00
Ed Sanders
377f6e4eea
Separate inputting of internal and external links
...
* If the user switches to external links, clear the input
* If the user types something with a protocol, automatically switch
them to external links. If they manually switch back to internal,
remember that and don't auto switch them again.
* If the user inputs something without a protocol into the external
link box, prepend 'http://'
Bug: T93699
Bug: T93700
Change-Id: Ia0e3a04f34077e7bd56254112dafd86ad865cbe2
2015-04-29 11:17:24 +01:00
suchetag
00745cda87
Replacing current order of link suggestions
...
Replace current, sectioned, order of link inspector suggestions
(existing, redirect, disambig) with order from API.
Reduce number of matches to 5, and show new page suggestion last.
Bug: T93698
Change-Id: Ida887d889730d7749041942636d24e181c335697
2015-04-29 11:17:11 +01:00
Ed Sanders
59a638491d
Fix height when descriptions not present
...
Change-Id: I9ae9043ebcc99c99d1226635ff408ae1d4015925
2015-04-28 23:26:15 +00:00
Roan Kattouw
cd7cb6190d
Follow-up 85381a6b75
: update another instance of 'language' to 'textLanguage'
...
Change-Id: Id4e636c25fb50448659d24f5432c9ac12ca6f2c6
2015-04-28 12:55:58 -07:00
jenkins-bot
116e8ca84b
Merge "Add images and descriptions to link context items"
2015-04-28 17:23:00 +00:00
jenkins-bot
d8c0f9e8b3
Merge "Link inspector images and descriptions"
2015-04-27 23:51:38 +00:00
Ed Sanders
f83f9ddc1e
Add images and descriptions to link context items
...
Bug: T93695
Change-Id: Ieaa3ced06887f561085f892c6fb34de75a20ff88
2015-04-28 00:23:40 +01:00
suchetag
3963b1daf2
Link inspector images and descriptions
...
Fetches images from PageImages extension and descriptions
from Wikibase.
Bug: T93693
Bug: T93694 (partial)
Change-Id: I1bea6b7b57ab951e79468cfa00e9eecddc113d18
2015-04-28 00:23:40 +01:00
jenkins-bot
1b4fecb61b
Merge "Keep the parameter list expanded after it was expanded once"
2015-04-24 16:52:29 +00:00
Moriel Schottlender
3a7b99f6a6
Keep the parameter list expanded after it was expanded once
...
In the template dialog, keep the parameter search widget expanded
with all parameters showing if it was already expanded once.
Also keep the parameter list available after inserting each parameter
instead of asking the user to click the add details repeatedly.
Bug: T95696
Change-Id: I14a47dbea5c69532238e7e67290e613121fdc40e
2015-04-24 17:45:04 +01:00
Ed Sanders
d7ac742fbe
Fix old dates
...
Change-Id: Ib98878221eb26c6582c304247122fa420bccb029
2015-04-23 16:01:33 +01:00
Bartosz Dziewoński
89b79bb373
Update for changes in OOjs UI (Ib40e3477)
...
Depends on I175fe468 in VisualEditor core.
Bug: T91152
Change-Id: I08c80cec84242eabd3da5bd3c829022df3e21636
2015-04-23 13:52:12 +02:00
jenkins-bot
3375b2fcb9
Merge "Rearrange images when the media search window resizes"
2015-04-22 01:14:18 +00:00
Moriel Schottlender
1d1079e7fc
Rearrange images when the media search window resizes
...
This is a quickfix to make the masonry fit recalculate itself after
the window is resized. It is most significant for orientation changes
in mobile devices, as those lead to a resizing of the window and a
complete reorganization of the masonry fit rows.
Bug: T95017
Change-Id: Ibf3c74ea21d42f4a159d0b855be5672c8455639f
2015-04-21 17:57:17 -07:00