Commit graph

901 commits

Author SHA1 Message Date
jenkins-bot 578bb79921 Merge "Run Pygments using Python 3" 2018-01-02 11:38:44 +00:00
libraryupgrader 77ac013073 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: If136f446383a4b7563bf5c6d26c1af64513caf09
2017-12-30 02:52:44 +00:00
Kunal Mehta e50bce1036 Run Pygments using Python 3
Python 2 is dying, <https://pythonclock.org/>, it's time to move on.

The create_pygmentize_bundle script now requires Python 3 to run, and will
generate a bundle with a python3 shebang. Technically the bundle is still
compatible with Python 2 as long as the shebang is modified.

Bug: T182851
Change-Id: Ifb9d0abf092e2c08d9a638a7dda3bda0bc808789
2017-12-27 18:51:19 -08:00
Rafid Aslam 46700b5fdb Add phan configuration for static analysis and fix phan warnings
Add phan configuration for static analysis, and fix phan warnings.
`PhanDeprecatedClass` and `PhanDeprecatedFunction` rules are supressed.

Bug: T179554
Change-Id: I7cbb410ed88ba58198d0557cafd9e6df968ed885
2017-12-25 11:16:49 +07:00
Translation updater bot 2abcdb3b56 Localisation updates from https://translatewiki.net.
Change-Id: I23b9f7ffec95d8ecf6590b3142d2cb9ae24f5425
2017-12-18 23:07:11 +01:00
jenkins-bot 606cec698f Merge "Rename files to match classes" 2017-12-15 05:25:15 +00:00
libraryupgrader c3f97c046c build: Updating mediawiki/minus-x to 0.2.1
Change-Id: Iaede6ca152d740ef35128797105b5c6b800771da
2017-12-11 09:02:46 +00:00
Umherirrender deb5fc0fcf Rename files to match classes
Change-Id: I6e66abdf4f0eff0a24b96e543f2ce8f293bb7860
2017-12-10 01:32:49 +01:00
Ed Sanders 8570ae5d1d build: Update linters
Change-Id: I92f658cdb4806e7b1000c9306114072477fc9651
2017-11-30 21:55:54 +00:00
Reedy 8cc811d9c3 Update symfony/process to ~3.3
Change-Id: I38544e88880311bab8add376cc1f17c6a423684d
Depends-On: I2dc357691d672626c90ee4c4ad696b5862bda764
2017-11-23 12:27:26 +00:00
Translation updater bot e536618ba0 Localisation updates from https://translatewiki.net.
Change-Id: I0d0febc892fe521a08d10310389d58ea0f061dfd
2017-11-10 22:54:25 +01:00
Eddie Greiner-Petter 3abd668325 Add new (unprefixed) CSS modifier user-select
The CSS already has this modifier prefixed with -webkit-, -ms- and
-moz-, some browsers now support this without any prefix (according to
caniuse.com: Chrome 54+, Opera 41+).

Change-Id: Icd67250c26bec61be0fb101f1db077ee13ccf6b7
2017-11-07 19:36:32 +01:00
Kunal Mehta 054302f83c build: Adding MinusX
Change-Id: Ib2b2f09c495f62b458c2c6175e5c0d27b14984ec
2017-11-03 19:49:51 -07:00
Translation updater bot 35facbff5b Localisation updates from https://translatewiki.net.
Change-Id: Ib9d6ca28dc2d4b88a1e302559f55d04618fefe8c
2017-10-23 23:42:47 +02:00
libraryupgrader 2faa7ef9f3 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: If284e34e02d4f678b0ae0d2863d3feb7f8d55d0d
2017-10-21 04:30:56 +00:00
Translation updater bot 18b04cb331 Localisation updates from https://translatewiki.net.
Change-Id: I966c97286ecebc21eb94eb3ddc5708085034ebd1
2017-10-09 23:07:36 +02:00
Umherirrender 1f6ddc4176 Improve some parameter docs
Change-Id: I40589bae00401a5fb253d0261f0f4d881ae37084
2017-10-07 17:16:00 +02:00
Max Semenik 965ddd069e Don't use deprecated function wfShellExecDisabled()
Change-Id: I1dad6068c1691df4b49824b72af01d8508bfe9a8
2017-10-04 14:50:04 -07:00
Translation updater bot 91c94cc025 Localisation updates from https://translatewiki.net.
Change-Id: I8e430b83e9e9ab5581329ada8498763fb630f093
2017-09-24 23:02:32 +02:00
libraryupgrader 365c3627c6 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: Idb1e57b59484b97e9c1b527a95e87e1ec5e069da
2017-09-24 05:33:42 +00:00
Translation updater bot 08ae879ac6 Localisation updates from https://translatewiki.net.
Change-Id: I8cc14afd776b34e43cdd7f4e0439d0daa8e4757e
2017-09-17 22:44:12 +02:00
Translation updater bot d42321cab0 Localisation updates from https://translatewiki.net.
Change-Id: Iffc233f9dc5f629b1bd7a0d4a7a6f9bd62142573
2017-09-13 22:54:01 +02:00
Translation updater bot 962cf3b682 Localisation updates from https://translatewiki.net.
Change-Id: I9f42ef475b890e8992fa9465ff2b4e10a67f2720
2017-09-03 22:37:54 +02:00
libraryupgrader f8a4f8cb0e build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.ClassMatchesFilename.WrongCase

Change-Id: I2781f52be104163ba58e30055bc7593da6ded29a
2017-09-02 08:53:42 +00:00
Translation updater bot 756dcfd354 Localisation updates from https://translatewiki.net.
Change-Id: I3eec7faa176ade38b6fe5ece26f4d7ba3914131c
2017-08-22 09:19:48 +02:00
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