Thread:Project:Support desk/Need to replace redirect file File:Redirect arrow without text.svg/reply (2)

Which image to use is hard coded in, so Allen4names' suggestion, or even just plain just replacing the image in skins/common/images/redirectltr.png (just be careful on upgrade) may be a good approach.

JS wise the code to do this would look like: $( function($) { $( 'div.redirectMsg img' ).attr( 'src', 'http://mynewimage.png' ) } );

However, there might be a couple miliseconds before the js takes affect where the old image is shown. It might also be possible to do something with css which wouldn't have that problem, maybe something like:

div.redirectMsg img { visibility: hidden } div.redirectMsg { background-image: url( "http://myimage.com/foo.png" ); background-repeat: no-repeat } (you might have to play with margins/padding/background-position to make that align right).

It's also possible to write an extension using the ArticleViewCustom hook (but that hook is not in the most ideal place, so you may end up duplicating quite a bit of code) On the pro side, you can directly output an &lt;img&gt; tag with whatever src attribute you want (or any other html you want).