[ 'mno', 'ar', 'mno-rtl.svg' ],
[ 'mno', 'he', 'mno-ltr.svg' ],
[ 'pqr', 'en', 'pqr-b.svg' ],
+ [ 'pqr', 'en-gb', 'pqr-b.svg' ],
[ 'pqr', 'de', 'pqr-f.svg' ],
+ [ 'pqr', 'de-formal', 'pqr-f.svg' ],
[ 'pqr', 'ar', 'pqr-f.svg' ],
[ 'pqr', 'fr', 'pqr-a.svg' ],
[ 'pqr', 'he', 'pqr-a.svg' ],
public function testGetPath( $imageName, $languageCode, $path ) {
static $dirMap = [
'en' => 'ltr',
+ 'en-gb' => 'ltr',
'de' => 'ltr',
+ 'de-formal' => 'ltr',
'fr' => 'ltr',
'he' => 'rtl',
'ar' => 'rtl',
];
- static $contexts = [];
$image = $this->getTestImage( $imageName );
$context = $this->getResourceLoaderContext( [
public function massageSvgPathdata( $svg ) {
return parent::massageSvgPathdata( $svg );
}
+
// Stub, since we don't know if we even have a SVG handler, much less what exactly it'll output
public function rasterize( $svg ) {
return 'RASTERIZESTUB';