jenkins-bot
3e9d040a79
Merge "AceEditorWidget: Allow users to force an Ace editor refresh"
2015-11-16 22:46:24 +00:00
Translation updater bot
64d8e394ce
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaf8fb457fd0b835d5b8819f5dab015c4a59e0a78
2015-11-16 22:19:07 +01:00
Ed Sanders
35c44db988
AceEditorWidget: Allow users to force an Ace editor refresh
...
Ace is clever about not updating the rendering of elements
which aren't visible, so allow users to force an update, for
example if they changed the value while the whole widget
was hidden.
Change-Id: I7bbbffd17489bc80fe5fa80911f29d7223e125a3
2015-11-16 12:12:10 -08:00
Ed Sanders
470a4a551b
AceEditorWidget: Refactor to ensure setValue runs synchronously
...
Also ensure setEditorWidget is only called once when
loadingPromise resolves.
Change-Id: I1a95bda5e9ff17d7575326f29fa01d273193c4a5
2015-11-16 11:36:08 -08:00
Bartosz Dziewoński
9be5c85db4
Provide a tool to insert a signature in namespaces that need it
...
VisualEditor is usually not enabled in talk namespaces... but
sometimes it is. And when users see the button to edit with VE,
they're going to click it and expect to be able to sign their posts.
This tool is only loaded on talk pages and pages in additional
namespaces defined in $wgExtraSignatureNamespaces.
Code adapted with small tweaks from my own gadget
<https://meta.wikimedia.org/wiki/User:Matma_Rex/visualeditor-signature.js?oldid=13461327 >,
which is already available under the MIT license.
Changes include:
* The tool is now always visible if the wiki allows signatures in any
VE namespaces, but disabled when not allowed in the current namespace.
* Register '~~~~' sequence to insert the signature.
* Code style tweaks for stricter lint checks in this repository.
* Documentation corrections.
Swedish translation provided by André Costa (already credited
as a translator as Lokal_Profil).
Depends on changes in VisualEditor core:
* I89fe53890ab59d12260ea6b41de802c38c24e8b9
* I14cd7efac521687ea38580341ae08ddc522edeeb
Bug: T53154
Change-Id: I6be5fb2118cf3eef5098d4c5320228aa81411ccb
2015-11-16 18:06:32 +01:00
Translation updater bot
9d01677f75
Localisation updates from https://translatewiki.net .
...
Change-Id: I2e18f18c1614e74a5681ea7e8faf0ce71c1b5db1
2015-11-15 22:22:40 +01:00
jenkins-bot
f44e127eb5
Merge "AceEditorWidget: Emit resize event at end of cycle"
2015-11-15 02:38:22 +00:00
Translation updater bot
8a456d3e31
Localisation updates from https://translatewiki.net .
...
Change-Id: I1eb678891af629bf935f2837e76ba5b856d5f9fd
2015-11-14 22:19:35 +01:00
Ed Sanders
b21b939a67
AceEditorWidget: Emit resize event at end of cycle
...
Ensures the widget has taken its new size before emitting the event.
Bug: T117926
Change-Id: If1dab2ecadb2a581100c0ae154b341ce8d173a7c
2015-11-13 18:48:35 -08:00
C. Scott Ananian
236fad19b6
Ensure magic link nodes inherit the annotations of their text
...
If you create an autolink in the middle of bolded text, the magic link
should also be bolded. Similarly, if you convert a bolded simple link
to a magic link, the magic link should stay bolded.
Change-Id: I38c7f3c0c275851049088a37f3b37d815ed38e4e
2015-11-13 13:48:18 -08:00
Translation updater bot
73918e0e1e
Localisation updates from https://translatewiki.net .
...
Change-Id: I63a0e4185c61a42cf0d142d520fdc1e7c7f9000f
2015-11-13 21:35:36 +01:00
Translation updater bot
a284d335a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I7f7dba15312b3fda8e9a737428f4bc191604ac4f
2015-11-12 23:02:52 +01:00
jenkins-bot
c6aeff4ba9
Merge "Edit mode switching: Separate styles"
2015-11-11 22:33:35 +00:00
jenkins-bot
96f91758f6
Merge "Update VE core submodule to master (77d786a)"
2015-11-11 22:10:08 +00:00
Translation updater bot
c1ac8806c6
Localisation updates from https://translatewiki.net .
...
Change-Id: I7f3c0dfe04074271159b7f22032c587374f72836
2015-11-11 21:57:36 +01:00
Ed Sanders
9bcc61e195
Update VE core submodule to master (77d786a)
...
New changes:
95589a6 test: Add a Rakefile for new CI requirement
1a4497e ve.ui.DialogTool: Do not require that a command is set
cbf1bff ve.ui.Tool: Fix documentation for getCommandName
530022d Localisation updates from https://translatewiki.net .
9529093 Update OOjs UI to v0.13.2
b8d6c15 Add icon: Rename 'insert' to 'add'
2f3015b Update OOjs to v1.1.10
78ceb18 Fix deletion inside a structural node at start/end of document
ce3e9a4 ve.utils: Use binarySearch from OOjs
Local change:
* MW test cases for new structural deletion logic
Bug: T52250
Change-Id: I643449c1fa08ea12c8c3aa13f4a4b97d8876990d
2015-11-11 12:35:53 -08:00
Ed Sanders
86a1d1bfa3
Edit mode switching: Separate styles
...
Ensures that these styles are loaded *after* OOUI by making
them dependent on it, unlike DesktopArticleTarget.init
which isn't.
Change-Id: Ia1fff16432d20fb56707c5e21c6a930d2478e311
2015-11-11 18:50:55 +00:00
jenkins-bot
c815c3242d
Merge "Edit mode switching: Only show WE toolbar button once module is loaded"
2015-11-11 02:21:04 +00:00
jenkins-bot
53dbf3ac2f
Merge "Replace 'source' icon with OOUI's 'wikiText' one"
2015-11-11 01:42:00 +00:00
jenkins-bot
1f2905c39f
Merge "DesktopTarget: Fix opacity of #siteSub and #contentSub"
2015-11-10 23:39:03 +00:00
Translation updater bot
7bb161d5f7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia25e40a77c416e2dde09b7e68d6e836baf9b3adc
2015-11-10 22:36:30 +01:00
Ed Sanders
cfe3d9b561
Edit mode switching: Only show WE toolbar button once module is loaded
...
No point showing the icon if we don't have the functionality to
make it do anything. Also this reduces the number of RL requests
made as we never fetch OOUI separately.
Change-Id: Iac9aa6f34c485223e73981b3377c7d0cfd31dae9
2015-11-10 10:43:33 -08:00
Alex Monk
6213c23db1
Fix updating of display title upon save
...
Bug: T117643
Change-Id: Ibd3d4f056a2d175e52b60b6e3a4c0ece04f26f50
2015-11-10 13:50:00 +00:00
Alex Monk
87affb5ca4
Restructure education popup code to work without overriding onSelect
...
That code was breaking on mobile which uses a subclass of the normal
link inspector.
Bug: T117603
Change-Id: I75541230c21b1ee9eb73f6fb4b1fe5a5f9c14e75
2015-11-09 23:18:01 +00:00
Alex Monk
5f162522eb
Merge "ve.init.mw.DesktopArticleTarget.init: Make switching to VE for new pages work"
2015-11-09 22:42:34 +00:00
Translation updater bot
e87b56b53e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie37b9b551d0af53d2420af4a798a26c1954ecf0b
2015-11-09 21:50:10 +01:00
Bartosz Dziewoński
7d69e86265
ve.init.mw.DesktopArticleTarget.init: Make switching to VE for new pages work
...
Work around RESTBase problem that causes errors if we try to switch to
VE when the wikitext is empty. This would prevent non-power-users from
opening VE entirely.
This only solves the issue for new empty pages, and not when the user
intentionally empties the edit box. In that case, though, they get a
dialog where they can choose to "keep" or "discard" changes, and
discarding lets you open the editor.
Bug: T118152
Change-Id: Ie808bcaa9826deacac392dd6cbc90a9446602b79
2015-11-09 18:55:21 +01:00
jenkins-bot
b966333009
Merge "Unset 'action' query parameter from veEditUri, which should always point to VE"
2015-11-09 15:26:18 +00:00
Translation updater bot
280b68b183
Localisation updates from https://translatewiki.net .
...
Change-Id: I96650b4066bf3a33e0b31e53ddefa15dac49d5b7
2015-11-08 22:14:22 +01:00
Alex Monk
1e4889bbc7
Unset 'action' query parameter from veEditUri, which should always point to VE
...
Bug: T117780
Change-Id: I1377145bbbe05611ee75ae27922cf7a2cc5895e7
2015-11-08 20:32:28 +00:00
Translation updater bot
a8dbf5f828
Localisation updates from https://translatewiki.net .
...
Change-Id: I37ec76d17c9c7f24c6691d8cb85faf7422f28633
2015-11-07 22:45:38 +01:00
Alex Monk
3e23d3b96d
Only load switching module (depending on OOUI etc.) on edit pages
...
This wasn't as bad as T112401 (that was blocking render), but we
still shouldn't be loading the module on page views.
Bug: T118088
Change-Id: If86701ed7ff4e8d6defb1c682aa9a38c211be0fa
2015-11-07 19:08:29 +00:00
jenkins-bot
69bce26579
Merge "Drop any beforeunload handlers when loading from existing wikitext"
2015-11-07 16:09:50 +00:00
Alex Monk
6247a2f430
WikiEditor integration: Fix dependencies for switch button
...
Change-Id: Ic8fb607e8c467e89c0b9af0a9baab84e59b19ba8
2015-11-07 04:15:14 +00:00
Alex Monk
2910cd2384
Drop any beforeunload handlers when loading from existing wikitext
...
Bug: T117769
Change-Id: I823737b17e5af8ed15bc2b62db61a31886e8d418
2015-11-07 03:57:19 +00:00
jenkins-bot
4a582d7abf
Merge "WikiEditor integration: Only add VE switch button if VE is available"
2015-11-06 22:13:36 +00:00
Translation updater bot
5a771525dd
Localisation updates from https://translatewiki.net .
...
Change-Id: I50f024e4704930c59b8dd225f7ea975351c3e895
2015-11-06 22:29:08 +01:00
Alex Monk
87931fb3f2
WikiEditor integration: Only add VE switch button if VE is available
...
Bug: T117968
Change-Id: Ibfe73b7170083bc9ee0a0322768999c8650da4e7
2015-11-06 18:23:44 +00:00
Translation updater bot
db5c453648
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifa98bbba31c83dbd4052674081333991cf7b473d
2015-11-05 21:46:47 +01:00
jenkins-bot
9f036c10f6
Merge "Update CommandHelpRegistry calls for breaking change in core"
2015-11-05 15:35:48 +00:00
Ed Sanders
216d0ea7a7
Update CommandHelpRegistry calls for breaking change in core
...
New changes:
281b543 Slugs: Remove vertical alignment hack
d6ddbe4 Localisation updates from https://translatewiki.net .
94bb263 Follow-up d6ddbe4: Fix build for added language 'sd'
bc8579d [BREAKING CHANGE] CommandHelp: Cleanup registry API
Change-Id: I65e2bfc299fbd60d6bdc7a57a030980b6cb8ab18
2015-11-05 07:29:44 -08:00
Bartosz Dziewoński
4a1a9bbf82
ve.init.mw.Target: Update TitleBlacklist error code
...
The error code has changed after T115258 and is now consistently
'titleblacklist-forbidden' for all TitleBlacklist errors.
The API now also provides information about the exact error message to
display (error.message) and the TitleBlacklist rule that matched
(error.line), but we probably don't have that message client-side, so
we're not trying to display it. Maybe when we can load it (T40280).
Bug: T116198
Change-Id: I32fccc7d0b2b66c739d59db05c568a56d9f07eec
2015-11-05 04:07:38 +01:00
Ed Sanders
3716682570
CommandHelpDialog: Move registrations to where sequences are defined
...
Change-Id: I031575bbf40cd789252ac5e082bb5fa435eab257
2015-11-04 15:03:58 -08:00
Translation updater bot
3b6ee5ca68
Localisation updates from https://translatewiki.net .
...
Change-Id: I09939347d8aec3aadc28673736f50eba94b42c1b
2015-11-04 21:22:59 +01:00
David Lynch
6df227d4e0
MWCommandHelpDialog: update for core changes
...
Also: update VE core submodule to master (61f3fe7)
New changes:
4ef3666 Localisation updates from https://translatewiki.net .
cfa3482 Localisation updates from https://translatewiki.net .
d3486d4 CommandHelpDialog: Rename 'category' to 'groupName'
b5578d1 Localisation updates from https://translatewiki.net .
926595e Update OOjs UI to v0.13.1
61f3fe7 [BREAKING CHANGE] Create CommandHelpRegistry for CommandHelpDialog
Change-Id: If651ed30ab85175c7a262d9ccccc2e1613b0f3d6
2015-11-04 12:01:45 -06:00
jenkins-bot
dd897a3e67
Merge "Don't allow keeping changes when switching from wikitext *section* editing"
2015-11-04 16:34:54 +00:00
jenkins-bot
633bc55f9d
Merge "Apply same hide/show logic to both education popup dots"
2015-11-04 16:21:22 +00:00
Alex Monk
9c7a058b09
Don't allow keeping changes when switching from wikitext *section* editing
...
Bug: T117713
Change-Id: I16f17fa2aa4c9a1b74d8cde072c611e2685f5448
2015-11-04 16:19:36 +00:00
jenkins-bot
d24844af2e
Merge "Unbreak 404 handling code"
2015-11-04 16:06:09 +00:00
Alex Monk
6341c4a3b5
Apply same hide/show logic to both education popup dots
...
Bug: T117627
Change-Id: Icbde23f396935b7f6275ed89ce264ce5e49ebf6a
2015-11-04 15:56:40 +00:00
Alex Monk
dbf79f15fd
Unbreak 404 handling code
...
Broken in I2a529434
Bug: T117697
Change-Id: Ic34ef81afdde0851f4935971a808f22cdd5cde89
2015-11-04 15:31:19 +00:00
James D. Forrester
09800aa249
Replace 'source' icon with OOUI's 'wikiText' one
...
Change-Id: Id66d436b9140604ace7ebfbec1f80dc8f3830a20
2015-11-04 06:15:29 -08:00
jenkins-bot
3b30ea8916
Merge "Source icon: Use double brakcets"
2015-11-04 14:14:52 +00:00
jenkins-bot
4dacc683f5
Merge "Target init: Add edit mode switch icons to VE and WE toolbars"
2015-11-04 14:14:49 +00:00
Ed Sanders
42b3463e7d
Source icon: Use double brakcets
...
This is now a candidate for upstreaming to OOUI as the
'wikitext' icon, which is slightly larger.
Bug: T111038
Change-Id: I19a287926d6f100d2cb5ed1d713387a2dac56b37
2015-11-04 14:07:41 +00:00
Ed Sanders
b05d9fcb0e
Target init: Add edit mode switch icons to VE and WE toolbars
...
VE already has a a switch icon in the options menu, so bring that
up to the main toolbar.
Append an OOUI button to the WikiEditor toolbar if present, and bind
to the same functon as the edit tab.
Bug: T49779
Change-Id: Ic1e83ea7b13c4fef68024bf05ffc244060666103
2015-11-04 14:07:41 +00:00
Alex Monk
bc6fe7dc77
Set wgAction when messing with the action URL parameter
...
Also get rid of an unused variable.
Bug: T117596
Change-Id: I8479fa930397cff48c3a103f3a2c99e89190dc4a
2015-11-04 01:41:46 +00:00
Alex Monk
eb63b57d32
Fix check for loading from modified action=edit
...
Bug: T117596
Change-Id: Icad04dac7dc94927cff9b93b175d4a6c4dddee5a
2015-11-03 16:19:26 -08:00
Alex Monk
b550323b53
Use mw.loader.using instead of weird hacks to load OOjs UI on action=edit
...
Change-Id: If03dab6130aed7662b04000b809884a514bb2762
2015-11-03 23:55:17 +00:00
Ed Sanders
6dd7576941
AceEditorWidget: Add method to clear undo stack
...
After the widget is initialised the caller will probably
want to clear the undo stack, so that the first state
is the initial value provided.
Bonus: Add documentation for the widget.
Change-Id: Ia331acc4177e32784061cae55c450eb0f83fd744
2015-11-03 13:41:09 -08:00
Translation updater bot
a9befc64b3
Localisation updates from https://translatewiki.net .
...
Change-Id: I9dd2d16b514a0f576f6b886ba16c4db8fc112069
2015-11-03 21:54:34 +01:00
Ed Sanders
1b40e6434f
VESwitchConfirmDialog: Set pending on the correct button
...
Button indices were the wrong way around; find the button by
name to avoid future problems.
Change-Id: I778ff11875539d38f5a8905c9ff472fd3bd6baae
2015-11-03 18:58:59 +00:00
Ed Sanders
28a5d0db84
VESwitchConfirmDialog: Use modes to hide 'keep' button
...
Change-Id: I92110ea14ded335db330721c08314c7a20169886
2015-11-03 18:57:15 +00:00
Alex Monk
07c6c17e5c
Unbreak loading of VE in the read page
...
Change-Id: Ic3e4e65296fa63b3a7d5114366f2859f4ce3f21d
2015-11-03 18:16:47 +00:00
Ed Sanders
17898270ee
CommandHelpDialog: Move insertions into a separate group
...
Also add table and comment insertions.
Change-Id: If87261bf3d01854ab1f7ce1b447589fa8098dcf2
2015-11-03 17:03:56 +00:00
Ed Sanders
91152e2c05
CommandHelpDialog: Use new method for getting access key prefix
...
Change-Id: I85628e9282d7b78a4fdd2ea2f3b0b72019302dcc
2015-11-03 11:06:54 +00:00
jenkins-bot
36e2e85e53
Merge "Update VE core submodule to master (062cb26)"
2015-11-03 10:59:23 +00:00
James D. Forrester
c714eb173c
Update VE core submodule to master (062cb26)
...
New changes:
6cae77b ElementLinearData: Add another case to hasContent
d2e15f2 SurfaceFragment: Improve handling of delete all
16db2a3 Return 'null' instead of null in ve.Filibuster observers
24de6b2 Introduce key down handlers to separate logic from ce surface
f77fe99 Localisation updates from https://translatewiki.net .
062cb26 Localisation updates from https://translatewiki.net .
Change-Id: I61c94983c7898af219266af3022761638c7578b7
2015-11-03 10:36:53 +00:00
jenkins-bot
adb0c427ef
Merge "[PULL THROUGH] Remove resize detection now that TextInputWidget implements it"
2015-11-03 01:47:41 +00:00
Alex Monk
f71a5a5bca
Dialog for switching between wikitext and visual editing
...
Change-Id: I7046ffbe318d046b4baee11f4148ab77fc2af7fd
2015-11-03 01:36:29 +00:00
jenkins-bot
56af2bb742
Merge "MWSaveDialog: Fix styling of border radii"
2015-11-03 01:28:30 +00:00
jenkins-bot
097482bbff
Merge "MWEducationPopupTool: Changes to the dot"
2015-11-03 01:24:35 +00:00
Ed Sanders
926d39d54d
MWSaveDialog: Fix styling of border radii
...
Remove bottom border radii from the <textarea> and apply to
the options bar instead.
Apply different values for Apex and MediaWiki themes.
Change-Id: If727863a87547692ee499d2141c0418658609412
2015-11-03 01:20:52 +00:00
jenkins-bot
ab42a490d9
Merge "AceEditorWidget: Preserve selection on setValue"
2015-11-03 01:17:18 +00:00
Alex Monk
5eaa211d43
MWEducationPopupTool: Changes to the dot
...
Make the dot more like the one in the designs, with two circles etc.
Change-Id: Ic3e1b2dcd846c5825455b68697acab44016ee598
2015-11-03 01:15:44 +00:00
Ed Sanders
e582fae840
[PULL THROUGH] Remove resize detection now that TextInputWidget implements it
...
This depends on the OOUI release which contains Iaadaf1f9f.
Change-Id: I24d3756d627fc3514d8b476f9af87fdecbaa1e09
2015-11-03 01:13:26 +00:00
jenkins-bot
a0a0f0e2c0
Merge "Allow switching from wikitext to VE"
2015-11-02 23:18:33 +00:00
Translation updater bot
05ce5efbdf
Localisation updates from https://translatewiki.net .
...
Change-Id: I78ab1b44b18ed3080ee1a1e9ceca58501544abf7
2015-11-02 22:40:02 +01:00
Alex Monk
85b745666f
Allow switching from wikitext to VE
...
Just by pressing the VE tab for now
Requires a relatively new version of restbase
Bug: T49779
Change-Id: I2a5294345f5e0f469c1dd1bdd29dbce211571a4e
2015-11-02 20:55:19 +00:00
jenkins-bot
fdafb7e887
Merge "ve.ui.MWMediaDialog: Wait for upload booklet to initialize when setting up"
2015-11-02 19:08:06 +00:00
jenkins-bot
df5eff257c
Merge "Add mediawiki-specific sequences to the command help dialog"
2015-11-02 17:33:52 +00:00
jenkins-bot
54782884d5
Merge "[BrowserTest] Select English when LANGUAGE_SCREENSHOT_CODE environment variable is not set"
2015-11-02 12:22:39 +00:00
Vikas S Yaligar
0971054f40
[BrowserTest] Select English when LANGUAGE_SCREENSHOT_CODE environment variable is not set
...
Bug: T111525
Bug: T90577
Change-Id: I421c4c0ce7bcf7be757d31481940ada58e4c9f20
2015-11-02 12:18:07 +00:00
Translation updater bot
6096916701
Localisation updates from https://translatewiki.net .
...
Change-Id: I1c0c5dd11c8a900da883c4e53d554fcd9d4ac1a8
2015-11-01 21:41:46 +01:00
David Lynch
8bda88f661
Add mediawiki-specific sequences to the command help dialog
...
The extension registers a lot of sequences that don't apply to core
VisualEditor. Pretty much the opposite of the trigger situation, where
almost all are in core. So, merge them into the help dialog.
Update VE core submodule to master (be148ae)
New changes:
7380244 [BREAKING CHANGE] Include sequences in the command help dialog
Bug: T116013
Change-Id: I5ad2939c10140b954fb29e1e50414ab7d79aeab7
2015-10-31 21:28:57 -05:00
Translation updater bot
3791e5658a
Localisation updates from https://translatewiki.net .
...
Change-Id: I75b45bcfab4a86d785dfd8052c950ad5edd4e4f3
2015-10-31 21:08:22 +01:00
Translation updater bot
8303873ced
Localisation updates from https://translatewiki.net .
...
Change-Id: I86d151740c187a018a7e33afc88c601e614f8dd7
2015-10-30 21:51:06 +01:00
Ed Sanders
bd22be33db
AceEditorWidget: Preserve selection on setValue
...
Also avoid calling setValue when the value hasn't changed
so as not to pollute the undo stack.
Change-Id: I07fc5db0480a8583b361d472723f863ca90046f7
2015-10-30 16:14:09 +00:00
Thalia
7731508134
Make new error element
...
Bug: T114754
Change-Id: I5839ba62fe4b4708ff51dc549c5294189d7f8843
2015-10-29 22:32:42 +00:00
Translation updater bot
a3dc541e0c
Localisation updates from https://translatewiki.net .
...
Change-Id: I2fdbb79b00eec6579f53e66c7395998d209424d2
2015-10-29 21:27:15 +01:00
Ed Sanders
2c2f8c8a04
MediaSearch: Order search results correctly
...
Bug: T117036
Change-Id: Ia11f3486214425f203695a6060e304a90eba7734
2015-10-29 12:51:22 +00:00
Bartosz Dziewoński
0238c53262
ve.ui.MWMediaDialog: Wait for upload booklet to initialize when setting up
...
Depends on I65a92e3915a6844056fb7b3a2758a168eb12e6b8 in MediaWiki core.
Change-Id: If59979f30315c7a2164457108362803544431615
2015-10-28 22:31:45 +01:00
Translation updater bot
3583645f59
Localisation updates from https://translatewiki.net .
...
Change-Id: I949f0feecd93fb5d5de5427b760240c9432a3704
2015-10-28 21:56:56 +01:00
Translation updater bot
bd80afd598
Localisation updates from https://translatewiki.net .
...
Change-Id: I803c50fa52067ed7912adb800b84dc28f27a9d8b
2015-10-27 21:33:59 +01:00
Ed Sanders
def886b845
AceEditorWidget: Make setters chainable and support invalid flag
...
Change-Id: I78f395459f526164c0c506beec62a0083817e64b
2015-10-27 19:02:17 +00:00
Ed Sanders
b222696675
DesktopTarget: Fix opacity of #siteSub and #contentSub
...
siteSub and contentSub are both children of bodyContent so
no need to give them opacity directly.
Bonus: Make them user-select:none to avoid confusion as they
are in the edit area.
Bug: T116755
Change-Id: Iea4c35abc1eedb892e02c54b61e40726fa2b096e
2015-10-27 14:41:45 +00:00
Krinkle
59f55fbb9b
Revert "DesktopArticleTarget.init: Tolerate missing wgRelevantPageName"
...
Shouldn't be needed once T116693 is fixed.
This reverts commit 39bb635a60
.
Change-Id: I545a9eba85f15dcae00c5f117939960acf4113d2
2015-10-27 01:07:47 +00:00
Roan Kattouw
39bb635a60
DesktopArticleTarget.init: Tolerate missing wgRelevantPageName
...
For some reason this happens on some zhwiki pages.
Bug: T116693
Change-Id: I2880b8e7f2ed933928b155dd8727012f79854e1d
2015-10-26 16:31:44 -07:00
Translation updater bot
4245756344
Localisation updates from https://translatewiki.net .
...
Change-Id: I6877fd0a9b91bc25e162dd45d366018e7b05e2af
2015-10-26 21:05:19 +01:00
Ed Sanders
35b9c4119a
AceEditorWidget: Use mw.loader#getState instead of private moduleRegistry
...
Change-Id: I845651af837ccc042b6193876e17ba2b571dfe9c
2015-10-26 09:31:37 +00:00
Translation updater bot
565a10da61
Localisation updates from https://translatewiki.net .
...
Change-Id: I937839d0970a94312dfa12aa2aa282b45a4d9d80
2015-10-25 22:09:01 +01:00
Timo Tijhof
51369ab9ab
mw.TargetLoader: Avoid private mw.loader#moduleRegistry property
...
Follows-up 28f3a02e56
.
* Use mw.loader#getState() instead of private 'moduleRegistry'.
This property is not a supported API and may change at any time.
* Use plain push() instead of splice(). The order of modules
is insignificant as dependencies are enforced by module registry
only. Besides, the order is additionally normalised both
client-side and server-side by ResourceLoader.
Change-Id: Id9291c97c3bfc01c4cf203aa7b15629fb8412f5b
2015-10-24 22:26:14 +01:00
jenkins-bot
bc5e827ffb
Merge "AceEditorWidget: Use showLineNumbers instead of showGutter"
2015-10-22 23:24:53 +00:00
jenkins-bot
724aeb9b33
Merge "Add theme-specific drop shadows to target loading bar"
2015-10-22 23:06:58 +00:00
jenkins-bot
a67c62a754
Merge "Create separate skinStyles for target loading bar"
2015-10-22 23:06:56 +00:00
Ed Sanders
21aec73795
AceEditorWidget: Use showLineNumbers instead of showGutter
...
The gutter is still useful even if line numbers are hidden.
Change-Id: Ia85ce7cd4987eb0b7022dc35cfd1029fbe78e3dc
2015-10-23 00:04:57 +01:00
jenkins-bot
2018249d97
Merge "Create more MW sequences"
2015-10-22 21:49:54 +00:00
Ed Sanders
07d56b6b5d
Create more MW sequences
...
* '{|' for tables
* '<!--' for comments
* '<gallery' for galleries
Change-Id: Ib78c411bf8676bc1974bb80515fd56c642cd67b7
2015-10-22 22:23:13 +01:00
Translation updater bot
7317ee1f2c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic63f9b48379735da1b506ea7f7e447c0196c761e
2015-10-22 22:05:34 +02:00
Bartosz Dziewoński
cf6178f3a1
ve.ui.MWMediaDialog: Reset upload booklet when done uploading
...
Bug: T115380
Change-Id: I7c252a08cc2f09385102650e4d437e74d3919e59
2015-10-22 20:30:44 +02:00
jenkins-bot
9e74b26c41
Merge "ve.ui.MWMediaDialog: Correct harmless typo in method name"
2015-10-22 18:26:15 +00:00
Bartosz Dziewoński
777fc0445e
ve.ui.MWMediaDialog: Correct harmless typo in method name
...
Change-Id: Ibeb037896123349edac6bc74ab0d9541a2a63e93
2015-10-22 20:18:43 +02:00
Bartosz Dziewoński
c5434b2db8
ve.ui.MWMediaDialog: Only disable 'upload' and 'save' actions on setup, not on tab switch
...
When the tab is switched, we already set a mode that doesn't allow
using these actions.
Bug: T116299
Change-Id: Ib3ba50f578face3d49bcd14e41afe01a3b3d15af
2015-10-22 20:12:03 +02:00
Bartosz Dziewoński
bc9487cc8e
ve.ui.MWMediaDialog: Move upload booklet init further up
...
The first time this is called, it will try to switch panels, so it has
to be done before we switch to the right panel.
Bug: T116217
Bug: T116219
Change-Id: I22411024995e22ae65bde1e6418748aedf026b1b
2015-10-22 19:44:39 +02:00
jenkins-bot
bc15c3e189
Merge "Move sequence registrations adjacent to commands"
2015-10-22 16:12:38 +00:00
jenkins-bot
ca982073aa
Merge "Introduce Ace editor widget"
2015-10-22 15:47:07 +00:00
Ed Sanders
c9fc5fb171
Add theme-specific drop shadows to target loading bar
...
As a modal popup it should have a drop shadow
Change-Id: I5b4a07c268c30124ed7ba6cc5391005595abeb7b
2015-10-22 16:02:25 +01:00
Ed Sanders
9749ff5187
Create separate skinStyles for target loading bar
...
Change-Id: I74eff697711641a7c111564ddb9e493ad358b8d4
2015-10-22 16:01:44 +01:00
Ed Sanders
57d33a291e
Move sequence registrations adjacent to commands
...
If a command is not registered because a file/module is not
loaded, the sequence should not be loaded either.
Change-Id: I45d86ad371c7b717601b6593eaa573292ebdd4ed
2015-10-22 15:15:41 +01:00
Ed Sanders
28f3a02e56
References: Don't load ext.visualEditor.mwreference if Cite is not installed
...
Ultimately we should move all the code for this module to the cite
extension.
Bug: T41621
Change-Id: Ia2fcc9513ae806aaa173770337f176d5dbf59709
2015-10-22 11:36:17 +01:00
Ed Sanders
524c2c9ee0
'<ref' sequence: Trigger basic dialog if Citoid not installed
...
Change-Id: Ibb7589e760e5583e12581cd4fc07dc88101420ea
2015-10-22 11:21:20 +01:00
Ed Sanders
60c1ee7d56
Introduce Ace editor widget
...
The widget attempts to load the ext.codeEditor.ace.modes module
and if it fails, will fall back to regular TextWidget behaviour.
Bug: T49742
Change-Id: Ie483f6eba25e3732a396c18decc0e1844b806b23
2015-10-21 20:59:08 +01:00
Translation updater bot
15748bde2d
Localisation updates from https://translatewiki.net .
...
Change-Id: I4cef8d64023e3af574eb9d746098858b4cb39d46
2015-10-20 22:52:49 +02:00
Translation updater bot
ab7394f674
Localisation updates from https://translatewiki.net .
...
Change-Id: I6ad4b1bbd99e737e50e43ffa50bd5efead3142b0
2015-10-19 22:22:09 +02:00
Translation updater bot
0df380a3d5
Localisation updates from https://translatewiki.net .
...
Change-Id: I9480dfe3fb12c4dbbbb5d660d54911067415d1d6
2015-10-18 21:58:41 +02:00
Translation updater bot
07b66e4703
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia7021c4366ffa854444796ac70bd2a299ee72f13
2015-10-16 22:07:09 +02:00
Ed Sanders
760d9c130c
EducationPopup: Tidy up DOM and CSS
...
Change-Id: I4effa34a4d3ddfca0f6ee61fe169a726dc0ec3f6
2015-10-15 22:35:30 +01:00
Translation updater bot
692a2a37e1
Localisation updates from https://translatewiki.net .
...
Change-Id: I9050b383581d6950a4de2ad58f2600918f7c37d5
2015-10-15 21:33:25 +02:00
Ed Sanders
5bde3be8a6
Browser tests: Fix selectors for strikethrough and underline
...
Change-Id: I94010005369b225494f5e603d71d1f57941d7db0
2015-10-15 15:49:01 +01:00
Translation updater bot
e64d143678
Localisation updates from https://translatewiki.net .
...
Change-Id: I4a8d12cd63d7ecc11106cdcdbee74060183796e8
2015-10-15 09:53:04 +02:00
jenkins-bot
a9d9ab1ae8
Merge "Followup 9d6fbc894e
: fix JS error in education popup"
2015-10-15 00:38:48 +00:00
jenkins-bot
eb8695f7ee
Merge "Browser tests: Fix table test"
2015-10-15 00:32:53 +00:00
jenkins-bot
09428d13a1
Merge "Browser tests: Fix media insert test"
2015-10-15 00:30:43 +00:00
jenkins-bot
44c3f31e77
Merge "Browser tests: Update link inspector tests"
2015-10-15 00:30:41 +00:00
jenkins-bot
d839c37c31
Merge "Revert "[Browser tests] Wait for save button to be enabled""
2015-10-15 00:24:07 +00:00
Roan Kattouw
17a5cf6a93
Followup 9d6fbc894e
: fix JS error in education popup
...
If a tool had an education popup bound to it, but it was
suppressed because the user has already seen it (according to
the cookie or localStorage), then clicking that tool would
cause a JS error.
Also remove a workaround for a ClippableElement problem
that appears to be unnecessary.
Change-Id: I73a3f5f9cc1726e28e70fc545b72960afc5ac41c
2015-10-14 16:32:14 -07:00
jenkins-bot
81a89952ef
Merge "Educational popups and highlights for links+citations"
2015-10-14 21:52:50 +00:00
Ed Sanders
780d42b295
Browser tests: Fix table test
...
Change-Id: Ib2751cd58dd134f61f94e0a0e8c9c3540a7f26ea
2015-10-14 22:27:42 +01:00
Ed Sanders
4cbcfe8b66
Browser tests: Fix media insert test
...
Change-Id: I55c9247d235fa7ed4e020c62338d42a88d6c2358
2015-10-14 22:27:42 +01:00
Ed Sanders
2948d0b324
Browser tests: Update link inspector tests
...
Change-Id: I5e902b4ab3215450a4374fb7327159d3edfc5ef2
2015-10-14 21:29:14 +01:00
Esanders
60e3b55393
Revert "[Browser tests] Wait for save button to be enabled"
...
This reverts commit 122be9c95a
.
Change-Id: Ia79636d5fdcf3f1a224c93688c164bf1030c3bee
2015-10-14 21:27:21 +01:00
Translation updater bot
b6546f0bc3
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b9643f7774b9adb6b1ebf4f46903f4a416bf700
2015-10-14 21:57:12 +02:00
jenkins-bot
41b168b0ec
Merge "[Browser tests] Wait for save button to be enabled"
2015-10-14 19:08:23 +00:00
jenkins-bot
d9788db376
Merge "Browser tests: Add API URLs to environments.yml"
2015-10-14 17:28:17 +00:00
Ed Sanders
36652a721a
Browser tests: Add API URLs to environments.yml
...
Change-Id: I524eb984cf04baeacfc131f482b2a773636dc87f
2015-10-14 17:42:49 +01:00
Ed Sanders
4943127cde
Link inspector: Show redlink in suggestions
...
This feature was accidentally dropped when the widget was moved to core.
Change-Id: I302b4b001f1db64b023dae73e36c85e491617e92
2015-10-14 17:24:53 +01:00
Ed Sanders
122be9c95a
[Browser tests] Wait for save button to be enabled
...
In some tests the save button won't be available for a few ms
until the latest transaction has been pushed to the undo stack.
Change-Id: If03f03b033a21a039a322ca32983d0302e44efbb
2015-10-14 15:28:14 +00:00
Prateek Saxena
d1bf196f68
Media upload: Initialize booklet before setting file on drag drop
...
Calling initialize will clear all fields including the
OO.ui.SelectFileWidget that was just set.
Follows up I521909d27c390faad7d62f717f2b97b7676e5a63.
Bug: T40031
Change-Id: Ibc7ddafae9cb7718372520245a356938f4731479
2015-10-14 12:49:31 +00:00
Ed Sanders
e1f9adebfe
Rename ImageTransferHandler to MediaTransferHandler
...
Change-Id: If68e2e4a9dbff4707fb9cbbadcd69a7ff8375a4b
2015-10-14 12:41:25 +00:00
Ed Sanders
a6c4c3b3e1
Follow-up Id473b45: Call getResults on input widget
...
Bug: T115448
Change-Id: I8bfbb3092aa49750930c6437b0526a8b900722f1
2015-10-14 11:34:36 +00:00
jenkins-bot
cbddb00638
Merge "Stop using raw HTML for 'visualeditor-dialog-transclusion-no-template-description'"
2015-10-14 02:39:50 +00:00
Translation updater bot
9aaf5c933e
Localisation updates from https://translatewiki.net .
...
Change-Id: I2d386399a32f2c20034fce0e96921f578b01a813
2015-10-13 22:14:15 +02:00
Ed Sanders
7f2d9d0042
Media upload: Use new setFile method
...
Depends on I30ec98be0 in MW core.
Change-Id: Ied82ac8fd25a1c4b9818029429231ce2f39916d4
2015-10-13 18:25:09 +00:00
Ed Sanders
557340426f
Media upload: Initiate upload process on image drop
...
Bug: T40031
Change-Id: I521909d27c390faad7d62f717f2b97b7676e5a63
2015-10-13 11:24:34 -07:00
jenkins-bot
3efea1d05e
Merge "MWLinkAnnotationInspector: Close inspector when a search result is clicked"
2015-10-13 16:07:33 +00:00
jenkins-bot
7ac49bcfd9
Merge "ReferenceContextItem: Factor out getReferenceNode and use correct node"
2015-10-13 12:16:01 +00:00
Translation updater bot
de900b63ee
Localisation updates from https://translatewiki.net .
...
Change-Id: I144099a28ac3120780306ef4e610584b4ab0da54
2015-10-12 21:07:07 +02:00
jenkins-bot
1da509937d
Merge "[BrowserTest] Use English if i18n file does not exists to convert the text"
2015-10-12 15:21:35 +00:00
Vikas S Yaligar
0d282a5e32
[BrowserTest] Use English if i18n file does not exists to convert the text
...
Bug: T111525
Change-Id: Iaf557114df0bcdca3f82fc0ba0bcb752f5cb2c3d
2015-10-12 15:13:48 +00:00
Translation updater bot
34ce74e044
Localisation updates from https://translatewiki.net .
...
Change-Id: I7933389827e2e2b99aeddfc7a1222ee06a5e96dc
2015-10-11 21:24:43 +02:00
jenkins-bot
caaf0bd3cd
Merge "MWLinkAnnotationInspector: Use IndexLayout for internal/external"
2015-10-11 12:42:02 +00:00
jenkins-bot
676fd50aa3
Merge "Media upload: Hide tabs after first stage of upload booklet"
2015-10-11 12:41:43 +00:00
jenkins-bot
1d8450bf94
Merge "Media upload: Only reset upload booklet on dialog setup"
2015-10-11 12:41:40 +00:00
jenkins-bot
821f478d98
Merge "MediaDialog: Rename bookletLayout to mediaSettingsBooklet"
2015-10-11 12:41:38 +00:00
Translation updater bot
19beb645f7
Localisation updates from https://translatewiki.net .
...
Change-Id: I6a69972203990c251baac3dba14c88d1f11f65de
2015-10-10 22:45:25 +02:00
Ed Sanders
d5766c2d5f
Media upload: Hide tabs after first stage of upload booklet
...
Change-Id: Ie0cd0fe7761b3937de685ed18b96cc95b8ca4d4f
2015-10-10 16:52:35 +01:00
Ed Sanders
aa5f0c2faf
Media upload: Only reset upload booklet on dialog setup
...
Bug: T115059
Change-Id: I4ee9b408624ee3b0dfc3079f02ebbaf2e66f3fa3
2015-10-10 16:52:25 +01:00
Ed Sanders
afb556813a
MediaDialog: Rename bookletLayout to mediaSettingsBooklet
...
Change-Id: I04dbdfd14daedf614e8a47992231d48d72f7ff33
2015-10-10 16:26:40 +01:00
Ed Sanders
f1f75bf511
MWLinkAnnotationInspector: Close inspector when a search result is clicked
...
Change-Id: Id473b45a222d53f6bca0168dad4adf536ccdf97a
2015-10-10 15:49:45 +01:00
Ed Sanders
fff96cdc8f
MWLinkAnnotationInspector: Use IndexLayout for internal/external
...
As originally intended, but avoided because of since-fixed CSS issues.
Change-Id: I60186c8f8a13eb9a7708716329dc959e1913665d
2015-10-10 13:02:16 +01:00
Translation updater bot
25f08228cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I3cc88f7e10e751f1ce2ac47109706b29ac9bfa13
2015-10-09 22:34:54 +02:00
Bartosz Dziewoński
2e5a31d66a
Stop using raw HTML for 'visualeditor-dialog-transclusion-no-template-description'
...
The bug in jqueryMsg that required this is now fixed. Depends on
I56d8f7ec03a70f5c2360d9c5099496ecb2f668ad and
Icc360724c75755a6ffc31792d8439cba142642ae in MediaWiki core.
Changes to messages were done with search-and-replace:
<a $2> ---> [[{{ns:template}}:$1|
</a> ---> ]]
{{GENDER:$3 ---> {{GENDER:$2
Bug: T87131
Change-Id: I67475edb75fb5192a76fbe629d735d1f2dcd1d48
2015-10-09 13:10:00 +02:00
Vikas S Yaligar
df2c17bfd2
[BrowserTest] Load i18n messages from MediaWiki to browser tests
...
* translate method can be called to translate a particular string to a
specific language.
Bug: T90577
Change-Id: I7852ee0b0009e70bd9decef0dd317055d91a06a6
2015-10-09 09:49:37 +00:00
Translation updater bot
fbd83f2d4b
Localisation updates from https://translatewiki.net .
...
Change-Id: I0c9e54c4255a64ac9c487c92e84b1ec0a80068ba
2015-10-08 23:10:21 +02:00
Ed Sanders
8ac173894d
MWParameterPage: Focus value input when focussing page
...
Logically depends on I6a439cb13e in OOUI.
Bug: T114562
Change-Id: Ic9ad6ceca8e8f6cb7b1a0f56cd6ed858e39e1dfa
2015-10-07 14:33:55 -07:00
Translation updater bot
02fcbd4959
Localisation updates from https://translatewiki.net .
...
Change-Id: I41f962ec577ec186b0b598e0e791924aa36ce641
2015-10-07 22:04:25 +02:00
jenkins-bot
df8d63c66b
Merge "Fix typo in MWMediaDialog"
2015-10-07 18:38:09 +00:00
Ed Sanders
fcc9be4fa4
Fix typo in MWMediaDialog
...
Change-Id: Id8133f9eee523a7cd237d4ca2814b29bce02fa0d
2015-10-07 19:34:21 +01:00
Ed Sanders
9fb6977e52
Update VE core submodule to master (363adf2)
...
New changes:
63c5f67 [BREAKING CHANGE] GeneratedContentNode: Introduce new hash for rendering
6dd1cb2 Add ve.dm.Surface#selectLastContentOffset
Local changes:
* Use new getHashForRendering in GeneratedContentNode users
As we no longer have a model hash, remove the originalIndex check
and just rely on the deep comparison of mwData (trading a deep copy
for a hash computation should result in similar performance).
Bug: T114689
Change-Id: Ida0ee0234418408b735232c633d41908a424a9ff
2015-10-07 15:00:32 +00:00
jenkins-bot
b83511ac54
Merge "Add image upload tab to media dialog"
2015-10-07 01:54:20 +00:00
Ed Sanders
97ddc8af2b
Add image upload tab to media dialog
...
Uses the ForeignStructuredUpload BookletLayout.
Bug: T40030
Change-Id: I103044210e714d99350a28a48619beacefb43eaa
2015-10-06 18:40:19 -07:00
jenkins-bot
f764155edc
Merge "Don't error when trying to re-use a reference as itself."
2015-10-06 21:58:06 +00:00
jenkins-bot
45468b992a
Merge "ve.init.mw.Target: Remove jqueryMsg hacks in #saveErrorNewUser"
2015-10-06 21:09:58 +00:00
Translation updater bot
8285ddf2a5
Localisation updates from https://translatewiki.net .
...
Change-Id: I11980fb1fc52f010da55800457e0ee1be0690229
2015-10-06 22:04:06 +02:00
Bartosz Dziewoński
c684e2c682
ve.init.mw.Target: Remove jqueryMsg hacks in #saveErrorNewUser
...
The bug in jqueryMsg that required this is now fixed.
Bug: T87219
Change-Id: Ib7ef7e6a0451539099c12ae32d02b50c269c7529
2015-10-06 19:04:10 +02:00
Alex Monk
9d6fbc894e
Educational popups and highlights for links+citations
...
Bug: T108620
Change-Id: I42b0e06f50aca5cb783d88f79a080461e745ceee
2015-10-06 14:33:57 +01:00
jenkins-bot
cd29e0376d
Merge "Add error element to MWLiveExtensionInspector"
2015-10-05 22:53:20 +00:00
Translation updater bot
e75fb6a2da
Localisation updates from https://translatewiki.net .
...
Change-Id: Icbf09f06f978d791208bc9ac37f56524700e7a97
2015-10-05 22:17:32 +02:00
Ed Sanders
3f2a885e3e
Ensure full error message is shown when inspector is closed
...
Applying staging doesn't emit an update event on the node, so
forcefully emit one with 'staged' equal to false, so the full
error is rendered (if present).
Logically depends on I8ebb26d4bc in core.
Bug: T114480
Change-Id: I7ba54b67982fc5b10839426cdc216e14c0e33c01
2015-10-05 17:15:40 +00:00
jenkins-bot
aaaded172b
Merge "Toolbar config: Prevent 'Table' from moving after menu expand"
2015-10-05 15:14:47 +00:00
jenkins-bot
4878313bea
Merge "Consistently use spaces inside brackets in CSS"
2015-10-05 15:02:25 +00:00
Ed Sanders
2c9b9e4d73
ReferenceContextItem: Factor out getReferenceNode and use correct node
...
Use the node from the parent dm document, not the internal list document.
Change-Id: Ieeb0a63bd40de7a8a2944322ba800feec7a7f4dd
2015-10-05 16:01:54 +01:00
jenkins-bot
7c0f17c2cf
Merge "ve.ui.MWParameterPage: Use more natural DOM order for text field and buttons"
2015-10-05 11:55:04 +00:00
Thalia
9307fa7095
Add error element to MWLiveExtensionInspector
...
As part of the plan to render extension errors in the
inspector instead of the view, append an element to
contain the error. More specifically, the element is
a div that contains a LabelWidget (in which the error
message is displayed) and a ButtonWidget (to expand
and collapse the error).
Initially the error element is hidden, but if Parsoid
returns an error, the element will be shown. If the
error is longer than 1 line, it is truncated but can
be expanded. On closing the inspector, any remaining
error is collapsed and hidden.
Depends on I6002d9870d2b to work
Bug: T113172
Change-Id: Ie84130d4ac0da9a738bf98ad0a3677d47566d585
2015-10-05 00:22:22 +01:00
Translation updater bot
4eb7a0554b
Localisation updates from https://translatewiki.net .
...
Change-Id: I1574aa4164e8e530740112596120b44b1707d562
2015-10-04 22:20:56 +02:00
jenkins-bot
291065459c
Merge "Use ve.setProp to set new pages list in MWTemplateTitleInputWidget#getLookupRequest"
2015-10-04 19:54:45 +00:00
Bartosz Dziewoński
205beb2b49
ve.ui.MWParameterPage: Use more natural DOM order for text field and buttons
...
OO.ui.BookletLayout does not respect tabindices when trying to focus
the first focusable element after a page is switched. Remove the need
for manually set tabindices in ve.ui.MWTemplateDialog by using natural
DOM order and absolutely positioning things to keep current design.
Bug: T114562
Change-Id: I7a18a455f9fa80eb3d2ea17bff8139e0194c0fbf
2015-10-04 20:39:16 +02:00
Ed Sanders
1eb0ef2011
Consistently use spaces inside brackets in CSS
...
Change-Id: Ie63a50cb16cb89dac7060857220485d7d23f2fe3
2015-10-04 18:33:43 +01:00
Ed Sanders
7337eb1d7e
Toolbar config: Prevent 'Table' from moving after menu expand
...
Change-Id: I9f472668e0cf8f3014c681f6f2430e685bf50534
2015-10-04 13:28:55 +01:00
Translation updater bot
5124a7075b
Localisation updates from https://translatewiki.net .
...
Change-Id: I751798608f4e54a643b4cb488d9217bfcb704266
2015-10-03 22:14:37 +02:00
Translation updater bot
815a729780
Localisation updates from https://translatewiki.net .
...
Change-Id: I0d72901cb61d21af1ff710c1be8d3cc9150ca75c
2015-10-02 23:51:15 +02:00
Ed Sanders
d63dce138d
MWExtensionNode: Fix selector to find dimension-less images
...
Change-Id: Idf219636f9b2b58e30b1a155c052ada4c60e6ec9
2015-10-02 14:18:13 +01:00
Alex Monk
a46b7a819e
Hack to stop logging edit events for non-desktop targets
...
Mobile target, for example, has events logged in the MobileFrontend extension instead
(which covers both the wikitext editor there and the VE integration)
Bug: T110272
Bug: T109525
Change-Id: I521f1825dc9c0a135db54cd005cda723908f14bc
2015-10-01 23:48:10 +00:00
jenkins-bot
e14c8e11cf
Merge "Change a bunch of parsoid references to acknowledge that RESTBase is sometimes in the middle"
2015-10-01 16:14:29 +00:00
jenkins-bot
1bbfcf23c6
Merge "MWExtenionNode: Ensure objects are deep copied when used in the hash"
2015-10-01 15:28:01 +00:00
Thalia
34f6e11a19
Call updatePreview when closing the LiveExtensionInspector
...
Call updatePreview in insertOrUpdate node, when closing the
inspector. If edits have only been made to attributes that
don't affect the rendering, updatePreview will not have been
called, so the model won't have changed. Therefore
updatePreview should be called every time the inspector is
closed to make sure such edits are applied.
Bug: T113078
Change-Id: I48fb291487f76fc515f122646d205366a60dca62
2015-10-01 15:58:20 +01:00
Ed Sanders
c5c88482b9
MWExtenionNode: Ensure objects are deep copied when used in the hash
...
We don't expect users not to alter the hash (subclasses may delete items)
so make a copy of any objects we put in it.
Change-Id: I6274f47e02b9f2d53864d4a2ae80df42e6c89867
2015-10-01 15:57:49 +01:00
Ed Sanders
50de745afd
MWExtensionNode: Copy mw data before modifying
...
Otherwise we are directly modifying model.element.attributes
which is very bad.
Change-Id: Icf066a5848b9c67c2c4b3fcafd72d0142996e48d
2015-10-01 13:34:01 +01:00
jenkins-bot
1b455ac201
Merge "Call afterRender whether or not images emit 'load'"
2015-09-30 21:00:13 +00:00
Thalia
53f4aa64d9
Call afterRender whether or not images emit 'load'
...
MWExtensionNodes currently don't call afterRender if the image
is already loaded, which can happen if we decide not to rerender
after an update (e.g. when the response is an error).
Change-Id: Ic9c11e446a7cc789bb20680466709ff2ad5cb22e
2015-09-30 21:47:40 +01:00
Translation updater bot
d6f09eb3b0
Localisation updates from https://translatewiki.net .
...
Change-Id: I661c0b37dce0b8e30c960dad2bfa0600e9920d83
2015-09-30 22:12:21 +02:00
Translation updater bot
c1f26c0922
Localisation updates from https://translatewiki.net .
...
Change-Id: I53bf43111c86cabfb668f0bd3d05b57611e78bb1
2015-09-29 22:10:19 +02:00
Ed Sanders
074f7bcefe
Follow-up If556afa10: Fix typo: nodeType -> nodeName
...
Change-Id: I19915647981787f7bbf2c86fc7bd02308d5da218
2015-09-29 17:35:23 +01:00
Roan Kattouw
0d4b30f927
MWInlineExtensionNode: Don't assume responses are always <p>-wrapper
...
For the Score extension they aren't, and this causes JS errors in production.
Change-Id: If556afa1046f460d7fdd29cb1c50ac93dad88fde
2015-09-28 19:36:48 -07:00
jenkins-bot
ce8107ec0b
Merge "Autodisable preference"
2015-09-28 23:46:59 +00:00
Alex Monk
97e70ba3cc
Autodisable preference
...
We want to flip the default of visualeditor-enable to true, but don't
necessarily want to turn it on for users who already have contributions but who
haven't already enabled it. Therefore we're considering adding such users to
this autodisable preference which they can self-remove (by explicitly enabling
VE) or we can target later, separate from betatempdisable users.
Bug: T112352
Change-Id: I1ce5e6c92055e30fdc82bc912a767e913b190ef6
2015-09-29 00:30:27 +01:00
jenkins-bot
3aee082548
Merge "MWLinkAnnotationInspector: Use TitleSearchWidget instead of TitleInputWidget"
2015-09-28 21:10:54 +00:00
Translation updater bot
d17197696f
Localisation updates from https://translatewiki.net .
...
Change-Id: I89a27eeb175bfcf2f4cb3dd4beba38a664def4d8
2015-09-28 22:51:02 +02:00
jenkins-bot
f9247ce087
Merge "MWLinkAnnotationInspector: Update actions when changing tabs"
2015-09-27 22:07:23 +00:00
Ed Sanders
f814ea719b
MWLinkAnnotationInspector: Use TitleSearchWidget instead of TitleInputWidget
...
Depends on I335bd912d in MediaWiki core.
Bug: T101169
Change-Id: I2932c9df5444d1363af5af9b438bb905ed298148
2015-09-27 14:03:52 +01:00
Ed Sanders
a04d2ff52b
MWLinkAnnotationInspector: Update actions when changing tabs
...
Change-Id: I825531683eeb8b7e21b741f1dc5d338abc9d347a
2015-09-27 14:03:29 +01:00
Translation updater bot
a60f360ae0
Localisation updates from https://translatewiki.net .
...
Change-Id: I081accdb1ac5a8d321b05bed986862f161a9bd99
2015-09-26 21:18:17 +02:00
jenkins-bot
2e4a70e082
Merge "Add scroll padding equal to the document height for iOS"
2015-09-26 16:39:26 +00:00
Ed Sanders
6769860adb
Add scroll padding equal to the document height for iOS
...
Allows users to edit the end of the document in iOS without
the keyboard obscuring the content.
Change-Id: I72f1de97e61a0c0d8acac2e58b36b3ece58fca89
2015-09-26 17:06:37 +01:00
jenkins-bot
763b9c8058
Merge "Update VE core submodule to master (27fc244)"
2015-09-26 13:38:42 +00:00
jenkins-bot
03d4e08a83
Merge "Allow autolinking ISBN/PMID/RFC inside list items"
2015-09-26 13:38:37 +00:00
jenkins-bot
81282a7769
Merge "Autolink of magic links should create node not annotation"
2015-09-26 13:38:34 +00:00
Ed Sanders
6ed5877c69
Update VE core submodule to master (27fc244)
...
New changes:
18e46b6 [BREAKING CHANGE] LinkAnnotationWidget: Abstract .text property to getTextInputWidget
Local channges:
* MWLinkAnnotationInspector: Use new getTextInputWidget method
Change-Id: Ia33797d612be7b4521e7212047a38480ee2520df
2015-09-26 12:27:56 +01:00
Alex Monk
3386f66770
Save dialog: Make review/resolve actions work in mobile
...
Depends on Ic92378b7
Bug: T111894
Change-Id: I5ca5f803642dd12db4e9fb213dc6478701661528
2015-09-26 00:08:31 +01:00
Translation updater bot
6b25f41b95
Localisation updates from https://translatewiki.net .
...
Change-Id: I40f2f7202c5b1a6eadaaa99f4cc2fa33419a3d51
2015-09-25 22:38:27 +02:00
C. Scott Ananian
92bfa93e4e
Autolink of magic links should create node not annotation
...
Depends on: I9679cf0fd550c9b156370fc88953414460c801a4
Bug: T112675
Change-Id: I97a1750b3424c09e181976029f10ee161129b166
2015-09-25 14:21:33 -04:00
jenkins-bot
a5d3a4dfae
Merge "Adjust uses of renamed PreviewWidget to PreviewElement"
2015-09-25 09:41:03 +00:00
Thalia
b7bdf2d867
Adjust uses of renamed PreviewWidget to PreviewElement
...
Depends on I516b87f3be in VE core.
Change-Id: I9ad4bab3fff0bf0fb8a79673dbe67be4a9b2c363
2015-09-25 09:37:34 +00:00
C. Scott Ananian
07f67bdb22
Allow autolinking ISBN/PMID/RFC inside list items
...
Depends on I18b73514e5a3d967cce02d9706a11e30ede71d9a in ve core.
Bug: T113535
Change-Id: Ifc749951a6e92e19a7eb27ed631f8ba11d88a5cf
2015-09-25 10:35:18 +01:00
Alex Monk
03a1d04bde
Don't error when trying to re-use a reference as itself.
...
Bug: T90476
Change-Id: I0e2cafa885f5606c4f6611529f11de4fa6f7aedf
2015-09-24 22:58:30 +01:00
Alex Monk
0fb38cc824
Use ve.setProp to set new pages list in MWTemplateTitleInputWidget#getLookupRequest
...
Bug: T113647
Change-Id: I537a235064cf8e95b0e1cde46f3079e0af082e7c
2015-09-24 22:35:38 +01:00
Translation updater bot
6904180054
Localisation updates from https://translatewiki.net .
...
Change-Id: I4c31c5b04ed1fb784d837a112da0e3a6cd04d7c7
2015-09-24 21:33:13 +02:00
Bartosz Dziewoński
89b118daaf
ve.init.mw.LinkCache: Update comment about Disambiguator extension
...
Disambiguator extension adds the .mw-disambig CSS class to internal
disambiguation links since 8cc16d021410f49fa12a2f35c97cdac51adf4380.
Change-Id: If32bcb8867a874ee4127593f58619d059fe691b0
2015-09-24 19:20:12 +02:00
Translation updater bot
f72b6a9dfc
Localisation updates from https://translatewiki.net .
...
Change-Id: I4ca58193916dee109a915191576d0e9529651018
2015-09-23 21:37:12 +02:00
Translation updater bot
535ae912b2
Localisation updates from https://translatewiki.net .
...
Change-Id: Idbf9eec0b8b72d140631bdf8ae2a8592d569ce75
2015-09-22 22:29:05 +02:00
jenkins-bot
1fa7a2a089
Merge "DesktopArticleTarget: Fix page title (first H1) font size in Vector"
2015-09-22 17:21:50 +00:00
Ed Sanders
42d04b6f47
DesktopArticleTarget: Fix page title (first H1) font size in Vector
...
Change-Id: I87409ad5da3819732d13943a64b2ca22f65f9418
2015-09-22 17:12:23 +00:00
David Chan
5ce6faf020
Zero-width space to avoid empty annotation cursoring bug
...
Add zero-width space to make span-like tags non-empty, so that the browser won't
merge their cursoring positions with the following character.
ve.ce.MWNumberedExternalLinkNode:
* Insert U+200B ZERO WIDTH SPACE inside span (before 'a' tag).
Bug: T96307
Change-Id: Ib07f732043eae4640e3dcfdc06015bcf8897c7b4
2015-09-22 23:45:14 +08:00
jenkins-bot
8a0ead0940
Merge "Allow pressing 'escape' from all pages of save dialog"
2015-09-21 23:06:49 +00:00
jenkins-bot
9beb40c40e
Merge "Make save dialog variable height"
2015-09-21 23:03:42 +00:00
Ed Sanders
7e0d4daf3d
Allow pressing 'escape' from all pages of save dialog
...
Bonus: Add 'Resume editing' button to review changes page
Change-Id: Ief200c8aa2e2c8363bf6c9be3544ec1c56e07ff4
2015-09-21 22:59:21 +01:00
Translation updater bot
8486cbb0a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I0a35c367cad0ce4efd25d6f27f55468d37a86f41
2015-09-21 21:59:21 +02:00
jenkins-bot
14600662b6
Merge "Template placeholder: Don't show delete button if we're the only transclusion part"
2015-09-21 17:27:52 +00:00
Ed Sanders
a1147f764b
Make save dialog variable height
...
Change-Id: I90437b3130d08441e5c93b2a34fd9083106a14b3
2015-09-21 17:52:19 +01:00
jenkins-bot
03ef91fade
Merge "MWReferenceResultWidget: Remove border from last item"
2015-09-21 06:56:12 +00:00