mediawiki-extensions-PageIm.../tests/phpunit
Thiemo Kreuz 71b5c4db22 Relax score calculation in LinksUpdateHookHandler to use floats
This allows to use floats in the $wgPageImagesScores configuration.
Before, decimal places have just been cut off with no warning. I find
this pretty unexpected. When I see the terminology "score" being used,
I always think of float values. I checked all the code that consumes
these scores (it is all internal to LinksUpdateHookHandler), and it's
all fine with floats. I don't see a reason to forcefully cut decimal
places off.

Bug: T212013
Change-Id: I0f1f0ea0865f07b3e58a2fc142dcd838eb687c97
2019-01-10 09:31:20 +01:00
..
ApiQueryPageImagesProxyMock.php Fix remaining php sniffs 2018-03-05 18:49:11 +01:00
ApiQueryPageImagesTest.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag issues 2018-05-24 21:42:59 -07:00
LinksUpdateHookHandlerTest.php Relax score calculation in LinksUpdateHookHandler to use floats 2019-01-10 09:31:20 +01:00
PageImagesTest.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag issues 2018-05-24 21:42:59 -07:00