Commit graph

11126 commits

Author SHA1 Message Date
jenkins-bot 665731e552 Merge "Update mediawiki_selenium Ruby gem to version 1.6.5" 2016-02-03 17:59:42 +00:00
Željko Filipin 110ecb93b5 Update mediawiki_selenium Ruby gem to version 1.6.5
Bug: T125532
Change-Id: Ife574a2da17e0c8c7082f540f7a1cf475a5713cd
2016-02-03 18:17:12 +01:00
Timo Tijhof 7099ae0eef Fix "Uncaught TypeError: $.cookie is not a function"
Was being thrown on all read pages and caused VE to no longer
load properly.

Three places make use of $.cookie():
* ve.init.mw.DesktopArticleTarget.init.js
* ve.init.mw.DesktopArticleTarget.js
* ve.ui.MWEducationPopupTool.js

Presumably this worked by luck previously due to another extension
or core module depending on it and loading earlier but no more.

Change-Id: I6b00822f1d5d17add3e298cbd77f4790899aaec2
2016-02-03 16:50:31 +01:00
James D. Forrester a68330dda8 Update VE core submodule to master (7c7aa59)
New changes:
635979b Localisation updates from https://translatewiki.net.
cb724cf Update OOjs UI to v0.15.2
4218e04 Defer creation of cell slugs until end of cycle

Change-Id: I21fd0935b4a68c87714f55f596416c8f3230288d
2016-02-02 15:08:53 -08:00
Translation updater bot 0acd4160f4 Localisation updates from https://translatewiki.net.
Change-Id: Id1d12847d0c09993453c889af16266b9bac9d9ee
2016-02-02 21:33:11 +01:00
jenkins-bot 804ab26fb2 Merge "Check xhr.responseText is set before trying to send it to $.byteLength" 2016-02-02 19:08:08 +00:00
Alex Monk 9808d04bfe Check xhr.responseText is set before trying to send it to $.byteLength
Bug: T125399
Change-Id: I09881fe8b6db7d95e32732129d043c4a13fa7a9a
2016-02-02 18:52:56 +00:00
Ed Sanders 98bc5daba1 Use new iconWhenInvisible feature in Transclusion/Extenion nodes
Change-Id: Iba55676c06a1cd625187c38c1ae0c9c20b065827
Depends-On: I127bb5d34850cdc545ea3c05d0fc41a8ae1c6dea
2016-02-02 18:07:13 +00:00
Ed Sanders 6d97858188 Update VE core submodule to master (53476f4)
New changes:
b558ef1 Localisation updates from https://translatewiki.net.
53476f4 Move logic for showing icon for invisibles to focusable node

Change-Id: I4bda82918cb54a3cc77523137fa297960b1b1ba0
2016-02-02 10:06:43 -08:00
Translation updater bot 9ec0705a2b Localisation updates from https://translatewiki.net.
Change-Id: If02911bde5c9cdbaeeaf52a45f4746b1b61b7d16
2016-02-01 21:56:13 +01:00
Ed Sanders db5ed236dd Add controls for wikitable and sortable to table dialog
Bug: T95189
Depends-On: Ife3f3505b845db28dd29a07e9be1533c39726ce1
Change-Id: I1672d8cd2e138df1fad19dcfd948700942e87f2c
2016-02-01 10:58:42 -08:00
Ed Sanders 74358498da Update VE core submodule to master (70ff8cc)
New changes:
242ab45 DesktopContext: Float the context when it goes beyond the viewport
405c44d Rename TableContext to TableLineContext
6c564be Sort messages alphabetically
70ff8cc Introduce table and table cell context

Change-Id: I4357162bc192c90f99ca0aec12eb67bf848e5504
2016-02-01 10:51:26 -08:00
Ed Sanders 5e296a959b Sort messages alphabetically
Change-Id: I45b440b1b020ea79ab4c1eba78effb526c41ddc4
2016-02-01 17:36:43 +00:00
James D. Forrester a6e24f4643 Update VE core submodule to master (81fef4b)
New changes:
d1673d9 Localisation updates from https://translatewiki.net.
1b3516c Localisation updates from https://translatewiki.net.
81fef4b Follow-up 1b3516c6: Fix build for added language 'cdo'

Change-Id: Iddae595684554af653eac3bd59e55364eff73d3e
2016-01-31 15:37:55 -08:00
jenkins-bot 32c91bcf8c Merge "Re-add null appendix tab messages to extension.json" 2016-01-31 22:53:01 +00:00
Translation updater bot 122d76bfbe Localisation updates from https://translatewiki.net.
Change-Id: Ib037f762e584c8b6bc153a469057b362e31393fc
2016-01-31 21:42:24 +01:00
Alex Monk c4a1e2a3f7 Re-add null appendix tab messages to extension.json
Some old code (pre-Icebc378f) is still relying on these existing,
and some users are getting it loaded somehow.

