Commit graph

447 commits

Author SHA1 Message Date
MusikAnimal 4d2783eb3e Tests for MediaWiki CodeMirror syntax highlighting
Bug: T169592
Change-Id: I0750d3a320af5451f847e6062f82523fb18f12bc
2018-03-20 16:27:55 -04:00
jenkins-bot 0e4bb8feb6 Merge "Don't match // as protocol unless used in a link" 2018-03-15 23:51:21 +00:00
MusikAnimal 5c8eb20c33 Don't match // as protocol unless used in a link
Bug: https://phabricator.wikimedia.org/T185069
Change-Id: I2111e7c7ae599c5aed2f5ae779bc3d7b2d8ce82a
2018-03-13 22:51:35 -04:00
MusikAnimal ccbce0e69d Highlight void tags and invalid self-closing tags correctly
Bug: T170238
Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b914e074
2018-03-13 22:18:59 -04:00
jenkins-bot b7a201e2f0 Merge "Fix highlighting of table headers on single text row" 2018-03-13 22:39:01 +00:00
MusikAnimal 62a53c5905 Fix highlighting of table headers on single text row
Bug: https://phabricator.wikimedia.org/T179534
Change-Id: I6e353d52af849678da63624e456ec2a82c680df4
2018-03-13 18:23:16 -04:00
Translation updater bot 780e941d6c Localisation updates from https://translatewiki.net.
Change-Id: Iff5f2308e3a1ffa0f162074bd356144b029fd3f9
2018-03-10 22:14:00 +01:00
jenkins-bot 25302e1be3 Merge "Add <translate> as a permitted tag" 2018-03-09 21:59:26 +00:00
libraryupgrader cc67737c78 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ia85026e0db1f60257a36c39e542c6ded952f6925
2018-03-09 06:19:31 +00:00
Translation updater bot 91981313e3 Localisation updates from https://translatewiki.net.
Change-Id: I7ca314f66bb1da60c40c1d996a878eb1a37c7d0a
2018-03-08 22:45:36 +01:00
Ed Sanders 1dc74c66fe Avoid using bold with VE+CodeMirror
We can't guarantee the preserve glyph width, e.g.
on Firefox with Chinese characters.

Bug: T184467
Change-Id: I6fc92fcd034bda3d9a94749935aae03c8373f7c5
2018-03-07 19:56:51 +00:00
jenkins-bot c2e1f91c7d Merge "VE: Use different approach for transparent text issue" 2018-03-06 16:35:15 +00:00
MusikAnimal 980f3d2848 Add <translate> as a permitted tag
Bug: T172456
Change-Id: I2315053b79bfd2dd009a98c0fe824ccdbcaf431c
2018-03-05 15:01:45 -05:00
Translation updater bot 3fc2bc58bc Localisation updates from https://translatewiki.net.
Change-Id: I2315053b79bfd2dd009a98c0fe824ccdbcaf421c
2018-03-01 22:41:43 +01:00
Ed Sanders 06af670325 VE: Use different approach for transparent text issue
Deferring the insertions can lead to sync issues, so use
a different technique to selective refresh the CodeMirror
view when the height changes.

This reverts commit 8e3d96f75f.

Bug: T188473
Bug: T185184
Change-Id: I502501cc0325db64f29a67716306733859d102a9
2018-02-28 12:38:44 +00:00
Ed Sanders 9c59f7ede5 Remove unused mode files
We currently only provide modules for
* wikitext
* css
* javascript
* xml
* htmlmixed
* clike
* php

Change-Id: If47827f61043bd2c474ec160af56f651b3cf3af0
2018-02-28 12:24:30 +00:00
Ed Sanders 48e37ce2fc Remove themes, keymaps and addons
We don't support these

