maintenance: Replace custom .ext extraction with pathinfo()
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Thu, 28 Feb 2019 10:47:07 +0000 (11:47 +0100)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Thu, 28 Feb 2019 10:47:52 +0000 (11:47 +0100)
commitcb04fe6a06f69b4936acb49b473d40d98523b692
tree4730a4cd4f5ac1455a84b7036a58cd6c5fedfbd0
parentfbbad5e8385dfe17f73bdc8a2d0c2cea2af517ef
maintenance: Replace custom .ext extraction with pathinfo()

Note the custom code was not working correctly for filenames that do
not contain a dot. I assume this is not relevant for the filenames this
code needs to process.

Change-Id: Id4578bc86203dcbd9f76928bbec71a2c46176e11
maintenance/importImages.php