Bug: T125249
Change-Id: I83190da98478bc702c23dfff2091cc5480174958
2016-01-31 18:25:23 +00:00
Translation updater bot 1b33f7b912 Localisation updates from https://translatewiki.net.
Change-Id: I499a7c36f46bed65f06c881de3df9fdf53e20036
2016-01-30 22:50:35 +01:00
jenkins-bot 2965ebfb60 Merge "Run VE->WTE modification checks regardless of how the user got into VE" 2016-01-30 03:48:51 +00:00
jenkins-bot 4fc7df8e83 Merge "Update VE core submodule to master (c5bf879)" 2016-01-30 03:38:56 +00:00
Alex Monk 8cc034b9af Run VE->WTE modification checks regardless of how the user got into VE
I think this fixes a bug similar to the one described in the bug below.

Bug: T124708
Change-Id: I61558227315bec36b71dac281b8da311a3d6bb1a
2016-01-30 03:06:46 +00:00
James D. Forrester 7b87c1e9b8 Follow-up dc3aa815: Add i18n strings for table moving commands
Change-Id: I12db538aaa2b4f6725bb757321369c805708ce14
2016-01-29 19:02:41 -08:00
James D. Forrester 32e8348543 Update VE core submodule to master (c5bf879)
New changes:
1cbcc2f Rewrite ve.BranchNode#getNodeFromOffset to be non-recursive
d4ee023 Move table cell mergeability test to Selection and improve
8a741d3 ve.Node.findParent: Shortcut for specific traverseUpstream
37c7155 Use mouse position to place selection after double clicking a table cell
b200954 Localisation updates from https://translatewiki.net.

Change-Id: I7b4e5b4b5c2f7d5262b4d06417c587b212ba8b69
2016-01-29 14:57:49 -08:00
Translation updater bot de5f372ac5 Localisation updates from https://translatewiki.net.
Change-Id: Idfb5e5fdd92cae124b428c768fd89baa6239541c
2016-01-29 22:43:50 +01:00
Ed Sanders 0ed45dbf61 MWTable: use new sanitization method
This prevents tables from getting sanitized even on
VE to VE copy. Also by calling ClassAttributeNode sanitize
extra CSS classes are removed.

Bug: T97462
Bug: T125220
Depends-On: Ia3ce386b2a03bc227818b10423bca72c736c0656
Change-Id: Ifd91e00b40665b446bbdcdf8859d2bb641bc0e67
2016-01-29 10:29:19 -08:00
James D. Forrester 73399b367d Update VE core submodule to master (a0308f0)
New changes:
a0308f0 Sanitization: Add option to perform per-node sanitization

Change-Id: I18bbb137995f5ae2ba2109a4f86554d62f21d868
2016-01-29 10:14:35 -08:00
jenkins-bot 26cb7dd2f2 Merge "Update VE core submodule to master (9704a43)" 2016-01-29 17:38:37 +00:00
jenkins-bot 66b0ff5111 Merge "ve.ui.Icons: Remove styles for unused classes .oo-ui-ltr and .oo-ui-rtl" 2016-01-29 17:00:38 +00:00
James D. Forrester 2390f13d76 Update VE core submodule to master (9704a43)
New changes:
9704a43 ClassAttributeNode: Handle undefined attributes

Change-Id: Ib1df33ea484a7bc4abf63a3644ad68bc8a3de711
2016-01-29 08:31:41 -08:00
James D. Forrester dc3aa815ed Update VE core submodule to master (526e1bf)
New changes:
79546b8 Tables: Add slugs for missing cells in sparse tables
f723301 Tables: Multi-cell copy and paste
2548fac Spoil the fun of guessing what current[0] and current[1] mean.
db7c9aa Localisation updates from https://translatewiki.net.
526e1bf Tables: Move columns and rows

Change-Id: Id8d5f091cbca36c54f78f90bd2ac7aa2e6dacd1b
2016-01-28 13:14:17 -08:00
Translation updater bot 77a11811fb Localisation updates from https://translatewiki.net.
Change-Id: If88cee4c9c766aabdccc4d996d48c0151e5611bb
2016-01-28 21:11:06 +01:00
Bartosz Dziewoński fb54d03a59 ve.ui.Icons: Remove styles for unused classes .oo-ui-ltr and .oo-ui-rtl
Change-Id: Iae61d13a6c776c86bcec6744a2153b14c07722e9
2016-01-28 19:02:38 +01:00
jenkins-bot e4e7fce00e Merge "Create a more neutral warning message" 2016-01-28 07:57:33 +00:00
Justin Du 854f0a3692 Create a more neutral warning message
Change was made because editing mode is not always left to go to view mode,
but for example also because of clicking on "History".

