Is there a preferred way to create <img />
elements in PHP in skins? What's the best way to get the URL path to a skin's resources/images/foo.png
file, for instance?
It looks like some skins use the $wgStylePath global, and some just include all images as CSS background-images. Maybe the latter is best practice. Should actual img elements be avoided?