I was just looking at the code for the edit toolbar and it's hardcoded to take the images from the common skin rather than being customisable, is there a reason for that?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thomas Dalton wrote:
I was just looking at the code for the edit toolbar and it's hardcoded to take the images from the common skin rather than being customisable, is there a reason for that?
Apparently nobody got round to it. :)
Adding a little call through the skin object should be able to get the appropriate path pretty easy.
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thomas Dalton wrote:
Adding a little call through the skin object should be able to get the appropriate path pretty easy.
Would the images have to be copied to all the skins, or is there some kind of default system if the files don't exist?
My recommendation would be to run the path through a method on the skin; by default it would return the common directory.
A custom skin with its own images could override it.
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
On 15/03/07, Brion Vibber brion@pobox.com wrote:
My recommendation would be to run the path through a method on the skin; by default it would return the common directory.
A custom skin with its own images could override it.
I'm getting that BugZilla-deja-vu feeling on this one; sure it's an open request somewhere.
Rob Church
wikitech-l@lists.wikimedia.org