Lucas_Werkmeister_WMDE added a comment.
I was able to do it locally with the following code: $b = Score::getBackend(); $imagePath = 'c/u/cuyqryp5dkc9pf7nytn4wve93hwed0a/cuyqryp5.png'; // this will vary by image, of course $b->delete( [ 'src' => $b->getRootStoragePath() . '/score-render/' . $imagePath ] ); Afterwards, the page needed to be purged in order to regenerate the image with the new configuration. This requires that we find the image paths of all the scores that were already rendered on Wikidata (real and test). `FileBackend` also has a `getDirectoryList()` method that we could presumably use to list everything below `score-render/`, but the score storage is shared with all other wikis, so that would disrupt them as well (we’d need to purge pages across hundreds of wikis). TASK DETAIL https://phabricator.wikimedia.org/T218191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: alaa_wmde, Lucas_Werkmeister_WMDE Cc: Ebe123, TheDJ, Jc86035, Aklapper, Lucas_Werkmeister_WMDE, mb, Mahir256, Lydia_Pintscher, alaa_wmde, Lea_Lacroix_WMDE, joker88john, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Maathavan, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs