Commit graph

1126 commits

Author SHA1 Message Date
Umherirrender 8bbbdb1eda Use json extension for .stylelintrc
Bug: T173516
Change-Id: Ia7982e756f6cc8c8c6183b6bb55621501cbddacb
2017-08-19 10:30:45 +02:00
Kunal Mehta 1abf516d6a build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I9df860b01a9e99174e4f0f6fe65670dffa548988
2017-08-11 00:34:10 -04:00
Antoine Musso 5c5c386f2c Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:35:51 +02:00
Translation updater bot df5bd73818 Localisation updates from https://translatewiki.net.
Change-Id: Iccb2ccf3f9039a160e97c2f6dba0b73d747a0ff8
2017-07-26 22:54:08 +02:00
Kunal Mehta e700c15b81 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment

Change-Id: I6f0b55e7694cdae1fcdd68b33449db412a656e37
2017-07-23 00:38:40 -07:00
Translation updater bot db9bb3fda4 Localisation updates from https://translatewiki.net.
Change-Id: I530fc68568bef78c0bc93680870df39529a76e94
2017-07-20 23:03:02 +02:00
jenkins-bot e2a986ceee Merge "ce.MWSyntaxHighlightNode: Always generate node contents" 2017-07-17 21:43:31 +00:00
Translation updater bot 430cfa6ebd Localisation updates from https://translatewiki.net.
Change-Id: I1e8481296ae50add94d9f0dd886f2a2eb9d1235a
2017-07-17 23:07:06 +02:00
David Lynch 17c5301995 ce.MWSyntaxHighlightNode: Always generate node contents
Don't bother checking supported languages before generating the node contents.
We always want the preview, as that's what will display on the rendered page
even if the language is invalid.

Bug: T164120
Change-Id: I8344449bbf9c9cce131d745ea5f4e54b96fe57b1
2017-07-17 11:37:05 -05:00
jenkins-bot 58facedd96 Merge "Update build file lists" 2017-07-12 15:44:43 +00:00
Ed Sanders 850a706c0f Update build file lists
Change-Id: I5cc39a2d74fff17b1386b38648569d7a153ddce9
2017-07-12 16:29:44 +01:00
Ed Sanders 7239e4439c Remove redundant multiline option
MWAceEditorWidget is now multiline by inheritance

Bug: T170275
Change-Id: Ie9d8f200b95497bbe91396ea92e29b0d317f010a
2017-07-12 16:28:34 +01:00
Bartosz Dziewoński 8a186b5822 ve.ui.MWSyntaxHighlightWindow: Set $overlay for the ComboBoxInputWidget
* Allows the dropdown menu to extend outside of the dialog.
* Avoid z-index conflicts with Ace scrollbars (T170027).

Bug: T170027
Change-Id: I52d2d06b56391f30be07c71a86d71d9ab50f0a8c
2017-07-11 00:15:38 +02:00
Umherirrender 52548536ba build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Ie3c4add8601ace14b6ff956e1fb451bc2d379860
2017-07-08 11:51:43 +02:00
jenkins-bot 73618fa360 Merge "Make sure $wgPygmentizePath is sane only when we need it" 2017-07-07 23:16:25 +00:00
Kunal Mehta 4f7fc275fb Don't use deprecated Parser::$mUniqPrefix
Change-Id: I3e739427fe90d01f81417cf9dc1e5d13f0edfdf4
2017-07-06 01:09:31 -07:00
Kunal Mehta 987187935c Make sure $wgPygmentizePath is sane only when we need it
This avoids having an extension function, which runs on every request,
regardless of whether it uses syntax highlighting or not.

Change-Id: I890348b73af956819300cce64d0672dcdb209c19
2017-07-06 00:57:40 -07:00
Translation updater bot 311d464032 Localisation updates from https://translatewiki.net.
Change-Id: I5c38a7f41d451e228c55b50b8ac6177ef9552745
2017-06-28 23:13:15 +02:00
Translation updater bot fa6bfb2361 Localisation updates from https://translatewiki.net.
Change-Id: I5bd310cd44bfefa08d448e01147020f627e3ffe9
2017-06-25 23:18:08 +02:00
Umherirrender 038fde9ed1 Use short array syntax
Done by phpcbf over composer fix

Change-Id: I043252a1cce9e51f158e0e27983ed4ae18fcfb42
2017-06-15 18:16:11 +02:00
Umherirrender 62d8ae19d3 Update mediawiki/codesniffer to 0.7.2
Short array syntax will be used in follow ups
to keep this patch set small


Change-Id: Ibfb09fb93a827d2c23060e79d287c963fe149770
2017-06-13 12:22:06 +02:00
Translation updater bot c2fbb735a1 Localisation updates from https://translatewiki.net.
Change-Id: I1044326be3e77fdbb9e1c746c353cd768d086380
2017-06-11 22:44:13 +02:00
Amir Sarabadani 0aa8c451e9 Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: I16d80aa17247ab8d9f3695bd1e1583455481b933
2017-06-07 16:14:47 +04:30
Translation updater bot 6dfcbd3181 Localisation updates from https://translatewiki.net.
Change-Id: I60b7dec6464c370f2b416a09b4e910dde2cc6897
2017-06-06 22:46:59 +02:00
Translation updater bot d2ff4312b9 Localisation updates from https://translatewiki.net.
Change-Id: Ied4b46d452f7bd670af42e0dbde383ca7609c955
2017-06-05 23:17:09 +02:00
Translation updater bot 90e13ecb0a Localisation updates from https://translatewiki.net.
Change-Id: I1f47b6da0269a199f3b1a85dafdd9534837d3106
2017-06-03 22:51:32 +02:00
Translation updater bot 6c1a07d1dd Localisation updates from https://translatewiki.net.
Change-Id: I0e68611f93005aeed40aaadb532e00f4e6c6733b
2017-05-25 22:54:42 +02:00
Kunal Mehta 8db92c2d0c Remove RejectParserCacheValue hook for old GeSHi parser cache
SyntaxHighlight migrated to Pygments nearly 2 years ago, and was
included in the 1.26 release. By now everyone should have cleared their
parser caches, so this hook isn't useful.

