Go to file
Timo Tijhof 73aed63e0a ApiTemplateData: Address non-array count() warning on PHP 7.2
The $data value here comes from TemplateDataBlob which is always
an instance of stdClass. It has no items that make sense to count,
and the object was already being used as $data->params a few lines
higher, which means this count operation would always yield "1",
by proxy of count() effectively seeing the non-array as an array
containing the one non-array item.

Bug: T202087
Change-Id: If725aa8b4229613bf60290eb78654a42497056c8
2018-10-14 03:54:24 +01:00
i18n Localisation updates from https://translatewiki.net. 2018-10-06 22:35:37 +02:00
includes ApiTemplateData: Address non-array count() warning on PHP 7.2 2018-10-14 03:54:24 +01:00
lib/jquery.uls
modules Merge "Replace deprecated 'advanced' by renamed to 'settings' icon" 2018-09-12 16:23:48 +00:00
resources Remove special font-size treatment following-up UI unified in 14px base 2018-03-20 16:55:41 +01:00
tests TemplateDataBlobTest: Ensure identical results on PHP 7.1 2018-10-05 11:08:01 -07:00
.eslintrc.json Remove duplicate lint rule 2017-05-03 10:21:53 +01:00
.gitignore Document code with JSDuck 2015-03-06 17:56:30 -08:00
.gitreview Whoops, track not trace 2016-10-24 17:03:53 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 20.0.0 2018-05-26 06:43:24 +00:00
.stylelintrc.json Use json extension for .stylelintrc 2017-08-19 10:35:07 +02:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 17:07:35 +00:00
composer.json build: Updating mediawiki/phan-taint-check-plugin to 1.5.0 2018-09-08 06:09:26 +00:00
COPYING Use the plain-text GPL 2015-06-08 08:35:23 +02:00
extension.json Don't use deprecated mediawiki.api.messages 2018-06-10 13:15:28 -07:00
Gruntfile.js build: Always exclude vendor and node_modules 2017-11-12 00:38:41 +01:00
jsduck.external.js Add VE support 2016-12-06 21:31:10 +00:00
jsduck.json Document code with JSDuck 2015-03-06 17:56:30 -08:00
package.json build: Updating npm dependencies for security issues 2018-10-11 11:15:00 +00:00
Specification.md git.wikimedia.org -> phab 2017-11-05 11:25:29 -09:00
TemplateData.php Sync extension.json, empty PHP entry point 2015-05-29 12:44:39 -07:00