PHP Notice: Undefined index: descriptionUrl in /extensions/EmbedVideo/classes/media/VideoTransformOutput.php on line 95
This happened when launching rebuildData.php (from SemanticMediaWiki).
I observed it one year ago on MediaWiki 1.34 and then 1.35 with EmbedVideo 2.8, and fixed it quickly by adding a check array_key_exists( 'descriptionUrl', $parameters ) ? $parameters['descriptionUrl'] : ''
.
There is a similar condition on AudioTransformOutput.php line 97.
On MediaWiki, when we check where the parameter 'descriptionUrl' comes from, the class File, we see that there are some cases where 'descriptionUrl' is not set (see also File::getDescriptionUrl() and FileRepo::getDescriptionUrl()). I don’t know (for now) what is the situation where descriptionUrl is missing, since it seems to be an edge case.
I will try to gather more information about the situation when it occurs.