Commit graph

682 commits

Author SHA1 Message Date
Alex Monk 37ff7c6709 VE: Ensure ext.pygments module gets loaded when a user adds a syntax highlight node
Otherwise it won't get styled unless VE was loaded on a read page with one existing.

Bug: T60388
Change-Id: I32c02eda1e7dca077340c2bf3c15aadad7e3b61a
2016-09-20 22:24:40 +00:00
Translation updater bot 5d7c0037ce Localisation updates from https://translatewiki.net.
Change-Id: Ia8336c3fc2d99b7295a94573a6c0276608bdb969
2016-09-06 22:46:58 +02:00
Translation updater bot 9c18aac2ad Localisation updates from https://translatewiki.net.
Change-Id: Ia1f11cf0b62218ae1b52580b0e4eea3bc4aacc50
2016-09-02 22:57:42 +02:00
Translation updater bot 56134fe3be Localisation updates from https://translatewiki.net.
Change-Id: I0fe6bff9fc4da6e0994a7fa134b2f75bdc763d14
2016-09-01 23:27:41 +02:00
Translation updater bot 7f7f67eabc Localisation updates from https://translatewiki.net.
Change-Id: I5c1056159b2937406c32e13d3597c029c18f453c
2016-08-28 22:42:00 +02:00
Translation updater bot 276e2bb966 Localisation updates from https://translatewiki.net.
Change-Id: I696a957748eb196968741bd08519a571b02e6c11
2016-08-25 22:39:31 +02:00
Translation updater bot 1fca7d954e Localisation updates from https://translatewiki.net.
Change-Id: I7aae3f5a7762d9222828a735a41a537ebc5c3474
2016-08-12 23:15:41 +02:00
James D. Forrester ea982549bc build: Fix stylelint devDependencies
Change-Id: I2f808a911ab88ccc00d20a9bdf172922f2d6ba12
2016-08-05 10:54:50 -07:00
Translation updater bot 164647176f Localisation updates from https://translatewiki.net.
Change-Id: I941c5d4ba212354d2290dac813e052f18d515ece
2016-08-04 23:30:15 +02:00
Chad Horohoe 3a017611da Add missing LICENSE and AUTHORS files
Bug: T138157
Change-Id: I9b1430c983f0ca6fea0bb0354796cffcff0030bb
2016-06-27 11:43:24 -07:00
Kunal Mehta 907e8cddb7 Add pygments/AUTHORS file
Since it's mentioned in the PYGMENTS_LICENSE file

Change-Id: I02a19e3a36fdb6e7cb52bb9a672261c74b4351d9
2016-06-16 18:36:02 -07:00
Ed Sanders ffe4b8729d Update stylelint and stylelint-config version
Remove grunt-cli and included by grunt.

Change-Id: I940f90b92a80306f7a7693cab3174edc48aff7fd
2016-05-24 14:50:05 +01:00
Brian Wolff 8714354068 SECURITY: Replace strip markers before syntax highlighting
The raw strip markers can't be syntax highlighted properly anyhow.

Bug: T51256, T110143, T78456
Change-Id: I822fa2bbfde790df22c00bb87819c9027fb5dcc9
2016-05-20 10:21:06 -07:00
Ed Sanders 0e81494e4c Fix watch path for css
Change-Id: I4cfc08ccc3d03cfbcdfd9b83cfe31c1148f849fc
2016-05-20 13:58:01 +01:00
Ed Sanders d679469840 Introduce stylelint
Change-Id: Iea4d20abb8aa9d656639c8e128df0e963291cace
2016-05-19 17:44:00 +01:00
Brian Wolff f85be74e33 Fix parser tests for core commit ee4d5c6eed (removal $wgWellFormedXML)
Change-Id: Iac351ced0154c0c3c61f47a0e8ef0b9166fc0811
2016-05-16 06:02:39 -04:00
Translation updater bot c7eb8c35d4 Localisation updates from https://translatewiki.net.
Change-Id: Iff38cbdc4e749659d2bcdfc279970fa327e18078
2016-05-12 22:17:22 +02:00
jenkins-bot 62faf79f45 Merge "Add language mapping for geshi apt_sources to debsources" 2016-04-19 15:59:47 +00:00
Translation updater bot bce3434700 Localisation updates from https://translatewiki.net.
Change-Id: I14f43acd89fcbc46690ed3be8f2be0c01a7ff869
2016-04-14 22:37:53 +02:00
Translation updater bot 3c73da0dfe Localisation updates from https://translatewiki.net.
Change-Id: I9100ccad32fab263fe3a2c0c990c0f7ca04dda23
2016-04-12 22:58:02 +02:00
jenkins-bot 09577225fb Merge "Prevent selecting line numbers in syntaxhighlight" 2016-04-12 16:10:27 +00:00
jenkins-bot 7bb06997dc Merge "VE: Preserve context when calling parent static method" 2016-04-12 15:09:27 +00:00
Ed Sanders f285f9e8c5 VE: Rename parent tool
InspectorTool is a deprecated alias.

