Gergő Tisza
3d6444fc77
Fix <p> wrappers in unit tests
...
Updates expected test results for Ide4005842c.
Bug: T186965
Change-Id: Iff92e6cd0a88d4f595148f837d892b7123b12b29
2018-03-03 23:24:21 +00:00
Translation updater bot
777bf7f55a
Localisation updates from https://translatewiki.net .
...
Change-Id: I200d0de0696680cf9b9cd249a71959bc019baac1
2018-02-25 22:34:31 +01:00
libraryupgrader
3fe2b9011a
build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
...
Change-Id: I471871ef1816e623f396b86c37212e55b171d847
2018-02-25 11:32:20 +00:00
libraryupgrader
0551ea9412
build: Updating mediawiki/minus-x to 0.3.1
...
Change-Id: I9ee2ed98fdb484c4020b65b90c22014e2769826c
2018-02-18 09:52:36 +00:00
libraryupgrader
a88b7c164f
build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
...
The following sniffs now pass and were enabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
Change-Id: I4b4f7577107b869789479671e74b1fa7329979aa
2018-02-15 14:32:27 +00:00
Fomafix
c1c8bed584
Add ENT_NOQUOTES to htmlspecialchars
...
There is no need to encode double quotes in HTML content.
Change-Id: If30adcf9196ecbfdfd1a9e21fa7b1c0bcd0e51d2
2018-02-11 17:22:27 +01:00
Reedy
203c257894
Set a requirement of MW >= 1.31
...
Change-Id: I4e2dc7d8d7603f89e6a9c65b5e36b7e54623ea62
2018-02-11 15:11:44 +00:00
jenkins-bot
292a347325
Merge "Swap MediaWiki\quietCall -> Wikimedia\quietCall"
2018-02-11 14:54:15 +00:00
Reedy
37c5b722d2
Swap MediaWiki\quietCall -> Wikimedia\quietCall
...
Bug: T182273
Change-Id: I9d5028ff04d5a8904462a8b6b0819d1974ee06a7
2018-02-11 06:03:39 +00:00
Brad Jorsch
164b8861d8
Deduplicate embedded style rules
...
Use the facility added in core change I055abdf4d to deduplicate the
embedded style rules.
Bug: T168333
Change-Id: I98c6d5ca4b474de8826b19355f15a5230aef5650
Depends-On: I055abdf4d73ec65771eaa4fe0999ec907c831568
2018-02-11 05:50:55 +00:00
Reedy
252fb74845
Update wikimedia/css-sanitizer
...
Updated
* wikimedia/css-santizer v1.0.2 -> v1.0.3
https://github.com/wikimedia/css-sanitizer/compare/v1.0.2...v1.0.3
Bug: T182273
Change-Id: Ib392edd4f7478e709f1bdf6dbc2935c1ac201bb6
Depends-On: I1966eaec7e4105f876206ab4cd606cefdaeb0add
Depends-On: Idd686bf84a44f2106ae13a31516872545946aa03
2018-02-07 11:07:44 +00:00
Brad Jorsch
f99d171c80
Fix coverage
...
* Fix test for TemplateStylesFontFaceAtRuleSanitizer so it's actually run
* Hack up a broken Sanitizer to test a code path in
TemplateStylesContent::sanitize() that handles such things.
* Ignore an InvalidArgumentException in TemplateStylesContent::processError()
that's not worth checking. User input can't hit that, only logic bugs.
* Ignore TemplateStylesHooks::getConfig(), it's tested but gets called
before PHPUnit starts counting.
* Test TemplateStylesHooksTest::onCodeEditorGetPageLanguage()
* Test $wgTemplateStylesDisable
* Test a back-compat code path in TemplateStylesHooks::handleTag().
Change-Id: I7078e5a353a624aa53fe72de7990b93a77b44cf6
2018-02-05 22:36:58 -05:00
Kunal Mehta
5ba45a396b
Add @covers tags
...
Change-Id: Ie87849bc9dcc0b26363c9475930c967841e6a7f7
2018-02-05 18:19:30 -08:00
Kunal Mehta
9a1a06b77d
Move PHP classes into includes/ directory
...
Change-Id: Ibc03a6c298ec3bf3bbfa435033095546db6fc5f0
2018-02-05 18:18:01 -08:00
jenkins-bot
7b025c809a
Merge "Cache processed stylesheets during the parse"
2018-02-02 02:45:31 +00:00
jenkins-bot
f6ad4c930a
Merge "Use 'unwrap' post-cache transform instead of setWrapOutputClass( false )"
2018-02-01 22:53:14 +00:00
jenkins-bot
afa1d9be5c
Merge "Temporary feature flag for disabling style output"
2018-01-29 20:57:50 +00:00
Translation updater bot
7a9f16775c
Localisation updates from https://translatewiki.net .
...
Change-Id: I1d669f32edc38b101cadabbb0c1698a46522e302
2018-01-27 22:37:53 +01:00
Translation updater bot
31b7fe0683
Localisation updates from https://translatewiki.net .
...
Change-Id: I809aba618ab63947c05f3169601b5951ca90dc21
2018-01-20 14:43:12 +01:00
Gergő Tisza
34a7cf83fa
Temporary feature flag for disabling style output
...
Bug: T176268
Change-Id: I6eae1ac80131b9f219c5a6ab3b63c1cc4fe1590f
2018-01-18 17:54:07 -08:00
Translation updater bot
3ee33ce1b3
Localisation updates from https://translatewiki.net .
...
Change-Id: I63b49b82ceab9f10586b3845a86f90af1e18b131
2018-01-08 22:36:20 +01:00
libraryupgrader
1cd9566e22
build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
...
Change-Id: I9735c0d9ed1c33c4310903f62336dd61ad7d7ec3
2017-12-30 02:52:59 +00:00
Brad Jorsch
8f3d6ce2d1
Use 'unwrap' post-cache transform instead of setWrapOutputClass( false )
...
To reduce parser cache fragmentation, core is deprecating
$parserOptions->setWrapOutputClass( false ) in favor of
$parserOutput->getText( [ 'unwrap' => true ] );
Change-Id: I23a26ba0dfbe83007cd40e97d71a2139a5ecddc7
Depends-On: Iba16e78c41be992467101e7d83e9c3134765b101
2017-12-22 13:43:15 -05:00
libraryupgrader
7f410e88f9
build: Updating mediawiki/minus-x to 0.2.1
...
Change-Id: I2addf8d9381339841f17bf58a4f25bbcbff7972a
2017-12-11 09:10:22 +00:00
Translation updater bot
34a8126c09
Localisation updates from https://translatewiki.net .
...
Change-Id: I66c06234174ef13fb2327902477d13ea247b28da
2017-12-10 22:33:29 +01:00
Translation updater bot
14a1f72acb
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a5a341db6c6f93d5970e5f5bee86e3a93311e33
2017-12-05 09:41:52 +01:00
Brad Jorsch
9964009346
Cache processed stylesheets during the parse
...
If we've already processed a stylesheet once, there's no point in
processing it again.
Change-Id: I83f7aab82cc7674037974b0de43ccae6c77ff39f
2017-11-30 14:05:31 -05:00
Translation updater bot
5e29310bf1
Localisation updates from https://translatewiki.net .
...
Change-Id: Iebc75633323c2e92ecf7255665bd5a4a6185bfdd
2017-11-22 22:44:26 +01:00
Max Semenik
dbdd8dbc85
Don't skip tests if the hook is not present
...
This just hides the error if something's broken with extension
registration because skipped tests don't result in a failed suite.
Instead, explode in everybody's eyes to make it clear there's a
problem.
Change-Id: I2f1e80a1fa4b99d857671c9d1061d34449764f01
2017-11-14 14:14:53 -08:00
Max Semenik
2db83c5d07
Type annotations for some tests
...
Also fix one function's case.
Change-Id: Ibe1750e6cfed593304e027d4eda7609a73980e62
2017-11-14 14:14:24 -08:00
Max Semenik
cec2c6db0c
Fix tests
...
Change-Id: I07d9271511e279cd0e12910673848654e6ff5eef
2017-11-14 13:55:06 -08:00
Umherirrender
53e19f4085
build: Always exclude vendor and node_modules
...
Change-Id: Iabe54bad6c3e12c7276364b2af4cee26933eaac9
2017-11-12 00:39:13 +01:00
Kunal Mehta
79dcc0b224
build: Adding MinusX
...
Change-Id: Ic43981c89348a588746b13426b1efa3a37b19b31
2017-11-03 19:50:33 -07:00
Translation updater bot
e03f781a4e
Localisation updates from https://translatewiki.net .
...
Change-Id: I5c72f130a7093a28c899daf2c970d165a95124cc
2017-10-31 22:44:34 +01:00
Translation updater bot
c9f3d1cc0c
Localisation updates from https://translatewiki.net .
...
Change-Id: I9dad0f21bb3235a7d87c2920de67055b4a264c53
2017-10-30 22:52:17 +01:00
Translation updater bot
95d4d152b9
Localisation updates from https://translatewiki.net .
...
Change-Id: I766cb1810675213041a2cf656a56782c0aac5075
2017-10-25 23:03:11 +02:00
Translation updater bot
fd1eb9d093
Localisation updates from https://translatewiki.net .
...
Change-Id: I54cd6512ae925cf2f5b12d64cdfc8e73a86c10f3
2017-10-23 23:43:19 +02:00
libraryupgrader
be81f3de99
build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
...
And moved phpcs.xml to .phpcs.xml (T177256).
Change-Id: I02554f10c64f11b2b61ce08f2edf6af2287883c4
2017-10-21 04:31:06 +00:00
Translation updater bot
1f503df948
Localisation updates from https://translatewiki.net .
...
Change-Id: I44f3f2376af0b8dc5dabde398e29097ec1932de1
2017-10-18 22:50:38 +02:00
Ed Sanders
92291a8778
build: Update eslint
...
Change-Id: I690ef5856e2dbbd86522c01aea94e74a8b69a7e6
2017-10-03 16:14:25 +01:00
Translation updater bot
5a91044817
Localisation updates from https://translatewiki.net .
...
Change-Id: I197aa1732b7255050366e80adc561d346fa11dfc
2017-09-26 22:52:37 +02:00
Translation updater bot
ee44d485e3
Localisation updates from https://translatewiki.net .
...
Change-Id: I5f152984857be7174c33e948e361fb6f7b4973d1
2017-09-25 22:51:25 +02:00
libraryupgrader
b833bd839a
build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
...
Change-Id: Ic6bfe73efbff856600302d155fbeb0ba38923b55
2017-09-24 05:33:54 +00:00
Translation updater bot
0a8bcdf64b
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a159ea024357ad7da0b5069e94c596530c1f73b
2017-09-23 22:55:05 +02:00
Translation updater bot
d0c9499ee2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd174aa3ea23f843c617bb7541d95232c5ebb84e
2017-09-22 23:26:39 +02:00
Translation updater bot
e54dea53bc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifb52201706b9acb0662d18e9837e0755ba3a96fd
2017-09-19 23:14:45 +02:00
Translation updater bot
b1e11d9462
Localisation updates from https://translatewiki.net .
...
Change-Id: I5932794d5df164adcf4727ac6f5f9a67172b432a
2017-09-03 22:38:22 +02:00
libraryupgrader
e160cb66b9
build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
...
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
Change-Id: Iccb7bd9026e92cca5b505fa62b4fbf5aa6e56d94
2017-09-01 04:57:51 +00:00
Translation updater bot
166c7befc9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic92ec4f2d6dc80a47a899087ac43d28d4dcc4bbd
2017-08-25 10:01:32 +02:00
Translation updater bot
a9a0d47666
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifdee30394460825a13dbff25f86932cb9ceb1dc3
2017-08-24 09:44:18 +02:00