Change-Id: Ib237e5b885b8a7ac9fdba36efb1c666c8cbb2619
2018-02-28 12:24:13 +00:00
Ed Sanders 2614d071ad Update CodeMirror to 5.35.0
Change-Id: I4da7497600189b6c87c9fcb829f7876c98bf4929
2018-02-28 12:14:29 +00:00
Ed Sanders cc611f4254 TextSelection: Make chainable methods chainable
Bug: T188119
Change-Id: I40030e1cbd3bc77a0db424d38cd61815deac2e12
2018-02-26 11:47:43 +00:00
jenkins-bot b0ee15034a Merge "VE: Match whitespace rendering of ve.ce.TextNode" 2018-02-25 22:40:46 +00:00
Translation updater bot 0d8e595164 Localisation updates from https://translatewiki.net.
Change-Id: I121efe552a63b7173fe451aacefa18c3c0331756
2018-02-25 22:33:50 +01:00
jenkins-bot 348949d15b Merge "Defer update of CM surface to avoid invisible text" 2018-02-25 20:58:45 +00:00
Ed Sanders 8e3d96f75f Defer update of CM surface to avoid invisible text
Bug: T185184
Change-Id: I0b115d892ab322911c895dda030b77f35cc9195a
2018-02-25 18:05:19 +00:00
Ed Sanders 8b27277b20 VE: Refresh rendering after surfaceReady
Bug: T188215
Change-Id: I4c53f554d8091aa71ce59fe04857b588209639d3
2018-02-25 17:58:32 +00:00
libraryupgrader a1c1164c0d build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Ia17d74f041de692042bffe3e451cab72e0b56062
2018-02-25 07:11:30 +00:00
Translation updater bot 4b9e3f52b1 Localisation updates from https://translatewiki.net.
Change-Id: I4d1f528ab640c29f797cacbee29ccfdf8b349417
2018-02-22 23:21:48 +01:00
Ed Sanders 452d6d0a80 VE: Match whitespace rendering of ve.ce.TextNode
Bug: T187694
Change-Id: Ie27e9862e0f55fcc10af91a2bdd9c5d21d49ddc4
2018-02-19 10:43:53 +00:00
Translation updater bot 29a3801a4b Localisation updates from https://translatewiki.net.
Change-Id: Ib496c7e1faacf8161f0bfe002578aced245e8f03
2018-02-18 22:40:21 +01:00
libraryupgrader 5304ad17ff build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I910bc8a45ed4b8d15d4e2b1472f0300b134ba542
2018-02-17 19:42:45 +00:00
Translation updater bot 621964a9a3 Localisation updates from https://translatewiki.net.
Change-Id: I261a71b97bee10443437101f0eadd775b7803810
2018-02-15 22:47:05 +01:00
libraryupgrader 130844b5e5 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ia818d524d485ffbde84fd65cdd50f5fc8072c182
2018-02-15 09:19:28 +00:00
jenkins-bot 220a68a9f9 Merge "textSelection: Replace encapsulateSelection with replaceSelection" 2018-02-13 17:25:25 +00:00
Kunal Mehta f7e5949334 Move classes into includes/
Depends-On: Idbcb76f54eb57b0a56b46188526858038d698627
Change-Id: I2858e848137336aeabb18513f073bfccf64c0a6b
2018-02-10 09:27:42 +00:00
Translation updater bot b12bf05d6a Localisation updates from https://translatewiki.net.
Change-Id: I4ee68cc3ac0f5098b5634086842e28a0191ddf2f
2018-02-10 09:15:12 +01:00
Ed Sanders 3e0d9773d4 textSelection: Replace encapsulateSelection with replaceSelection
encapsulateSelection is now defined in terms of other methods,
so we don't need to duplicate it here.

Follows on from T185917.

Change-Id: I1f99b3140ed363658ed2724a58c8b34ef20769fa
2018-02-09 10:31:47 +00:00
Translation updater bot da07e5a7bc Localisation updates from https://translatewiki.net.
Change-Id: Ic79a40a1add343b36533dd5c1d5930ed2ba5d89c
2018-02-09 09:41:07 +01:00
Translation updater bot d0eb7d552a Localisation updates from https://translatewiki.net.
Change-Id: I2c648cba00d4e9bc62a9244a2e8340398c841a24
2018-02-07 22:17:23 +01:00
Ed Sanders 86a862a3ac build: Update linters
Change-Id: I13d8ebc6dfa430230a881711f30487e27703c76f
2018-02-04 21:22:17 +00:00
Translation updater bot 6173f77709 Localisation updates from https://translatewiki.net.
Change-Id: Ia75154ea0b0ca6baa8c99c74c1724ca13c51e521
2018-01-30 22:16:31 +01:00
Ed Sanders b05b537744 Simplify textSelection overrides using 'register' and 'unregister'
Also add support for .textSelection() on the .CodeMirror element.

Change-Id: I46ac070ca141c3c2f993bee6ab898c96cb1edd4f
2018-01-30 06:38:50 +00:00
jenkins-bot 4a40c28b12 Merge "NWE: Fix padding in Vector" 2018-01-21 21:47:37 +00:00
Translation updater bot 6eae08bd18 Localisation updates from https://translatewiki.net.
Change-Id: I80282be0014ced8c529b89667666a48287918a51
2018-01-21 22:17:05 +01:00
Ed Sanders e795883f0d NWE: Fix padding in Vector
Bug: T185299
Change-Id: Iea8e61654608259ddc90286aef59014a37e4f44d
2018-01-19 10:13:53 +00:00
Translation updater bot 15e7946415 Localisation updates from https://translatewiki.net.
Change-Id: Ie455990d99cbc1c4e84fac9182aead85ae37aab7
2018-01-14 22:16:57 +01:00
jenkins-bot 6a2d427a9b Merge "Make NWE integration background transparent" 2018-01-04 16:30:52 +00:00
jenkins-bot f3f82ae47a Merge "Fix WikiEditor dependencies" 2018-01-04 16:30:22 +00:00
Ed Sanders 8d998f97ed Make NWE integration background transparent
Allows for VE's placeholder text feature to work.

Change-Id: Ieee01baf3dc049f248a97408af70499dcea8f4c9
2018-01-04 12:37:42 +00:00
Ed Sanders 12d420b7e9 Fix WikiEditor dependencies
Change-Id: Ibaa17e581ada5fcb202217797e70f9fed2510ec4
2018-01-04 12:36:55 +00:00
Ed Sanders 9df6ec9df8 Expect that deprecated mediawiki.toolbar may not be available
Bug: T177098
Change-Id: Icaf51c234981b4572362a0d76bf0b4b6653f3854
2018-01-04 12:35:36 +00:00
Kunal Mehta e3f0df1cfc Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Iddfe5ea4519690d2b14f6a363d87c648a0050e25
2018-01-04 02:55:40 -08:00