Commit graph

874 commits

Author SHA1 Message Date
Kunal Mehta ab5ce23881 Remove tidy workaround for armoring tabs
RemexHtml does not mangle tabs, so we don't need to armor them! We'll
now output literal tab characters, so this does change the HTML output,
but does not have any visual change.

Depends-On: Idf246d05d116f63a73105b50a1929a7721fbe7b9
Change-Id: I2ba871acf9ff5fdc81c13e03eee3a8fe670e1f0f
2018-09-18 21:30:20 +00:00
Kunal Mehta 61a6b2c8c2 Add parser tests for tabs and tidy
These tests cover the fixes for T32930 and T59826.

Change-Id: I944b55c7668ac3dd11ba872ba8077ba188ed55e2
2018-09-07 18:19:13 -07:00
C. Scott Ananian 14e3167406 Use MWTidy::isEnabled() instead of deprecated $wgUseTidy
The $wgUseTidy global has been soft-deprecated since MW 1.26, which is
when MWTidy::isEnabled() was added.  This extension currently requires
MediaWiki >= 1.32 according to extension.json.

Change-Id: Ie30c9174e6e3b60bce5a692296a9de1e30192e2c
2018-09-07 17:12:45 -04:00
Translation updater bot 7ca4562813 Localisation updates from https://translatewiki.net.
Change-Id: I42fb59a90ccd5647486ec9f47812e3b5b8024409
2018-09-07 09:03:03 +02:00
Translation updater bot 458f121f51 Localisation updates from https://translatewiki.net.
Change-Id: I7ac03a5ca21ff4836a378944512070b439f37a0b
2018-09-06 09:02:13 +02:00
jenkins-bot 9e43d1fd2a Merge "build: Updating mediawiki/mediawiki-codesniffer to 22.0.0" 2018-09-04 04:49:46 +00:00
Translation updater bot 62a57b1ece Localisation updates from https://translatewiki.net.
Change-Id: I26e6fd91a4c6fccebcd29c78c415eb8416bd5289
2018-09-03 22:15:37 +02:00
libraryupgrader 74dbf4bba9 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I1c75e007be52cd22d0a72d228e56a3a9683fbb58
2018-09-03 19:50:49 +00:00
libraryupgrader f83a48bcf2 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: Ied8ec59045f75be8a30d2dedf10a07e814927c0c
2018-09-01 14:40:28 +00:00
Translation updater bot 6c7a344a4c Localisation updates from https://translatewiki.net.
Change-Id: Icbf2d3fc69c3aaca7ed13f399bdf2d6112f4399c
2018-08-28 22:23:07 +02:00
Translation updater bot a57fef70f6 Localisation updates from https://translatewiki.net.
Change-Id: I493ba1be6e7aabdcb8a33ae010ec770f5e856f0e
2018-08-26 22:32:55 +02:00
libraryupgrader d282060a1b build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ie8a12ca690d46e826c5f56f6a1f2e06b36f607c3
2018-08-19 16:54:29 +00:00
jenkins-bot 864ac9f747 Merge "Use StaticArrayWriter class" 2018-08-18 06:25:14 +00:00
Kunal Mehta 1b69c56433 Use StaticArrayWriter class
Bug: T200626
Depends-On: I022c074e8a708fb5219bc4ff4b53e7e31f60dc4b
Change-Id: I601073639ea8bc0ef85de55889aaf0b433c23088
2018-08-17 22:39:18 -07:00
Translation updater bot 93ed7e732c Localisation updates from https://translatewiki.net.
Change-Id: Ibc9995ebf0e7fc8e12509ff2605992dbaa91f5bd
2018-08-17 23:36:48 +02:00
Translation updater bot 54d8725c1e Localisation updates from https://translatewiki.net.
Change-Id: If824034321b35257cf176b05d64c6f87bc8b7e1c
2018-08-12 22:17:58 +02:00
Translation updater bot cce338feda Localisation updates from https://translatewiki.net.
Change-Id: If3261721bd6dc4b0cde2010f77764b35fb2c2ac1
2018-08-10 22:19:04 +02:00
Translation updater bot 181f16e423 Localisation updates from https://translatewiki.net.
Change-Id: Idfa312b309fc15bead6e240da7ed066053cb3ff6
2018-08-06 22:22:40 +02:00
Umherirrender 384331ae49 Removed unused function lang_filter
Have not found usage as callback

Change-Id: I67cdfb68b29e5d7879be3902cf2f63e984c3e43f
2018-08-06 17:26:34 +02:00
Kunal Mehta 27b6687848 Use wfMakeStaticArrayFile()
wfMakeStaticArrayFile() expects an associative array, so let's take this
opportunity to turn the lexer list into one with true as the value. This
allows us to use isset() instead of the slower in_array() when checking
to see if a lexer is known.

Bug: T200626
Change-Id: I7a852ddbcfa7c8ed19ac933205cabd176b20d0cb
2018-07-28 21:29:57 -07:00
libraryupgrader 99ebac4719 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.NestedFunctions.NestedFunction

Change-Id: I973d59e297446754203ffe0217b1a7902c868aa0
2018-07-27 19:59:47 +00:00
Translation updater bot 4a8affffee Localisation updates from https://translatewiki.net.
Change-Id: Id2206c65dfd548b8a0e4db510b66a13a7344446b
2018-07-24 22:10:07 +02:00
Translation updater bot f017c5d4be Localisation updates from https://translatewiki.net.
Change-Id: If4508774bf8037ac4e45ad6dd9db095571c1ece9
2018-07-22 22:09:16 +02:00
Brad Jorsch 41466e274b Update parser test for core change
I42e747f1 stopped changing a regular space before percent-escapes (like
"%25") to a non-breaking space in certain cases, causing tests to fail
where they were expecting that non-breaking space. Update the test to
match this new behavior.

