| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I53f2e32c73c92cc3a0deee48ebe6d13329a7a0cf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Why:
* Maintenance scripts in core have bolierplate code that is
added before and after the class to allow directly running
the maintenance script.
* Running the maintenance script directly has been deprecated
since 1.40, so this boilerplate code is only to support a now
deprecated method of running maintenance scripts.
* This code cannot also be marked as covered, due to PHPUnit
not recognising code coverage for files.
* Therefore, it is best to ignore this boilerplate code in code
coverage reports as it cannot be marked as covered and also
is for deprecated code.
What:
* Wrap the boilerplate code (requiring Maintenance.php and then
later defining the maintenance script class and running if the
maintenance script was called directly) with @codeCoverageIgnore
comments.
* Some files use a different boilerplate code, however, these
should also be marked as ignored for coverage for the same
reason that coverage is not properly reported for files.
Bug: T371167
Change-Id: I32f5c6362dfb354149a48ce9c28da9a7fc494f7c
|
|
|
|
|
|
|
|
|
|
|
| |
Maintenance class provides a method for getting a fresh reference
of the MW services container instance. Let's make use of these in
maintenance scripts now that we have it.
NOTE: There are still some static methods like in refreshLinks.php
that makes use of services that we can't use this method for now.
Change-Id: Idba744057577896fc97c9ecf4724db27542bf01c
|
|
|
|
| |
Change-Id: Ic4d3d5c9087f03cc2042e943e0359617521b2403
|
|
|
|
|
|
|
|
| |
Use 0 instead of "" to signal an unchanged character. 0 is only one
character and "" are two characters. This reduces the uncompressed size
of the JSON file by 770 byte.
Change-Id: Ibb6d2d1d9af712ad73733d3179fb82751028e054
|
|
|
|
|
|
| |
Spotted by Debian's lintian.
Change-Id: I2ffb702eb9b23a22dd83792abce2c0a5ef8eae8a
|
|
|
|
|
|
|
| |
* valid-jsdoc replaced with jsdoc plugin
* New /selenium config
Change-Id: I471eebac0312cb25c539c3f6a3ecfc7cfd4ed8d6
|
|
|
|
|
| |
Bug: T231412
Change-Id: I597a25de3294a6673424f30475760280ef209a8a
|
|
|
|
| |
Change-Id: Ief44c0bb26c5a1c1773cab5dba51d5e856612bf7
|
|
|
|
|
| |
Bug: T245940
Change-Id: I2c7fc87876a381cb1f5a8944e234876a3a72e55e
|
|
|
|
| |
Change-Id: Ieb1eff174f5168bf6c9e9aaeb58ec1a1bcd33538
|
|
|
|
|
|
|
| |
Still doc-only, this ends the easy part.
Bug: T231636
Change-Id: I51f180edc57d96322b9cd46e6a32aeffcbdc3bed
|
|
|
|
| |
Change-Id: Ieba8c4bb2acf33e5fdd35152e193cb34fba404ac
|
|
|
|
|
|
| |
This prevents additional errors in the following code.
Change-Id: I27770e6ca09c495ec7b6cb588c251b4014697bfe
|
|
|
|
|
|
|
| |
Follows-up 416895821fdb68, which increased this payload by 1-2KB.
Bug: T233095
Change-Id: I90745fe1c1ad4389fef399a30966b123f7812506
|
|
|
|
| |
Change-Id: Ic19e5c9899f19d9b6ebf4a65a81100670514aa14
|
|
|
|
|
|
|
|
| |
This allows us to use Title for converting to upper case which
will respect any compatibility fixes added later.
Bug: T219279
Change-Id: I746487df12e4628f1e37b33b7cc3cce597853596
|
|
|
|
|
|
| |
Seems neater.
Change-Id: Ib9a64f1b2efcc224e2d6eaf306eefa9527b6a2dd
|
|
Bug: T141723
Change-Id: I8355990f06b793e889d5279bada81e6ef3c242d1
|