Change-Id: If96a623cf260b01dad53e888ff111728b529ceec
2016-04-12 15:05:03 +01:00
Derk-Jan Hartman ccce9fdf53 Prevent selecting line numbers in syntaxhighlight
This works most of the time in modern browsers.

Bug: T131227
Change-Id: Iaad1568f55556c8dd0f465b555ce868498d71828
2016-04-11 14:25:40 +02:00
Derk-Jan Hartman 55c8628d47 Add language mapping for geshi apt_sources to debsources
Bug: T132310
Change-Id: Ic2081d710e28cb603b59d4f4a8fa1fe25ca4d877
2016-04-11 13:30:17 +02:00
Reedy 79dcd57ee8 Update symfony/process to ~3.0
Change-Id: I4f8c1e789ed706074c229e06374f38b9abaa15f5
Depends-On: I99661d2770329a54195b07e894c6a29a9397c87d
2016-04-02 20:57:52 +00:00
Translation updater bot 6b3e5602d4 Localisation updates from https://translatewiki.net.
Change-Id: I0cc44ae8f13d74226423bdc8a898d7d1d1257618
2016-04-01 22:29:29 +02:00
Ed Sanders 635ef9c4c0 VE: Preserve context when calling parent static method
Change-Id: I32e9c13d549f8f13ca50cf8d244f0dfbc3f3bb8d
2016-04-01 12:59:32 +03:00
Translation updater bot 65f0213a7c Localisation updates from https://translatewiki.net.
Change-Id: Iabdf74c6504c9343dfacf3d635c66ad5e39817c1
2016-03-14 22:54:13 +01:00
Translation updater bot 23b1cb4e9f Localisation updates from https://translatewiki.net.
Change-Id: I39ea2a8cba6c44ef11420fcb3495eef657344e29
2016-03-11 22:17:51 +01:00
Ori Livneh 99d336d567 Update VERSION file automatically when updating pygmentize bundle
Make the create_pygmentize_bundle script automatically update VERSION.

Change-Id: I48654aa71d9ccc08f866415c1a81b3e80cc95be2
2016-03-03 11:44:01 -08:00
Translation updater bot 822ede66cb Localisation updates from https://translatewiki.net.
Change-Id: I285fcc54eeaa51bd152540bdc0ec52f2fbd5daae
2016-02-20 22:24:47 +01:00
Translation updater bot c809aef0e4 Localisation updates from https://translatewiki.net.
Change-Id: I99d2c7793ab93f6b76153205a348d5fa17eaf784
2016-02-08 22:16:27 +01:00
Ed Sanders fbdf65a344 VE: Fix primary command on SH nodes
This fixes the double-click/press-enter to edit functionality.

Change-Id: I275c505d8a3abb7d7e3686ffacf52e54235241e7
2016-02-07 23:31:16 +00:00
jenkins-bot 872714bbe1 Merge "Reintroduce 'emacs-lisp' as an alias for the Emacs Lisp lexer" 2016-02-04 04:33:09 +00:00
Ori Livneh c47fb10767 Remove duplicate values from the lexer list
Update the updateLexerList.php maintenance script so that its output contains
no duplicate values, and remove existing duplicates from the lexer list.

Change-Id: I1ee094bb73f1a3916530e533ba3d151e50b34ce3
2016-02-03 17:30:01 -08:00
Ori Livneh e2ac12a7c4 Reintroduce 'emacs-lisp' as an alias for the Emacs Lisp lexer
'emacs-lisp' was an alias for the Emacs Lisp lexer.
It got dropped in Pygments commit 811926b, probably by accident.
So, declare it as a compatability alias until it is restored upstream.
Upstream bug: https://bitbucket.org/birkenfeld/pygments-main/issues/1207