Bug: T121754
Change-Id: Ibc1ba697081e60b8a797f5ea1b814a320ba812c3
2016-01-28 07:29:09 +00:00
Translation updater bot e181ca806b Localisation updates from https://translatewiki.net.
Change-Id: I694abc3d49df4ed6b580a10bdc37ba24fc288ac0
2016-01-27 21:46:32 +01:00
jenkins-bot f78dd8ad72 Merge "MWWelcomeDialog: Let the user switch editors" 2016-01-27 00:20:10 +00:00
James D. Forrester d8769edd01 MWWelcomeDialog: Let the user switch editors
Change-Id: If88942d866278f3012dae7972d464a3d2a6a4f82
2016-01-27 00:14:07 +00:00
James D. Forrester 674fface5b Update VE core submodule to master (155ab43)
New changes:
cedfdcb Localisation updates from https://translatewiki.net.
c433eaf ve.dm.Scalable: Prevent validation from exploding on bad input
8b47ed5 Tables: Add getMaxColCount to count total columns in a table matrix
30925f3 Update OOjs UI to v0.15.1
b299804 Follow-up Ic506950: Use new filenames for OOUI stylesheets for demo
b7c3d92 Sequences: Check command against surface's allowed commands

Change-Id: Id967945b1831bbfe9212d26e58ccb17d42b78cd5
2016-01-26 15:57:29 -08:00
jenkins-bot fc43d61ec5 Merge "MWTargetWidget: Add missing indent commands to blacklists" 2016-01-26 23:53:51 +00:00
Ed Sanders abb094babd MWTargetWidget: Add missing indent commands to blacklists
Bug: T124619
Change-Id: If2a5d98673db6e2d29fe49f1e7f5307437ba3866
2016-01-26 23:46:12 +00:00
James D. Forrester 2c76dc5b50 MWEditingTabDialog: Use 'small' size
Change-Id: Icb30d4fbea21653cf2fb6c782a4314be97a3e0a2
2016-01-26 14:51:55 -08:00
jenkins-bot 75b0a8de63 Merge "Don't try to load VE over the top of the wikitext editor we just switched to" 2016-01-26 17:01:24 +00:00
Alex Monk 589437a772 Don't try to load VE over the top of the wikitext editor we just switched to
(if we discarded changes)

Bug: T124316
Change-Id: Ic5e6ee8f4b6e75c3ae877021bcb29733b881e6d2
2016-01-26 16:49:50 +00:00
Alex Monk d7183d7e64 Check user permissions for viewsource before loading VE on-load on action=edit/submit etc.
Clicking 'View source' should probably not cause VE to load

Bug: T124650
Change-Id: I236de38b0f90f1aaa5d04b57cb7759e5951baf2b
2016-01-26 16:47:26 +00:00
Alex Monk bfa15c44a5 Check user preferences before loading VE on-load on action=edit/submit etc.
Bug: T124743
Change-Id: I2e8a19014464a2b7fb76de08676e7cb808e06956
2016-01-26 02:48:27 +00:00
Translation updater bot 71c0473094 Localisation updates from https://translatewiki.net.
Change-Id: I159863f04ee8af735dde305b24d8f5cd0a5c8b2b
2016-01-25 22:33:02 +01:00
jenkins-bot 6666bfcaea Merge "MWTableNode: Mixin ve.ce.ClassAttributeNode" 2016-01-25 20:54:15 +00:00
jenkins-bot 7dd1980ae0 Merge "Try to do a better job of matching user agent strings" 2016-01-25 19:40:30 +00:00
Ed Sanders ba0b084813 MWTableNode: Mixin ve.ce.ClassAttributeNode
The DM side already had the mixin, the CE side was still using custom
logic that has since been moved to ce.ClassAttributeNode.

This fixes the issue of tables not getting the wikitable class in VE
as it was only applied on attribute change previously, which never happened.

Change-Id: I197347762fc9228034f7664484539e5888722bcf
2016-01-25 16:35:49 +00:00
Translation updater bot 8e5a9e71a9 Localisation updates from https://translatewiki.net.
Change-Id: I401186574b88f3c5c810644799b55f2af5740f8c
2016-01-24 21:22:34 +01:00