Ekompute .info wrote:

> Alternatively, how about having a second copy of SkinTemplate.php in the
> relevant skin folder and then redirecting the reference to point to the
> correct SkinTemplate?

I don't know what code changes you're referring to, however, you can 
probably take advantage of the fact that PHP is object oriented.  Since 
functions are inherited and can be overridden in derived classes, you 
should be able to use a subclass to override the function in 
SkinTemplate.php.  Conveniently, skins are subclasses of SkinTemplate. 
Since your skin need not be core code (you can easily copy an existing 
skin and rename it so it becomes your own skin), change it at will.

Mike


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to