Change-Id: I25c0e75a337c623529705c45bee0dc13dfdfd92c
2016-02-03 14:33:39 -08:00
Ori Livneh 5d99d54626 Update pygments bundle to 2.1
Changelog:
https://bitbucket.org/birkenfeld/pygments-main/raw/7614bf7/CHANGES

Lots of new lexers: Emacs Lisp, Arduino, Modula-2 with multi-dialect support,
Fortran fixed format, Archetype Definition language, Terraform, Jcl,
Easytrieve, ParaSail, Boogie, Turtle, Fish Shell, Roboconf, Test Anything
Protocol, Shen, Component Pascal, SuperCollider, Shell consoles (Tcsh,
PowerShell, MSDOS), Elm and J, Crmsh, Praat, CSound, Ezhil, Thrift, QVT
Operational, Hexdump, and CAmkES Configuration.

Bug: T125581
Change-Id: Ie881af3d1dff23f08ccc9cbcf5f94a084fa561e1
2016-02-02 15:17:25 -08:00
Reedy ce5cee30e0 Minor unindent
Change-Id: Ie62d0822e2a853164d0c37aed47704a2fe8c08a2
2016-01-31 09:43:42 +00:00
Translation updater bot 48d15918ea Localisation updates from https://translatewiki.net.
Change-Id: Id3ed23fd5b312bf11e362d86770aa1e6913f8773
2016-01-23 22:29:31 +01:00
Translation updater bot 1948282e9b Localisation updates from https://translatewiki.net.
Change-Id: I6e5a42b93fe9ea5f02c662f36c8d8430eb65cf45
2016-01-21 21:55:58 +01:00
Kunal Mehta 03bbdd8a2e Use load_composer_autoloader
See Ib031bef17c8a7d708a5c7878e74967d19217bbc8

Change-Id: If7fff2476382853426fa61b5c878f0c6f6b9d0a8
2016-01-14 19:59:28 +00:00
Translation updater bot 1a315248ac Localisation updates from https://translatewiki.net.
Change-Id: I2e9ade76b29188317cdabacc418a7cb4b28b1879
2016-01-12 22:48:28 +01:00
Reedy 0983a55488 Update symfony/process to ~2.6
Depends-On: I99d551cd89b38a25943080690165344cf973dce7
Change-Id: Ia959f51c4327412b0604a9ecf537dbb07cbeb87d
2016-01-12 00:51:43 +00:00
Translation updater bot 0f5208aa4d Localisation updates from https://translatewiki.net.
Change-Id: I0093c90ae4387b23169686b7f86cc585dfe5a83e
2016-01-11 22:54:10 +01:00
Kunal Mehta 8b876b8bbc build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: If16a3bea816ccf476bff8d495a112438be264366
2016-01-05 10:41:02 -08:00
Kunal Mehta bc7c897fcd build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: I1b9d9e24ef9788582a42d4368b21e5c9a676f85e
2016-01-03 18:53:25 -08:00
Translation updater bot 488b8caf14 Localisation updates from https://translatewiki.net.
Change-Id: I9e31e934425e07f0adb29dddfead75e8fc566ca1
2015-12-30 21:45:18 +01:00
Kunal Mehta e77d695e45 build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I9a464828f6d4ab6d5e30acb39a9528e23bc8cdba
2015-12-29 11:56:27 -08:00
Florian 3203eaf554 Fix inheritance of ve.ui.MWSyntaxHighlightDialogTool
From the description of the commit message[1] for WindowTool (which replaces
DialogTool) and FragmentWindowTool, the
ve.ui.MWSyntaxHighlightDialogTool should be a FragmentWindowTool,
and not a WindowTool/DialogTool.

In fact, the bug is caused by the missing isCompatibleWith method
in WindowTool.

[1] I3a0e761f0d6e942d503ec

Follow up: I676af9c50b09ef007926240eb2327d1a0fdd80f5

Bug: T121596
Change-Id: I0fa440d845c1dea34b623de0a36fb57cebf60f78
2015-12-19 01:27:14 +00:00