mediawiki-extensions-PageIm.../includes/Hooks
Matthias Mullie c75b00d14d Ensure array is passed to getProperties
PageImages::getPropNames can return either array or string,
and PageProps::getProperties accepts both.
But the latter's return value will be different depending
on the type of input: with an array as input, the returned
array's values will be an associative array where the index
is the propname; with a string, it's just the propvalue.

This difference matters because the code below assumes an
array with propname keys.

Bug: T323152
Change-Id: I422951ec0cd5c651b32c65e88a557d49f2f22712
2022-11-16 09:33:37 +01:00
..
ParserFileProcessingHookHandlers.php Use preg_replace_callback() flag introduced in PHP 7.4 2022-11-10 13:58:31 +11:00
SearchResultProvideThumbnailHookHandler.php Ensure array is passed to getProperties 2022-11-16 09:33:37 +01:00