Commit graph

810 commits

Author SHA1 Message Date
jenkins-bot f53f47b8b1 Merge "Use Ace editor widget for code input" 2015-10-22 15:47:13 +00:00
jenkins-bot 89c96e67a6 Merge "Use dialog for editing block level syntax highlights" 2015-10-22 15:47:10 +00:00
jenkins-bot efe8a78991 Merge "VE: Remove unnecessary validation check" 2015-10-22 15:39:36 +00:00
jenkins-bot 465788c2de Merge "VE: Focus, but don't open, language input on open" 2015-10-22 15:39:25 +00:00
jenkins-bot f7dd0d5536 Merge "VE: Update renamed CSS class to restore fixed width font" 2015-10-22 15:39:08 +00:00
Ed Sanders e127b3162b VE: Add '<syntax' and '<source' sequences
Change-Id: Ie087fd665f527ea13254576ee07ebd029a1803ea
2015-10-22 11:56:48 +01:00
Aaron Schulz 7d889f6368 Conversion to using newer WAN cache class
Change-Id: I7e1dd2bf67fa80af20613b9136329b83e17e83cc
2015-10-21 21:46:37 -07:00
Ed Sanders 826c2cba40 Use Ace editor widget for code input
Depends on Ie483f6eba2 in ve-mw.

Bug: T49742
Change-Id: Ifaff6a5345fef92aba57b4fc00181f5b32cf7365
2015-10-21 17:32:15 +01:00
Ed Sanders 3a42016be0 Set tab size to 4
Bug: T115284
Change-Id: Ib709ffd72bad20db6282a4f32175d8062f4d2e25
2015-10-20 15:26:25 +01:00
Ed Sanders 0f10206cf2 Use dialog for editing block level syntax highlights
Maintain the inspector for inline snippets (which are editable
but still not creatable).

Bug: T112617
Bug: T57934
Change-Id: I76e36590363d36c0d3db4ec28ce81c4860d9b467
2015-10-20 15:16:11 +01:00
Ed Sanders 10b6dee5a2 VE: Remove unnecessary validation check
Change-Id: I7cc68eaead398ed97baf620142386f8e0bab4fb9
2015-10-20 15:16:11 +01:00
Ed Sanders 30a98dcbcd VE: Focus, but don't open, language input on open
Bug: T112798
Bug: T114202
Change-Id: Id70e8baea3687d5cd57ff3f45b5f332098451b7d
2015-10-20 15:16:05 +01:00
Ed Sanders 115fc92bfc VE: Update renamed CSS class to restore fixed width font
Change-Id: I029cfdfc5eabb8358b7c3b0274f4e759134a3af5
2015-10-19 13:51:03 +02:00
Translation updater bot 29c9d4807e Localisation updates from https://translatewiki.net.
Change-Id: I736a0bdb1715581b351544a5baf10aee5c39b9a4
2015-10-15 21:33:05 +02:00
Kunal Mehta c68dcbd75e Make SyntaxHighlight_GeSHi::highlight() public
So other extensions (e.g. EventLogging) can use it as a public API
instead of having to use the backwards-compat prepare() function.

Change-Id: Iae0cfb838018fc6111feb03c22fb910314387e38
2015-10-14 20:20:05 +00:00
jenkins-bot bff9f1ca4c Merge "build: Updating development dependencies" 2015-10-13 18:47:28 +00:00
Ed Sanders 30cdc51e11 Add missing linebreak
Change-Id: I92260974732643f7f14eca245ba21d94c175ac22
2015-10-13 14:21:56 +01:00
Siebrand Mazeland 01336da011 Update indentation to use tabs
Change-Id: I0657f03f522dd17c4d6cd003f57194ef98a5e097
2015-10-13 08:53:39 +02:00
Kunal Mehta 7c5aa419fe build: Updating development dependencies
* grunt-banana-checker: 0.3.0 → 0.4.0

Change-Id: Id8397a87cadc21cb708b949bfdc212471e7f2276
2015-10-11 12:00:50 -04:00
Translation updater bot 699d4ab731 Localisation updates from https://translatewiki.net.
Change-Id: I09ec4b748fdc926c7cbd934a248a6e8b30e32a88
2015-10-08 23:09:27 +02:00
Translation updater bot cf5d54220c Localisation updates from https://translatewiki.net.
Change-Id: Icf10a3d8cc00c8f4a90af8ae8e87604b6027b91b
2015-10-07 22:03:17 +02:00
paladox 96806a8f39 Update mediawiki-codesniffer and parallel-lint settings
Change-Id: I34446a973c2e07add2d0e573e9dfec6fb49d60a9
2015-09-29 01:45:26 +02:00
paladox ee3896a51c Add php code sniffer to SyntaxHighlight_GeSHi
Requires https://gerrit.wikimedia.org/r/#/c/225035/

Change-Id: If46b56fa8aa26b03890274ac772110eba9519f8d
2015-09-27 21:16:58 +02:00
Ed Sanders 532fb50436 build: Update CSSLint from 0.4.0 to 0.5.0
Change-Id: I8f9458b3ed01ef1676cb5064d71138d30fe3d215
2015-09-18 16:03:22 +00:00
Ed Sanders ddd1c496a0 build: Update grunt-banana-checker from 0.2.0 to 0.3.0 and make pass
Cleanup old messages

Change-Id: I413ccacabf9144025a4d7e6704c32428fd7c8045
2015-09-18 16:02:41 +00:00
Ed Sanders c0482fe738 build: Update JSCS from 1.8.0 to 2.1.0 and make pass
Change-Id: I3b26c3cba814dcc8691f9f1ac04eb7dcc996f185
2015-09-18 16:01:40 +00:00
Ed Sanders 359c060eb7 Rename modules/VisualEditor to modules/ve-syntaxhighlight
Per new naming convention.