Bug: T199647
Change-Id: If5d90e5701f240b1bc71a3c3458e952e0e2c7df4
2018-07-16 09:23:25 -04:00
Translation updater bot e19850baf0 Localisation updates from https://translatewiki.net.
Change-Id: Ia0f308ed6c03b6565da8a9dd810a995b3f101daa
2018-07-09 22:11:21 +02:00
Translation updater bot ba5e812419 Localisation updates from https://translatewiki.net.
Change-Id: If3bdbcccca072f429270144e7407a96ec54339fb
2018-07-05 22:44:09 +02:00
Translation updater bot 17a3c87c77 Localisation updates from https://translatewiki.net.
Change-Id: Ia5910730d22ef6d721d408d4a43e0414990a8520
2018-06-28 22:21:37 +02:00
Translation updater bot 7a4e03aa26 Localisation updates from https://translatewiki.net.
Change-Id: I3cac94b2b195366ad9178745cba064e5c3630813
2018-06-27 22:20:27 +02:00
Translation updater bot 237ecf0997 Localisation updates from https://translatewiki.net.
Change-Id: I44286b957d69dd0bd14b33f0ff1b7803d191d067
2018-06-11 22:34:23 +02:00
Kunal Mehta 1755781a3c Don't manually suppress PhanDeprecatedClass
Already disabled by default in mediawiki-phan-config 0.3.0.

Change-Id: I2ad9dbefd6c167429100070b834fcbdbb216008f
2018-06-08 13:44:56 -07:00
libraryupgrader 1d40165020 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: Iffc33d0ee9f76984d43b1c93a16723de70bd00ac
2018-06-08 07:49:40 +00:00
Translation updater bot ccca6e1181 Localisation updates from https://translatewiki.net.
Change-Id: I78babf031fd8cdab733a0991c3f77148e12e4561
2018-05-29 22:25:15 +02:00
libraryupgrader 47a386085f build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I1bb12732540cda91444d1f4b7e0e11fca825243b
2018-05-26 06:39:32 +00:00
Translation updater bot cdfb33807f Localisation updates from https://translatewiki.net.
Change-Id: I43a7b006a106cec5457e8b67357ecff6e53a6493
2018-05-13 22:18:35 +02:00
Translation updater bot d100f484b6 Localisation updates from https://translatewiki.net.
Change-Id: I20f077995488abc837d0aeb808978f167a57d71c
2018-05-06 22:22:53 +02:00
Kunal Mehta b185d9892f Upgrade phan-taint-check-plugin to 1.2.0
Change-Id: I2fa1c622dc495e3f4969d7684934f1839f9caf00
2018-05-04 20:01:48 -07:00
Gergő Tisza cc44c3c7a8 Add notice about resource loading to highlight()
Co-Authored-By: Timo Tijhof <krinklemail@gmail.com>
Change-Id: Ide7ab4b84d1aacad2db8400de9e350a09c80e8c0
2018-05-01 09:17:58 +00:00
Translation updater bot 772d658f99 Localisation updates from https://translatewiki.net.
Change-Id: Ibcedb8264be6f57afe0e438175fab4f510265b75
2018-04-21 22:15:49 +02:00
Translation updater bot d415ae2dae Localisation updates from https://translatewiki.net.
Change-Id: I9c776881b46a46fa8c55a931df4fca62e212e356
2018-04-19 22:14:01 +02:00
libraryupgrader 613e8464b0 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I7950c319ca6a496ae57702bdebb05c0a96421646
2018-04-14 06:59:16 +00:00
Jayprakash12345 a79bf7638c Update extensions to take advantage of parser test autodiscovery
Bug: T170037
Change-Id: I99e68197bbe0438c7a5a55815e8000f4deb49234
2018-04-13 15:25:52 +00:00
Translation updater bot 7538b7aefc Localisation updates from https://translatewiki.net.
Change-Id: I118728e3923b13a68a00d47d7d9aabafc074f86e
2018-04-10 22:15:49 +02:00
Kunal Mehta 0615fe8444 build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: I1e5dc6d8fd131db8dd3296337ee73ae07b42f931
2018-04-05 17:23:15 -07:00
libraryupgrader 90212e691e build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Id89128fd4da73a71ac818d1943fe172f20b07938
2018-03-29 06:04:38 +00:00
Ed Sanders af1a91ade9 Use OOUI 'markup' icon instead of VE's deprecated 'alienextension'
Change-Id: Iad1882c20c17792c1339cf9922b9c4c43bf6122b
2018-03-20 19:00:41 +00:00
James D. Forrester df6eec698e Parser tests: Update for breaking whitespace change in MediaWiki core
Changed as part of T157418.

Change-Id: I2b71eed948fe211389fb3ac166f04cd39d118328
2018-03-20 11:43:33 -07:00
libraryupgrader a6c8aa00a5 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I7ae26de903868fc61cae4fbaa9abb717ec93dde2
2018-03-10 05:56:54 +00:00
jenkins-bot 2335b0e743 Merge "Update parser tests for RemexHtml as tidy implementation" 2018-03-06 22:27:46 +00:00
Translation updater bot 6392f1b392 Localisation updates from https://translatewiki.net.
Change-Id: I1a40dd7ea52cf980ce41ead53df469b79882b60e
2018-03-05 22:25:04 +01:00
Kunal Mehta e56b9a7427 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: Ic848fa4ffdeccb8340d347aeb23216364238501d
2018-03-02 15:40:34 -08:00