Change-Id: Ia267a648ce9188232dd55c6ed3bb2c2fa65223a9
2017-05-21 16:17:18 +02:00
jenkins-bot ca16b1a04a Merge "Remove 'GeSHi' name from composer and npm manifests" 2017-05-21 13:35:16 +00:00
Derk-Jan Hartman e908a9ef43 Remove 'GeSHi' name from composer and npm manifests
Both of these seem to be private, and are therefore easily renamed.

Bug: T164939
Change-Id: I09be0ef0131d31182ed8bb6be221c76dba2c1a53
2017-05-21 13:26:40 +00:00
Translation updater bot b52803dfc6 Localisation updates from https://translatewiki.net.
Change-Id: Idadbb2fb10cdae7c0555bb17bcdfa2ac9e7c642e
2017-05-20 22:54:21 +02:00
jenkins-bot ac1610cbf6 Merge "Remove GeSHi from class and filenames" 2017-05-20 15:18:31 +00:00
Derk-Jan Hartman 45e3085a59 Remove GeSHi from class and filenames
Remove the GeSHi name from filenames and classes where possible. We no
longer actually use GeSHi, and though we cannot rename the extension or
repo atm, we can rename these.

Bug: T164939
Change-Id: I02bc3304d88103c5302f203e788fc73ff20e1050
2017-05-20 14:47:23 +00:00
Ed Sanders 28b480ca0a Pass dataElement type to parent's toDataElement
Ensures the rendering is cached with the correct hash.

Bug: T151130
Depends-On: I80e2f2587cff8e9d9fe6ded5d8581263268deaa8
Change-Id: I64466cc342f7ab7f9d4539f935688d167853a662
2017-05-19 16:06:44 +02:00
Translation updater bot e08865087c Localisation updates from https://translatewiki.net.
Change-Id: I6bc88751e47502ddd1b16004c35ff6dab47efb72
2017-05-18 22:58:04 +02:00
jenkins-bot 09cf5ade29 Merge "GeSHi: Make sure the autoload of Compat doesn't load GeSHi" 2017-05-17 17:40:20 +00:00
jenkins-bot 20bcb7699b Merge "VE: Support editing start line parameter" 2017-05-15 08:52:10 +00:00
Ed Sanders f53d8c2e6e VE: Support editing start line parameter
Change-Id: I869ac413f4d7581026353e2d54f9d22c6b6290f5
2017-05-15 09:49:42 +01:00
Translation updater bot ec5ab37b56 Localisation updates from https://translatewiki.net.
Change-Id: I43c9494e6840aa6b6745138ea84427410cb376fe
2017-05-14 22:44:47 +02:00
Translation updater bot 1e94d9d74a Localisation updates from https://translatewiki.net.
Change-Id: If9fbe83386e16b6474a7f8ab9595fbd1d0f71eb8
2017-05-13 22:43:21 +02:00
Derk-Jan Hartman 0fa395c72d GeSHi: Make sure the autoload of Compat doesn't load GeSHi
Bug: T139594
Change-Id: Ib8c78f6f1da9750e0429f7bcf29b8dcb5ecca8a1
2017-05-13 15:14:05 +02:00
Translation updater bot b45d5f7797 Localisation updates from https://translatewiki.net.
Change-Id: Ie1e535b3582a7a0c9b8d1a3a747d5e57fdb27c24
2017-05-12 23:15:53 +02:00
Translation updater bot 32c09c63c5 Localisation updates from https://translatewiki.net.
Change-Id: I7771fea861d4146b7f9f089d1716634a5e4e4913
2017-05-11 23:33:36 +02:00
Derk-Jan Hartman 39f0b85229 Do not extend GeSHi class with private modifications
Our GeSHi class is intended for other extensions making use of GeSHi.
However other libraries or extensions can bring their own GeSHi to the
classloader. In those cases, we cannot find our private modifications
like $compatibleLexers on this class. Instead use
SyntaxHighlightGeSHiCompat for our privact modifications and keep GeSHi
closer to the original implementation.

Bug: T139594
Change-Id: I5c2ba9dfb08ec31f6b5cfd90083cbae0ae0ac3c4
2017-05-11 18:11:25 +00:00
Antoine Musso 5ee2deb6d8 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:02 +02:00
Ed Sanders cd179bd702 build: Update eslint to 0.4.0
Change-Id: I0ea71dce95df6836c3a1dfecf4adedc7b1ae9f2f
2017-05-04 21:59:49 +01:00
Translation updater bot 57d57b541d Localisation updates from https://translatewiki.net.
Change-Id: If590bed3ba822edd1849a57f38da7573419c00a3
2017-04-29 23:28:19 +02:00
jenkins-bot 011d537f75 Merge "Add fix phpcbf command to composer.json" 2017-04-29 07:14:16 +00:00
Umherirrender ed7f1f6dc4 Add fix phpcbf command to composer.json
This allows to use the phpcbf easily

Change-Id: I76b14ace9fb95bf2ae30bfd56c41019c88c862ac
2017-04-28 23:57:37 +02:00
jenkins-bot 9c35a4cd08 Merge "Avoid background when the content is narrow" 2017-04-28 21:07:45 +00:00