Change-Id: I0db6f70c2d7671eb9c25a6ff7eecf46eafb696d2
2015-09-18 12:14:39 +01:00
Alex Monk de31d8d7f1 VisualEditor integration: Fix handling of (None) language
Change-Id: I6a5ca5db218d8497eed5dfb61b5a5acb4bb0c122
2015-09-16 20:23:54 +01:00
Ed Sanders 8212ef5609 Split nodes into block/inline
Bug: T103963
Change-Id: Ib0390d6432fe97810988be3aca59ba38c0d55b64
2015-09-16 17:23:48 +01:00
Translation updater bot 196c6aca20 Localisation updates from https://translatewiki.net.
Change-Id: I9f57e7c951b7ae27e0bcfc69a379f226cdc12c6e
2015-09-13 22:15:14 +02:00
Translation updater bot 8fc1e6b77a Localisation updates from https://translatewiki.net.
Change-Id: I69b24e722f11deda86dd6ea081fc45d77cb082b1
2015-09-05 21:09:38 +02:00
Translation updater bot 49164edf30 Localisation updates from https://translatewiki.net.
Change-Id: I6cb052058b64a7c8683b932143dfca55c400d792
2015-09-04 21:53:46 +02:00
jenkins-bot 9e7528d843 Merge "build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue" 2015-09-03 21:28:35 +00:00
James D. Forrester d18769d947 build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue
Change-Id: Ie17e55a0137fa0a03f275f117a8889b7a0cf9f16
2015-09-03 14:19:08 -07:00
Translation updater bot 36a8a14837 Localisation updates from https://translatewiki.net.
Change-Id: Ib9b1bb8c1f39998c5150e2f9cb3bb09c3a3fddc4
2015-09-03 20:39:48 +02:00
Translation updater bot 510e4ee022 Localisation updates from https://translatewiki.net.
Change-Id: Ieee48540417043260f860b398bd6b2284aac195a
2015-09-02 21:38:54 +02:00
Translation updater bot e6e6ac7168 Localisation updates from https://translatewiki.net.
Change-Id: I22ec16be1ca80fa53991b3337b17da27ad7d4db5
2015-09-01 21:45:50 +02:00
jenkins-bot ea73550cc1 Merge "VE integration: Fix regression in Ic84c5afb" 2015-08-31 18:41:24 +00:00
Translation updater bot 5e4bffe597 Localisation updates from https://translatewiki.net.
Change-Id: Ie53cb2a1817ee46aef3b977bdfe81b68043d0d11
2015-08-30 21:11:08 +02:00
Translation updater bot 8dad6f06e8 Localisation updates from https://translatewiki.net.
Change-Id: I2374613cd533686061ab49dc786eb6eb0316b760
2015-08-29 21:47:13 +02:00
Translation updater bot 5b2531e83d Localisation updates from https://translatewiki.net.
Change-Id: I5248b3d653b85314df17ea327867b0b0d4f45026
2015-08-28 21:54:44 +02:00
Alex Monk 910ea5a6c9 VE integration: Fix regression in Ic84c5afb
Calling clearItems().addItems like this was super slow and broke autoEllipsis.

Bug: T103756
Change-Id: I398ae5b0fda00a559d742660fa930710174117b2
2015-08-28 19:04:15 +00:00
jenkins-bot 5856688105 Merge "VE integration: Provide a combobox for language input" 2015-08-28 11:57:27 +00:00
Alex Monk 0a59b4ccb1 VE integration: Provide a combobox for language input
Bug: T103756
Change-Id: Ic84c5afb1cf83cce6fa521a99f5fee242bc610b1
2015-08-27 03:24:07 +01:00
Translation updater bot 3710114d3a Localisation updates from https://translatewiki.net.
Change-Id: Ic1b2e5433bfe9e3dd75d29444c1a037c108d8c7e
2015-08-24 21:34:53 +02:00
Translation updater bot 7961b1b9dd Localisation updates from https://translatewiki.net.
Change-Id: I15d5e871c153698141c8850e4890ca2d85eef94b
2015-08-23 21:39:39 +02:00
Timo Tijhof 58c966e104 Revert "Don't top-load CSS" (causes FOUC)
This reverts commit 024d62be45.

Loading this in the bottom causes a flash of unstyled content
in Chrome on MediaWiki-namespace CSS/JS pages where the text is
first black un-bolded on a grey background and then re-arranges
with bolding in a few places (visually widening some pieces of
text and bumping them over). This is visually distracting and
somewhat confusing.

There are upcoming plans to collapse the stylesheet queue (and even
the dynamic load queue). Let's start with the ones that are actually
causing FOUCs like this one.

Impact should be minimal as it only affects pages where this
module is loaded.

Change-Id: Iaf1ce5e5b8cff56e987581a3dbe7f24460badde2
2015-08-20 23:44:36 +02:00
Translation updater bot ff14349e9b Localisation updates from https://translatewiki.net.
Change-Id: Ie0653bdec3c1e56b670a3d8020363bd8959d6624
2015-08-18 21:22:47 +02:00
Translation updater bot 72c69947a8 Localisation updates from https://translatewiki.net.
Change-Id: Ia8d73e3a31ea8f2159bd8bae02ce8369debe7b20
2015-08-17 21:13:40 +02:00
Translation updater bot abad8ef316 Localisation updates from https://translatewiki.net.
Change-Id: Icb1931f22cb0f60f080509547d06a3dac8b5c872
2015-08-16 21:57:08 +02:00